/* ==========================================================================
   Cerrajero Donostia 24h — Estilo "Costero / Cantábrico"
   Mobile-first · base 360-375px · breakpoints 768px y 1100px
   ========================================================================== */

:root {
  /* Paleta */
  --deep: #1B3A4B;          /* azul profundo */
  --deep-2: #22606A;        /* transición mar */
  --sea: #2A9D8F;           /* verde mar (decorativo / textos grandes) */
  --sea-dark: #1E7A6F;      /* verde mar accesible para texto pequeño */
  --sand: #F1FAEE;          /* arena */
  --sky: #A8DADC;           /* azul claro */
  --coral: #E76F51;         /* acento CTA */
  --coral-soft: #F4A261;
  --ink: #0F2430;           /* texto sobre coral / fondo footer */
  --white: #ffffff;
  --text: #1B3A4B;
  --muted: #3E5B69;

  /* Tipografía */
  --font-head: "Raleway", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-h1: clamp(2rem, 1.4rem + 3.2vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.9vw, 2.5rem);
  --fs-h3: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);

  /* Espaciado y formas */
  --space-section: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 18px 40px -18px rgba(15, 36, 48, 0.45);
  --shadow-soft: 0 10px 30px -15px rgba(27, 58, 75, 0.35);
  --header-h: 68px;
  --mobile-bar-h: 62px;
  --container: 1180px;

  /* Gradientes mar */
  --grad-sea: linear-gradient(160deg, #1B3A4B 0%, #22606A 58%, #2A9D8F 100%);
  --grad-deep: linear-gradient(170deg, #142D3A 0%, #1B3A4B 55%, #22606A 100%);
  --grad-tide: linear-gradient(180deg, #F1FAEE 0%, #DDF0EE 45%, #CBE8E8 100%);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  padding-bottom: var(--mobile-bar-h);
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sea-dark); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; color: var(--deep); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--coral); color: var(--ink); padding: 0.75rem 1rem;
  border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(231, 111, 81, 0.8); }
.btn-coral:hover { background: #ED8467; color: var(--ink); box-shadow: 0 14px 28px -10px rgba(231, 111, 81, 0.9); }
.btn-glass {
  background: rgba(241, 250, 238, 0.12); color: var(--sand); border-color: rgba(241, 250, 238, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(241, 250, 238, 0.22); color: var(--white); }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn-ghost:hover { background: var(--deep); color: var(--sand); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; text-underline-offset: 3px; }

/* ---------- Efecto vidrio ---------- */
.glass {
  background: rgba(20, 45, 58, 0.42);
  border: 1px solid rgba(241, 250, 238, 0.2);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--sand);
}
.glass-light {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

/* ---------- Indicador abierto ---------- */
.open-now {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 600; color: var(--sky); letter-spacing: 0.02em;
}
.dot {
  position: relative; width: 10px; height: 10px; border-radius: 50%;
  background: #3BD16F; flex: 0 0 auto;
}
.dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #3BD16F; animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .75; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(27, 58, 75, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 218, 220, 0.18);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { background: rgba(20, 45, 58, 0.97); box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; gap: 0.75rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--sand); margin-right: auto; }
.brand:hover { color: var(--white); }
.brand-logo { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; }
.brand-name strong { color: var(--sky); font-weight: 800; }

.header-phone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--coral); color: var(--ink); text-decoration: none; font-weight: 700;
}
.header-phone span { display: none; }
.header-phone:hover { color: var(--ink); background: #ED8467; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; border-radius: 12px;
  background: rgba(241, 250, 238, 0.1); border: 1px solid rgba(241, 250, 238, 0.25); cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--sand); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(20, 45, 58, 0.98);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(168, 218, 220, 0.2);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.main-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s ease, transform .25s ease; }
.nav-list a {
  display: block; padding: 0.85rem 0.25rem; color: var(--sand); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  border-bottom: 1px solid rgba(168, 218, 220, 0.15);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--sky); }
