/* ============================================================
   Clínica Nutrición Gandía — Hoja de estilos
   Paleta y tipografía basadas en el branding corporativo
   ============================================================ */

/* ---------- Fuentes ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* ---------- Variables ---------- */
:root {
  /* Azules del logo / isotipo */
  --navy-900: #0f2a45;
  --navy:     #163a5f;
  --blue:     #2e6fb1;
  --blue-600: #3b7dc4;
  --sky:      #6fa8dc;
  --sky-200:  #aecfe9;

  /* Fondos */
  --pale:   #eef5fc;
  --pale-2: #f5fafe;
  --cream:  #f8f4ee;
  --white:  #ffffff;

  /* Texto */
  --ink:    #1c2a3a;
  --body:   #3f5163;
  --muted:  #6b7a89;
  --line:   #e3ecf4;

  /* WhatsApp / acentos */
  --wa:      #25d366;
  --wa-dark: #1eb958;

  /* Sistema */
  --radius:    20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(22, 58, 95, .06);
  --shadow:    0 14px 40px rgba(22, 58, 95, .10);
  --shadow-lg: 0 30px 70px rgba(22, 58, 95, .16);
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-weight: 400;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy); font-weight: 600; line-height: 1.12; letter-spacing: .2px; }
.kicker {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--blue));
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.section-pad { padding: clamp(72px, 10vw, 128px) 0; }
.bg-pale { background: var(--pale-2); }
.bg-cream { background: var(--cream); }

