/* ==========================================================================
   Espagat · Landing Spa
   ========================================================================== */

/* ---------- Fuentes (alojadas en el propio servidor) ----------
   Open Sans es variable: un archivo sirve para 400, 600 y 700.
   Se declaran por separado para que un peso no declarado (p. ej. 500)
   se vea igual que antes (cae a 400). */

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/open-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/open-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/open-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/open-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/open-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/open-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/barlow-semi-condensed-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-semi-condensed-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-semi-condensed-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/barlow-semi-condensed-300-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-semi-condensed-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-semi-condensed-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --green: #54a624;
  --blue: #336699;
  --ink: #181818;
  --grey: #666666;
  --grey-light: #999999;
  --silver: #cccccc;
  --bg-soft: #f4f4f4;
  --white: #ffffff;
  --line: rgba(24, 24, 24, 0.08);
  --line-strong: rgba(24, 24, 24, 0.12);
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
  --font-display: 'Barlow Semi Condensed', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

img { max-width: 100%; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--ink); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Tipografía común ---------- */

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  text-wrap: balance;
  color: var(--blue);
}

/* ---------- Botones ---------- */

.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 22px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.btn--primary { background: var(--green); color: var(--white); font-weight: 700; padding: 16px 28px; }
.btn--primary:hover { background: var(--white); color: var(--green); }

.btn--primary-dark:hover { background: var(--ink); color: var(--white); }

.btn--ghost-light { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.45); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn--ghost-green { color: var(--green); border: 1px solid rgba(84, 166, 36, 0.35); }
.btn--ghost-green:hover { border-color: var(--green); color: var(--ink); }

.btn--sm { font-size: 14px; padding: 13px 22px; }
.btn--ghost-green.btn--sm { padding: 13px 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav__brand { display: flex; align-items: center; gap: 12px; }
.site-nav__brand img { height: 48px; width: auto; display: block; }

.site-nav__right { display: flex; align-items: center; gap: 24px; }

#site-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
#site-nav-links a,
#site-nav-links a:hover { color: var(--ink); }
#site-nav-links a.nav-cta { background: var(--green); color: var(--white); padding: 11px 20px; border-radius: 999px; }
#site-nav-links a.nav-cta:hover { background: var(--ink); color: var(--white); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(24, 24, 24, 0.14);
  border-radius: 999px;
  background: var(--white);
  flex-shrink: 0;
}
.lang-switch button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
  background: transparent;
  color: var(--grey);
  transition: background .2s ease, color .2s ease;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

#nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  align-items: center;
  justify-content: center;
}
#nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background .2s ease .1s;
}
#nav-toggle span::before,
#nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease;
}
#nav-toggle span::before { top: -7px; }
#nav-toggle span::after { top: 7px; }
#nav-toggle.is-open span { background: transparent; }
#nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
#nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  #site-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
    box-shadow: 0 12px 24px rgba(24, 24, 24, 0.08);
  }
  #site-nav-links.is-open { display: flex; }
  #site-nav-links a { width: 100%; }
  #nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,24,24,0.15) 0%, rgba(24,24,24,0.35) 45%, rgba(24,24,24,0.85) 100%);
}
.hero__inner {
  position: relative;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.hero__content { max-width: 760px; animation: fadeUp 0.9s ease both; }
.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
}
.hero__title {
  margin: 0 0 22px;
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--white);
  text-wrap: balance;
}
.hero__text {
  margin: 0 0 34px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  text-wrap: pretty;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 22px;
  color: var(--white);
}
.stat { flex: 1 1 160px; padding: 6px 24px 6px 0; }
.stat:last-child { padding-right: 0; }
.stat__value { font-size: 34px; line-height: 1; }
.stat__label { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-top: 6px; }

/* ---------- Intro ---------- */

.intro {
  padding-top: 96px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: start;
}
.intro__text { font-size: 17px; line-height: 1.65; color: var(--grey); text-wrap: pretty; }
.intro__text p { margin: 0 0 16px; }
.intro__text p:last-child { margin: 0; }

/* ---------- Circuitos ---------- */

