/* ==========================================================================
   Dra. Camila Márquez · Abogada penalista
   Identidad: Verde #004D40 · Gris #333333 · Beige #B2A496 · Gris claro #ECEEEF
   Tipografías: Cormorant Garamond (títulos) · DM Sans (textos)
   ========================================================================== */

:root {
  --green: #004D40;
  --green-950: #00211C;
  --green-900: #002D26;
  --green-800: #003A31;
  --green-600: #0E5F51;
  --ink: #333333;
  --ink-soft: #5B5B5B;
  --beige: #B2A496;
  --beige-300: #CFC5BA;
  --beige-100: #EEE9E3;
  --mist: #ECEEEF;
  --paper: #F6F6F4;
  --white: #FFFFFF;
  --wa: #25D366;

  --ff-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --ff-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --gutter: clamp(1rem, 4vw, 3rem);
  --maxw: 1320px;
  --topbar-h: 0px; /* sin barra superior */
  --nav-h: 84px;
  --nav-h-sm: 68px;
  --radius: 4px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums; /* Cormorant trae números antiguos por defecto (1o en vez de 10) */
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3 { margin: 0; }
strong { font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 300;
  background: var(--white); color: var(--green); padding: .7rem 1rem; border-radius: var(--radius);
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }

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

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--green); --btn-fg: var(--white); --btn-bd: var(--green);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  height: 50px; padding: 0 1.5rem;
  font-family: var(--ff-sans); font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--green-800));
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: scale(.98); }
.btn .ic { width: 1.2rem; height: 1.2rem; }
.btn--sm { height: 44px; padding: 0 1.1rem; font-size: .9rem; }
.btn--lg { height: 58px; padding: 0 1.9rem; font-size: 1rem; }
.btn--wa .ic { color: var(--wa); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--green); --btn-bd: var(--white); --btn-hover: var(--mist); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.45); --btn-hover: var(--white);
}
.btn--ghost:hover { --btn-fg: var(--green); border-color: var(--white); }

/* Íconos de los botones del hero: WhatsApp rebota y gira, el teléfono "suena" */
.hero-ctas .btn .ic, .phero-ctas .btn .ic, .pcta-ctas .btn .ic { transition: transform .55s cubic-bezier(.34, 1.8, .64, 1); }
.hero-ctas .btn--wa:hover .ic, .phero-ctas .btn--light:hover .ic, .pcta-ctas .btn--light:hover .ic { transform: scale(1.32) rotate(-14deg); }
.hero-ctas .btn--ghost:hover .ic, .phero-ctas .btn--ghost:hover .ic, .pcta-ctas .btn--ghost:hover .ic { animation: phone-ring .9s ease-in-out; transform: scale(1.15); }
@keyframes phone-ring {
  0%, 100% { transform: scale(1.15) rotate(0); }
  10%, 30%, 50% { transform: scale(1.22) rotate(-16deg); }
  20%, 40%, 60% { transform: scale(1.22) rotate(16deg); }
  75% { transform: scale(1.15) rotate(-4deg); }
}

/* ==========================================================================
   PRELOADER — dibujado del logo
   ========================================================================== */
.preloader { --k: 1; position: fixed; inset: 0; z-index: 200; animation: pl-failsafe 0s calc(9s * var(--k)) forwards; }
html:not(.js) .preloader { display: none; }
.pl-fast .preloader { --k: .42; }
.preloader.is-gone { display: none; }

.pl-panel, .pl-wipe { position: absolute; inset: 0; will-change: transform; }
.pl-wipe { background: var(--beige); }
.pl-panel {
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 42%, rgba(30, 120, 102, .35) 0%, transparent 60%),
    linear-gradient(180deg, #004D40 0%, #003E34 55%, #002D26 100%);
}
.pl-panel::after { /* textura de grano */
  content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .07; mix-blend-mode: overlay; pointer-events: none;
}
.preloader.is-leaving .pl-panel,
.preloader.is-leaving .pl-wipe {
  transform: translateY(-100%);
  border-bottom-left-radius: 50% 16vh; border-bottom-right-radius: 50% 16vh;
  transition: transform 1.15s var(--ease-io), border-radius 1.15s var(--ease-io);
}
.preloader.is-leaving .pl-wipe { transition-delay: .13s; }
.preloader.is-leaving .pl-stage { transform: translateY(-8vh) scale(.96); opacity: 0; transition: transform 1s var(--ease-io), opacity .7s ease .1s; }
.preloader.is-leaving .pl-foot, .preloader.is-leaving .pl-lines { opacity: 0; transition: opacity .4s; }

.pl-stage { position: relative; display: grid; justify-items: center; gap: clamp(1.4rem, 3vh, 2.2rem); padding: 1rem; }
.pl-logo { width: min(520px, 80vw); height: auto; overflow: visible; }

/* Anillo que se dibuja y disco que se expande */
.pl-ring {
  fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transform: rotate(-90deg); transform-box: fill-box; transform-origin: center;
  animation: pl-draw calc(1.15s * var(--k)) var(--ease-io) calc(.25s * var(--k)) forwards;
}
.pl-disc {
  fill: var(--white); transform: scale(0); transform-box: fill-box; transform-origin: center;
  animation: pl-grow calc(.95s * var(--k)) var(--ease-out) calc(1.1s * var(--k)) forwards;
}
/* Monograma "em." */
.pl-mono .pl-draw {
  fill: var(--green); fill-opacity: 0; stroke: var(--green); stroke-width: 1.3; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation:
    pl-draw calc(.85s * var(--k)) var(--ease-io) calc(1.5s * var(--k)) forwards,
    pl-fill calc(.55s * var(--k)) ease calc(2.1s * var(--k)) forwards;
}
.pl-dot {
  fill: var(--green); transform: scale(0); transform-box: fill-box; transform-origin: center;
  animation: pl-pop calc(.6s * var(--k)) cubic-bezier(.34, 1.7, .64, 1) calc(2.25s * var(--k)) forwards;
}
/* Palabra ESTUDIO MÁRQUEZ: trazo letra por letra y luego relleno */
.pl-word .pl-draw {
  fill: var(--white); fill-opacity: 0; stroke: var(--white); stroke-width: 1.2; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation:
    pl-draw calc(.95s * var(--k)) var(--ease-io) calc((1.3s + var(--i) * .045s) * var(--k)) forwards,
    pl-fill calc(.6s * var(--k)) ease calc((1.95s + var(--i) * .03s) * var(--k)) forwards;
}

.pl-tag {
  font-family: var(--ff-serif); font-weight: 400; font-size: clamp(1.15rem, 2.4vw, 1.55rem); line-height: 1.25;
  color: var(--beige-300); text-align: center;
}
.pl-tag { text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.pl-tag strong { font-weight: 700; color: var(--white); }
.pl-tag-line { display: block; overflow: hidden; padding-bottom: .08em; }
.pl-tag-line > * {
  display: inline-block; transform: translateY(115%);
  animation: pl-up calc(1s * var(--k)) var(--ease-out) calc(2.45s * var(--k)) forwards;
}
.pl-tag-line + .pl-tag-line > * { animation-delay: calc(2.6s * var(--k)); }

/* Detalles de marca: líneas verticales/horizontales del manual */
.pl-lines { position: absolute; display: flex; gap: 14px; }
.pl-lines i { display: block; background: rgba(255, 255, 255, .55); }
.pl-lines--v { top: clamp(1.5rem, 5vh, 3rem); left: var(--gutter); }
.pl-lines--v i { width: 1px; height: 56px; transform: scaleY(0); transform-origin: top; animation: pl-scaleY calc(.9s * var(--k)) var(--ease-out) forwards; }
.pl-lines--h { right: var(--gutter); bottom: clamp(5rem, 14vh, 8rem); flex-direction: column; }
.pl-lines--h i { width: 56px; height: 1px; transform: scaleX(0); transform-origin: right; animation: pl-scaleX calc(.9s * var(--k)) var(--ease-out) forwards; }
.pl-lines i:nth-child(1) { animation-delay: calc(.2s * var(--k)); }
.pl-lines i:nth-child(2) { animation-delay: calc(.32s * var(--k)); }
.pl-lines i:nth-child(3) { animation-delay: calc(.44s * var(--k)); }

.pl-foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(1.5rem, 4vh, 2.5rem);
  display: flex; align-items: center; gap: 1.5rem;
  font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
  opacity: 0; animation: pl-fade calc(.8s * var(--k)) ease calc(.3s * var(--k)) forwards;
}
.pl-progress { position: relative; flex: 1; height: 1px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.pl-progress span {
  position: absolute; inset: 0; background: var(--beige); transform: scaleX(0); transform-origin: left;
  animation: pl-scaleX calc(3.1s * var(--k)) cubic-bezier(.6, .05, .25, 1) forwards;
}

@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes pl-grow { to { transform: scale(1); } }
@keyframes pl-pop { to { transform: scale(1); } }
@keyframes pl-fade { to { opacity: 1; } }
@keyframes pl-up { to { transform: none; } }
@keyframes pl-scaleY { to { transform: scaleY(1); } }
@keyframes pl-scaleX { to { transform: scaleX(1); } }
@keyframes pl-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--white);
  transition: transform .6s var(--ease-out), color .4s;
}
.site-header::before { /* fondo al hacer scroll */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 246, 244, .86);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 30px -18px rgba(0, 0, 0, .25);
  opacity: 0; transition: opacity .45s var(--ease-soft);
}
.site-header[data-theme="light"], .site-header.is-scrolled { color: var(--ink); }
.site-header.is-scrolled::before { opacity: 1; }

