:root {
  --ink: #203a37;
  --ink-soft: #61716e;
  --green: #3c5f5a;
  --green-deep: #284844;
  --sage: #87a8a0;
  --mint: #e1eeea;
  --mist: #f2f6f4;
  --cream: #f7f5f0;
  --paper: #ffffff;
  --line: rgba(32, 58, 55, .12);
  --shadow: 0 28px 80px rgba(32, 58, 55, .12);
  --shadow-soft: 0 18px 54px rgba(32, 58, 55, .08);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-space { padding: 112px 0; }
.skip-link { position: fixed; top: -70px; left: 16px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 10px; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 12px 38px rgba(32, 58, 55, .06); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-symbol { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; padding: 8px; color: var(--green); background: var(--mint); border-radius: 15px; }
.brand-text { font-weight: 660; letter-spacing: -.025em; line-height: 1.15; }
.brand-text strong { color: var(--green); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: .93rem; font-weight: 700; }
.main-nav > a:not(.nav-cta) { color: var(--ink-soft); transition: color .2s ease; }
.main-nav > a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { padding: 11px 18px; color: #fff; background: var(--green); border-radius: 999px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 12px; border: 0; background: transparent; border-radius: 14px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 99px; transition: .25s ease; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 94px 0 118px;
  background:
    radial-gradient(circle at 84% 18%, rgba(135,168,160,.26), transparent 30%),
    radial-gradient(circle at 8% 80%, rgba(225,238,234,.9), transparent 25%),
    linear-gradient(180deg, #faf8f4 0%, #f3f5f1 100%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-kicker.light { color: #dcece7; }
.hero h1 { max-width: 760px; margin: 22px 0 26px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.8rem, 6.7vw, 6.7rem); font-weight: 500; letter-spacing: -.055em; line-height: .96; }
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 700px; margin: 0; color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 23px; border-radius: 999px; font-weight: 780; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; }
.btn-primary { color: #fff; background: var(--green); box-shadow: 0 14px 34px rgba(60,95,90,.2); }
.btn-primary:hover { background: var(--green-deep); box-shadow: 0 18px 40px rgba(60,95,90,.26); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.btn-secondary:hover { background: #fff; }
.btn-light { color: var(--green-deep); background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.08); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 42px; }
.hero-tags span { padding: 9px 13px; color: var(--green-deep); background: rgba(255,255,255,.65); border: 1px solid var(--line); border-radius: 999px; font-size: .83rem; font-weight: 760; }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.visual-panel { position: relative; width: min(100%, 490px); aspect-ratio: .9; display: grid; place-items: center; color: var(--green); background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.92); border-radius: 46px; box-shadow: var(--shadow); backdrop-filter: blur(12px); overflow: visible; }
.balance-art { width: 74%; opacity: .78; }
.visual-line { position: absolute; border: 1px solid rgba(60,95,90,.08); border-radius: 50%; }
.visual-line-a { width: 82%; aspect-ratio: 1; }
.visual-line-b { width: 60%; aspect-ratio: 1; }
.visual-note { position: absolute; display: flex; align-items: center; gap: 9px; padding: 12px 15px; color: var(--ink); background: #fff; border: 1px solid rgba(60,95,90,.09); border-radius: 15px; box-shadow: var(--shadow-soft); font-size: .88rem; font-weight: 800; }
.visual-note span { width: 8px; height: 8px; background: var(--sage); border-radius: 50%; box-shadow: 0 0 0 5px var(--mint); }
.note-one { left: -34px; top: 16%; }
.note-two { right: -30px; top: 37%; }
.note-three { left: 18px; bottom: 10%; }
.decor { position: absolute; border-radius: 50%; pointer-events: none; }
.decor-one { width: 330px; height: 330px; right: -130px; top: 120px; background: rgba(135,168,160,.12); }
.decor-two { width: 180px; height: 180px; left: -95px; bottom: 65px; background: rgba(225,238,234,.8); }

.intro-strip { position: relative; z-index: 3; margin-top: -34px; }
.intro-strip-grid { min-height: 86px; display: grid; grid-template-columns: 1fr auto 1.3fr auto .7fr; gap: 26px; align-items: center; padding: 20px 30px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); }
.intro-strip p { margin: 0; color: var(--green-deep); font-weight: 760; text-align: center; }
.intro-separator { width: 1px; height: 34px; background: var(--line); }

.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 92px; align-items: start; }
.about-heading h2, .section-heading h2, .when-intro h2, .online-copy h2, .contact-copy h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.04em; line-height: 1.04; }
.about-heading h2 { margin: 14px 0 0; font-size: clamp(2.7rem, 5vw, 4.9rem); }
.about-copy { padding-left: 48px; border-left: 1px solid var(--line); }
.about-copy p { margin: 0 0 22px; color: var(--ink-soft); font-size: 1.06rem; }
.about-copy .lead-copy { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.3; }

.services { background: var(--cream); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading h2 { margin: 14px 0 0; font-size: clamp(2.8rem, 5vw, 5rem); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.service-card { min-height: 330px; display: flex; flex-direction: column; padding: 34px; background: #fff; border: 1px solid rgba(32,58,55,.08); border-radius: var(--radius-lg); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(60,95,90,.2); box-shadow: var(--shadow-soft); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-number { color: var(--green); font-size: .82rem; font-weight: 900; letter-spacing: .08em; }
.card-dot { width: 15px; height: 15px; background: var(--mint); border: 4px solid var(--sage); border-radius: 50%; }
.service-card h3 { max-width: 430px; margin: auto 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 500; letter-spacing: -.03em; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

.when { color: #fff; background: var(--green-deep); }
.when-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 86px; align-items: start; }
.when-intro { position: sticky; top: 120px; }
.when-intro h2 { margin: 14px 0 24px; font-size: clamp(2.8rem, 5vw, 5rem); }
.when-intro > p { max-width: 540px; margin: 0; color: rgba(255,255,255,.7); font-size: 1.06rem; }
.when-list { border-top: 1px solid rgba(255,255,255,.18); }
.reason { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: center; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.reason span { color: #c7ddd7; font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.reason p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2vw, 1.58rem); line-height: 1.3; }

.online { background: #fff; }
.online-card { min-height: 500px; display: grid; grid-template-columns: 1fr .95fr; overflow: hidden; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.online-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 72px; }
.online-copy h2 { margin: 14px 0 22px; font-size: clamp(3.4rem, 6vw, 6.5rem); color: var(--green); }
.online-copy p { max-width: 500px; margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.online-art { display: grid; place-items: center; padding: 50px; background: radial-gradient(circle at 50% 50%, rgba(135,168,160,.22), transparent 48%); }
.screen { width: min(100%, 400px); aspect-ratio: 1.25; overflow: hidden; background: rgba(255,255,255,.78); border: 1px solid rgba(60,95,90,.12); border-radius: 28px; box-shadow: var(--shadow-soft); }
.screen-head { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.screen-head i { width: 8px; height: 8px; background: var(--sage); border-radius: 50%; opacity: .65; }
.screen-body { height: calc(100% - 48px); display: grid; grid-template-columns: 108px 1fr; gap: 24px; align-items: center; padding: 34px; }
.avatar { width: 104px; height: 104px; background: var(--mint); border-radius: 50% 50% 44% 56% / 58% 44% 56% 42%; }
.screen-copy span { display: block; height: 11px; margin: 15px 0; background: rgba(60,95,90,.16); border-radius: 99px; }
.screen-copy span:nth-child(1) { width: 88%; }
.screen-copy span:nth-child(2) { width: 64%; }
.screen-copy span:nth-child(3) { width: 76%; }

.contact { background: var(--cream); }
.contact-card { min-height: 360px; display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; padding: 68px; color: #fff; background: var(--green); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.contact-copy h2 { margin: 14px 0 16px; font-size: clamp(3rem, 5vw, 5.4rem); }
.contact-copy p { margin: 0; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.contact-action { min-width: 300px; display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.phone { display: block; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); text-align: center; }

.site-footer { padding: 58px 0; color: rgba(255,255,255,.72); background: #18312e; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 50px; align-items: end; }
.footer-grid p { margin: 4px 0; }
.footer-brand { color: #fff; font-weight: 820; }
.footer-contact { display: flex; flex-direction: column; gap: 2px; }
.footer-contact span { color: rgba(255,255,255,.52); font-size: .82rem; }
.footer-contact a { color: #fff; font-weight: 800; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-nav a:hover { color: #fff; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 60px; height: 60px; display: grid; place-items: center; padding: 15px; color: #fff; background: var(--green); border-radius: 50%; box-shadow: 0 16px 38px rgba(32,58,55,.3); transition: transform .2s ease, background .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.02); background: var(--green-deep); }

/* El contenido permanece visible aun si JavaScript no se ejecuta. */
.reveal { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero-grid { gap: 38px; }
  .hero-visual { min-height: 480px; }
  .note-one { left: -10px; }
  .note-two { right: -10px; }
  .about-grid, .when-grid { gap: 56px; }
  .online-copy { padding: 58px; }
  .contact-card { padding: 54px; }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-space { padding: 82px 0; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 84px 14px auto; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: rgba(255,255,255,.99); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: .22s ease; }
  .main-nav.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .main-nav a { padding: 12px 14px; border-radius: 12px; }
  .nav-cta { text-align: center; margin-top: 5px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding: 70px 0 105px; }
  .hero-grid, .about-grid, .when-grid, .online-card, .contact-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-tags { justify-content: center; }
  .hero-visual { min-height: 420px; }
  .visual-panel { width: min(88%, 450px); }
  .intro-strip-grid { grid-template-columns: 1fr; gap: 0; padding: 12px 24px; }
  .intro-strip p { padding: 12px 0; }
  .intro-separator { width: 100%; height: 1px; }
  .about-grid { gap: 34px; }
  .about-copy { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .when-intro { position: static; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .online-card { min-height: auto; }
  .online-copy { padding: 52px 40px; }
  .online-art { min-height: 360px; }
  .contact-card { gap: 38px; }
  .contact-action { min-width: 0; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 560px) {
  .nav-wrap { min-height: 74px; }
  .brand-symbol { width: 39px; height: 39px; flex-basis: 39px; }
  .brand-text { max-width: 220px; font-size: .86rem; }
  .main-nav { top: 74px; }
  .hero { padding: 54px 0 92px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 330px; }
  .visual-panel { width: 86%; border-radius: 30px; }
  .visual-note { padding: 9px 11px; font-size: .74rem; }
  .note-one { left: -12px; top: 12%; }
  .note-two { right: -12px; top: 38%; }
  .note-three { left: 6px; bottom: 7%; }
  .intro-strip { margin-top: -26px; }
  .section-space { padding: 66px 0; }
  .service-card { min-height: auto; padding: 28px 24px; }
  .service-card h3 { margin-top: 62px; }
  .when-grid { gap: 42px; }
  .reason { grid-template-columns: 42px 1fr; gap: 12px; padding: 20px 0; }
  .online-card { border-radius: 25px; }
  .online-copy { padding: 42px 24px; }
  .online-art { min-height: 280px; padding: 24px; }
  .screen-body { grid-template-columns: 82px 1fr; padding: 24px; gap: 18px; }
  .avatar { width: 80px; height: 80px; }
  .contact-card { padding: 42px 24px; border-radius: 25px; }
  .contact-action { width: 100%; }
  .contact-action .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { grid-column: auto; }
  .floating-whatsapp { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.when-extra { margin-top: 24px !important; }
.location-line { margin-top: 18px !important; font-weight: 800; color: var(--green-deep) !important; }

/* Ajustes exclusivos para el contenido solicitado en la última revisión */
.intro-strip-grid { grid-template-columns: 1fr; }
.when-list { padding-top: 4px; }
.when-list > p {
  margin: 0;
  padding: 24px 0;
  color: rgba(255,255,255,.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.55;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.when-list > p.when-extra {
  color: rgba(255,255,255,.72);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.04rem;
}
