/* ============================================================
   CT ALTA PERFORMANCE — Institutional site
   Palette: warm sand + soft neutral, earth brown text,
   champagne gold accent. Quiet luxury wellness.
   ============================================================ */

:root {
  --sand:        #ddd2be;
  --sand-deep:   #d2c5ab;
  --sand-tint:   #e7decd;
  --neutral:     #f1f1f3;
  --neutral-warm:#f6f3ec;
  --brown:       #695a3b;
  --brown-deep:  #574a30;
  --brown-soft:  #8a7c5e;
  --gold:        #bfa04e;
  --gold-soft:   #cdb672;
  --beige:       #b69f7f;
  --beige-tint:  #cdbca0;
  --white:       #ffffff;

  --ink:         #695a3b;          /* body text */
  --ink-muted:   rgba(105,90,59,.72);
  --ink-faint:   rgba(105,90,59,.50);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-sm: 0 6px 20px -8px rgba(105,90,59,.20);
  --shadow-md: 0 22px 48px -22px rgba(105,90,59,.34);
  --shadow-lg: 0 40px 80px -32px rgba(87,74,48,.40);

  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1220px;
  --gutter: clamp(20px, 5vw, 76px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--neutral);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-soft); color: #fff; }

/* ---------- Typographic scale ---------- */
.serif { font-family: var(--serif); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-deep);
  line-height: 1.08;
  letter-spacing: .005em;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--sans);
  font-size: clamp(11px, .9vw, 13px);
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--beige);
  display: inline-block;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 34px; height: 1px;
  background: var(--beige);
  display: inline-block;
}

.h-display { font-size: clamp(2.7rem, 6vw, 5rem); }
.h-section { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.h-sub     { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--ink-muted);
  font-weight: 400;
  line-height: 1.7;
}

.gold-word { color: var(--gold); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  position: relative;
  padding: clamp(72px, 11vw, 152px) 0;
}
.section--sand    { background: var(--sand); }
.section--neutral { background: var(--neutral); }
.section--white   { background: var(--white); }
.section--warm    { background: var(--neutral-warm); }

.section-head { max-width: 760px; margin: 0 auto clamp(46px, 6vw, 80px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              background .4s var(--ease), color .4s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(191,160,78,.6);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(191,160,78,.7); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--brown);
  border-color: var(--beige);
}
.btn-ghost:hover { background: var(--beige); color:#fff; transform: translateY(-3px); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-on-dark {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-on-dark:hover { background:#fff; color: var(--brown); transform: translateY(-3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding .5s var(--ease), background .5s var(--ease),
              box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(246,243,236,.86);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(182,159,127,.28), 0 10px 30px -22px rgba(105,90,59,.5);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 52px; width: auto; transition: height .5s var(--ease); filter: drop-shadow(0 4px 10px rgba(105,90,59,.15)); }
.site-header.scrolled .brand img { height: 42px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brown);
  padding: 10px 18px;
  border-radius: 100px;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta {
  margin-left: 12px;
  background: var(--gold); color:#fff;
  padding: 11px 22px;
}
.nav .nav-cta::after { display:none; }
.nav .nav-cta:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(191,160,78,.7); }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 46px; height: 46px; padding: 0;
  flex-direction: column; gap: 6px; align-items: center; justify-content: center;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--brown); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--sand);
  padding: clamp(130px, 17vw, 210px) 0 clamp(90px, 12vw, 150px);
  overflow: hidden;
}
.hero::before {
  /* soft organic glow */
  content: "";
  position: absolute; top: -20%; right: -10%;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at 50% 50%, rgba(205,182,114,.30), transparent 62%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  position: relative; z-index: 2;
}
.hero-copy { max-width: 620px; min-width: 0; }
.hero-copy h1, .hero-copy .lead { overflow-wrap: break-word; }
.hero h1 {
  font-size: clamp(2.9rem, 6.2vw, 5.3rem);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { max-width: 520px; margin-bottom: 38px; }
.hero-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
  max-width: 100%;
}
.hero-meta .dot { width: 5px; height:5px; border-radius:50%; background: var(--gold); flex: none; }

