/* S Uzcudun Multimarca — estilos compartidos */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url(fonts/barlow-condensed-latin-700-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url(fonts/barlow-condensed-latin-800-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url(fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); }

:root {
  --negro: #000000;
  --grafito: #17191c;
  --acero: #4b5058;
  --hormigon: #ecebe7;
  --linea: #d3d1cb;
  --blanco: #ffffff;
  --rojo: #d7261e;
  --rojo-osc: #b51d16;
  --wa: #1fa855;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --texto: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ancho: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sesgo: -12deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--grafito);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); }

.saltar { position: absolute; left: -9999px; top: 0; background: var(--rojo); color: #fff; padding: 10px 16px; z-index: 100; }
.saltar:focus { left: 16px; top: 16px; }

/* ---------- Tipografía ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
}
h2 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; line-height: 1.05; }
p { margin: 0 0 1em; max-width: 62ch; }

/* La franja roja inclinada del logo, usada como subrayado de títulos */
.franja::after {
  content: "";
  display: block;
  width: 88px;
  height: 10px;
  margin-top: 18px;
  background: var(--rojo);
  transform: skewX(var(--sesgo));
  transform-origin: left;
}

/* ---------- Botones ---------- */
.btn {
  --bg: var(--rojo);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  background: var(--bg);
  border: 0;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background-color .15s ease;
}
.btn:hover { --bg: var(--rojo-osc); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { --bg: #178a45; }
.btn--claro { --bg: #fff; color: var(--negro); }
.btn--claro:hover { --bg: var(--hormigon); }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: var(--negro);
  color: #fff;
  border-bottom: 1px solid #222;
}
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.cabecera__logo img { width: 190px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); }
.nav a:not(.btn) {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  text-decoration: none; color: #d8d8d8;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--rojo); }
.nav .btn { padding: 10px 18px; font-size: 1.1rem; }
@media (max-width: 720px) {
  .cabecera__logo img { width: 150px; }
  .nav a.nav__sec { display: none; }
  .nav .btn span { display: none; }
  .nav .btn { padding: 10px 14px; }
}

/* ---------- Portada ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--negro);
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__foto { position: absolute; inset: 0; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero__foto::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 42%, rgba(0,0,0,.08) 75%),
    linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 45%);
}
.hero .contenedor { position: relative; padding-top: 120px; padding-bottom: clamp(56px, 9vh, 96px); }
.hero h1 {
  font-size: clamp(3.4rem, 9.5vw, 7.5rem);
  max-width: 10.5ch;
  text-wrap: balance;
}
.hero__bajada { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #e6e6e6; max-width: 42ch; margin: 24px 0 32px; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 14px; }

.hero h1, .hero__bajada, .hero__acciones { animation: entra .7s cubic-bezier(.2,.7,.2,1) both; }
.hero__bajada { animation-delay: .12s; }
.hero__acciones { animation-delay: .22s; }
@keyframes entra { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

/* Barra de datos bajo la portada: la franja MULTIMARCA a escala de página */
.datos { background: var(--rojo); color: #fff; }
.datos ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.datos li { padding: 18px 0 18px 22px; border-left: 1px solid rgba(255,255,255,.35); }
.datos li:first-child { border-left: 0; padding-left: 0; }
.datos strong { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.datos span { font-size: .98rem; color: #ffe3e1; }
.datos a { text-decoration: none; }
.datos a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .datos ul { grid-template-columns: 1fr; }
  .datos li { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.3); }
  .datos li:first-child { border-top: 0; }
}

/* ---------- Secciones ---------- */
.seccion { padding: clamp(64px, 10vw, 112px) 0; }
.seccion--hormigon { background: var(--hormigon); }
.seccion--negra { background: var(--negro); color: #fff; }
.seccion__cabeza { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(36px, 5vw, 56px); }
.seccion__cabeza p { margin: 0; color: var(--acero); max-width: 44ch; }
.seccion--negra .seccion__cabeza p { color: #b9bcc1; }

/* Qué encontrás */
.rubros { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--negro); }
.rubro { padding: 28px 28px 8px 0; }
.rubro + .rubro { padding-left: 28px; border-left: 1px solid var(--linea); }
.rubro h3 { margin-bottom: 14px; }
.rubro p { color: var(--acero); }
.rubro a { font-weight: 600; color: var(--rojo-osc); text-underline-offset: 3px; }
@media (max-width: 820px) {
  .rubros { grid-template-columns: 1fr; }
  .rubro, .rubro + .rubro { padding: 24px 0 8px; border-left: 0; }
  .rubro + .rubro { border-top: 1px solid var(--linea); }
}

/* El salón */
.salon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 12px;
}
.salon figure { margin: 0; position: relative; overflow: hidden; background: #111; }
.salon img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.salon .alta { grid-row: span 2; }
.salon .alta img { aspect-ratio: auto; }
.salon .ancha { grid-column: span 2; grid-row: span 2; }
.salon figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: 8px 14px 8px 12px;
  background: rgba(0,0,0,.82);
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.1rem;
  border-left: 4px solid var(--rojo);
}
.salon__nota { margin: 28px 0 0; color: #b9bcc1; }
.salon__nota a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .salon { grid-template-columns: repeat(2, 1fr); }
  .salon .ancha { grid-column: span 2; grid-row: auto; }
  .salon .alta { grid-row: span 2; }
}

/* Vení a vernos */
.visita { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.visita__dir { font-size: 1.2rem; font-weight: 500; margin-bottom: 4px; }
.visita__ref { color: var(--acero); margin-bottom: 28px; }
.horario { width: 100%; border-collapse: collapse; margin-bottom: 32px; font-variant-numeric: tabular-nums; }
.horario caption { text-align: left; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; padding-bottom: 10px; }
.horario th, .horario td { text-align: left; padding: 10px 0; border-top: 1px solid var(--linea); vertical-align: top; }
.horario th { font-weight: 600; width: 40%; }
.horario td { color: var(--acero); }
.horario .cerrado td { color: #8a8d92; }
.horario tr.hoy th, .horario tr.hoy td { color: var(--negro); }
.horario tr.hoy th::after { content: "Hoy"; margin-left: 8px; font-size: .8rem; font-weight: 600; color: #fff; background: var(--rojo); padding: 2px 7px; vertical-align: 2px; }
.mapa { position: relative; aspect-ratio: 4 / 3; background: var(--hormigon); border: 1px solid var(--linea); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }
@media (max-width: 860px) { .visita { grid-template-columns: 1fr; } }

/* Llamado final */
.llamado { background: var(--negro); color: #fff; overflow: hidden; }
.llamado .contenedor { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 64px; padding-bottom: 64px; position: relative; }
.llamado h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 16ch; }
.llamado p { color: #b9bcc1; margin: 14px 0 0; }
.llamado__botones { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Pie ---------- */
.pie { background: var(--negro); color: #b9bcc1; border-top: 1px solid #222; font-size: .98rem; }
.pie .contenedor { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.pie img { width: 200px; margin-bottom: 16px; }
.pie h3 { font-size: 1.25rem; color: #fff; margin-bottom: 10px; }
.pie p { margin: 0 0 6px; }
.pie a { color: #fff; text-underline-offset: 3px; }
.pie__legal { grid-column: 1 / -1; border-top: 1px solid #222; padding-top: 20px; margin-top: 8px; font-size: .9rem; color: #80848a; }
@media (max-width: 760px) { .pie .contenedor { grid-template-columns: 1fr; } }

/* ---------- Página de contacto ---------- */
.cab-contacto { position: relative; background: var(--negro); color: #fff; overflow: hidden; }
.cab-contacto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .32; }
.cab-contacto .contenedor { position: relative; padding-top: clamp(64px, 10vw, 112px); padding-bottom: clamp(48px, 7vw, 80px); }
.cab-contacto h1 { font-size: clamp(3rem, 8vw, 6rem); }
.cab-contacto p { font-size: 1.2rem; color: #e6e6e6; margin: 20px 0 0; max-width: 46ch; }

.contacto { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contacto { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo--entero { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.campo label, .campo legend { font-weight: 600; font-size: 1rem; }
.campo .opc { font-weight: 400; color: var(--acero); }
.campo input, .campo textarea, .campo select {
  font: inherit; color: var(--grafito);
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #b9b7b0;
  border-bottom: 2px solid var(--grafito);
  border-radius: 0;
  width: 100%;
}
.campo textarea { min-height: 150px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--rojo); border-bottom-color: var(--rojo); box-shadow: 0 0 0 3px rgba(215,38,30,.18); }
.campo input[aria-invalid="true"], .campo textarea[aria-invalid="true"] { border-color: var(--rojo); }
.campo .error { color: var(--rojo-osc); font-size: .95rem; min-height: 0; }

fieldset.campo { border: 0; padding: 0; margin: 0; }
fieldset.campo legend { padding: 0; margin-bottom: 8px; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opciones label {
  font-weight: 500; cursor: pointer;
  padding: 9px 16px;
  border: 1px solid #b9b7b0;
  background: #fff;
  transition: background-color .12s, color .12s, border-color .12s;
}
.opciones input:checked + label { background: var(--negro); color: #fff; border-color: var(--negro); }
.opciones input:focus-visible + label { outline: 3px solid var(--rojo); outline-offset: 2px; }

.form__pie { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form__pie small { color: var(--acero); max-width: 46ch; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.oculto { position: absolute !important; left: -9999px !important; }

.aviso { grid-column: 1 / -1; padding: 16px 18px; border-left: 5px solid; font-weight: 500; }
.aviso--ok { background: #eaf6ee; border-color: var(--wa); color: #14532d; }
.aviso--error { background: #fdecea; border-color: var(--rojo); color: #7f1d1d; }
.aviso[hidden] { display: none; }

.ficha { background: var(--hormigon); padding: 28px; }
.ficha h2 { font-size: 2rem; margin-bottom: 18px; }
.ficha .btn { width: 100%; justify-content: center; margin-bottom: 24px; }
.ficha dl { margin: 0; }
.ficha dt { font-weight: 600; margin-top: 16px; }
.ficha dt:first-child { margin-top: 0; }
.ficha dd { margin: 2px 0 0; color: var(--acero); }
.ficha dd a { color: var(--grafito); text-underline-offset: 3px; }
.ficha .horario { margin: 6px 0 0; font-size: .97rem; }
.ficha .horario th, .ficha .horario td { padding: 6px 0; border-color: #d6d4ce; }

.visita__dir { margin-top: 28px; }
.salon__mas {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  aspect-ratio: 1;
  padding: 22px;
  background: var(--rojo);
  color: #fff; text-decoration: none;
  transition: background-color .15s ease;
}
.salon__mas:hover { background: var(--rojo-osc); }
.salon__mas strong { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1; }
.salon__mas span { color: #ffe3e1; font-size: 1rem; line-height: 1.4; }
.salon { grid-auto-flow: dense; }
.pie__legal { max-width: none; }
.ficha .horario th { width: 58%; }
@media (max-width: 900px) {
  .salon .alta { grid-row: auto; }
  .salon .alta img { aspect-ratio: 1; object-position: 50% 62%; }
  .salon figcaption { font-size: 1rem; padding: 6px 10px; }
}
.salon { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .salon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .salon__mas { grid-column: span 2; aspect-ratio: auto; min-height: 180px; }
}