.nav-cta { margin-top: 1.1rem; width: 100%; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--sea-dark);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow span[lang="eu"] { font-style: italic; }
.eyebrow-light { color: var(--sky); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--sand);
  padding: clamp(2.5rem, 2rem + 4vw, 5rem) 0 clamp(6rem, 5rem + 4vw, 9rem);
  background: var(--deep);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(231, 111, 81, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(20, 45, 58, 0.88) 0%, rgba(27, 58, 75, 0.82) 50%, rgba(34, 96, 106, 0.85) 100%);
}
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero-inner > *, .intro-grid > *, .hostel-grid > *, .zones-grid > *, .faq-grid > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
.hero h1 { color: var(--white); margin-bottom: 0.5em; }
.hero h1 .hl { display: block; color: var(--sky); }
.hero-sub { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem); max-width: 40rem; color: #E6F3F1; }
.hero-sub strong { color: var(--white); }
.hero-ctas { display: flex; flex-direction: column; gap: 0.8rem; margin: 1.6rem 0 1.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
  background: rgba(241, 250, 238, 0.1); border: 1px solid rgba(168, 218, 220, 0.35);
  font-size: 0.86rem; font-weight: 500;
}
.hero-badges i { color: var(--coral-soft); }

.hero-art { position: relative; max-width: 360px; margin-inline: auto; width: 100%; }
.bay-key { width: 100%; height: auto; filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.35)); }
.bay-key .beam { transform-origin: 128px 150px; animation: beam 7s ease-in-out infinite; }
.bay-key .art-key { animation: bob 6s ease-in-out infinite; }
.bay-key .art-waves path { animation: drift 8s ease-in-out infinite alternate; }
@keyframes beam { 0%, 100% { opacity: .9; transform: rotate(0deg); } 50% { opacity: .35; transform: rotate(6deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes drift { from { transform: translateX(-6px); } to { transform: translateX(8px); } }

.hero-floating {
  position: absolute; left: -2%; bottom: 8%;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1rem; font-size: 0.85rem; line-height: 1.3;
}
.hero-floating strong { font-family: var(--font-head); font-size: 1rem; color: var(--white); }

/* Olas animadas del hero */
.hero-waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 120px); }
.wave-parallax > use { animation: wave-move 26s cubic-bezier(.55, .5, .45, .5) infinite; }
.wave-parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 22s; }
.wave-parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 28s; }
.wave-parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 34s; }
.wave-parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 40s; }
@keyframes wave-move { 0% { transform: translate3d(-90px, 0, 0); } 100% { transform: translate3d(85px, 0, 0); } }