.hero-figure {
  position: relative;
}
.hero-figure .img-main {
  border-radius: 46% 46% 46% 46% / 8% 8% 8% 8%;
  border-radius: 220px 220px 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
}
.hero-figure .img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .badge {
  position: absolute; left: -28px; bottom: 38px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 22px;
  padding: 20px 26px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 16px;
  max-width: 260px;
}
.hero-figure .badge .num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.hero-figure .badge .lbl { font-size: 12.5px; line-height: 1.45; color: var(--ink-muted); letter-spacing: .02em; }
.hero-figure .ring {
  position: absolute; right: -22px; top: -22px;
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.hero-figure .ring img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Wave / curve dividers ---------- */
.divider { display: block; width: 100%; height: clamp(50px, 7vw, 110px); }
.divider svg { display:block; width:100%; height:100%; }

/* ============================================================
   SPLIT (image + text) blocks
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame {
  border-radius: 28px 28px 28px 120px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 5.6;
}
.split.reverse .split-media .frame { border-radius: 28px 28px 120px 28px; }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-media .accent-dot {
  position: absolute; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--beige));
  opacity: .22; z-index: -1;
}
.split-media .accent-dot.tr { top: -34px; right: -28px; }
.split-media .accent-dot.bl { bottom: -34px; left: -28px; }
.split-copy { max-width: 560px; }
.split-copy h2 { margin-bottom: 26px; }
.split-copy .lead { margin-bottom: 22px; }
.split-copy .body p { color: var(--ink-muted); }

/* Sobre nosotros: heading separated so it can sit first on mobile */
.split--about {
  grid-template-rows: auto 1fr;
  align-items: start;
}
.split--about .split-head { grid-column: 2; grid-row: 1; max-width: 560px; }
.split--about .split-head h2 { margin-bottom: 0; }
.split--about .split-media { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.split--about .split-copy { grid-column: 2; grid-row: 2; }
.split--about .split-copy .lead { margin-top: 26px; }

/* ============================================================
   FILOSOFÍA (centered)
   ============================================================ */
.philosophy { text-align: center; }
.philosophy .inner { max-width: 880px; margin: 0 auto; }
.philosophy h2 { margin-bottom: 30px; }
.philosophy .body p { color: var(--ink-muted); margin-bottom: 1.3em; }
.dual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 760px; margin: 56px auto 0;
}
.dual .card {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(182,159,127,.32);
  border-radius: 24px;
  padding: 38px 34px;
  text-align: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.dual .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background:#fff; }
.dual .card .icon { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--gold); }
.dual .card .icon svg { width: 100%; height: 100%; }
.dual .card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.dual .card p { font-size: .98rem; color: var(--ink-muted); margin: 0; }

/* ============================================================
   GALERÍA carousel
   ============================================================ */
.gallery-wrap { position: relative; }
.carousel {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sand-deep);
}
.carousel-track {
  display: flex;
  transition: transform .9s var(--ease);
  will-change: transform;
}
.slide {
  position: relative;
  min-width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--sand-deep);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.slide::before {
  content: "";
  position: absolute; inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(34px) brightness(.82) saturate(1.1);
  transform: scale(1.18);
  z-index: 0;
}
.slide img {
  position: relative;
  z-index: 1;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  box-shadow: 0 18px 50px -18px rgba(40,32,16,.55);
}
.slide::after {
  content:""; position:absolute; inset:0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(87,74,48,.16), transparent 46%);
}
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  border: none; cursor: pointer;
  display: grid; place-items: center;
  color: var(--brown);
  box-shadow: var(--shadow-sm);
  transition: background .35s var(--ease), transform .35s var(--ease), color .35s;
  z-index: 3;
}
.car-btn:hover { background: var(--gold); color:#fff; }
.car-btn.prev { left: 22px; }
.car-btn.next { right: 22px; }
.car-btn:hover.prev { transform: translateY(-50%) translateX(-3px); }
.car-btn:hover.next { transform: translateY(-50%) translateX(3px); }
.car-btn svg { width: 22px; height: 22px; }

.dots { display: flex; justify-content: center; gap: 11px; margin-top: 30px; }
.dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: var(--beige-tint);
  transition: width .4s var(--ease), background .4s var(--ease);
}
.dots button.active { width: 30px; border-radius: 100px; background: var(--gold); }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-grid {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.founder-media { position: relative; }
.founder-media .frame {
  border-radius: 200px 200px 30px 30px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.founder-media .frame img { width:100%; height:100%; object-fit: cover; }
.founder-media .sign {
  position: absolute; right: -18px; bottom: 28px;
  width: 92px; height: 92px;
  background: var(--white); border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.founder-media .sign img { width: 58px; height: 58px; }
.founder-copy h2 { margin: 8px 0 6px; }
.founder-name { font-family: var(--serif); font-size: clamp(2rem,3.4vw,2.9rem); color: var(--brown-deep); }
.founder-role {
  display: inline-block;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
  margin: 14px 0 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(182,159,127,.4);
}
.founder-copy .body p { color: var(--ink-muted); }

/* ============================================================
   TRATAMIENTOS
   ============================================================ */
.treatments { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px); }
.treat-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4.5vw, 70px);
  align-items: center;
}
.treat-card.reverse .treat-media { order: 2; }
.treat-media { position: relative; }
.treat-media .frame {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 7 / 5;
  background: var(--sand-deep);
}
.treat-media .frame img { width:100%; height:100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.treat-card:hover .treat-media .frame img { transform: scale(1.05); }
.treat-num {
  display: none;
}
.treat-copy { max-width: 560px; }
.treat-copy .kicker {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 14px;
}
.treat-copy h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 18px; }
.treat-copy p { color: var(--ink-muted); margin-bottom: 28px; font-size: 1.02rem; }
.treat-card.feature .frame { box-shadow: var(--shadow-lg); }
.treat-card.feature .badge-feature {
  display: inline-flex; align-items:center; gap:8px;
  font-size: 11px; letter-spacing:.18em; text-transform: uppercase; font-weight:700;
  color: var(--gold); margin-bottom: 14px;
}
.treat-card.feature .badge-feature::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--gold); }