.section-head { max-width: 720px; margin: 0 auto clamp(44px, 6vw, 68px); text-align: center; }
.section-head .kicker { justify-content: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 18px 0 16px; }
.section-head p { font-size: 1.06rem; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(46, 111, 177, .32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(46, 111, 177, .42); }
.btn-wa {
  background: linear-gradient(135deg, #2ce06e 0%, var(--wa-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .34);
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37, 211, 102, .46); }
.btn-outline {
  background: rgba(255,255,255,.6);
  color: var(--navy);
  border: 1.5px solid var(--sky-200);
}
.btn-outline:hover { background: #fff; border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-ghost { color: var(--navy); padding: 14px 22px; }
.btn-ghost:hover { color: var(--blue); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 6px 24px rgba(22,58,95,.07);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 44px; height: 44px; object-fit: contain; transition: width .4s var(--ease); }
.header.scrolled .brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.16rem; color: var(--navy);
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.brand-text span {
  font-size: .64rem; letter-spacing: .32em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin-top: 3px; white-space: nowrap;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a.nav-link {
  padding: 10px 16px; font-size: .96rem; font-weight: 400; color: var(--ink); border-radius: var(--radius-pill);
  position: relative; transition: color .25s var(--ease);
}
.nav-menu a.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1.5px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: 2px;
}
.nav-menu a.nav-link:hover, .nav-menu a.nav-link.active { color: var(--blue); }
.nav-menu a.nav-link:hover::after, .nav-menu a.nav-link.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 12px 22px; font-size: .95rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle span { position: relative; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(120px, 17vw, 190px) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(1100px 620px at 88% -6%, #e3f0fb 0%, rgba(227,240,251,0) 60%),
    linear-gradient(180deg, #f5fafe 0%, #ffffff 78%);
  overflow: hidden;
}
.hero-iso {
  position: absolute; right: -120px; top: -80px; width: 620px; max-width: 60vw;
  opacity: .05; pointer-events: none; transform: rotate(8deg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  line-height: 1.04;
  margin: 22px 0 22px;
  color: var(--navy);
  font-weight: 600;
}
.hero-copy h1 em { font-style: italic; color: var(--blue); font-weight: 500; }
.hero-copy .lead { font-size: 1.16rem; color: var(--body); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-trust { display: flex; align-items: center; gap: 16px; }
.hero-trust .stat { font-family: var(--font-serif); font-size: 2.9rem; font-weight: 600; color: var(--navy); line-height: 1; }
.hero-trust .stat sup { font-size: 1.3rem; top: -1em; color: var(--blue); }
.hero-trust p { font-size: .95rem; color: var(--muted); max-width: 220px; line-height: 1.45; }
.hero-trust .divider { width: 1px; height: 46px; background: var(--line); }

/* Hero media */
.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.5;
  transform: rotate(1.4deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,42,69,0) 55%, rgba(15,42,69,.22) 100%); }
.hero-badge {
  position: absolute; left: -26px; bottom: 40px; z-index: 3;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 13px; max-width: 250px;
}
.hero-badge .icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--sky), var(--blue)); display: grid; place-items: center; color: #fff; flex: none; }
.hero-badge .icon svg { width: 24px; height: 24px; }
.hero-badge b { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--navy); line-height: 1.1; }
.hero-badge span { font-size: .82rem; color: var(--muted); }
.hero-chip {
  position: absolute; right: -14px; top: 34px; z-index: 3;
  background: var(--navy); color: #fff; border-radius: var(--radius-pill);
  padding: 10px 18px; font-size: .84rem; font-weight: 500; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px;
}
.hero-chip svg { width: 16px; height: 16px; color: var(--sky); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.features { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 42px; padding-bottom: 42px; }
.feature { display: flex; align-items: center; gap: 15px; padding: 8px 18px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature .f-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--pale); color: var(--blue); display: grid; place-items: center; flex: none; }
.feature .f-icon svg { width: 25px; height: 25px; }
.feature b { display: block; color: var(--navy); font-size: 1.02rem; font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; }
.feature span { font-size: .88rem; color: var(--muted); line-height: 1.35; }

/* ============================================================
   NUTRICIÓN (servicio destacado)
   ============================================================ */
.nutri { background: linear-gradient(160deg, #f3f9fe 0%, #e8f2fb 100%); overflow: hidden; }
.nutri-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.nutri-media { position: relative; }
.nutri-media .frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4.2; }
.nutri-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.nutri-media .accent { position: absolute; right: -24px; top: -24px; width: 108px; opacity: .12; transform: rotate(12deg); pointer-events: none; }
.nutri-badge {
  position: absolute; left: -22px; bottom: 30px; z-index: 3;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  border-radius: 18px; padding: 15px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 13px;
}
.nutri-badge .icon { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--sky), var(--blue)); display: grid; place-items: center; color: #fff; flex: none; }
.nutri-badge .icon svg { width: 25px; height: 25px; }
.nutri-badge b { display: block; font-family: var(--font-serif); font-size: 1.08rem; color: var(--navy); line-height: 1.1; }
.nutri-badge span { font-size: .82rem; color: var(--muted); }
.nutri-copy h2 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); margin: 16px 0 20px; }
.nutri-copy .lead { font-size: 1.12rem; color: var(--body); margin-bottom: 26px; max-width: 540px; }
.nutri-list { display: grid; gap: 14px; margin-bottom: 32px; }
.nutri-list li { display: flex; align-items: flex-start; gap: 13px; color: var(--ink); font-size: 1.02rem; }
.nutri-list li svg { color: var(--blue); width: 21px; height: 21px; flex: none; margin-top: 3px; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,42,69,0) 60%, rgba(15,42,69,.28) 100%); opacity:0; transition: opacity .4s var(--ease); }
.card:hover .card-media::after { opacity: 1; }
.card-num {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--blue);
  font-family: var(--font-serif); font-weight: 600; font-size: 1rem;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card-body p { font-size: .96rem; color: var(--body); margin-bottom: 20px; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .92rem;
  color: var(--blue); letter-spacing: .02em; align-self: flex-start;
}
.card-link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

