/* Propuesta v2: efectos y maquetación de la web actual + títulos nuevos.
   Tipografía: una sola familia (Outfit) en 4 pesos, en lugar de 4 familias
   (Instrument Serif, Google Sans, Google Sans Text y Montserrat). */
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url(fonts/outfit-400.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url(fonts/outfit-500.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url(fonts/outfit-600.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url(fonts/outfit-700.woff2) format("woff2"); }

:root { --serif: "Outfit", system-ui, sans-serif; --display: "Outfit", system-ui, sans-serif; --body: "Outfit", system-ui, sans-serif; --label: "Outfit", system-ui, sans-serif; }
body { font-size: 17px; }

/* Jerarquía: 700 títulos de sección · 600 subtítulos · 500 datos destacados · 400 texto */
h1, h2 { font-weight: 700; letter-spacing: -0.025em; }
h3 { font-weight: 600; letter-spacing: -0.015em; }
.eyebrow { font-weight: 600; }

/* Títulos de sección: centrados, palabra destacada en color y barra debajo */
.head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.head > div { justify-items: center; }
.head > .head-actions { justify-content: center; }
.head h2, .band-intro h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; }
.head h2 em, .band-intro h2 em { font-style: normal; }
.head h2::after, .band-intro h2::after { content: ""; display: block; width: 84px; height: 4px; border-radius: 4px; margin: 26px auto 0; background: linear-gradient(90deg, var(--primary), #7b6fe0); }
.band-intro h2::after { margin-left: 0; background: linear-gradient(90deg, var(--gold), #fff6a8); }
.head p:not(.eyebrow) { display: none; }
#visitanos .head p:not(.eyebrow) { display: block; }

/* Lo que antes iba en letra con serifa, ajustado a la nueva letra */
.cat h3 { font-size: 24px; }
.svc h3 { font-size: 22px; }
.card h3 { font-size: 26px; }
.facts span { font-size: 22px; font-weight: 500; }
.shot figcaption { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.review > .mark { font-weight: 700; font-size: 64px; line-height: .9; height: 30px; }
.review p { font-size: 18px; line-height: 1.55; letter-spacing: 0; }
.avatar { font-size: 17px; font-weight: 600; }
.map-card b { font-size: 19px; font-weight: 600; }
.side .line a { font-size: 21px; font-weight: 500; }
.faq summary { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.nx-address b { font: 500 19px/1.2 var(--serif); }

/* Cambio entre secciones: fondos alternos claro / oscuro */
main > section:not(.hero) { padding-block: 120px !important; }
#opiniones, #contacto { background: var(--surface-low); }
#opiniones .review { background: var(--surface); }
#opiniones .review::after { box-shadow: inset 0 0 0 14px var(--primary), 0 0 0 20px var(--surface), 0 0 0 34px var(--primary); }
#contacto .form { background: var(--surface); }
#preguntas { background: var(--ink); color: var(--on-ink); }
#preguntas .eyebrow { color: var(--on-ink-variant); }
#preguntas .eyebrow .n, #preguntas .eyebrow .lbl, #preguntas .head h2 em { color: var(--gold); }
#preguntas .head h2::after { background: linear-gradient(90deg, var(--gold), #fff6a8); }
#preguntas .btn-outlined { color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--ink-line); }
#preguntas .faq { margin-inline: auto; border-top-color: var(--ink-line); }
#preguntas .faq details { border-bottom-color: var(--ink-line); }
#preguntas .faq summary::after { color: var(--gold); }
#preguntas .faq details p { color: var(--on-ink-variant); }
#preguntas .faq details a { color: var(--gold); }

@media (max-width: 760px) {
  main > section:not(.hero) { padding-block: 72px !important; }
  .head h2, .band-intro h2 { font-size: 34px; }
  .head h2::after, .band-intro h2::after { margin-top: 18px; width: 64px; }
  .cat h3 { font-size: min(18px, 4.8vw); hyphens: auto; overflow-wrap: anywhere; }
  .svc h3 { font-size: 19px; }
  .faq summary { font-size: 18px; }
  .review p { font-size: 17px; }
}

/* Fondo blanco puro y grises neutros (en lugar del tono crema), solo en modo claro */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --surface: #ffffff; --surface-low: #f5f5f8; --surface-mid: #ebebf0; --outline: #cfcfd8; --outline-variant: #e6e6ec; --on-surface-variant: #5b5a66; }
}
:root[data-theme="light"] { --surface: #ffffff; --surface-low: #f5f5f8; --surface-mid: #ebebf0; --outline: #cfcfd8; --outline-variant: #e6e6ec; --on-surface-variant: #5b5a66; }

/* Etiquetas de sección sin numeración: «—— La tienda ——» (centradas) o «—— Servicio técnico» */
.eyebrow .n { display: none; }
.head .eyebrow::after { content: ""; order: 3; display: block; height: 1px; width: 0; background: currentColor; opacity: .6; transition: width 1.4s var(--out) .2s; }
.head.in .eyebrow::after, html:not(.reveal-on) .head .eyebrow::after { width: 40px; }
.arrived .head .eyebrow::after, .head.arrived .eyebrow::after { width: 96px; transition: width 1.1s var(--out); }
.head .eyebrow::before, .head .eyebrow::after { color: var(--primary); }
#preguntas .head .eyebrow::before, #preguntas .head .eyebrow::after { color: var(--gold); }
.band-intro .eyebrow::before { color: var(--gold); }
@media (max-width: 760px) {
  .head.in .eyebrow::after, html:not(.reveal-on) .head .eyebrow::after { width: 24px; }
  .arrived .head .eyebrow::after, .head.arrived .eyebrow::after { width: 48px; }
}
.head > .btn { justify-self: center; }

/* Cómo llegar: horario y mapa suben juntos (antes solo se movía la tarjeta del horario y se descuadraba con el mapa) */
#horario { animation: none !important; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .visit { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}

/* Legibilidad: ninguna etiqueta por debajo de 11 px (Outfit es algo más pequeña que Montserrat) */
.facts small, .shot figcaption small, .who small, .foot-grid h4, .nx-facts small { font-size: 11px; }
.today-pill { font-size: 10px; }

/* Móviles pequeños (iPhone SE, Android de 320-400 px) */
.eyebrow .lbl { white-space: nowrap; }
@media (max-width: 760px) {
  .head > .head-actions { justify-content: center; }
}
@media (max-width: 400px) {
  .eyebrow { letter-spacing: .12em; }
  .head .eyebrow::before, .head .eyebrow::after { max-width: 20px; }
  .head > .head-actions { grid-template-columns: 1fr; width: 100%; max-width: 300px; }
  .head > .head-actions .btn { justify-content: center; }
  .side .line a { font-size: 18px; overflow-wrap: anywhere; }
}

/* Móvil en horizontal: la pantalla es muy baja, así que se quita la barra inferior fija
   (Llamar y WhatsApp siguen en la barra de arriba) */
@media (max-height: 500px) and (orientation: landscape) {
  .action-bar { display: none !important; }
  body { padding-bottom: 0 !important; }
}

/* Opiniones: tarjetas compactas e iguales. El texto se corta a 4 líneas, así las
   reseñas largas no estiran la fila y las cortas no dejan la tarjeta vacía. */
.reviews { grid-auto-rows: 1fr; }
.review { height: 100%; padding: 26px 28px; gap: 14px; grid-template-rows: auto 1fr auto; }
.review > .mark { font-size: 44px; height: 18px; line-height: .8; }
.review blockquote { margin: 0; }
.review p { font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.review .who { padding-top: 0; border-top: 0; }
@media (max-width: 760px) {
  .reviews { align-items: stretch; }
  .review { height: auto; align-self: stretch; padding: 20px; }
  .review p { font-size: 16px; }
}

/* Portada en pantallas bajas (móvil en horizontal): el logo se limita también por la altura */
.nx-wordmark { width: min(77.4vw, 558px, 79.2svh); } /* 10 % más pequeño que el original */
@media (max-height: 500px) and (orientation: landscape) {
  .nx-wordmark { width: min(54vw, 72svh); }
}

/* ===== Móvil en horizontal (pantalla baja) =====
   Menos aire vertical para que cada sección quepa en pocas pantallas, y aprovechar el ancho:
   en pantallas de 800 px o más, horario y mapa van en dos columnas. */
@media (max-height: 500px) and (orientation: landscape) {
  main > section:not(.hero) { padding-block: 48px !important; }
  .head { margin-bottom: 28px; }
  .head > div { gap: 8px; }
  .head h2, .band-intro h2 { font-size: 32px; }
  .head h2::after, .band-intro h2::after { margin-top: 14px; width: 64px; }
  .gallery { margin-top: 0; }
  .cats { margin-top: 24px; gap: 12px; }
  .cat { padding: 20px 22px; }
  .band { gap: 28px; }
  .band-intro { gap: 16px; }
  .svc, .svc:nth-child(even) { padding-block: 18px; }
  .reviews { gap: 12px; }
  .card, .form { padding: 24px; }
  .faq summary { padding-block: 16px; }
}
@media (max-height: 500px) and (orientation: landscape) and (min-width: 800px) {
  .visit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .map-svg { left: 38%; }
  .map { min-height: 0; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .map { min-height: 300px; }
}

/* Móvil: sin barra inferior fija. «Cómo llegar» pasa a la barra de arriba, como un tercer botón redondo
   (amarillo, el color de la estrella) junto a WhatsApp y llamar. */
.action-bar { display: none !important; }
@media (max-width: 760px) {
  body { padding-bottom: env(safe-area-inset-bottom, 0px) !important; }
}
@media (max-width: 340px) {
  .appbar-quick { gap: 6px; }
  .appbar-quick .dial { width: 40px; height: 40px; }
}

/* Menú superior: letra un 10 % más grande (14px → 15.4px) */
.tabs a { font-size: 15.4px; }

/* Barra de datos de la portada: solo la dirección, centrada y ajustada a su contenido */
.nx-facts { grid-template-columns: auto; width: fit-content; max-width: 100%; margin-inline: auto; }
.nx-facts > a { padding-inline: 30px; }
.nx-facts .nx-address { grid-column: auto; border-bottom: 0; }
@media (max-width: 560px) { .nx-facts > a { padding-inline: 24px; } }

/* Redes sociales en el pie: iconos redondos, como los botones de la barra superior */
.pie-redes { display: flex; gap: 12px; }
.pie-redes a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18); color: var(--on-ink);
  transition: background-color .4s var(--out), border-color .4s var(--out), color .4s var(--out), transform .4s var(--out); }
.pie-redes .icon { font-size: 21px; }
.pie-redes a:hover, .pie-redes a:focus-visible { background: var(--star); border-color: var(--star); color: #15113d; transform: translateY(-2px); }

/* ===== Contacto: tres tarjetas (llamar, escribir, visitar), sin azul: neutro + amarillo de la marca ===== */
.cv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.cv-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px;
  padding: 36px 34px 34px; border-radius: 20px; background: var(--surface); border: 1px solid var(--outline-variant); color: var(--on-surface);
  transition: transform .6s var(--out), box-shadow .6s var(--out); }
.cv-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .3); }
.cv-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--star); color: #1b1b1f; margin-bottom: 6px; }
.cv-ico .icon { font-size: 24px; }
.cv-card h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-surface-variant); }
.cv-big { margin: 0; font-size: clamp(21px, 2vw, 25px); font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.cv-big a { color: inherit; text-decoration: none; }
.cv-note { margin: 0; font-size: 15px; color: var(--on-surface-variant); }
.cv-go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: 600; font-size: 15px; color: inherit; text-decoration: underline; text-decoration-color: var(--star);
  text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cv-go .icon { font-size: 18px; transition: transform .4s var(--out); }
.cv-go:hover .icon { transform: translateX(4px); }
.cv-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cv-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--outline-variant); color: inherit; text-decoration: none; }
.cv-list li:last-child a { border-bottom: 0; padding-bottom: 0; }
.cv-list b { font-size: clamp(21px, 2vw, 25px); font-weight: 600; transition: opacity .3s var(--out); }
.cv-list small { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-surface-variant); }
.cv-list a:hover b { opacity: .6; }
/* Tarjeta central destacada, en el amarillo de la marca */
.cv-hl { background: var(--star); border-color: transparent; color: #1b1b1f; }
.cv-hl h3, .cv-hl .cv-note { color: rgba(27, 27, 31, .68); }
.cv-hl .cv-ico { background: #1b1b1f; color: var(--star); }
.cv-hl .cv-go { text-decoration-color: #1b1b1f; }
.cv-hl > .watermark { position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; fill: rgba(0, 0, 0, .06); transform: rotate(-12deg); z-index: -1; transition: transform 2.4s var(--out); }
.cv-hl:hover > .watermark { transform: rotate(10deg) scale(1.05); }
@media (max-width: 960px) {
  .cv { grid-template-columns: 1fr 1fr; }
  .cv-hl { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 640px) {
  .cv { grid-template-columns: 1fr; gap: 14px; }
  .cv-hl { grid-row: auto; }
  .cv-card { padding: 28px 24px; border-radius: 16px; }
}