/* ---------- Separadores de ola ---------- */
.wave-sep { line-height: 0; margin-top: -1px; margin-bottom: -1px; position: relative; z-index: 1; }
.wave-sep svg { width: 100%; height: clamp(40px, 6vw, 90px); }
.wave-sand-to-sea { background: var(--sand); }
.wave-sand-to-sea path { fill: #1B3A4B; }
.wave-sea-to-sand { background: #2A9D8F; }
.wave-sea-to-sand path { fill: var(--sand); }
.wave-tide-to-deep { background: #CBE8E8; }
.wave-tide-to-deep path { fill: #142D3A; }
.wave-deep-to-sand { background: #22606A; }
.wave-deep-to-sand path { fill: var(--sand); }
.wave-sand-to-deep { background: var(--sand); }
.wave-sand-to-deep path { fill: #142D3A; }
.wave-tide-to-sand { background: #CBE8E8; }
.wave-tide-to-sand path { fill: var(--sand); }
.wave-deep-to-ink { background: #22606A; }
.wave-deep-to-ink path { fill: var(--ink); }

/* ---------- Secciones ---------- */
.section { position: relative; padding: var(--space-section) 0; overflow: hidden; }
.section-sand {
  background-color: var(--sand);
  background-image:
    radial-gradient(rgba(42, 157, 143, 0.07) 1px, transparent 1.4px),
    radial-gradient(rgba(27, 58, 75, 0.05) 1px, transparent 1.4px);
  background-size: 22px 22px, 34px 34px;
  background-position: 0 0, 11px 17px;
}
.section-sea { background: var(--grad-sea); color: var(--sand); }
.section-deep { background: var(--grad-deep); color: var(--sand); }
.section-tide { background: var(--grad-tide); }
.section-sea h2, .section-deep h2 { color: var(--white); }
.section-sea h3, .section-deep h3 { color: var(--white); }

.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.2rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }
.section-head-light p { color: #DCEDEC; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Burbujas decorativas detrás del vidrio */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; z-index: 0; }
.blob-coral { width: 320px; height: 320px; background: var(--coral); top: 10%; right: -120px; opacity: .35; }
.blob-light { width: 380px; height: 380px; background: var(--sky); bottom: 5%; left: -160px; opacity: .3; }
.blob-sea { width: 420px; height: 420px; background: var(--sea); top: -120px; left: -150px; opacity: .45; }
.section > .container { position: relative; z-index: 1; }

/* ---------- Intro ---------- */
.intro { padding-top: clamp(2rem, 1.5rem + 3vw, 4rem); }
.intro-grid { display: grid; gap: 2.5rem; align-items: center; }
.intro-media { position: relative; }
.intro-media img, .zones-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.media-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem; font-weight: 600; font-size: 0.92rem; border-radius: var(--radius-pill);
}
.media-tag i { color: var(--sea-dark); }
.check-list { display: grid; gap: 0.6rem; margin-top: 1.2rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-list i { color: var(--sea-dark); margin-top: 0.3rem; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.service-card { padding: 1.6rem 1.4rem; transition: transform .3s ease, border-color .3s ease, background-color .3s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(168, 218, 220, 0.6); background: rgba(20, 45, 58, 0.55); }
.service-card h3 { margin-bottom: 0.45rem; }
.service-card p { margin: 0; color: #E2F0EE; font-size: 0.97rem; }
.service-icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1rem;
  border-radius: 16px; font-size: 1.35rem; color: var(--ink);
  background: linear-gradient(135deg, var(--sky), var(--sea));
  box-shadow: 0 8px 20px -8px rgba(42, 157, 143, 0.8);
}
.service-card:nth-child(4n+2) .service-icon { background: linear-gradient(135deg, var(--coral-soft), var(--coral)); }

/* ---------- Hostelería ---------- */
.hostel-grid { display: grid; gap: 2.5rem; align-items: center; }
.feature-list { display: grid; gap: 1.2rem; margin: 1.6rem 0; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--deep); color: var(--sky); font-size: 1.15rem;
}
.note-inline {
  display: flex; gap: 0.7rem; align-items: flex-start; padding: 1rem 1.2rem; margin: 0;
  background: rgba(42, 157, 143, 0.12); border-left: 4px solid var(--sea); border-radius: 12px; font-weight: 500;
}
.note-inline i { color: var(--sea-dark); margin-top: 0.25rem; }
.hostel-media { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 0.9rem; }
.hostel-media img { border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; height: 100%; object-fit: cover; }
.hm-1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.hm-2 { aspect-ratio: 1 / 1; }
.hm-3 { aspect-ratio: 1 / 1; }

/* ---------- Proceso ---------- */
.steps { display: grid; gap: 1.1rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; }
.step h3 { margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 0.9rem;
  border-radius: 50%; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  color: var(--sand); background: var(--deep);
  box-shadow: 0 0 0 6px rgba(42, 157, 143, 0.25);
}
.step:last-child .step-num { background: var(--coral); color: var(--ink); box-shadow: 0 0 0 6px rgba(231, 111, 81, 0.25); }

/* ---------- Precios ---------- */
.price-grid { display: grid; gap: 1.2rem; }
.price-card { position: relative; padding: 1.7rem 1.4rem; }
.price-card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.2rem; }
.price-card h3 i { color: var(--sky); }
.price-card-featured { border-color: rgba(231, 111, 81, 0.75); background: rgba(20, 45, 58, 0.6); }
.price-badge {
  position: absolute; top: -13px; right: 1.2rem;
  background: var(--coral); color: var(--ink); font-weight: 700; font-size: 0.78rem;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); letter-spacing: 0.03em;
}
.price-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px dashed rgba(168, 218, 220, 0.3);
}
.price-list li:last-child { border-bottom: 0; }
.price-list span { color: #DCEDEC; }
.price-list strong { font-family: var(--font-head); color: var(--white); white-space: nowrap; font-size: 1.05rem; }
.legal-note {
  display: flex; gap: 0.8rem; align-items: flex-start;
  max-width: 60rem; margin: 2.2rem auto 0; padding: 1.1rem 1.3rem;
  font-size: 0.9rem; color: #DCEDEC; line-height: 1.6;
  background: rgba(15, 36, 48, 0.45); border: 1px solid rgba(168, 218, 220, 0.25); border-radius: var(--radius);
}
.legal-note i { color: var(--sky); margin-top: 0.25rem; }
.legal-note strong { color: var(--white); }

/* ---------- Zonas ---------- */
.zones-grid { display: grid; gap: 2.5rem; align-items: start; }
.zones-media { position: relative; }
.zones-media img { aspect-ratio: 4 / 3; }
.chips-title { font-size: 1.05rem; margin: 1.6rem 0 0.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; flex-direction: column; line-height: 1.2;
  padding: 0.5rem 0.9rem; border-radius: 14px;
  background: var(--white); border: 1px solid rgba(42, 157, 143, 0.35);
  font-weight: 600; font-size: 0.93rem; color: var(--deep);
  box-shadow: 0 4px 10px -8px rgba(27, 58, 75, 0.6);
  transition: transform .2s ease, border-color .2s ease;
}
.chip:hover { transform: translateY(-2px); border-color: var(--sea); }
.chip span[lang="eu"] { font-weight: 500; font-size: 0.78rem; color: var(--sea-dark); font-style: italic; }
.chips-alt .chip { background: var(--deep); color: var(--sand); border-color: var(--deep); }
.chips-alt .chip span[lang="eu"] { color: var(--sky); }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; gap: 1.1rem; }
.testimonial { padding: 1.5rem 1.4rem; display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0.7rem 0 1rem; flex: 1; }
.testimonial blockquote p { margin: 0; font-size: 1.02rem; }
.testimonial figcaption { color: var(--muted); font-size: 0.92rem; }
.testimonial figcaption strong { color: var(--deep); }
.stars { color: #C2492B; letter-spacing: 2px; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 2.5rem; align-items: start; }
.faq-aside img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); margin: 1.2rem 0; width: 100%; }
.faq-callout { padding: 1.2rem 1.3rem; }
.faq-callout p { margin-bottom: 0.8rem; }
.accordion { display: grid; gap: 0.75rem; }
.acc-item { background: var(--white); border: 1px solid rgba(42, 157, 143, 0.25); border-radius: var(--radius); box-shadow: 0 6px 18px -14px rgba(27, 58, 75, 0.7); overflow: hidden; }
.acc-heading { margin: 0; font-size: 1rem; }
.acc-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.03rem; color: var(--deep);
}
.acc-trigger:hover { color: var(--sea-dark); }
.acc-trigger i {
  flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(42, 157, 143, 0.14); color: var(--sea-dark); transition: transform .3s ease, background-color .3s ease;
}
.acc-trigger[aria-expanded="true"] i { transform: rotate(45deg); background: var(--coral); color: var(--ink); }
.acc-panel { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.acc-panel p { margin: 0; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 1.5rem; }
.contact-form { padding: 1.5rem 1.3rem; }
.form-row { margin-bottom: 1rem; }
.form-row-half { display: grid; gap: 1rem; }
.form-row-half .field-error { margin-bottom: 0; }
.contact-form label { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 0.35rem; color: var(--sand); }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"],
.contact-form select, .contact-form textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  border-radius: 12px; border: 1.5px solid rgba(168, 218, 220, 0.45);
  background: rgba(241, 250, 238, 0.95); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.35);
}
.contact-form [aria-invalid="true"] { border-color: #FF9B85; box-shadow: 0 0 0 3px rgba(255, 155, 133, 0.35); }
.form-check { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; }
.form-check input { width: 22px; height: 22px; margin-top: 0.15rem; accent-color: var(--coral); }
.form-check label { font-weight: 400; margin: 0; }
.form-check .field-error { grid-column: 1 / -1; }
.contact-form a { color: var(--sky); }
.field-error { margin: 0.3rem 0 0; min-height: 0; font-size: 0.85rem; color: #FFC2B4; font-weight: 600; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status .ok { display: block; padding: 0.9rem 1rem; border-radius: 12px; background: rgba(42, 157, 143, 0.3); border: 1px solid rgba(168, 218, 220, 0.5); color: var(--white); }
.form-status .ok a { color: var(--white); font-weight: 700; }

.contact-cards { display: grid; gap: 0.8rem; margin-bottom: 1.2rem; }
.contact-cards li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; }
.contact-cards i { font-size: 1.35rem; color: var(--coral-soft); width: 28px; text-align: center; }
.cc-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sky); }
.contact-cards a { color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-decoration: none; word-break: break-word; }
.contact-cards a:hover { text-decoration: underline; }
.map-wrap { position: relative; padding: 0.5rem; overflow: hidden; }
.map-consent {
  position: absolute; inset: 0.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem; padding: 1.2rem; text-align: center; border-radius: 12px;
  background: linear-gradient(160deg, rgba(27, 58, 75, 0.95), rgba(34, 96, 106, 0.95));
}
.map-consent p { margin: 0; max-width: 22rem; }
.map-consent i { color: var(--coral-soft); margin-right: 0.3rem; }
.map-consent .btn-ghost { color: var(--sand); border-color: rgba(241, 250, 238, 0.7); }
.map-consent .btn-ghost:hover { background: var(--sand); color: var(--ink); }
.map-wrap.is-loaded .map-consent { display: none; }
.map-wrap iframe { width: 100%; height: 300px; border: 0; border-radius: 12px; filter: saturate(.85) hue-rotate(-8deg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9DEDF; font-size: 0.95rem; }
.site-footer .wave-sep { margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; padding: 2.5rem 0 2rem; }
.brand-footer { margin-bottom: 1rem; }
.footer-title { font-size: 1.05rem; color: var(--white); margin-bottom: 0.9rem; }
.site-footer a { color: var(--sky); }
.site-footer a:hover { color: var(--white); }
.site-footer address p, .footer-col p { margin-bottom: 0.55rem; }
.site-footer address i { width: 18px; color: var(--coral-soft); margin-right: 0.35rem; }
.langs { padding: 0.7rem 0.9rem; border-radius: 12px; background: rgba(168, 218, 220, 0.08); border: 1px solid rgba(168, 218, 220, 0.18); }
.langs i { color: var(--sky); margin-right: 0.3rem; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 0.8rem; padding: 1.3rem 0 1.6rem;
  border-top: 1px solid rgba(168, 218, 220, 0.15); font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.legal-links .link-btn { color: var(--sky); }
.open-now-footer { font-size: 0.9rem; color: #7BE3A0; }

/* ---------- Botones flotantes y barra móvil ---------- */
.float-actions { display: none; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; height: var(--mobile-bar-h);
  box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, 0.45);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; text-decoration: none; color: var(--ink);
}
.mb-call { background: var(--coral); }
.mb-mail { background: var(--sky); }
.mobile-bar a i { font-size: 1.2rem; }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(var(--mobile-bar-h) + 0.75rem); z-index: 120;
  padding: 1rem 1.1rem; background: rgba(15, 36, 48, 0.94); font-size: 0.9rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 0.8rem; }
.cookie-banner a { color: var(--sky); }
.cookie-banner i { color: var(--coral-soft); }
.cookie-actions { display: flex; gap: 0.6rem; justify-content: flex-end; }
.cookie-banner .btn-ghost { color: var(--sand); border-color: rgba(241, 250, 238, 0.6); }
.cookie-banner .btn-ghost:hover { background: var(--sand); color: var(--ink); }

/* ---------- Revelado al scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Páginas legales ---------- */
.legal-hero { position: relative; background: var(--grad-deep); color: var(--sand); padding: 2.5rem 0 1rem; }
.legal-hero h1 { color: var(--white); font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); margin-bottom: 0.3em; }
.legal-hero p { color: #DCEDEC; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.88rem; margin-bottom: 1rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; color: var(--sky); }
.breadcrumb a { color: var(--sky); }
.breadcrumb [aria-current] { color: var(--sand); }
.legal-hero + .wave-sep { background: #22606A; }
.legal-hero + .wave-sep path { fill: var(--sand); }
.legal-content { max-width: 50rem; }
.legal-content h2 { font-size: clamp(1.3rem, 1.15rem + 0.8vw, 1.7rem); margin-top: 2rem; }
.legal-content h3 { margin-top: 1.4rem; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.93rem; background: var(--white); border-radius: 12px; overflow: hidden; }
.legal-content th, .legal-content td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid rgba(27, 58, 75, 0.12); vertical-align: top; }
.legal-content th { background: var(--deep); color: var(--sand); font-family: var(--font-head); }
.table-scroll { overflow-x: auto; }
.placeholder { background: rgba(231, 111, 81, 0.16); padding: 0 0.25rem; border-radius: 4px; font-weight: 600; }

/* ==========================================================================
   ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  :root { --header-h: 76px; }
  .container { width: min(100% - 3.5rem, var(--container)); }
  .brand-logo { width: 46px; height: 46px; }
  .brand-name { font-size: 1.12rem; }

  .header-phone { width: auto; height: auto; padding: 0.6rem 1.1rem; border-radius: var(--radius-pill); gap: 0.55rem; font-family: var(--font-head); }
  .header-phone span { display: inline; }

  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .hero-art { max-width: 420px; }

  .intro-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .testimonials { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
  .form-row-half { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 2rem 1.8rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }

  .mobile-bar { display: none; }
  .float-actions {
    display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  }
  .float-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-width: 58px; height: 58px; padding: 0 1.1rem; border-radius: var(--radius-pill);
    text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55); transition: transform .2s ease;
  }
  .float-btn i { font-size: 1.35rem; }
  .float-btn:hover { transform: translateY(-3px) scale(1.03); color: var(--ink); }
  .float-mail { background: var(--sky); width: 58px; padding: 0; }
  .float-call { background: var(--coral); position: relative; }
  .float-call::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    border: 2px solid var(--coral); animation: ring 2.4s ease-out infinite;
  }
  @keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

  .cookie-banner {
    left: 1.4rem; right: auto; bottom: 1.4rem; max-width: 440px;
  }
}

/* ==========================================================================
   ≥ 1100px
   ========================================================================== */
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static; display: flex; align-items: center; gap: 1.6rem;
    background: none; padding: 0; border: 0; opacity: 1; visibility: visible; transform: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; max-height: none; overflow: visible;
    margin-right: 0.5rem;
  }
  .nav-list { display: flex; gap: 1.4rem; }
  .nav-list a { border: 0; padding: 0.4rem 0; font-size: 0.98rem; position: relative; }
  .nav-list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--coral);
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  .nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
  .nav-cta { display: none; }

  .hero { padding-top: 4.5rem; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .hero-art { max-width: 470px; }

  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .hostel-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .steps { grid-template-columns: repeat(4, 1fr); position: relative; }
  .steps::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 52px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--sea) 0 10px, transparent 10px 18px); z-index: 0;
  }
  .step { z-index: 1; }
  .price-card-featured { transform: translateY(-10px); }
  .zones-grid { grid-template-columns: 1.25fr 0.75fr; gap: 3.5rem; }
  .zones-media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .zones-media img { aspect-ratio: 8 / 9; }
  .testimonials { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
  .map-wrap iframe { height: 340px; }
  .footer-grid { grid-template-columns: 1.5fr 1.2fr 1fr 1fr; gap: 2.5rem; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .wave-parallax > use, .dot::after, .float-call::before, .bay-key * { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Impresión ---------- */
@media print {
  .site-header, .mobile-bar, .float-actions, .cookie-banner, .hero-waves, .wave-sep, .map-wrap { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}

.legal-page main > .section { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