/* ============================================================
   INSTALACIONES / NOSOTROS
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3.4 / 4; }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media .frame-2 {
  position: absolute; right: -22px; bottom: -30px; width: 46%;
  border-radius: 18px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.about-media .frame-2 img { width: 100%; height: 100%; object-fit: cover; }
.about-media .accent {
  position: absolute; left: -30px; top: -30px; width: 120px; height: 120px; opacity: .12; transform: rotate(-10deg);
}
.about-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 20px; }
.about-copy > p { color: var(--body); margin-bottom: 18px; }
.values { display: grid; gap: 16px; margin: 30px 0 34px; }
.value { display: flex; gap: 15px; align-items: flex-start; }
.value .v-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--pale); color: var(--blue); display: grid; place-items: center; flex: none; }
.value .v-icon svg { width: 22px; height: 22px; }
.value b { color: var(--navy); font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; display: block; }
.value span { font-size: .93rem; color: var(--muted); }

/* ============================================================
   HORARIO
   ============================================================ */
.schedule-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: stretch; }
.schedule-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: clamp(26px, 4vw, 40px); position: relative; overflow: hidden;
}
.schedule-card .status {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: .88rem; font-weight: 500; margin-bottom: 22px;
}
.status.open { background: rgba(37, 211, 102, .12); color: #128a3e; }
.status.closed { background: rgba(107, 122, 137, .12); color: var(--muted); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(37,211,102,.18); }
.status.closed .dot { box-shadow: 0 0 0 4px rgba(107,122,137,.14); }
.days { display: grid; }
.day { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); gap: 12px; }
.day:last-child { border-bottom: none; }
.day .d-name { font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.day .d-hours { color: var(--body); font-size: .98rem; text-align: right; font-variant-numeric: tabular-nums; }
.day.is-today { background: var(--pale-2); margin: 0 -14px; padding-left: 18px; padding-right: 18px; border-radius: 12px; border-bottom-color: transparent; }
.day.is-today .d-name { color: var(--blue); }
.day.is-today .d-name::after { content: "Hoy"; margin-left: 10px; font-family: var(--font-sans); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; background: var(--blue); color:#fff; padding: 3px 8px; border-radius: 999px; vertical-align: middle; font-weight: 500; }
.chip-closed { color: var(--muted); font-size: .82rem; letter-spacing: .04em; padding: 4px 12px; background: #f1f4f7; border-radius: 999px; }

.schedule-side { display: flex; flex-direction: column; justify-content: center; }
.schedule-side .kicker { margin-bottom: 16px; }
.schedule-side h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.schedule-side p { color: var(--body); margin-bottom: 16px; }
.schedule-note {
  display: flex; gap: 13px; align-items: flex-start; background: var(--pale); border-radius: 16px; padding: 18px 20px; margin: 8px 0 28px;
}
.schedule-note svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.schedule-note p { margin: 0; font-size: .93rem; color: var(--body); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 4vw, 54px); align-items: stretch; }
.contact-cards { display: grid; gap: 18px; align-content: start; }
.contact-card {
  display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .c-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.contact-card .c-icon svg { width: 26px; height: 26px; }
.c-icon.wa { background: linear-gradient(135deg, #2ce06e, var(--wa-dark)); }
.c-icon.ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b 45%, #6228d7); }
.c-icon.loc { background: linear-gradient(135deg, var(--sky), var(--navy)); }
.contact-card .c-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-card b { display: block; font-family: var(--font-serif); font-size: 1.35rem; color: var(--navy); line-height: 1.15; }
.contact-card span.sub { font-size: .9rem; color: var(--muted); }
.contact-card .go { margin-left: auto; color: var(--sky); transition: transform .3s var(--ease), color .3s; flex: none; }
.contact-card:hover .go { transform: translateX(4px); color: var(--blue); }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 380px; position: relative; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-open {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.96); color: var(--navy); font-weight: 500; font-size: .9rem;
  padding: 11px 18px; border-radius: var(--radius-pill); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.map-open svg { width: 18px; height: 18px; color: var(--blue); }
.map-open:hover { transform: translateY(-2px); color: var(--blue); box-shadow: var(--shadow-lg); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 60%, #0a2038 100%); color: #fff; text-align: center; }
.cta-banner .iso-bg { position: absolute; right: -80px; bottom: -120px; width: 460px; opacity: .08; }
.cta-banner .iso-bg.left { left: -110px; top: -120px; right: auto; bottom: auto; transform: rotate(140deg); }
.cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-banner .kicker { color: var(--sky); justify-content: center; }
.cta-banner .kicker::before { background: linear-gradient(90deg, var(--sky), #fff); }
.cta-banner h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 18px 0 18px; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: clamp(60px, 8vw, 90px) 0 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 54px; }
.footer-brand .brand img { width: 50px; height: 50px; }
.footer-brand .brand-text b { color: #fff; }
.footer-brand p { margin: 20px 0 22px; font-size: .95rem; max-width: 300px; line-height: 1.6; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .3s var(--ease); }
.footer-socials a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-socials a svg { width: 21px; height: 21px; }
.footer-col h4 { color: #fff; font-size: 1.28rem; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: .95rem; color: rgba(255,255,255,.72); transition: color .25s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-hours .fh-row { display: flex; justify-content: space-between; gap: 14px; font-size: .92rem; padding: 3px 0; }
.footer-hours .fh-row span:last-child { color: rgba(255,255,255,.9); }
.footer-hours .fh-row.closed span:last-child { color: rgba(255,255,255,.4); }

.footer-location { }
.footer-location .fl-address { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.footer-location .fl-address svg { width: 22px; height: 22px; color: var(--sky); flex: none; margin-top: 2px; }
.footer-location .fl-address p { font-size: .95rem; line-height: 1.5; }
.footer-location .fl-address b { color: #fff; font-family: var(--font-sans); font-weight: 500; display: block; }
.btn-directions {
  display: inline-flex; align-items: center; gap: 10px; width: 100%; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
  padding: 15px 24px; border-radius: var(--radius-pill); font-weight: 500; font-size: 1rem;
  box-shadow: 0 10px 26px rgba(46,111,177,.3); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-directions:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(46,111,177,.42); }
.btn-directions svg { width: 20px; height: 20px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .86rem; color: rgba(255,255,255,.55); }
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a { font-size: .86rem; color: rgba(255,255,255,.55); }
.footer-bottom .legal a:hover { color: #fff; }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, #2ce06e, var(--wa-dark)); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease); animation: wa-pulse 2.6s infinite;
}
.wa-float svg { width: 33px; height: 33px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse { 0%{ box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4);} 70%{ box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0);} }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.nav-backdrop { position: fixed; inset: 0; background: rgba(15,42,69,.4); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .35s var(--ease); z-index: 98; }
body.menu-open .nav-backdrop { opacity: 1; visibility: visible; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 440px; margin: 0 auto; width: 100%; }
  .hero-badge { left: 0; }
  .features .container { grid-template-columns: repeat(2, 1fr); gap: 24px 8px; }
  .feature:nth-child(3) { border-left: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-media { max-width: 480px; }
  .nutri-grid { grid-template-columns: 1fr; gap: 52px; }
  .nutri-media { max-width: 500px; }
  .schedule-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Menú lateral (hamburguesa) hasta 960px para evitar apiñamiento en tablet */
@media (max-width: 960px) {
  .nav-menu { position: fixed; top: 0; right: 0; height: 100dvh; width: min(82vw, 360px);
    background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 96px 30px 40px; gap: 6px; box-shadow: -20px 0 60px rgba(22,58,95,.14);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 99; overflow-y: auto; }
  body.menu-open .nav-menu { transform: none; }
  .nav-menu a.nav-link { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu a.nav-link::after { display: none; }
  .nav-menu .btn-wa { margin-top: 18px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-trust { flex-wrap: wrap; }
  .features .container { grid-template-columns: 1fr; }
  .feature { border-left: none !important; padding: 6px 0; }
  .feature + .feature { border-top: 1px solid var(--line); padding-top: 22px; }
  .feature + .feature { border-left: none; }
  .services-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-media .frame-2 { width: 52%; right: -10px; }
  .contact-card { padding: 18px; gap: 14px; }
  .contact-card b { font-size: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .hero-actions .btn { flex: 1; }
}

@media (max-width: 400px) {
  .brand-text span { display: none; }
  .hero-badge { padding: 12px 14px; max-width: 210px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Focus visible */
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
