/* ============================================================
   Ana Benegas Psicología — Sistema de diseño
   Dirección: "La Ascensión / El Camino Interior"
   Paleta de marca: vino #981633 · oro #f9c686 · turquesa #68ccd1
   ============================================================ */

:root {
  /* Marca */
  --vino-900: #4d0a1b;
  --vino-800: #6b1024;
  --vino: #981633;
  --vino-600: #b02a45;
  --vino-400: #cf6e83;
  --vino-200: #efc9d2;
  --vino-100: #f8e6ea;

  --oro: #f9c686;
  --oro-deep: #d99a4e;
  --oro-soft: #fdeacf;

  --turquesa: #68ccd1;
  --turquesa-deep: #2f8f95;
  --turquesa-soft: #ddf2f3;

  --tinta: #3a2e2e;
  --tinta-soft: #6f6160;
  --tinta-mute: #9a8d8c;

  --crema: #fdf8f2;
  --marfil: #f6ecdf;
  --blanco: #ffffff;

  /* Semánticos */
  --bg: var(--crema);
  --fg: var(--tinta);
  --brand: var(--vino);
  --accent: var(--oro-deep);
  --calm: var(--turquesa-deep);

  --font-display: 'Comfortaa', system-ui, sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(74, 10, 27, 0.06);
  --shadow-md: 0 12px 30px -12px rgba(74, 10, 27, 0.18);
  --shadow-lg: 0 30px 60px -25px rgba(74, 10, 27, 0.30);

  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 76px;
}

/* ============================================================ Reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-padding-top: calc(var(--nav-h) + 10px);
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  color: var(--vino-900);
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1rem; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--vino); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--vino-800); }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--turquesa-deep); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--vino); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color:#fff; }

/* ============================================================ Layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }
.section { position: relative; padding-block: clamp(56px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--cream { background: var(--crema); }
.section--marfil { background: var(--marfil); }
.section--wine { background: linear-gradient(160deg, var(--vino-900), var(--vino) 70%, var(--vino-800)); color: #fff; }
.section--wine h1, .section--wine h2, .section--wine h3 { color: #fff; }
.section--turq { background: linear-gradient(160deg, #0c3a3d, var(--turquesa-deep)); color: #fff; }
.section--turq h2, .section--turq h3 { color: #fff; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--vino);
  background: var(--vino-100); padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.section--wine .section__eyebrow, .section--turq .section__eyebrow { background: rgba(255,255,255,.14); color: var(--oro); }
.section__title { font-size: clamp(1.8rem, 4.2vw, 3rem); margin-bottom: .6rem; }
.section__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--tinta-soft); max-width: 60ch; }
.section--wine .section__lead, .section--turq .section__lead { color: rgba(255,255,255,.85); }
.center { text-align: center; margin-inline: auto; }
.center .section__lead { margin-inline: auto; }

/* ============================================================ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  min-height: 48px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  cursor: pointer; text-align: center;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--vino); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--vino-800); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--wa { background: #25D366; color: #06351b; }
.btn--wa:hover { background: #1ebe5a; color: #06351b; transform: translateY(-3px); box-shadow: 0 18px 36px -16px rgba(37,211,102,.7); }
.btn--ghost { background: transparent; color: var(--vino); border-color: var(--vino-400); }
.btn--ghost:hover { background: var(--vino); color: #fff; transform: translateY(-3px); }
.btn--gold { background: var(--oro); color: var(--vino-900); }
.btn--gold:hover { background: var(--oro-deep); color: var(--vino-900); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--vino); }
.btn--light:hover { background: var(--oro-soft); color: var(--vino-900); transform: translateY(-3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================ Nav */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(253, 248, 242, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(74,10,27,.08);
  transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(253, 248, 242, 0.95); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; color: var(--vino-900); }
.brand img { width: 40px; height: 40px; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-size: 1.08rem; letter-spacing: .01em; }
.brand__name span { font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--turquesa-deep); }
.nav__links { display: none; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--tinta);
  padding: 9px 13px; border-radius: 999px; transition: background .2s, color .2s; position: relative;
}
.nav__links a svg { width: 15px; height: 15px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--vino-100); color: var(--vino); }
.nav__cta { display: none; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 260px; opacity: 0; visibility: hidden; transition: all .22s var(--ease);
  border: 1px solid rgba(74,10,27,.07);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .9rem; color: var(--tinta); }