/* Navbar */
.navbar { height: var(--nav-h); transition: height .5s var(--ease-out); }
.site-header.is-scrolled .navbar { height: var(--nav-h-sm); }
.navbar-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .85rem; flex: none; }
.brand .iso { width: 48px; height: 48px; transition: width .5s var(--ease-out), height .5s var(--ease-out); }
.site-header.is-scrolled .brand .iso { width: 42px; height: 42px; }
.iso-c { fill: var(--green); transition: fill .4s; }
.iso-l { fill: var(--white); }
.site-header[data-theme="dark"]:not(.is-scrolled) .iso-c { fill: var(--white); }
.site-header[data-theme="dark"]:not(.is-scrolled) .iso-l { fill: var(--green); }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--ff-sans); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-role { margin-top: .4rem; font-size: .62rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; opacity: .75; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .35rem;
  height: 44px; padding: 0 .9rem; font-size: .93rem; font-weight: 500;
}
.nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-current::after, .has-drop.is-open > .nav-link::after { transform: scaleX(1); transform-origin: left; }
.ic-chev { width: 14px; height: 14px; transition: transform .4s var(--ease-out); }
.has-drop.is-open .ic-chev { transform: rotate(180deg); }
.nav-urg-dot {
  position: relative; width: 7px; height: 7px; margin-right: .2rem; border-radius: 50%; background: #E0604F; flex: none;
}
.nav-urg-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(224, 96, 79, .7); opacity: 0;
  animation: urg-ping 2.2s var(--ease-out) infinite;
}
@keyframes urg-ping { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* Dropdowns */
.drop {
  position: absolute; top: calc(100% - 10px); z-index: 5; color: var(--ink);
  padding-top: 10px; /* puente para el hover */
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s var(--ease-soft), transform .5s var(--ease-out), visibility 0s .35s;
}
.has-drop.is-open > .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop-inner {
  background: var(--white); border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 33, 28, .35), 0 0 0 1px rgba(0, 0, 0, .05);
}
.drop--mega { left: var(--gutter); right: var(--gutter); }
.drop--mega .drop-inner { display: grid; grid-template-columns: 1fr 300px; overflow: hidden; }
.drop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mist); }
.drop-grid li { background: var(--white); }
.drop-card { display: grid; gap: .3rem; height: 100%; padding: 1.6rem 1.6rem 1.7rem; transition: background .35s; }
.drop-card:hover { background: var(--paper); }
.drop-num { font-size: .72rem; letter-spacing: .2em; color: var(--beige); font-weight: 600; }
.drop-title { font-family: var(--ff-serif); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--green); line-height: 1.1; }
.drop-desc { font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.drop-aside {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .8rem;
  padding: 2rem; color: var(--white); background: var(--green); overflow: hidden;
}
.drop-aside::before { /* chevrones de marca */
  content: ""; position: absolute; top: 1.6rem; left: 2rem; width: 46px; height: 22px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 22'%3E%3Cpath d='M2 2l9 9-9 9M22 2l9 9-9 9' fill='none' stroke='%23000' stroke-width='5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 22'%3E%3Cpath d='M2 2l9 9-9 9M22 2l9 9-9 9' fill='none' stroke='%23000' stroke-width='5'/%3E%3C/svg%3E") center / contain no-repeat;
  background: var(--beige);
}
.drop-aside-kicker { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--beige-300); }
.drop-aside-title { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 700; line-height: 1.12; text-transform: uppercase; letter-spacing: .02em; }
.drop-aside-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; margin-top: .4rem; }
.drop-aside-link .ic { transition: transform .4s var(--ease-out); }
.drop-aside-link:hover .ic { transform: translateX(5px); }

.has-drop:has(> .drop--list) { position: relative; }
.drop--list { left: 50%; width: 380px; margin-left: -190px; }
.drop--list .drop-inner { padding: 1.4rem; }
.drop-head { font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--green); padding: 0 .6rem .7rem; }
.drop-urg a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem .6rem; font-size: .9rem; border-top: 1px solid var(--mist); transition: color .3s, padding .4s var(--ease-out);
}
.drop-urg a .ic { width: 16px; height: 16px; color: var(--beige); transition: transform .4s var(--ease-out), color .3s; }
.drop-urg a:hover { color: var(--green); padding-left: .9rem; }
.drop-urg a:hover .ic { transform: translateX(3px); color: var(--green); }
.drop-urg-call {
  display: flex; align-items: center; gap: .9rem; margin-top: .9rem; padding: .95rem 1rem;
  background: var(--green); color: var(--white); border-radius: var(--radius); font-weight: 600; font-size: 1.05rem;
  transition: background .3s;
}
.drop-urg-call:hover { background: var(--green-800); }
.drop-urg-call small { display: block; font-size: .72rem; font-weight: 400; opacity: .75; letter-spacing: .02em; }

/* Contacto como botón sutil */
.nav-link--cta { margin-left: .6rem; padding: 0 1.25rem; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius); transition: background .35s, color .35s, border-color .35s; }
.nav-link--cta::after { display: none; }
.nav-link--cta:hover, .nav-link--cta.is-current { background: var(--white); color: var(--green); border-color: var(--white); }
.site-header.is-scrolled .nav-link--cta, .site-header[data-theme="light"] .nav-link--cta { border-color: var(--green); color: var(--green); }
.site-header.is-scrolled .nav-link--cta:hover { background: var(--green); color: var(--white); }

/* Acciones */
.nav-actions { display: none; align-items: center; gap: 1rem; flex: none; }
.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease-out), opacity .3s, top .5s var(--ease-out);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22.5px; right: 19px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.menu-open .burger span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }

/* ---------- Menú mobile ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 90; color: var(--white);
  background: linear-gradient(180deg, #004D40 0%, #002D26 100%);
  clip-path: circle(0 at calc(100% - 2.6rem) 4.2rem);
  transition: clip-path .9s var(--ease-io), visibility 0s .9s; visibility: hidden;
}
.menu-open .mmenu { clip-path: circle(150% at calc(100% - 2.6rem) 4.2rem); visibility: visible; transition-delay: 0s; }
.menu-open .site-header { color: var(--white); transform: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .iso-c { fill: var(--white); }
.menu-open .site-header .iso-l { fill: var(--green); }
.mmenu-scroll {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--topbar-h) + var(--nav-h) + 1rem) var(--gutter) 2rem;
}
.mmenu-list > li { border-bottom: 1px solid rgba(255, 255, 255, .12); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease-out); }
.menu-open .mmenu-list > li { opacity: 1; transform: none; }
.menu-open .mmenu-list > li:nth-child(1) { transition-delay: .25s; }
.menu-open .mmenu-list > li:nth-child(2) { transition-delay: .3s; }
.menu-open .mmenu-list > li:nth-child(3) { transition-delay: .35s; }
.menu-open .mmenu-list > li:nth-child(4) { transition-delay: .4s; }
.menu-open .mmenu-list > li:nth-child(5) { transition-delay: .45s; }
.menu-open .mmenu-list > li:nth-child(6) { transition-delay: .5s; }
.mmenu-list > li > a, .mm-acc > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .6rem;
  padding: .85rem 0; font-family: var(--ff-serif); font-size: clamp(1.5rem, 6vw, 2.1rem); font-weight: 700; line-height: 1.1; text-align: left; text-transform: uppercase; letter-spacing: .02em;
}
.mm-acc > button .nav-urg-dot { margin-right: .1rem; }
.mm-acc > button { justify-content: flex-start; }
.mm-acc > button .ic { width: 22px; height: 22px; margin-left: auto; transition: transform .4s var(--ease-out); }
.mm-acc.is-open > button .ic { transform: rotate(180deg); }
.mm-sub { display: block; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease-out); }
.mm-acc.is-open .mm-sub { max-height: 40rem; }
.mm-sub a { display: block; padding: .55rem 0 .55rem 1rem; font-size: 1rem; color: var(--beige-300); border-left: 1px solid rgba(255, 255, 255, .15); }
.mm-sub li:last-child a { margin-bottom: 1rem; }
.mmenu-foot { display: grid; gap: 1.2rem; opacity: 0; transition: opacity .6s .55s; }
.menu-open .mmenu-foot { opacity: 1; }
.mmenu-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.mmenu-ctas .btn { padding: 0 .8rem; white-space: nowrap; }
.mmenu-ctas .btn--wa { --btn-bg: transparent; --btn-bd: rgba(255,255,255,.4); --btn-hover: var(--green-800); }
.mmenu-ig { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; }
.mmenu-ig .ic { width: 22px; height: 22px; color: var(--beige); }
.mmenu-meta { font-size: .8rem; color: rgba(255, 255, 255, .6); line-height: 1.6; }
.menu-open { overflow: hidden; }

/* ---------- WhatsApp flotante + barra mobile ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 80;
  display: flex; align-items: center; gap: .8rem;
  opacity: 0; transform: translateY(20px) scale(.9); transition: opacity .6s, transform .8s var(--ease-out);
}
.is-ready:not(.at-hero) .wa-float { opacity: 1; transform: none; }
.wa-float { pointer-events: none; }
.is-ready:not(.at-hero) .wa-float { pointer-events: auto; }
.wa-float-btn {
  position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--green); color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 14px 30px -10px rgba(0, 45, 38, .6); /* aro blanco: se ve sobre fondo claro y sobre verde */
  transition: transform .5s var(--ease-out), background .3s;
}
.wa-float-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--green);
  animation: wa-ring 2.8s var(--ease-out) infinite;
}
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float-btn .ic { width: 28px; height: 28px; }
.wa-float:hover .wa-float-btn { transform: scale(1.06); background: var(--green-800); }
.wa-float-tip {
  padding: .7rem 1rem; background: var(--white); color: var(--ink); border-radius: 6px; font-size: .85rem; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateX(10px); transition: opacity .5s, transform .6s var(--ease-out); pointer-events: none;
}
.wa-float-tip strong { color: var(--green); }
.wa-float:hover .wa-float-tip, .wa-float.show-tip .wa-float-tip { opacity: 1; transform: none; }


/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  --band-h: auto;
  position: relative; min-height: 100vh; min-height: 100svh; color: var(--white);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 60% at 18% 40%, rgba(22, 110, 93, .28) 0%, transparent 70%),
    linear-gradient(160deg, #004D40 0%, #00342C 45%, #00211C 100%);
}
.hero-grain { position: absolute; inset: 0; z-index: 0; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; pointer-events: none; }

.hero-main { position: relative; flex: 1; display: flex; }

/* Panel de video a la derecha con la curva del manual de marca */
.hero-media {
  position: absolute; z-index: 0; right: 0; bottom: 0;
  top: calc(var(--nav-h) + 1rem);
  width: min(46vw, 800px);
}
.hero-frame {
  --r: clamp(120px, 13vw, 230px);
  position: absolute; inset: 0; overflow: hidden; background: var(--green-950);
  border-top-left-radius: var(--r);
  clip-path: inset(0 0 0 100% round var(--r) 0 0 0);
  transition: clip-path 1.6s var(--ease-io) .1s;
}
.is-ready .hero-frame, html:not(.js) .hero-frame { clip-path: inset(0 0 0 0 round var(--r) 0 0 0); }
.hero-video {
  width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%;
  transform: scale(1.18); transition: transform 2.8s var(--ease-out) .1s;
}
.is-ready .hero-video, html:not(.js) .hero-video { transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 33, 28, .55) 0%, rgba(0, 33, 28, 0) 35%),
    linear-gradient(90deg, rgba(0, 45, 38, .25) 0%, rgba(0, 45, 38, 0) 30%);
}
.hero-corner { /* escuadra de marca */
  position: absolute; top: -14px; left: -14px; width: 42px; height: 42px;
  border-top: 2px solid var(--beige); border-left: 2px solid var(--beige);
  opacity: 0; transform: translate(10px, 10px); transition: opacity .8s, transform 1.2s var(--ease-out);
  transition-delay: 1.1s;
}
.hero-chip {
  position: absolute; left: clamp(1.25rem, 3vw, 2.5rem); bottom: clamp(1.25rem, 3vw, 2rem);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 500;
  background: rgba(0, 33, 28, .55); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(12px); transition: opacity .8s, transform 1s var(--ease-out); transition-delay: 1.3s;
}
.hero-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: #5BD6A8; box-shadow: 0 0 0 4px rgba(91, 214, 168, .18); }
.is-ready .hero-corner, .is-ready .hero-chip { opacity: 1; transform: none; }