/* ============================================================
   EQUIPO
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 38px);
}
.team-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--sand); position: relative; }
.team-photo img { width:100%; height:100%; object-fit: cover; transition: transform 1s var(--ease); filter: saturate(1.02); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-placeholder {
  width:100%; height:100%;
  display:grid; place-items:center;
  background: radial-gradient(circle at 50% 38%, var(--sand-tint), var(--sand-deep));
}
.team-placeholder img { width: 46%; height: auto; opacity: .55; }
.team-info { padding: 24px 26px 30px; }
.team-info h3 { font-size: 1.5rem; margin-bottom: 6px; }
.team-info .role { font-size: 13.5px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }

.team-note {
  max-width: 760px; margin: clamp(46px,6vw,72px) auto 0; text-align: center;
}
.team-note p { font-family: var(--serif); font-size: clamp(1.3rem,2.4vw,1.85rem); font-style: italic; color: var(--brown); line-height: 1.5; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testi-wrap { position: relative; display: flex; align-items: center; gap: 14px; }
.testi-track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: clamp(18px, 2.4vw, 30px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 calc((100% - 2 * clamp(18px, 2.4vw, 30px)) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
.testi-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: var(--brown-deep);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.testi-video img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.testi-video:hover img { transform: scale(1.04); }
.testi-video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,24,12,.55), rgba(30,24,12,0) 45%);
  pointer-events: none;
}
.testi-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(3px);
  display: grid; place-items: center;
  color: #fff;
  z-index: 2;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.testi-play svg { width: 22px; height: 22px; margin-left: 3px; }
.testi-video:hover .testi-play { background: var(--gold); transform: translate(-50%, -50%) scale(1.08); }
.testi-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.testi-cap {
  margin: 16px 0 0; text-align: center;
  display: flex; flex-direction: column; gap: 2px;
}
.testi-cap span { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.testi-cap strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--gold); }
.testi-btn {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--brown);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.testi-btn:hover { color: var(--gold); }
.testi-btn:hover.prev { transform: translateX(-3px); }
.testi-btn:hover.next { transform: translateX(3px); }
.testi-btn svg { width: 26px; height: 26px; }
.testi-dots { margin-top: 26px; }

@media (max-width: 860px) {
  .testi-card { flex-basis: 82%; }
}
@media (max-width: 560px) {
  .testi-wrap { gap: 6px; }
  .testi-card { flex-basis: 100%; }
  .testi-btn { display: none; }
}

/* ============================================================
   VALORES (dark band)
   ============================================================ */
.values {
  background: var(--brown);
  color: rgba(255,255,255,.86);
  position: relative;
  overflow: hidden;
}
.values::before {
  content:""; position:absolute; top:-30%; left:-12%;
  width: 50vw; height: 50vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(191,160,78,.22), transparent 60%);
  border-radius:50%;
}
.values .section-head h2 { color: #fff; }
.values .eyebrow { color: var(--gold-soft); }
.values .eyebrow::before, .values .eyebrow.centered::after { background: rgba(255,255,255,.4); }
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative; z-index: 2;
}
.value {
  padding: 14px clamp(20px,2.4vw,34px);
  border-left: 1px solid rgba(255,255,255,.16);
}
.value:first-child { border-left: none; padding-left: 0; }
.value .v-icon { width: 40px; height: 40px; color: var(--gold-soft); margin-bottom: 22px; }
.value .v-icon svg { width:100%; height:100%; }
.value h3 { color: #fff; font-size: 1.7rem; margin-bottom: 14px; }
.value p { font-size: .98rem; color: rgba(255,255,255,.72); margin: 0; line-height: 1.65; }

/* ============================================================
   VISIÓN
   ============================================================ */
.vision { text-align: center; }
.vision .inner { max-width: 860px; margin: 0 auto; }
.vision .mark { width: 64px; height: 64px; margin: 0 auto 30px; opacity: .85; }
.vision .mark img { width:100%; height:auto; }
.vision h2 { margin-bottom: 32px; }
.vision .body p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--brown);
  margin-bottom: 1em;
}
.vision .body p strong { color: var(--gold); font-weight: 500; }