.dropdown a:hover { background: var(--vino-100); color: var(--vino); }
.dropdown a svg { width: 18px; height: 18px; color: var(--vino); flex: none; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: none; background: var(--vino); color: #fff; border-radius: 12px;
}
.nav__toggle svg { width: 24px; height: 24px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: var(--crema);
  transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
  padding: 22px clamp(18px,5vw,40px) 60px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { list-style: none; }
.mobile-menu > ul > li > a, .mobile-menu .m-group > span {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--vino-900);
  padding: 16px 6px; border-bottom: 1px solid rgba(74,10,27,.10);
}
.mobile-menu .m-sub { padding-left: 14px; }
.mobile-menu .m-sub a { display: block; padding: 11px 6px; color: var(--tinta-soft); font-weight: 600; font-size: 1rem; }
.mobile-menu .m-group > span { color: var(--turquesa-deep); }
body.menu-open { overflow: hidden; }

/* ============================================================ Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff6ea 0%, var(--crema) 55%, var(--marfil) 100%); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(48px, 8vw, 96px); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; box-shadow: var(--shadow-sm);
  border: 1px solid var(--vino-100); padding: 8px 16px 8px 10px; border-radius: 999px;
  font-weight: 600; font-size: .85rem; color: var(--vino); margin-bottom: 22px;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2.2s infinite; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); line-height: 1.05; margin-bottom: 18px; }
.hero h1 .accent { color: var(--vino); position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; color: var(--oro); }
.hero__lead { font-size: clamp(1.1rem, 2.3vw, 1.4rem); color: var(--tinta-soft); max-width: 38ch; margin-bottom: 28px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 26px 34px; margin-top: 34px; }
.hero__portrait { position: relative; }
.hero__portrait .frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff; aspect-ratio: 4/5; background: var(--marfil);
}
.hero__portrait .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__portrait .float-card {
  position: absolute; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-weight: 600;
}
.hero__portrait .float-card svg { width: 30px; height: 30px; color: var(--vino); flex: none; }
.hero__portrait .float-card small { display:block; font-size: .72rem; color: var(--tinta-mute); font-weight:600; text-transform: uppercase; letter-spacing:.08em; }
.hero__portrait .float-card b { font-size: 1.05rem; color: var(--vino-900); font-family: var(--font-display); }
.fc-1 { top: 18px; left: -16px; }
.fc-2 { bottom: 22px; right: -14px; }

/* ============================================================ Page hero (interior) */
.phero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--vino-900), var(--vino) 75%); color: #fff; padding-block: clamp(60px, 10vw, 130px) clamp(70px,11vw,150px); }
.phero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.phero p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem,2vw,1.3rem); max-width: 60ch; }
.phero .container { position: relative; z-index: 2; }
.phero__bg { position: absolute; inset: 0; z-index: 0; opacity: .9; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; margin-bottom: 20px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: var(--oro); font-weight: 600; }
.breadcrumb span { opacity: .6; }

/* Topographic / peak decorations */
.peak-divider { display: block; width: 100%; height: auto; color: var(--crema); }
.blob { position: absolute; filter: blur(2px); opacity: .5; pointer-events: none; }

/* ============================================================ Cards */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }

.card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(74,10,27,.06); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden; height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--vino-200); }
.card__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--vino-100), var(--oro-soft)); color: var(--vino);
  transition: transform .35s var(--ease);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--tinta-soft); font-size: .98rem; margin-bottom: 14px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; color: var(--vino); font-size: .92rem; }
.card__link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(5px); }
.card__step {
  position: absolute; top: 18px; right: 20px; font-family: var(--font-display); font-weight: 700;
  font-size: 2.4rem; color: var(--vino-100); line-height: 1; user-select: none;
}