.hero-deco { position: absolute; z-index: 1; pointer-events: none; }
.hero-deco--v { left: var(--gutter); top: calc(var(--topbar-h) + var(--nav-h) + 2.5rem); display: flex; gap: 12px; }
.hero-deco--v i { width: 1px; height: 64px; background: rgba(255, 255, 255, .35); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-out); }
.is-ready .hero-deco--v i { transform: scaleY(1); }
.is-ready .hero-deco--v i:nth-child(2) { transition-delay: .12s; }
.is-ready .hero-deco--v i:nth-child(3) { transition-delay: .24s; }

.hero-inner {
  position: relative; z-index: 1; display: flex; align-items: center;
  padding-top: calc(var(--topbar-h) + var(--nav-h) + clamp(1.5rem, 4vh, 3.5rem));
  padding-bottom: clamp(1.5rem, 4vh, 3.5rem);
}
.hero-copy { width: 100%; max-width: min(700px, 48vw); padding-left: clamp(0rem, 3vw, 3.25rem); }
@media (min-width: 1024px) {
  /* el texto termina siempre antes del panel de video: ancho libre = pantalla − video − margen del contenedor − aire */
  .hero-copy { max-width: min(700px, calc(100vw - min(46vw, 800px) - max(0px, (100vw - var(--maxw)) / 2) - var(--gutter) - 3rem)); }
  .hero .hero-proof { gap: 1rem clamp(1.1rem, 1.8vw, 2.2rem); }
  .hero .hero-proof li { gap: .65rem; }
  .hero .hero-proof strong { font-size: clamp(2.1rem, 2.6vw, 2.5rem); }
  .hero .hero-proof .stars .ic { width: 13px; height: 13px; }
}

.hero-title { font-weight: 400; }
.hero-kicker {
  display: flex; align-items: center; gap: .9rem; margin-bottom: clamp(1rem, 2.6vh, 1.5rem);
  font-family: var(--ff-sans); font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--beige-300);
}
.hero-kicker-line { width: 42px; height: 1px; background: var(--beige); flex: none; }
.hero-display {
  display: block; font-family: var(--ff-serif); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.2rem, min(4.2vw, 6.6vh), 4rem); line-height: .98; letter-spacing: .01em;
}
.hero-display .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-display .ln > * { display: inline-block; }
.hero-display strong { font-weight: 700; color: var(--beige); }

.hero-lead {
  text-wrap: pretty; max-width: 580px; margin-top: clamp(1rem, 2.8vh, 1.6rem);
  font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.7; color: rgba(255, 255, 255, .8);
}
.hero-lead strong { color: var(--white); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1.4rem, 3.4vh, 2rem); }
.hero .btn--wa { --btn-bg: var(--white); --btn-fg: var(--green); --btn-bd: var(--white); --btn-hover: var(--beige-100); }
.hero .btn--wa .ic { color: var(--green); }

.hero-cred { display: flex; align-items: center; gap: .55rem; margin-top: 1.3rem; font-size: .8rem; color: rgba(255, 255, 255, .62); }
.hero-cred strong { color: var(--white); font-weight: 600; }
.hero-cred .ic { width: 16px; height: 16px; color: var(--beige); }

.hero-proof { display: flex; flex-wrap: wrap; gap: 1.1rem 2.2rem; margin-top: clamp(1.4rem, 3.6vh, 2.4rem); padding-top: clamp(1rem, 2.6vh, 1.6rem); border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-proof li { display: flex; align-items: center; gap: .8rem; font-size: .78rem; line-height: 1.35; color: rgba(255, 255, 255, .7); }
.hero-proof strong { font-family: var(--ff-serif); font-weight: 500; font-size: 2.5rem; line-height: 1; color: var(--white); }
.hero-google { display: flex; align-items: center; gap: .8rem; transition: color .3s; }
.hero-google:hover { color: var(--white); }
.stars { display: inline-flex; gap: 2px; color: #E7B84A; }
.stars .ic { width: 15px; height: 15px; }

/* Revelado de entrada (se activa al salir el preloader) */
.js .rv { opacity: 0; transform: translateY(26px); }
.js .rv-up { transform: translateY(108%); }
.is-ready .rv, .is-ready .rv-up {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-soft), transform 1.25s var(--ease-out);
  transition-delay: calc(var(--d, 0) * .11s + .05s);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
.nav-link { white-space: nowrap; }
@media (max-width: 1360px) {
  .nav-link { padding: 0 .7rem; }
  .nav-link::after { left: .7rem; right: .7rem; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .nav-actions { display: flex; margin-left: auto; }
}

/* Tablet y celular: el video pasa arriba, el texto abajo */
@media (max-width: 1023px) {
  .hero-main { flex-direction: column; }
  .hero-media {
    position: relative; inset: auto; width: auto;
    height: clamp(230px, 52vw, 460px);
    margin: calc(var(--nav-h) + .5rem) 0 0 var(--gutter);
  }
  .hero-frame { --r: clamp(70px, 16vw, 150px); }
  .hero-video { object-position: 50% 45%; }
  .hero-deco--v { display: none; }
  .hero-inner { padding-top: 2.2rem; padding-bottom: 2.5rem; }
  .hero-copy { max-width: 680px; padding-left: 0; }
}

@media (max-width: 767px) {
  :root { --nav-h: 70px; --nav-h-sm: 62px; }
  .brand .iso { width: 42px; height: 42px; }
  .brand-name { font-size: .95rem; }
  .brand-role { font-size: .56rem; letter-spacing: .3em; }

  /* En celular, el mismo WhatsApp flotante que en escritorio (sin la franja fija) */
  .wa-float { right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .wa-float-btn { width: 56px; height: 56px; }
  .wa-float-btn .ic { width: 26px; height: 26px; }
  .wa-float-tip { font-size: .8rem; padding: .6rem .85rem; }
  .menu-open .wa-float { opacity: 0; pointer-events: none; }

  .hero-chip { font-size: .7rem; padding: .45rem .8rem; left: 1rem; bottom: 1rem; }
  .hero-corner { display: none; }
  .hero-kicker { font-size: .66rem; letter-spacing: .16em; margin-bottom: 1.1rem; align-items: flex-start; }
  .hero-kicker-line { width: 22px; margin-top: .55em; }
  .hero-display { font-size: clamp(1.9rem, 9.4vw, 2.7rem); line-height: 1; }
  .hero-lead { margin-top: 1.2rem; font-size: .98rem; }
  .hero-ctas { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 1.6rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { gap: 1rem 1.6rem; margin-top: 2rem; padding-top: 1.4rem; }
  .hero-proof strong { font-size: 2.1rem; }
  .hero-proof li:last-child { flex-basis: 100%; }
  .hero-cred { align-items: flex-start; font-size: .76rem; }
  .hero-cred .ic { margin-top: .1em; }
}

/* ==========================================================================
   COMPONENTES COMPARTIDOS DE SECCIÓN
   ========================================================================== */
.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--beige-700);
}
.eyebrow-line { width: 42px; height: 1px; background: currentColor; flex: none; }
.h-section {
  font-family: var(--ff-serif); font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2.1rem, 3.9vw, 3.6rem); line-height: 1; color: var(--green); text-wrap: balance;
}
.h-section strong, .h-sub strong { font-weight: 700; color: var(--beige-700); }
.h-sub {
  font-family: var(--ff-serif); font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.02; color: var(--green); text-wrap: balance;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: .7rem; padding-bottom: .35rem;
  font-weight: 600; font-size: .95rem; color: var(--green);
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.link-arrow .ic { transition: transform .5s var(--ease-out); }
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; }
.link-arrow:hover .ic { transform: translateX(6px); }

/* Revelado al hacer scroll */
.js .sr { opacity: 0; transform: translateY(28px); }
.js .sr.is-in {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-soft), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * .08s);
}
.sr-photo picture { display: block; height: 100%; }
.js .sr-photo > picture { clip-path: inset(100% 0 0 0); } /* el clip va adentro: si va en la figura, el observer la cuenta como invisible */
.js .sr-photo img { transform: scale(1.18); }
.js .sr-photo.is-in > picture { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease-io); transition-delay: calc(var(--d, 0) * .1s); }
.js .sr-photo.is-in img { transform: scale(1); transition: transform 2.2s var(--ease-out); transition-delay: calc(var(--d, 0) * .1s); }

/* ==========================================================================
   SOBRE MÍ
   ========================================================================== */
.about {
  --beige-700: #7E6F60; /* beige de marca oscurecido para que pase contraste sobre fondo claro */
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(5rem, 11vw, 10rem) 0 clamp(4.5rem, 9vw, 8rem);
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(178, 164, 150, .16) 0%, transparent 70%),
    linear-gradient(180deg, #F4F4F2 0%, #ECEEEF 100%);
}
.about-mark { /* isotipo gigante de marca, muy sutil */
  position: absolute; z-index: -1; left: -12vw; bottom: -6vw; width: min(52vw, 720px); opacity: .035; pointer-events: none;
}
.about-mark .iso { width: 100%; height: auto; }
.about-mark .iso-c { fill: var(--green); }
.about-mark .iso-l { fill: transparent; } /* letras caladas: se ve el fondo, sin brillo */

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7.5rem); align-items: center; }

/* Foto única con la curva del manual (esquina inferior izquierda) */
.about-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; width: 92%; }
.about-photo picture {
  display: block; height: 100%; overflow: hidden; background: var(--green-900);
  border-bottom-left-radius: clamp(120px, 13vw, 220px);
  box-shadow: 0 40px 80px -40px rgba(0, 45, 38, .45);
}
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-photo-corner { /* escuadra beige */
  position: absolute; top: -16px; right: -16px; width: 56px; height: 56px;
  border-top: 2px solid var(--beige); border-right: 2px solid var(--beige);
}
.about-photo-chev { /* chevrones de marca */
  position: absolute; right: -34px; bottom: 3rem; width: 64px; height: 30px; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 22'%3E%3Cpath d='M2 2l9 9-9 9M22 2l9 9-9 9' fill='none' stroke='%23000' stroke-width='5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 22'%3E%3Cpath d='M2 2l9 9-9 9M22 2l9 9-9 9' fill='none' stroke='%23000' stroke-width='5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Texto */
.about-copy .h-section { margin-top: 1.4rem; }
.about-lead { margin-top: 1.8rem; font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.7; color: var(--ink); text-wrap: pretty; }
.about-lead strong { color: var(--green); }
.about-text { margin-top: 1rem; line-height: 1.75; color: var(--ink-soft); text-wrap: pretty; }

.about-quote {
  position: relative; margin: 2.4rem 0 0; padding: 1.6rem 0 1.6rem 2rem;
  border-left: 2px solid var(--green);
}
.about-quote::before { /* chevrones de marca */
  content: ""; position: absolute; left: -1px; top: -18px; width: 30px; height: 14px;
  background: var(--beige);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 22'%3E%3Cpath d='M2 2l9 9-9 9M22 2l9 9-9 9' fill='none' stroke='%23000' stroke-width='5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 22'%3E%3Cpath d='M2 2l9 9-9 9M22 2l9 9-9 9' fill='none' stroke='%23000' stroke-width='5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.about-quote p { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.22; color: var(--green); text-wrap: balance; }
.about-quote footer { margin-top: .9rem; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--beige-700); }


/* Formación: franja horizontal de credenciales */
.about-edu { margin-top: clamp(5.5rem, 10vw, 9rem); }
.about-edu-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 1.5rem clamp(2rem, 6vw, 6rem);
}
.about-edu-head .h-sub { margin-top: 1.2rem; }
.about-edu-intro { max-width: 460px; justify-self: end; color: var(--ink-soft); line-height: 1.7; }