.circuits { padding-top: 56px; padding-bottom: 96px; }
.circuits__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.circuits__note { margin: 0; font-size: 15px; color: var(--grey); max-width: 380px; text-wrap: pretty; }
.circuits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--silver); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}
.card__body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
  color: var(--blue);
}
.card__price { text-align: right; flex-shrink: 0; }
.card__price-value { font-size: 32px; line-height: 1; color: var(--green); }
.card__price-meta { font-size: 12px; color: var(--grey-light); margin-top: 4px; }
.card__desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }
.card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 5px;
  font-size: 14px;
  color: var(--ink);
}
.card__list li { display: flex; gap: 5px; align-items: flex-start; line-height: 1.45; }
.card__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 8px;
  flex-shrink: 0;
}
.card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }

/* ---------- Instalaciones ---------- */

.facilities { background: var(--bg-soft); color: var(--ink); }
.facilities__inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: center;
}
.facilities .section-title { margin-bottom: 20px; }
.facilities__text { margin: 0 0 32px; font-size: 16px; line-height: 1.65; color: var(--grey); max-width: 480px; text-wrap: pretty; }
.zones {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.zones li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-strong);
}
.zones__n { font-family: var(--font-display); font-size: 20px; color: var(--grey-light); min-width: 24px; }
.zones__name { font-weight: 600; font-size: 15px; }
.zones__note { font-size: 13px; color: var(--grey-light); margin-top: 2px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.gallery img.gallery__wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* ---------- Beneficios ---------- */

.benefits { padding-top: 96px; padding-bottom: 96px; }
.benefits__head { max-width: 640px; margin-bottom: 44px; }
.benefits__grid { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; }
.benefit {
  flex: 1 1 calc(33.333% - 10px);
  min-width: 220px;
  max-width: calc(33.333% - 10px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}
.benefit__icon { color: var(--green); margin-bottom: 14px; }
.benefit__icon svg { width: 30px; height: 30px; }
.benefit__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--blue);
}
.benefit__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--grey); text-wrap: pretty; }

/* ---------- Regalo ---------- */

.gift {
  position: relative;
  background-image: url('../img/bg-spa.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.gift__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
.gift__inner { position: relative; padding-top: clamp(64px, 10vw, 150px); padding-bottom: clamp(64px, 10vw, 150px); }
.gift__content { max-width: 680px; }
.gift__eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
}
.gift__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.03;
  color: var(--white);
  text-wrap: balance;
}
.gift__text { margin: 0; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); max-width: 520px; text-wrap: pretty; }
.gift .btn-row { margin-top: 32px; }
.gift .btn--primary { padding: 16px 26px; }

/* Móvil / tablet: versión más ligera del fondo */
@media (max-width: 1000px) {
  .gift { background-image: url('../img/bg-spa-1000.webp'); }
}

/* iOS no soporta background-attachment: fixed */
@supports (-webkit-touch-callout: none) {
  .gift { background-attachment: scroll; }
}

/* ---------- Opiniones ---------- */

.reviews { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews__inner { padding-top: 80px; padding-bottom: 80px; }
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 36px;
}
.reviews .section-title { font-size: clamp(30px, 3.4vw, 44px); }
.reviews__score { font-size: 14px; color: var(--grey-light); }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--silver); }
.review p {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: pretty;
}
.review footer { font-size: 13px; font-weight: 600; color: var(--grey-light); }

/* ---------- Info práctica + FAQ ---------- */

.info {
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px;
}
.info .section-title { margin-bottom: 28px; text-wrap: initial; }
.eyebrow--spacer { visibility: hidden; }