/* Service card with image */
.scard { background:#fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border:1px solid rgba(74,10,27,.06); transition: transform .35s var(--ease), box-shadow .35s var(--ease); height:100%; display:flex; flex-direction:column;}
.scard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.scard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--marfil);}
.scard__media img { width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__media .tag { position:absolute; top:14px; left:14px; background: rgba(253,248,242,.92); color: var(--vino); font-family:var(--font-display); font-weight:600; font-size:.78rem; padding:6px 13px; border-radius:999px; }
.scard__body { padding: 24px; display:flex; flex-direction:column; flex:1; }
.scard__body h3 { font-size:1.25rem; margin-bottom:8px;}
.scard__body p { color: var(--tinta-soft); font-size:.96rem; flex:1; }

/* ============================================================ Stats / counters */
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); color: var(--vino); line-height: 1; }
.section--wine .stat__num, .section--turq .stat__num { color: var(--oro); }
.stat__label { font-size: .9rem; color: var(--tinta-soft); font-weight: 600; margin-top: 6px; }
.section--wine .stat__label, .section--turq .stat__label { color: rgba(255,255,255,.82); }
.stats-band { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }

/* ============================================================ Path / journey (gamified) */
.journey { position: relative; }
.journey__line { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--vino-200), var(--oro)); border-radius: 3px; }
.jstep { position: relative; padding-left: 76px; padding-block: 18px; }
.jstep__dot {
  position: absolute; left: 8px; top: 22px; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 3px solid var(--vino); color: var(--vino); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; box-shadow: var(--shadow-sm); z-index: 1;
}
.jstep__dot svg { width: 20px; height: 20px; }
.jstep h3 { font-size: 1.2rem; margin-bottom: 4px; }
.jstep p { color: var(--tinta-soft); margin: 0; }

/* ============================================================ Pills / lists */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--vino-100);
  color: var(--tinta); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.pill:hover { transform: translateY(-3px); background: var(--vino); color: #fff; border-color: var(--vino); }
.pill svg { width: 16px; height: 16px; color: var(--oro-deep); }
.pill:hover svg { color: var(--oro); }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li svg { width: 24px; height: 24px; color: var(--turquesa-deep); flex: none; margin-top: 2px; }
.section--wine .check-list li svg { color: var(--oro); }

/* ============================================================ Feature / split */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 5px solid #fff; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ============================================================ Quote */
.quote { position: relative; max-width: 50ch; margin-inline: auto; text-align: center; }
.quote p { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.35; color: var(--vino-900); }
.section--wine .quote p { color: #fff; }
.quote__mark { font-size: 5rem; line-height: .6; color: var(--oro); font-family: var(--font-display); }

/* ============================================================ Gallery */
.gallery { columns: 2; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.gallery img { width: 100%; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* ============================================================ CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  background: linear-gradient(150deg, var(--vino-900), var(--vino) 70%, var(--vino-800));
  border-radius: var(--radius-xl); padding: clamp(34px, 6vw, 70px); color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.7rem); margin-bottom: 14px; max-width: 18ch; }
.cta-card p { color: rgba(255,255,255,.88); max-width: 48ch; }
.cta-card__deco { position: absolute; right: -40px; bottom: -50px; width: 320px; color: rgba(249,198,134,.16); pointer-events: none; }

/* ============================================================ Footer */
.footer { background: var(--vino-900); color: rgba(255,255,255,.78); padding-block: 64px 28px; position: relative; overflow: hidden; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: var(--oro); }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; position: relative; z-index: 1; }
.footer__brand img { width: 52px; height: 52px; margin-bottom: 14px; }
.footer__brand p { font-size: .95rem; max-width: 36ch; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: .95rem; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.footer__contact svg { width: 19px; height: 19px; color: var(--oro); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; font-size: .85rem; align-items: center; }
.footer__bottom a { text-decoration: underline; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer__social a:hover { background: var(--oro); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; color: #fff; }
.footer__social a:hover svg { color: var(--vino-900); }

/* ============================================================ WhatsApp float + scroll progress */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease); animation: pulse-wa 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
.wa-float .wa-tip {
  position: absolute; right: 72px; background: #fff; color: var(--vino-900); font-weight: 600; font-size: .85rem;
  padding: 9px 14px; border-radius: 12px; white-space: nowrap; box-shadow: var(--shadow-md); opacity: 0; transform: translateX(8px);
  transition: all .25s var(--ease); pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0%; z-index: 110;
  background: linear-gradient(90deg, var(--vino), var(--oro)); transition: width .1s linear;
}

/* ============================================================ Reveal animations */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* Floating animation for hero deco */
.float-anim { animation: floaty 6s ease-in-out infinite; }
.float-anim--slow { animation: floaty 9s ease-in-out infinite; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
@keyframes pulse-wa { 0% { box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,0);} }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Animated SVG path (sendero) */
.draw-path { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.draw-path.is-in { animation: draw 2.4s var(--ease) forwards; }

/* ============================================================ Form */
.form { display: grid; gap: 16px; background: #fff; padding: clamp(24px,4vw,40px); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--vino-900); margin-bottom: 6px; display: block; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--vino-100);
  font-family: inherit; font-size: 1rem; color: var(--tinta); background: var(--crema); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--vino); box-shadow: 0 0 0 4px var(--vino-100); }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.form__note { font-size: .82rem; color: var(--tinta-mute); }
.form__ok { display:none; background: var(--turquesa-soft); color: var(--turquesa-deep); padding: 14px 18px; border-radius: 12px; font-weight:600; }
.form__ok.show { display:block; }

/* Info cards (contacto) */
.info-card { background:#fff; border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); border:1px solid rgba(74,10,27,.06); display:flex; gap:16px; align-items:flex-start; }
.info-card svg { width: 26px; height:26px; color: var(--vino); flex:none; }
.info-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--tinta-soft); font-size: .95rem; margin:0; }

/* Mapa */
.map-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; background: var(--marfil); }
.map-frame { display: block; width: 100%; height: 380px; border: 0; }
.map-card { background: #fff; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; border-top: 3px solid var(--vino); }
.map-card .pin { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, var(--vino-100), var(--oro-soft)); color: var(--vino); }
.map-card .pin svg { width: 24px; height: 24px; }
.map-card small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--tinta-mute); text-transform: uppercase; }
.map-card b { font-family: var(--font-display); color: var(--vino-900); font-size: 1.05rem; display: block; margin: 2px 0; }
.map-card p { color: var(--tinta-soft); font-size: .92rem; margin: 0 0 12px; }
.map-card .btn { padding: 10px 18px; min-height: 40px; font-size: .9rem; }
@media (min-width: 680px) {
  .map-frame { height: 480px; }
  .map-card { position: absolute; left: 22px; bottom: 22px; max-width: 320px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border-top: none; border-left: 4px solid var(--vino); }
}