.edu-list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid rgba(0, 77, 64, .18);
}
.edu-item {
  position: relative; display: flex; flex-direction: column; gap: 1.4rem;
  padding: 1.8rem clamp(1rem, 1.6vw, 1.6rem) 2rem;
  border-left: 1px solid rgba(0, 77, 64, .12);
  transition: background .5s var(--ease-soft);
}
.edu-item:first-child { border-left: 0; padding-left: 0; }
.edu-item::before { /* línea verde superior que crece al pasar el mouse */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
}
.edu-item:hover::before { transform: scaleX(1); }
.edu-num { font-family: var(--ff-serif); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--beige); }
.edu-body { display: grid; gap: .45rem; }
.edu-type { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--beige-700); }
.edu-name { font-family: var(--ff-serif); font-weight: 700; font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.15; text-transform: uppercase; letter-spacing: .015em; color: var(--green); text-wrap: balance; }
.edu-inst { font-size: .86rem; color: var(--ink-soft); }


/* Recorrido profesional (línea de tiempo) */
.career { margin-top: clamp(5rem, 9vw, 8rem); }
.career-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.5rem; }
.career-track::before, .career-track::after {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(0, 77, 64, .2);
}
.career-track::after { background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-io) .2s; }
.career-track:has(.is-in)::after, html:not(.js) .career-track::after { transform: scaleX(1); }
.career-step { position: relative; }
.career-dot {
  position: relative; z-index: 1; display: block; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--green); background: #F2F2F0;
}
.career-step--now .career-dot { background: var(--green); }
.career-step--now .career-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--green);
  animation: wa-ring 2.6s var(--ease-out) infinite;
}
.career-org { display: block; margin-top: 1.4rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--beige-700); }
.career-role { margin-top: .5rem; font-family: var(--ff-serif); font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .015em; color: var(--green); }
.career-step p { margin-top: .7rem; max-width: 34ch; font-size: .92rem; line-height: 1.65; color: var(--ink-soft); }

@media (max-width: 1023px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-photo { width: min(88%, 480px); }
  .about-edu-head { grid-template-columns: minmax(0, 1fr); }
  .about-edu-intro { justify-self: start; }
  .edu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edu-item { border-left: 0; padding-left: 0; border-bottom: 1px solid rgba(0, 77, 64, .12); }
  .edu-item:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid rgba(0, 77, 64, .12); }
}
@media (max-width: 767px) {
  .about-photo picture { border-bottom-left-radius: 90px; }
  .about-photo-corner { top: -10px; right: -10px; width: 40px; height: 40px; }
  .about-photo-chev { right: -22px; width: 44px; height: 21px; }
  .about-quote { padding-left: 1.4rem; }
  .career-track { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-left: 2rem; }
  .career-track::before, .career-track::after { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .career-track::after { transform: scaleY(0); transform-origin: top; }
  .career-track:has(.is-in)::after { transform: scaleY(1); }
  .career-dot { position: absolute; left: -2rem; top: .15rem; }
  .career-org { margin-top: 0; }
  .edu-list { grid-template-columns: minmax(0, 1fr); }
  .edu-item, .edu-item:nth-child(even) { flex-direction: row; gap: 1.2rem; padding: 1.3rem 0; border-left: 0; }
  .edu-num { font-size: 1.4rem; flex: none; width: 2.2rem; }
  .about-mark { width: 90vw; left: -40vw; bottom: -10vw; }
}

/* ==========================================================================
   ÁREAS DE PRÁCTICA · cards blancas sobre beige con acordeón de localidades
   ========================================================================== */
.areas {
  --beige-700: #6B5D50; /* beige oscurecido: contraste sobre fondo beige */
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(5rem, 10vw, 9rem) 0;
  background:
    radial-gradient(55% 45% at 100% 0%, rgba(255, 255, 255, .35) 0%, transparent 70%),
    linear-gradient(180deg, #E8E2DB 0%, #DED6CD 100%);
}

/* Encabezado: texto + foto */
.areas-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 2rem clamp(2rem, 6vw, 6rem); }
.areas .h-section { margin-top: 1.4rem; }
.areas-intro { margin-top: 1.4rem; max-width: 520px; line-height: 1.7; color: #4D4D4D; }
.areas-where { display: flex; align-items: center; gap: .55rem; margin-top: 1.4rem; font-size: .9rem; color: var(--ink); }
.areas-where .ic { width: 18px; height: 18px; color: var(--green); }
.areas-photo { justify-self: end; width: min(100%, 380px); aspect-ratio: 1 / 1; margin: 0; }
.areas-photo picture {
  display: block; height: 100%; overflow: hidden; background: var(--ink);
  border-top-right-radius: clamp(90px, 9vw, 150px);
  box-shadow: 0 40px 70px -40px rgba(51, 41, 31, .55);
}
.areas-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }

/* Filas a lo ancho, una arriba de la otra (versión premium) */
.svc-grid { display: grid; gap: 1.25rem; margin-top: clamp(3rem, 5vw, 4.5rem); counter-reset: svc; }

.svc {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: clamp(4.5rem, 7vw, 6.5rem) minmax(0, 1fr) minmax(0, 1.35fr);
  column-gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start;
  padding: clamp(2rem, 3.4vw, 3rem) clamp(1.6rem, 3.5vw, 3.2rem);
  border-radius: 8px; background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(51, 41, 31, .05), 0 24px 48px -36px rgba(51, 41, 31, .5);
  transition: translate .7s var(--ease-out), box-shadow .7s var(--ease-out), opacity 1s var(--ease-soft), transform 1.2s var(--ease-out);
}
.svc::before { /* borde interior fino: efecto "papel de calidad" */
  content: ""; position: absolute; inset: 8px; z-index: -1; border-radius: 4px;
  border: 1px solid rgba(178, 164, 150, .28); pointer-events: none; transition: border-color .6s;
}
.svc::after { /* línea verde que crece en el borde izquierdo */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green);
  transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease-out);
}
.svc:hover, .svc.is-open { translate: 0 -3px; box-shadow: 0 1px 2px rgba(51, 41, 31, .05), 0 40px 70px -40px rgba(51, 41, 31, .6); }
.svc:hover::before, .svc.is-open::before { border-color: rgba(178, 164, 150, .55); }
.svc:hover::after, .svc.is-open::after { transform: scaleY(1); }

/* Cuarto de círculo con el isotipo */
.svc-badge {
  position: absolute; top: 0; right: 0; width: 76px; height: 76px; display: grid; place-items: start end; padding: 13px 13px 0 0;
  background: var(--green); border-bottom-left-radius: 100%;
  transition: width .7s var(--ease-out), height .7s var(--ease-out);
}
.svc-badge svg { --iso-l: var(--green); width: 26px; height: 26px; color: var(--white); transition: transform .7s var(--ease-out); }
.svc:hover .svc-badge, .svc.is-open .svc-badge { width: 90px; height: 90px; }
.svc:hover .svc-badge svg { transform: rotate(-12deg); }

/* Número editorial */
.svc-index {
  font-family: var(--ff-serif); font-weight: 600; font-size: clamp(3.2rem, 5.5vw, 4.8rem); line-height: .85;
  color: transparent; -webkit-text-stroke: 1px var(--beige); transition: color .6s, -webkit-text-stroke-color .6s;
}
.svc:hover .svc-index, .svc.is-open .svc-index { color: var(--beige); }

.svc-main { padding-top: .2rem; }
.svc-tag {
  display: inline-block; margin-bottom: .9rem; padding: .28rem .65rem; border-radius: 999px;
  font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--beige);
}
.svc-title {
  font-family: var(--ff-serif); font-weight: 700; text-transform: uppercase; letter-spacing: .015em;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem); line-height: 1; color: var(--green); text-wrap: balance;
}
.svc-title::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 1rem; background: var(--beige); transition: width .7s var(--ease-out); }
.svc:hover .svc-title::after { width: 88px; }
.svc-desc { margin-top: 1rem; max-width: 42ch; font-size: .97rem; line-height: 1.7; color: #4D4D4D; text-wrap: pretty; }

/* Qué incluye: título + descripción breve */
.svc-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; padding-right: 4.5rem; padding-top: .3rem; }
.svc-points li { position: relative; padding-left: 1.5rem; }
.svc-points li::before { /* chevron de marca */
  content: ""; position: absolute; left: 0; top: .42em; width: 7px; height: 7px;
  border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg);
}
.svc-points strong { display: block; font-size: .98rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.svc-points span { display: block; margin-top: .35rem; font-size: .86rem; line-height: 1.55; color: #6A6A6A; }

/* Botón "Leer más": en escritorio debajo de la descripción; en tablet/celular al final de la tarjeta */
.svc-index { grid-row: 1 / span 2; }
.svc-main { grid-column: 2; grid-row: 1; }
.svc-points { grid-column: 3; grid-row: 1 / span 2; }
.svc-toggle { grid-column: 2; grid-row: 2; justify-self: start; align-self: start; }
.svc-toggle {
  display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.8rem; padding: .45rem .45rem .45rem 1.3rem; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); border: 2px solid rgba(0, 77, 64, .35); transition: background .4s, color .4s, border-color .4s;
}
.svc-toggle-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--white); transition: background .4s, color .4s; }
.svc-toggle-ic .ic { width: 15px; height: 15px; transform: rotate(-90deg); transition: transform .5s var(--ease-out); }
.svc-toggle:hover .svc-toggle-ic .ic { transform: rotate(0deg); }
.svc-toggle:hover, .svc.is-open .svc-toggle { background: var(--green); color: var(--white); border-color: var(--green); }
.svc-toggle:hover .svc-toggle-ic, .svc.is-open .svc-toggle-ic { background: var(--white); color: var(--green); }
.svc.is-open .svc-toggle-ic .ic, .svc.is-open .svc-toggle:hover .svc-toggle-ic .ic { transform: rotate(180deg); }