/* ============================================================
   UBICACIÓN
   ============================================================ */
.location-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 70px); align-items: stretch;
}
.map-frame {
  border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
  border: 6px solid #fff;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.2) sepia(.12) saturate(1.05); }
.contact-card {
  background: var(--white);
  border-radius: 28px;
  padding: clamp(34px, 4vw, 50px);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: center;
}
.contact-card h2 { margin-bottom: 14px; }
.contact-card .lead { margin-bottom: 34px; }
.contact-item { display: flex; gap: 18px; margin-bottom: 28px; }
.contact-item .ci-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--sand); color: var(--gold);
  display: grid; place-items: center;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item .ci-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin-bottom: 4px; }
.contact-item .ci-value { font-size: 1.05rem; color: var(--brown); line-height: 1.5; }
.contact-card .btn { margin-top: 8px; align-self: flex-start; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brown-deep);
  color: rgba(255,255,255,.72);
  padding: clamp(64px, 8vw, 96px) 0 38px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px;
  padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand img { height: 96px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1) opacity(.92); }
.footer-brand p { font-size: .95rem; max-width: 330px; color: rgba(255,255,255,.62); }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin: 6px 0 20px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; font-size: .98rem; color: rgba(255,255,255,.72); margin-bottom: 12px; transition: color .3s; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  display: grid; place-items: center; color: rgba(255,255,255,.8);
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color:#fff; transform: translateY(-3px); }
.socials a svg { width: 19px; height: 19px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 28px; font-size: .85rem; color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: clamp(16px,3vw,32px); bottom: clamp(16px,3vw,32px);
  z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.6);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wa-float svg { width: 34px; height: 34px; color: #fff; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 20px 40px -8px rgba(37,211,102,.7); }
.wa-float::before {
  content:""; position:absolute; inset:0; border-radius:50%;
  background:#25D366; z-index:-1;
  animation: waPulse 2.6s var(--ease) infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity:.6; }
  70%  { transform: scale(1.7); opacity:0; }
  100% { transform: scale(1.7); opacity:0; }
}
.wa-tip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(6px);
  background:#fff; color: var(--brown); font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 100px; white-space: nowrap;
  box-shadow: var(--shadow-md); opacity:0; pointer-events:none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wa-float:hover .wa-tip { opacity:1; transform: translateY(-50%) translateX(0); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s 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; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  .wa-float::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .value { padding: 0 26px; }
  .value:nth-child(odd) { border-left: none; padding-left: 0; }
  .value:nth-child(even) { border-left: 1px solid rgba(255,255,255,.16); }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav { 
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; max-width: 100vw;
    height: 100vh; height: 100dvh;
    z-index: 200;
    background: var(--neutral-warm); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 6px; padding: 40px;
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s var(--ease);
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 1.5rem; font-family: var(--serif); padding: 14px 4px; }
  .nav a::after { left: 4px; right: auto; width: 40px; }
  .nav .nav-cta { margin: 22px 0 0; font-family: var(--sans); font-size:14px; }
  .menu-toggle { display: flex; z-index: 201; }
  /* When the menu is open, drop the header's backdrop-filter so it no longer
     acts as a containing block for the fixed nav (which caused the panel to
     stick to the header instead of covering the viewport when scrolled). */
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header,
  body.menu-open .site-header.scrolled {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: transparent; box-shadow: none;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: none; }
  .hero-figure { max-width: 460px; margin: 0 auto; width: 100%; }
  .split, .founder-grid, .treat-card, .treat-card.reverse, .location-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media, .treat-card.reverse .treat-media { order: 0; }
  .split--about { grid-template-rows: none; }
  .split--about .split-head, .split--about .split-media, .split--about .split-copy { grid-column: 1; grid-row: auto; }
  .split--about .split-head { max-width: none; }
  .split-copy, .treat-copy, .founder-copy { max-width: none; }
  .dual { grid-template-columns: 1fr; max-width: 460px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .team-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline:auto; }
  .values-grid { grid-template-columns: 1fr; gap: 30px; }
  .value, .value:nth-child(even) { border-left: none; padding: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; }
  .value:first-child { border-top: none; padding-top: 0; }
  .car-btn { width: 46px; height: 46px; }
  .car-btn.prev { left: 12px; } .car-btn.next { right: 12px; }
  .hero-figure .badge { left: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-meta .dot { display: none; }
  .hero-meta span:not(.dot)::before {
    content: "•"; color: var(--gold); margin-right: 9px;
    font-size: 1.15em; line-height: 1;
  }
}