/* Prose for legal pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--tinta-soft); }
.prose ul { padding-left: 20px; list-style: disc; display: grid; gap: 8px; margin-bottom: 16px; }
.prose a { text-decoration: underline; }

/* Awards */
.award { display:flex; gap:18px; align-items:flex-start; background:#fff; border-radius:var(--radius-md); padding:24px; box-shadow:var(--shadow-sm); border:1px solid rgba(74,10,27,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease);}
.award:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.award__medal { width:54px; height:54px; flex:none; border-radius:50%; background: linear-gradient(150deg,var(--oro),var(--oro-deep)); display:grid; place-items:center; color: var(--vino-900); box-shadow: 0 6px 16px -6px rgba(217,154,78,.7);}
.award__medal svg { width:28px; height:28px; }
.award h3 { font-size:1.12rem; margin-bottom:4px;}
.award p { color: var(--tinta-soft); margin:0; font-size:.95rem;}

/* misc */
.text-balance { text-wrap: balance; }
.mt-s{margin-top:18px}.mt-m{margin-top:30px}.mt-l{margin-top:48px}
.divider-wave { display:block; width:100%; line-height:0; }
.eyebrow-row { display:flex; flex-direction:column; align-items:flex-start; }
.center .eyebrow-row { align-items:center; }

/* ============================================================ Responsive */
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 3; }
}
@media (min-width: 880px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .split__media { order: 2; }
  .stats-band { grid-template-columns: repeat(4,1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .gallery { columns: 4; }
}
@media (min-width: 1024px){
  .hero__lead { font-size: 1.4rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .draw-path { stroke-dashoffset: 0 !important; }
}