/* Localidades: se despliegan a lo ancho debajo de la fila */
.svc-collapse { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.svc.is-open .svc-collapse { grid-template-rows: 1fr; }
.svc-collapse-inner { overflow: hidden; min-height: 0; }
.svc-loc-label { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(178, 164, 150, .4); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--beige-700); }
.svc-locs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin-top: .8rem; }
.svc-locs li { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out); }
.svc.is-open .svc-locs li { opacity: 1; transform: none; }
.svc.is-open .svc-locs li:nth-child(1) { transition-delay: .12s; }
.svc.is-open .svc-locs li:nth-child(2) { transition-delay: .17s; }
.svc.is-open .svc-locs li:nth-child(3) { transition-delay: .22s; }
.svc.is-open .svc-locs li:nth-child(4) { transition-delay: .27s; }
.svc.is-open .svc-locs li:nth-child(5) { transition-delay: .32s; }
.svc-locs a {
  display: flex; align-items: center; gap: .5rem; height: 100%; padding: .85rem .85rem; border-radius: 4px;
  font-size: .9rem; font-weight: 600; white-space: nowrap; color: var(--green); background: #FFFFFF;
  border: 2px solid rgba(0, 77, 64, .3);
  transition: background .3s, color .3s, border-color .3s;
}
.svc-locs a .ic { width: 16px; height: 16px; flex: none; color: var(--beige-700); transition: color .3s, transform .45s var(--ease-out); }
.svc-locs a > span { flex: 1; }
.svc-locs a:hover, .svc-locs a:focus-visible { background: var(--green); color: var(--white); border-color: var(--green); }
.svc-locs a:hover .ic { color: var(--white); }
.svc-locs a:hover .svc-loc-arrow { transform: translateX(3px); }