.info-row { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.info-row:last-child { border-bottom: 1px solid var(--line-strong); }
.info-row__label {
  min-width: 130px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  padding-top: 2px;
}
.info-row__value { font-size: 15px; line-height: 1.55; color: var(--ink); }
.info-row__value a { text-decoration: underline; }
.muted { color: var(--grey-light); }

.faq { border-bottom: 1px solid var(--line-strong); }
.faq__item { border-top: 1px solid var(--line-strong); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq__sign {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--green);
  flex-shrink: 0;
}
.faq__sign::before { content: "+"; }
.faq__q[aria-expanded="true"] .faq__sign::before { content: "\2212"; }
.faq__a { margin: 0; padding: 0 40px 18px 0; font-size: 15px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }
.faq__a[hidden] { display: none; }

/* ---------- Contacto / footer ---------- */

.contact { background: var(--ink); color: var(--white); }
.contact__inner { padding-top: 96px; padding-bottom: 72px; }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: end;
}
.contact__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  text-wrap: balance;
}
.contact__text { margin: 0 0 30px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); max-width: 460px; text-wrap: pretty; }
.contact__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  font-size: 15px;
  line-height: 1.6;
}
.contact__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 700;
  margin-bottom: 8px;
}
.contact__details address { font-style: normal; }
.contact__details a,
.contact__details a:hover { color: var(--white); display: block; }

.footer-bar {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bar img { height: 75px; width: auto; display: block; opacity: 0.9; }
.footer-bar__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bar__links a,
.footer-bar__links a:hover { color: rgba(255, 255, 255, 0.6); }

/* ---------- WhatsApp flotante ---------- */

.wa-float {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 30;
  width: 60px;
  height: 60px;
  background: #26d365;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.wa-float:hover { background: #20b859; }
.wa-float.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Aviso de cookies (estilo Complianz) ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  width: 526px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
  padding: 20px 22px 16px;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}
.cookie-banner[hidden] { display: none; }

.cookie-banner__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}
.cookie-banner__title { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.cookie-banner__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -6px -6px -6px 0;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--grey);
  cursor: pointer;
}
.cookie-banner__close:hover { background: var(--bg-soft); color: var(--ink); }

.cookie-banner__text { margin: 0 0 14px; color: var(--grey); font-size: 12px; }

/* Categorías */
.cookie-cats { display: grid; gap: 8px; margin-bottom: 14px; }
.cookie-cats[hidden] { display: none; }
.cookie-cat { background: var(--bg-soft); border-radius: 8px; }
.cookie-cat__header { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.cookie-cat__title { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink); }
.cookie-cat__always { font-size: 12px; font-weight: 600; color: var(--green); }
.cookie-cat__toggle {
  display: flex;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: var(--grey);
  transition: transform .2s ease;
}
.cookie-cat__toggle[aria-expanded="true"] { transform: rotate(180deg); }
.cookie-cat__desc { margin: 0; padding: 0 12px 12px; color: var(--grey); font-size: 12px; }
.cookie-cat__desc[hidden] { display: none; }

/* Interruptor */
.cookie-switch { position: relative; display: inline-flex; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-switch__track {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #c4c4c4;
  position: relative;
  transition: background .2s ease;
}
.cookie-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  transition: transform .2s ease;
}
.cookie-switch input:checked + .cookie-switch__track { background: var(--green); }
.cookie-switch input:checked + .cookie-switch__track::after { transform: translateX(18px); }
.cookie-switch input:focus-visible + .cookie-switch__track { outline: 2px solid var(--green); outline-offset: 2px; }

/* Botones: mismo tamaño, "Aceptar" en verde corporativo */
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}
.cookie-btn {
  flex: 1 1 130px;
  min-height: 45px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--green);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cookie-btn[hidden] { display: none; }
.cookie-btn--accept { background: var(--green); color: var(--white); }
.cookie-btn--accept:hover { background: #468a1e; border-color: #468a1e; }
.cookie-btn--deny { background: var(--white); color: var(--green); }
.cookie-btn--deny:hover { background: var(--green); color: var(--white); }
.cookie-btn--prefs { background: var(--white); color: var(--ink); border-color: rgba(24, 24, 24, 0.25); }
.cookie-btn--prefs:hover { border-color: var(--ink); }
.cookie-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.cookie-banner__links {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-size: 12px;
}
.cookie-banner__links a { color: var(--grey); text-decoration: underline; }
.cookie-banner__links a:hover { color: var(--green); }

@media (max-width: 480px) {
  .cookie-banner { left: 8px; bottom: 8px; max-width: calc(100vw - 16px); padding: 16px 16px 12px; }
  .cookie-btn { flex-basis: 100%; }
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.link-btn:hover { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__content { animation: none; }
}