/* Brillo animado que recorre el borde (botón y localidades) */
@property --glow-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.svc-toggle, .svc-locs a { --glow-c: #1E8A74; --glow-hi: #B2A496; position: relative; isolation: isolate; }
.svc-toggle::before, .svc-locs a::before {
  content: ""; position: absolute; inset: -2px; z-index: 1; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--glow-a), transparent 0deg 240deg, var(--glow-c) 300deg, var(--glow-hi) 335deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 3px var(--glow-c));
  animation: glow-spin 3.4s linear infinite;
}
.svc-locs li:nth-child(2) a::before { animation-delay: -.7s; }
.svc-locs li:nth-child(3) a::before { animation-delay: -1.4s; }
.svc-locs li:nth-child(4) a::before { animation-delay: -2.1s; }
.svc-locs li:nth-child(5) a::before { animation-delay: -2.8s; }
.svc-toggle:hover::before, .svc.is-open .svc-toggle::before, .svc-locs a:hover::before { --glow-c: #FFFFFF; --glow-hi: #CFC5BA; animation-duration: 1.8s; }
@keyframes glow-spin { to { --glow-a: 360deg; } }

/* Sucesiones: fila verde (otra área del estudio) */
.svc--alt { background: linear-gradient(135deg, #00594A 0%, #004D40 55%, #00433A 100%); }
.svc--alt::before { border-color: rgba(178, 164, 150, .3); }
.svc--alt::after { background: var(--beige); }
.svc--alt .svc-badge { background: var(--beige); }
.svc--alt .svc-badge svg { --iso-l: var(--beige); color: var(--green); }
.svc--alt .svc-index { -webkit-text-stroke-color: rgba(207, 197, 186, .7); }
.svc--alt:hover .svc-index, .svc--alt.is-open .svc-index { color: rgba(207, 197, 186, .9); }
.svc--alt .svc-title { color: var(--white); }
.svc--alt .svc-desc { color: rgba(236, 238, 239, .78); }
.svc--alt .svc-points li::before { border-color: var(--beige); }
.svc--alt .svc-points strong { color: var(--white); }
.svc--alt .svc-points span { color: rgba(236, 238, 239, .7); }
.svc--alt .svc-toggle { --glow-c: #CFC5BA; --glow-hi: #FFFFFF; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.svc--alt .svc-toggle-ic { background: var(--white); color: var(--green); }
.svc--alt .svc-toggle:hover, .svc--alt.is-open .svc-toggle { background: var(--white); color: var(--green); border-color: var(--white); }
.svc--alt .svc-toggle:hover .svc-toggle-ic, .svc--alt.is-open .svc-toggle-ic { background: var(--green); color: var(--white); }
.svc--alt .svc-loc-label { color: var(--beige-300); border-top-color: rgba(255, 255, 255, .15); }
.svc--alt .svc-locs a { --glow-c: #CFC5BA; --glow-hi: #FFFFFF; color: #ECEEEF; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .3); }
.svc--alt .svc-locs a .ic { color: var(--beige); }
.svc--alt .svc-locs a:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.svc--alt .svc-locs a:hover .ic { color: var(--green); }

@media (max-width: 1100px) {
  .svc { grid-template-columns: clamp(4rem, 8vw, 5rem) minmax(0, 1fr); row-gap: 1.8rem; }
  .svc-index { grid-row: 1 / span 3; }
  .svc-main, .svc-points, .svc-toggle { grid-column: 2; grid-row: auto; }
  .svc-points { padding-right: 0; }
  .svc-toggle { margin-top: 0; }
  .svc-main { padding-right: 4rem; }
  .svc-locs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .areas-head { grid-template-columns: minmax(0, 1fr); }
  .areas-photo { justify-self: start; width: min(100%, 340px); }
}
@media (max-width: 640px) {
  .svc { grid-template-columns: minmax(0, 1fr); padding: 2rem 1.4rem; row-gap: 1.2rem; }
  .svc::before { inset: 6px; }
  .svc-index { font-size: 3rem; }
  .svc-index, .svc-main, .svc-points, .svc-toggle, .svc-collapse { grid-column: 1; grid-row: auto; }
  .svc-main { padding-right: 0; }
  .svc-points { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .svc-locs { grid-template-columns: minmax(0, 1fr); }
  .svc-toggle { width: 100%; justify-content: space-between; }
  .svc-loc-label { margin-top: .4rem; }
}

/* ==========================================================================
   RESEÑAS DE GOOGLE · bloque gris carbón con acentos beige
   ========================================================================== */
.eyebrow--beige { color: var(--beige); }
.eyebrow--light { color: var(--beige-300); }
.h-section--light { color: var(--white); }
.h-section--light strong { color: var(--beige); }
.btn--beige { --btn-bg: var(--beige); --btn-fg: var(--ink); --btn-bd: var(--beige); --btn-hover: #C9BDB0; }

.reviews {
  position: relative; overflow: hidden; isolation: isolate; color: #ECEEEF;
  padding: clamp(5rem, 10vw, 9rem) 0;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(255, 255, 255, .05) 0%, transparent 70%),
    linear-gradient(180deg, #363636 0%, #2E2E2E 100%);
}
.reviews-quote-mark { /* comilla gigante de fondo */
  position: absolute; z-index: -1; right: -2vw; top: -14vw; font-family: var(--ff-serif); font-weight: 600;
  font-size: clamp(22rem, 48vw, 46rem); line-height: 1; color: var(--beige); opacity: .07; pointer-events: none; user-select: none;
}

.reviews-head { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: end; gap: 2rem 4rem; }
.reviews .h-section { margin-top: 1.4rem; }

.reviews-score { display: flex; align-items: center; gap: 1.4rem; padding: 1.4rem 1.8rem; border: 1px solid rgba(178, 164, 150, .3); border-radius: 6px; }
.reviews-score-num { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(3.6rem, 5vw, 4.6rem); line-height: .9; color: var(--white); }
.stars--lg .ic { width: 20px; height: 20px; }
.reviews-score-txt { margin-top: .4rem; font-size: .84rem; color: rgba(236, 238, 239, .7); }
.reviews-score-txt strong { color: var(--white); }

/* Carrusel horizontal (scroll nativo + flechas) */
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); gap: 1.25rem;
  margin-top: clamp(3rem, 5vw, 4rem); padding-bottom: .5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 2px solid var(--beige); outline-offset: 6px; }

.review {
  position: relative; display: flex; flex-direction: column; min-height: 320px; scroll-snap-align: start;
  padding: 2rem 1.9rem 1.7rem; border-radius: 6px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07);
  transition: background .5s, border-color .5s;
}
.review:hover { background: rgba(255, 255, 255, .07); border-color: rgba(178, 164, 150, .35); }
.review::before { content: ""; position: absolute; left: 1.9rem; top: 0; width: 40px; height: 2px; background: var(--beige); }
.review--sample { border-style: dashed; border-color: rgba(178, 164, 150, .45); }
.review .stars .ic { width: 15px; height: 15px; }
.review-text { margin: 1.1rem 0 0; }
.review-text p {
  font-size: .97rem; line-height: 1.72; color: rgba(236, 238, 239, .86);
  display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden;
}
.review-foot { display: flex; align-items: center; gap: .85rem; margin-top: auto; padding-top: 1.5rem; }
.review-avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none;
  font-family: var(--ff-serif); font-weight: 700; font-size: 1.2rem; color: var(--ink); background: var(--beige);
}
.review-who { display: grid; line-height: 1.3; }
.review-name { font-weight: 600; font-size: .92rem; color: var(--white); }
a.review-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.review-when { font-size: .76rem; color: rgba(236, 238, 239, .55); }

/* Controles */
.reviews-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 2rem; margin-top: 2.4rem; }
.reviews-nav { display: flex; align-items: center; gap: .7rem; }
.reviews-arrow {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(236, 238, 239, .25); color: #ECEEEF; transition: background .35s, color .35s, border-color .35s, opacity .35s;
}
.reviews-arrow[data-dir="-1"] .ic { transform: rotate(180deg); }
.reviews-arrow:hover:not(:disabled) { background: var(--beige); color: var(--ink); border-color: var(--beige); }
.reviews-arrow:disabled { opacity: .3; cursor: default; }
.reviews-progress { position: relative; width: 140px; height: 1px; margin-left: .8rem; background: rgba(236, 238, 239, .2); overflow: hidden; }
.reviews-progress span { position: absolute; inset: 0; background: var(--beige); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .4s var(--ease-out); }
.reviews-nav.is-static { display: none; }
.reviews-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.reviews-write { font-size: .9rem; font-weight: 600; color: #ECEEEF; background: linear-gradient(var(--beige), var(--beige)) left bottom / 100% 1px no-repeat; padding-bottom: 2px; transition: color .3s; }
.reviews-write:hover { color: var(--beige); }

@media (max-width: 1023px) {
  .reviews-head { grid-template-columns: minmax(0, 1fr); }
  .reviews-score { justify-self: start; }
  .reviews-track { grid-auto-columns: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 640px) {
  .reviews-track { grid-auto-columns: 86%; gap: .9rem; }
  .reviews-score { padding: 1.1rem 1.3rem; gap: 1rem; }
  .reviews-actions { flex-direction: column; align-items: flex-start; }
  .reviews-links .btn { width: 100%; }
}

/* ==========================================================================
   PREGUNTAS FRECUENTES · verde de marca, tarjetas en 2 columnas
   ========================================================================== */
:root { interpolate-size: allow-keywords; } /* permite animar hasta height: auto */

.faq {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  padding: clamp(5rem, 10vw, 9rem) 0;
  background:
    radial-gradient(55% 45% at 100% 0%, rgba(30, 120, 102, .35) 0%, transparent 70%),
    linear-gradient(180deg, #004D40 0%, #00443A 100%);
}
.faq-grain { position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; pointer-events: none; }

/* Encabezado en fila */
.faq-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 2rem clamp(2rem, 6vw, 6rem); }
.faq .h-section { margin-top: 1.4rem; }
.faq-head-side p { max-width: 460px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.faq-head-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.4rem; }
.faq .btn--light .ic { color: var(--green); }
.faq-head-call { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; }
.faq-head-call .ic { width: 17px; height: 17px; color: var(--beige); }
.faq-head-call:hover { color: var(--beige-300); }

/* Dos columnas independientes: abrir una tarjeta no estira la de al lado */
.faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 5vw, 4.5rem); }
.faq-col { display: grid; gap: 1rem; align-content: start; }

.faq-item {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 6px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  transition: background .5s, border-color .5s;
}
.faq-item:hover { border-color: rgba(255, 255, 255, .22); }
.faq-item[open] { background: rgba(255, 255, 255, .08); border-color: rgba(178, 164, 150, .45); }

.faq-item summary {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 22px; align-items: center; gap: .9rem;
  padding: 1.45rem 1.5rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { font-family: var(--ff-serif); font-weight: 600; font-size: 1.1rem; color: var(--beige); }
.faq-q {
  font-family: var(--ff-serif); font-weight: 700; text-transform: uppercase; letter-spacing: .015em;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.2; color: var(--white); text-wrap: balance;
}
.faq-chev { width: 20px; height: 20px; color: var(--beige); transform: rotate(-90deg); transition: transform .5s var(--ease-out); }
.faq-item[open] .faq-chev { transform: rotate(0deg); } /* ">" gira hacia abajo al abrir */

.faq-a { position: relative; z-index: 1; padding: 0 3.8rem 1.6rem 5rem; }
.faq-a p { line-height: 1.75; color: rgba(255, 255, 255, .82); }

/* Isotipo "em." de fondo, a la derecha, en la pregunta abierta */
.faq-mark {
  --iso-l: #0B5A4C; /* letras caladas en el tono de la tarjeta */
  position: absolute; z-index: -1; right: -48px; bottom: -56px; width: 190px; height: 190px;
  color: rgba(255, 255, 255, .07); opacity: 0; transform: scale(.85) rotate(-8deg);
  transition: opacity .6s, transform .9s var(--ease-out);
}
.faq-item[open] .faq-mark { opacity: 1; transform: none; }

/* Apertura animada donde el navegador lo soporta */
.faq-item::details-content {
  height: 0; overflow: clip;
  transition: height .5s var(--ease-out), content-visibility .5s allow-discrete;
}
.faq-item[open]::details-content { height: auto; }


@media (max-width: 1023px) {
  .faq-head { grid-template-columns: minmax(0, 1fr); }
  .faq-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .faq-item summary { grid-template-columns: 2rem minmax(0, 1fr) 20px; gap: .7rem; padding: 1.25rem 1.1rem; }
  .faq-a { padding: 0 1.2rem 1.4rem 3.8rem; }
  .faq-mark { width: 150px; height: 150px; right: -40px; bottom: -46px; }
}

/* ==========================================================================
   CONTACTO · formulario + panel de oficinas con mapa
   ========================================================================== */
.contact {
  --beige-700: #7E6F60;
  position: relative; padding: clamp(5rem, 10vw, 9rem) 0;
  background: linear-gradient(180deg, #F4F4F2 0%, #ECEEEF 100%);
}
.contact-head { max-width: 720px; }
.contact .h-section { margin-top: 1.4rem; }
.contact-intro { margin-top: 1.4rem; max-width: 560px; line-height: 1.7; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem; align-items: stretch; margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* Formulario */
.cform {
  position: relative; display: grid; gap: 1.6rem; align-content: start;
  padding: clamp(1.8rem, 3vw, 2.8rem); border-radius: 6px; background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 45, 38, .05), 0 30px 60px -40px rgba(0, 45, 38, .4);
}
.cform::before { /* escuadra beige */
  content: ""; position: absolute; top: -12px; left: -12px; width: 46px; height: 46px;
  border-top: 2px solid var(--beige); border-left: 2px solid var(--beige);
}
.cform-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.cform-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cfield { position: relative; }
.cfield input, .cfield select, .cfield textarea {
  width: 100%; padding: 1.35rem 0 .55rem; border: 0; border-bottom: 1px solid rgba(51, 51, 51, .25); border-radius: 0;
  background: transparent; font: inherit; font-size: 1rem; color: var(--ink); outline: none;
  transition: border-color .3s;
}
.cfield textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
@media (min-width: 1024px) { .cfield textarea { min-height: 230px; } }
.cfield select { appearance: none; padding-right: 1.6rem; cursor: pointer; }
.cfield--select .ic { position: absolute; right: 0; bottom: .75rem; width: 16px; height: 16px; color: var(--green); pointer-events: none; }
.cfield::after { /* línea verde que crece al enfocar */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.cfield:focus-within::after { transform: scaleX(1); }
.cfield label {
  position: absolute; left: 0; top: 1.3rem; font-size: 1rem; color: var(--ink-soft); pointer-events: none;
  transform-origin: left top; transition: transform .35s var(--ease-out), color .3s;
}
.cfield label span { color: #9A9A9A; font-size: .85em; }
.cfield input:focus + label, .cfield input:not(:placeholder-shown) + label,
.cfield textarea:focus + label, .cfield textarea:not(:placeholder-shown) + label,
.cfield--select label {
  transform: translateY(-1.15rem) scale(.78); color: var(--beige-700); font-weight: 600; letter-spacing: .04em;
}
.cfield.is-invalid input, .cfield.is-invalid textarea { border-bottom-color: #B4483A; }

.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-top: .4rem; }
.cform-submit .ic { transition: transform .45s var(--ease-out); }
.cform-submit:hover .ic { transform: translateX(5px); }
.cform-submit[disabled] { opacity: .7; pointer-events: none; }
.cform-privacy { display: flex; gap: .55rem; flex: 1 1 260px; font-size: .8rem; line-height: 1.55; color: var(--ink-soft); }
.cform-privacy .ic { width: 15px; height: 15px; margin-top: .15em; flex: none; color: var(--green); }
.cform-privacy a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cform-status:empty { display: none; }
.cform-status { padding: 1rem 1.2rem; border-radius: 4px; font-size: .92rem; font-weight: 500; }
.cform-status.is-ok { background: rgba(0, 77, 64, .08); color: var(--green); }
.cform-status.is-error { background: rgba(180, 72, 58, .08); color: #8E3529; }

/* Oficinas */
.offices {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(1.4rem, 2.2vw, 2rem); border-radius: 6px; color: rgba(255, 255, 255, .82);
  background: linear-gradient(160deg, #00594A 0%, #004D40 55%, #00433A 100%);
}
.offices-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.offices-btn {
  display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 4px; line-height: 1.2;
  font-weight: 600; font-size: .95rem; transition: background .35s, color .35s;
}
.offices-btn small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.offices-btn .ic { width: 20px; height: 20px; flex: none; }
.offices-btn--call { background: var(--white); color: var(--green); }
.offices-btn--call:hover { background: var(--beige-100); }
.offices-btn--wa { border: 1px solid rgba(255, 255, 255, .3); color: var(--white); }
.offices-btn--wa .ic { color: var(--wa); }
.offices-btn--wa:hover { background: rgba(255, 255, 255, .08); }

.offices-tabs { display: flex; gap: 1.6rem; margin-top: 1.8rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.offices-tab {
  position: relative; padding: .7rem 0; font-family: var(--ff-serif); font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .02em; color: rgba(255, 255, 255, .5); transition: color .3s;
}
.offices-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--beige); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.offices-tab[aria-selected="true"] { color: var(--white); }
.offices-tab[aria-selected="true"]::after { transform: scaleX(1); }
.offices-tab:hover { color: var(--white); }

.office { margin-top: 1.2rem; animation: office-in .6s var(--ease-out); }
@keyframes office-in { from { opacity: 0; transform: translateY(8px); } }
.office-map { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 4px; border-top-right-radius: 64px; background: rgba(0, 0, 0, .2); }
.office-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.office-info { margin-top: 1.1rem; font-style: normal; }
.office-name { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--beige); }
.office-addr { margin-top: .4rem; font-size: 1rem; line-height: 1.5; color: var(--white); }
.offices .link-arrow { margin-top: .8rem; color: var(--white); font-size: .88rem; }

.offices-meta { display: grid; gap: .9rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.offices-meta { margin-top: 1.4rem; }
.offices-meta li { display: flex; gap: .7rem; font-size: .84rem; line-height: 1.5; }
.offices-meta .ic { width: 17px; height: 17px; flex: none; margin-top: .15em; color: var(--beige); }
.offices-meta strong { color: var(--white); }


@media (max-width: 1023px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cform-row { grid-template-columns: minmax(0, 1fr); }
  .cform::before { display: none; }
  .cform-submit { width: 100%; }
  .offices-quick { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   FOOTER · gris carbón, Instagram destacado y nombre gigante
   ========================================================================== */
.site-footer {
  position: relative; overflow: hidden; color: rgba(236, 238, 239, .72);
  padding-top: clamp(4rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, #333333 0%, #2B2B2B 100%);
}

/* Instagram */
.ft-ig {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.6rem 2rem;
  padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1.4rem, 3vw, 2.5rem); border-radius: 6px;
  background: linear-gradient(120deg, #004D40 0%, #00594A 100%); color: var(--white);
  transition: translate .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.ft-ig::after { /* cuarto de círculo beige */
  content: ""; position: absolute; right: 0; top: 0; width: 90px; height: 90px; background: var(--beige); opacity: .18; border-bottom-left-radius: 100%;
}
.ft-ig:hover { translate: 0 -3px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.ft-ig-photo { position: relative; width: 96px; height: 96px; }
.ft-ig-photo picture, .ft-ig-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.ft-ig-photo picture { padding: 3px; background: conic-gradient(from 210deg, #B2A496, #ECEEEF, #B2A496); }
.ft-ig-badge { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--green); }
.ft-ig-badge .ic { width: 18px; height: 18px; }
.ft-ig-copy { display: grid; gap: .25rem; }
.ft-ig-kicker { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--beige-300); }
.ft-ig-handle { font-family: var(--ff-serif); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.05; }
.ft-ig-txt { margin-top: .2rem; font-size: .9rem; color: rgba(255, 255, 255, .72); }
.ft-ig-cta {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .6rem; height: 50px; padding: 0 1.4rem; border-radius: var(--radius);
  background: var(--white); color: var(--green); font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.ft-ig-cta .ic { transition: transform .45s var(--ease-out); }
.ft-ig:hover .ft-ig-cta .ic { transform: translateX(4px); }

/* Columnas */
.ft-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.5rem; margin-top: clamp(3.5rem, 6vw, 5rem); }
.ft-logo { display: inline-flex; align-items: center; gap: .85rem; color: var(--white); }
.ft-logo .iso { width: 50px; height: 50px; }
.ft-logo .iso-c { fill: var(--white); }
.ft-logo .iso-l { fill: #333333; }
.ft-logo span { display: grid; line-height: 1; }
.ft-logo strong { font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.ft-logo small { margin-top: .4rem; font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; opacity: .7; }
.ft-lema { margin-top: 1.4rem; max-width: 280px; font-family: var(--ff-serif); font-weight: 600; font-size: 1.25rem; line-height: 1.2; text-transform: uppercase; color: var(--beige); }
.ft-mat { display: flex; gap: .5rem; margin-top: 1.2rem; font-size: .8rem; line-height: 1.55; }
.ft-mat .ic { width: 16px; height: 16px; flex: none; margin-top: .15em; color: var(--beige); }

.ft-label { margin-bottom: 1.1rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--beige); }
.ft-col ul { display: grid; gap: .65rem; }
.ft-col a { font-size: .9rem; transition: color .3s; }
.ft-col a:hover { color: var(--white); }
.ft-contact a { display: inline-flex; align-items: center; gap: .55rem; }
.ft-contact a[href^="mailto"] { font-size: .84rem; }
.ft-contact .ic { width: 16px; height: 16px; flex: none; color: var(--beige); }
.ft-office { margin-top: 1.2rem; font-style: normal; font-size: .84rem; line-height: 1.5; }
.ft-office strong { display: block; color: var(--white); font-weight: 600; }
.ft-hours { margin-top: 1rem; font-size: .8rem; }

/* Barra inferior */
.ft-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem;
  margin-top: clamp(3rem, 5vw, 4rem); padding-top: 1.6rem; padding-bottom: 1.6rem; border-top: 1px solid rgba(236, 238, 239, .12);
  font-size: .8rem;
}
.ft-bottom ul { display: flex; gap: 1.6rem; }
.ft-bottom a:hover { color: var(--white); }
.ft-credit { opacity: .6; }

/* Nombre gigante, cortado por el borde inferior */
.ft-giant {
  margin: 0 0 -.18em; text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--ff-sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; line-height: .8;
  font-size: clamp(2.4rem, 10.2vw, 12rem); color: transparent;
  background: linear-gradient(180deg, rgba(178, 164, 150, .22) 0%, rgba(178, 164, 150, .04) 100%); -webkit-background-clip: text; background-clip: text;
}

@media (max-width: 1023px) {
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-ig { grid-template-columns: auto minmax(0, 1fr); }
  .ft-ig-cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .ft-cols { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .ft-ig { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .ft-ig-photo { width: 76px; height: 76px; }
  .ft-ig-cta { width: 100%; justify-content: center; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   PÁGINAS INTERNAS (localidad, servicio × localidad, legales)
   ========================================================================== */
.page-inner { --beige-700: #7E6F60; }

/* Encabezado */
.phero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  padding: calc(var(--nav-h) + clamp(2.5rem, 6vh, 4.5rem)) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(60% 60% at 15% 30%, rgba(22, 110, 93, .3) 0%, transparent 70%),
    linear-gradient(160deg, #004D40 0%, #00342C 50%, #00211C 100%);
}
.phero-grain { position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: .4rem; color: var(--beige); }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--white); }
.crumbs--dark ol { color: var(--ink-soft); }
.crumbs--dark [aria-current] { color: var(--ink); }
.phero-kicker { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--beige-300); }
.phero-kicker .eyebrow-line { background: var(--beige); }
.phero-title {
  margin-top: 1.2rem; font-family: var(--ff-serif); font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1; text-wrap: balance;
}
.phero-title strong { font-weight: 700; color: var(--beige); }
.phero-h1 { margin: 0; font: inherit; }
.phero-h1 .phero-kicker { font-family: var(--ff-sans); line-height: 1.5; }
.phero-h1 .phero-title { display: block; }
.phero-lead strong { color: var(--white); }
.phero-lead { margin-top: 1.5rem; max-width: 560px; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.7; color: rgba(255, 255, 255, .82); }
.phero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.phero .btn--light .ic { color: var(--green); }
.phero-trust { display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; margin-top: 2rem; font-size: .82rem; color: rgba(255, 255, 255, .72); }
.phero-trust li { display: flex; align-items: center; gap: .45rem; }
.phero-trust .ic { width: 16px; height: 16px; color: var(--beige); }
.phero-photo { margin: 0; justify-self: end; width: min(100%, 400px); aspect-ratio: 4 / 5; }
.phero-photo picture { display: block; height: 100%; overflow: hidden; border-top-left-radius: clamp(100px, 11vw, 180px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.phero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Qué incluye */
.pinc, .pzs { padding: clamp(4.5rem, 9vw, 8rem) 0; background: linear-gradient(180deg, #F4F4F2 0%, #ECEEEF 100%); }
.pinc-head { max-width: 760px; }
.pinc .h-section, .pzs .h-section { margin-top: 1.4rem; }
.pinc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.pinc-card { position: relative; overflow: hidden; padding: 2rem 1.6rem 1.8rem; border-radius: 6px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 45, 38, .05), 0 20px 40px -32px rgba(0, 45, 38, .45); }
.pinc-num { position: absolute; top: 0; right: 0; width: 58px; height: 58px; display: grid; place-items: start end; padding: .7rem .8rem 0 0; font-family: var(--ff-serif); font-weight: 600; color: var(--white); background: var(--green); border-bottom-left-radius: 100%; }
.pinc-card h3 { padding-right: 2.5rem; font-family: var(--ff-serif); font-weight: 700; font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .015em; color: var(--green); }
.pinc-card p { margin-top: .8rem; font-size: .92rem; line-height: 1.65; color: #4D4D4D; }

/* Diferencial / reseñas */
.pwhy { padding: clamp(4rem, 8vw, 7rem) 0; color: #ECEEEF; background: linear-gradient(180deg, #363636 0%, #2E2E2E 100%); }
.pwhy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pwhy-title { font-family: var(--ff-serif); font-weight: 600; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.02; color: var(--white); }
.pwhy-title strong { color: var(--beige); }
.pwhy-copy p { line-height: 1.8; color: rgba(236, 238, 239, .82); }
.pwhy .link-arrow { margin-top: 1.4rem; color: var(--white); }
.prv-list { display: grid; gap: 1.4rem; }
.prv { margin: 0; padding-left: 1.4rem; border-left: 2px solid var(--beige); }
.prv p { font-size: 1.02rem; line-height: 1.7; color: rgba(236, 238, 239, .88); }
.prv footer { margin-top: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--beige); }

/* Servicios de la localidad */
.pzs-intro { margin-top: 1.2rem; max-width: 560px; line-height: 1.7; color: var(--ink-soft); }
.pzs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.pzs-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; padding: 2rem 1.7rem 1.6rem; border-radius: 6px;
  background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 45, 38, .05), 0 20px 40px -32px rgba(0, 45, 38, .45);
  transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.pzs-card:hover { translate: 0 -4px; box-shadow: 0 1px 2px rgba(0, 45, 38, .05), 0 30px 50px -30px rgba(0, 45, 38, .55); }
.pzs-num { position: absolute; top: 0; right: 0; width: 58px; height: 58px; display: grid; place-items: start end; padding: .7rem .8rem 0 0; font-family: var(--ff-serif); font-weight: 600; color: var(--white); background: var(--green); border-bottom-left-radius: 100%; }
.pzs-card h3 { padding-right: 2.5rem; font-family: var(--ff-serif); font-weight: 700; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; color: var(--green); }
.pzs-card p { margin-top: .7rem; flex: 1; font-size: .92rem; line-height: 1.6; color: #4D4D4D; }
.pzs-more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.pzs-more .ic { width: 16px; height: 16px; color: var(--green); transition: transform .45s var(--ease-out); }
.pzs-card:hover .pzs-more .ic { transform: translateX(4px); }
.pzs-card--alt { background: linear-gradient(135deg, #00594A, #004D40); }
.pzs-card--alt h3 { color: var(--white); }
.pzs-card--alt p { color: rgba(255, 255, 255, .78); }
.pzs-card--alt .pzs-more { color: var(--white); }
.pzs-card--alt .pzs-more .ic { color: var(--beige); }
.pzs-card--alt .pzs-num { background: var(--beige); color: var(--ink); }

/* Bloque local con mapa */
.plocal { padding: clamp(4.5rem, 9vw, 8rem) 0; background: linear-gradient(180deg, #E8E2DB 0%, #DED6CD 100%); --beige-700: #6B5D50; }
.plocal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.plocal .h-sub { margin-top: 1.2rem; }
.plocal-txt { margin-top: 1.2rem; line-height: 1.75; color: #4D4D4D; }
.plocal-facts { display: grid; gap: 1rem; margin-top: 1.6rem; }
.plocal-facts li { display: flex; gap: .8rem; font-size: .92rem; line-height: 1.5; color: var(--ink); }
.plocal-facts .ic { width: 20px; height: 20px; flex: none; margin-top: .1em; color: var(--green); }
.plocal-facts strong { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--beige-700); }
.plocal-areas { margin-top: 1.4rem; font-size: .9rem; line-height: 1.6; color: #4D4D4D; }
.plocal-areas strong { color: var(--ink); }
.plocal .link-arrow { margin-top: 1.4rem; }
.plocal-map { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; border-top-right-radius: clamp(80px, 9vw, 140px); box-shadow: 0 40px 70px -40px rgba(51, 41, 31, .55); background: #CFC5BA; }
.plocal-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.3); }

/* Preguntas */
.pfaq { padding: clamp(4.5rem, 9vw, 8rem) 0; background: linear-gradient(180deg, #F4F4F2 0%, #ECEEEF 100%); }
.pfaq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.pfaq .h-sub { margin-top: 1.2rem; }
.pfaq-note { margin-top: 1.2rem; line-height: 1.7; color: var(--ink-soft); }
.pfaq-note a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pfaq-list { display: grid; gap: .7rem; }
.pfaq-item { border-radius: 6px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 45, 38, .05), 0 14px 30px -26px rgba(0, 45, 38, .45); }
.pfaq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; cursor: pointer; list-style: none; }
.pfaq-item summary::-webkit-details-marker { display: none; }
.pfaq-item h3 { font-family: var(--ff-serif); font-weight: 700; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.2; text-transform: uppercase; letter-spacing: .015em; color: var(--green); }
.pfaq-item summary .ic { width: 18px; height: 18px; flex: none; color: var(--beige-700); transition: transform .45s var(--ease-out); }
.pfaq-item[open] summary .ic { transform: rotate(180deg); color: var(--green); }
.pfaq-item p { padding: 0 1.5rem 1.4rem; line-height: 1.75; color: #4D4D4D; }
.pfaq-item::details-content { height: 0; overflow: clip; transition: height .5s var(--ease-out), content-visibility .5s allow-discrete; }
.pfaq-item[open]::details-content { height: auto; }

/* Enlaces relacionados */
.prel { padding: clamp(3rem, 6vw, 4.5rem) 0; background: #ECEEEF; border-top: 1px solid rgba(0, 77, 64, .1); }
.prel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.prel-label { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--beige-700); }
.prel-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.prel-list a { display: inline-flex; align-items: center; height: 38px; padding: 0 1rem; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--green); border: 1px solid rgba(0, 77, 64, .25); transition: background .3s, color .3s; }
.prel-list a:hover { background: var(--green); color: var(--white); }

/* Llamado final */
.pcta { padding: clamp(4rem, 8vw, 6.5rem) 0; color: var(--white); background: linear-gradient(135deg, #00594A 0%, #004D40 55%, #00433A 100%); text-align: center; }
.pcta-inner { max-width: 760px; }
.pcta-title { font-family: var(--ff-serif); font-weight: 600; text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; text-wrap: balance; }
.pcta-title strong { color: var(--beige); }
.pcta p { margin-top: 1rem; color: rgba(255, 255, 255, .78); }
.pcta-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.pcta .btn--light .ic { color: var(--green); }

/* Legales y 404 */
.plegal, .p404 { padding: calc(var(--nav-h) + 4rem) 0 clamp(4rem, 8vw, 6rem); background: #F4F4F2; }
.page-legal .site-header, .page-404 .site-header { color: var(--ink); }
.page-legal .site-header .iso-c, .page-404 .site-header .iso-c { fill: var(--green); }
.page-legal .site-header .iso-l, .page-404 .site-header .iso-l { fill: var(--white); }
.plegal-inner { max-width: 780px; }
.plegal .h-section { margin-top: 1.4rem; }
.plegal-lead { margin-top: 1.4rem; font-size: 1.1rem; line-height: 1.7; }
.plegal h2 { margin-top: 2.4rem; font-family: var(--ff-serif); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; color: var(--green); }
.plegal p { margin-top: .8rem; line-height: 1.8; color: #4D4D4D; }
.plegal a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.plegal-date { margin-top: 2.4rem !important; font-size: .85rem; }
.p404 { text-align: center; }
.p404 .container { max-width: 640px; }
.p404-code { font-family: var(--ff-serif); font-weight: 700; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: var(--beige); }
.p404 p:not(.p404-code) { margin-top: 1.2rem; line-height: 1.7; color: var(--ink-soft); }
.p404-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.4rem; margin-top: 2rem; }

@media (max-width: 1100px) {
  .pinc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .phero-grid, .pwhy-grid, .plocal-grid, .pfaq-grid { grid-template-columns: minmax(0, 1fr); }
  .phero-photo { display: none; }
  .pzs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prel-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pinc-grid, .pzs-grid { grid-template-columns: minmax(0, 1fr); }
  .phero-ctas .btn, .pcta-ctas .btn { width: 100%; }
}

/* ==========================================================================
   URGENCIAS
   ========================================================================== */
/* En urgencias, llamar es la acción principal */
.phero-ctas--urgent .btn--ghost { order: -1; --btn-bg: var(--white); --btn-fg: var(--green); --btn-bd: var(--white); --btn-hover: var(--beige-100); }
.phero-ctas--urgent .btn--ghost .ic { color: var(--green); }
.phero-ctas--urgent .btn--light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .45); --btn-hover: rgba(255, 255, 255, .1); }
.phero-ctas--urgent .btn--light .ic { color: var(--wa); }
.phero-kicker .nav-urg-dot { margin-right: .2rem; }

.purg { padding: clamp(4.5rem, 9vw, 8rem) 0; background: linear-gradient(180deg, #F4F4F2 0%, #ECEEEF 100%); }
.purg-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.purg .h-section { margin-top: 1.4rem; }

.purg-steps { position: relative; display: grid; gap: 1.6rem; margin-top: 2.6rem; }
.purg-steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--green), rgba(0, 77, 64, .15)); }
.purg-steps li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.purg-step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-family: var(--ff-serif); font-weight: 700; font-size: 1.35rem; color: var(--white); background: var(--green);
  box-shadow: 0 0 0 6px #F0F0EE;
}
.purg-steps h3 { padding-top: .55rem; font-family: var(--ff-serif); font-weight: 700; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.1; text-transform: uppercase; letter-spacing: .015em; color: var(--green); }
.purg-steps p { margin-top: .5rem; max-width: 56ch; line-height: 1.7; color: #4D4D4D; }

.purg-side { position: sticky; top: calc(var(--nav-h-sm) + 2rem); display: grid; gap: 1rem; }
.purg-avoid { padding: 1.7rem 1.6rem; border-radius: 6px; background: #FFFFFF; border-left: 4px solid #B4483A; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 20px 40px -32px rgba(0, 0, 0, .4); }
.purg-avoid-title { display: flex; align-items: center; gap: .6rem; font-family: var(--ff-serif); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .015em; color: #8E3529; }
.purg-avoid-title .ic { width: 22px; height: 22px; }
.purg-avoid ul { display: grid; gap: .8rem; margin-top: 1.1rem; }
.purg-avoid li { position: relative; padding-left: 1.6rem; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.purg-avoid li::before, .purg-avoid li::after { content: ""; position: absolute; left: .2rem; top: .62em; width: 11px; height: 2px; background: #B4483A; transform: rotate(45deg); }
.purg-avoid li::after { transform: rotate(-45deg); }

.purg-call {
  display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; border-radius: 6px; color: var(--white);
  background: linear-gradient(135deg, #00594A 0%, #004D40 60%, #00433A 100%); font-weight: 700; font-size: 1.35rem; line-height: 1.2;
  transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.purg-call small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--beige-300); }
.purg-call-ic { position: relative; display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--white); color: var(--green); }
.purg-call-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--white); animation: wa-ring 2.4s var(--ease-out) infinite; }
.purg-call-ic .ic { width: 22px; height: 22px; }
.purg-call:hover { translate: 0 -3px; box-shadow: 0 24px 40px -24px rgba(0, 45, 38, .7); }
.purg-call:hover .purg-call-ic .ic { animation: phone-ring .9s ease-in-out; }

.purg-svc { margin-top: 1.6rem; }
.purg-svc-label { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--beige); }
.prel-list--dark { margin-top: .7rem; }
.prel-list--dark a { color: #ECEEEF; border-color: rgba(236, 238, 239, .3); }
.prel-list--dark a:hover { background: var(--white); color: var(--green); border-color: var(--white); }

/* Índice de urgencias */
.purg-hub { padding: clamp(4rem, 8vw, 7rem) 0; background: linear-gradient(180deg, #F4F4F2 0%, #ECEEEF 100%); }
.purg-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.purg-hub-card {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem 1.8rem 1.6rem; border-radius: 6px; background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 45, 38, .05), 0 20px 40px -32px rgba(0, 45, 38, .45); transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.purg-hub-card:hover { translate: 0 -4px; box-shadow: 0 1px 2px rgba(0, 45, 38, .05), 0 30px 50px -30px rgba(0, 45, 38, .55); }
.purg-hub-num { font-family: var(--ff-serif); font-weight: 600; font-size: 1.1rem; color: #B4483A; }
.purg-hub-card h2 { margin-top: .5rem; font-family: var(--ff-serif); font-weight: 700; font-size: 1.5rem; line-height: 1.08; text-transform: uppercase; color: var(--green); }
.purg-hub-card p { margin-top: .7rem; flex: 1; font-size: .92rem; line-height: 1.6; color: #4D4D4D; }
.purg-hub-card:hover .pzs-more .ic { transform: translateX(4px); }

@media (max-width: 1023px) {
  .purg-grid { grid-template-columns: minmax(0, 1fr); }
  .purg-side { position: static; }
}
@media (max-width: 640px) {
  .purg-hub-grid { grid-template-columns: minmax(0, 1fr); }
  .purg-steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; }
  .purg-step-num { width: 40px; height: 40px; font-size: 1.15rem; }
  .purg-steps::before { left: 19px; }
  .purg-steps h3 { padding-top: .4rem; }
}

/* ==========================================================================
   ASISTENTE + WHATSAPP FLOTANTES (apilados)
   El asistente va arriba del WhatsApp; si el WhatsApp no se ve (en el hero o
   apagado desde Ajustes), el asistente baja a ocupar su lugar.
   ========================================================================== */
html.no-wa .wa-float { display: none !important; }
html .ss-launcher {
  --fl-gap: clamp(1rem, 2.5vw, 2rem);
  right: calc(var(--fl-gap) + 2px) !important;
  bottom: calc(var(--fl-gap) + 62px + 14px) !important;
  transition: bottom .6s var(--ease-out) !important;
}
html.at-hero .ss-launcher, html.no-wa .ss-launcher, html:not(.is-ready) .ss-launcher { bottom: calc(var(--fl-gap) + 2px) !important; }
html .ss-launcher .ss-bubble-btn { box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 14px 30px -10px rgba(0, 45, 38, .6) !important; }
.menu-open .ss-launcher { opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
  html .ss-launcher { --fl-gap: 1rem; right: calc(var(--fl-gap) - 1px) !important; bottom: calc(var(--fl-gap) + 56px + 12px + env(safe-area-inset-bottom)) !important; }
  html.at-hero .ss-launcher, html.no-wa .ss-launcher { bottom: calc(var(--fl-gap) + env(safe-area-inset-bottom)) !important; }
}

/* ==========================================================================
   RESERVAR ENTREVISTA (pago con Mercado Pago)
   Ocultos hasta que el admin tenga monto y token cargados (main.js agrega .entrevista-on)
   ========================================================================== */
html:not(.entrevista-on) .js-entrevista { display: none !important; }
html.entrevista-on .js-sin-entrevista { display: none !important; } /* en el hero, la entrevista reemplaza a WhatsApp */
.hero .btn--book { --btn-bg: var(--white); --btn-fg: var(--green); --btn-bd: var(--white); --btn-hover: var(--beige-100); }
.hero .btn--book .ic, .phero-ctas .js-entrevista .ic { color: var(--green); transition: transform .45s var(--ease-out); }
.hero-ctas .btn--book:hover .ic { transform: scale(1.2) rotate(-8deg); }

.offices-btn--book {
  grid-column: 1 / -1; position: relative; padding-right: 2.6rem;
  background: var(--beige); color: var(--ink);
}
.offices-btn--book:hover { background: #C9BDB0; }
.offices-btn--book .ic { color: var(--green); }
.offices-btn--book .offices-btn-arrow { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.offices-btn--book:hover .offices-btn-arrow { transform: translateX(4px); }

.pcta .btn--beige .ic { color: var(--green); }
.mmenu-book { grid-column: 1 / -1; }

/* Movimiento reducido: sin preloader ni animaciones largas */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preloader { display: none !important; }
  .js .rv, .js .rv-up, .js .sr { opacity: 1; transform: none; }
  .js .sr-photo > picture { clip-path: none; }
  .js .sr-photo img { transform: none; }
  .hero-video { transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
