:root {
  --forest: #36584f;
  --forest-dark: #213b35;
  --sage: #8ea99b;
  --mint: #dfe9e3;
  --cream: #f6f1e8;
  --sand: #e9ddca;
  --ink: #20312c;
  --muted: #68756f;
  --white: #ffffff;
  --line: rgba(54, 88, 79, 0.16);
  --shadow: 0 24px 60px rgba(37, 58, 52, 0.13);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #fbfaf7;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 9999; background: var(--white); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(251, 250, 247, 0.87);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 35px rgba(44, 65, 59, 0.07); }
.nav-wrap { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--white); font-family: Georgia, serif; font-size: 22px; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: "Playfair Display", serif; font-size: 18px; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--forest); transition: .3s; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 12px 18px; border-radius: 999px; background: var(--forest); color: var(--white); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); transition: .3s; }

.hero { min-height: 830px; padding-top: 170px; display: flex; align-items: center; background: radial-gradient(circle at 80% 22%, rgba(223,233,227,.9), transparent 36%), linear-gradient(135deg, #fbfaf7 0%, #f4efe6 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: #d6e4dd; }
h1, h2, h3 { font-family: "Playfair Display", serif; margin: 0; line-height: 1.12; }
h1 { font-size: clamp(48px, 6.2vw, 80px); max-width: 780px; letter-spacing: -.035em; margin: 24px 0 26px; }
h2 { font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -.025em; }
h3 { font-size: 25px; }
.hero-text { max-width: 680px; margin: 0; font-size: 19px; color: #52635d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 25px; border-radius: 999px; font-weight: 700; transition: .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: var(--white); box-shadow: 0 12px 30px rgba(54,88,79,.25); }
.button-secondary { border: 1px solid rgba(54,88,79,.28); color: var(--forest); background: rgba(255,255,255,.45); }
.button-light { color: var(--forest-dark); background: var(--white); }
.hero-detail { display: flex; gap: 13px; align-items: flex-start; max-width: 600px; margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.hero-detail span { color: var(--sage); font-size: 10px; margin-top: 6px; }
.hero-detail p { margin: 0; }
.hero-visual { min-height: 550px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 470px; height: 470px; border-radius: 47% 53% 60% 40% / 45% 40% 60% 55%; background: var(--forest); transform: rotate(-7deg); box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; width: 410px; height: 410px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.visual-card { position: relative; z-index: 2; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.visual-card-main { width: 310px; padding: 45px 35px; background: rgba(255,255,255,.95); text-align: center; }
.visual-icon { display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto 24px; border-radius: 50%; background: var(--mint); color: var(--forest); font-family: Georgia, serif; font-size: 36px; }
.visual-card-main p { margin: 0 0 10px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .11em; }
.visual-card-main strong { font-family: "Playfair Display", serif; font-size: 22px; line-height: 1.35; }
.visual-card-float { position: absolute; max-width: 175px; padding: 20px; background: var(--cream); }
.visual-card-float span { display: block; color: var(--forest); font-family: "Playfair Display", serif; font-size: 30px; font-weight: 700; }
.visual-card-float p { margin: 4px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.top-card { right: 0; top: 85px; }
.bottom-card { left: 10px; bottom: 65px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .45; }
.hero-orb-one { width: 120px; height: 120px; background: var(--sand); left: -35px; top: 210px; }
.hero-orb-two { width: 70px; height: 70px; border: 1px solid var(--sage); right: 6%; bottom: 80px; }

.trust-strip { background: var(--forest-dark); color: var(--white); }
.trust-grid { min-height: 125px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-grid > div { padding: 8px 28px; border-right: 1px solid rgba(255,255,255,.15); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-family: "Playfair Display", serif; font-size: 19px; }
.trust-grid span { margin-top: 5px; color: #b9cbc3; font-size: 12px; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-heading h2 { margin-top: 18px; }
.section-heading > p { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.centered { max-width: 800px; margin: 0 auto 56px; text-align: center; }
.centered .eyebrow { justify-content: center; }
.intro-copy { padding-left: 45px; border-left: 1px solid var(--line); font-size: 19px; color: #52635d; }
.intro-copy p:first-child { margin-top: 0; }
.intro-copy p:last-child { margin-bottom: 0; }

.services-section { background: var(--cream); }
.cards-grid { display: grid; gap: 20px; }
.four-columns { grid-template-columns: repeat(4, 1fr); }
.service-card { position: relative; min-height: 315px; padding: 28px; background: var(--white); border: 1px solid rgba(54,88,79,.1); border-radius: var(--radius-md); transition: .3s ease; overflow: hidden; }
.service-card::after { content: ""; position: absolute; width: 100px; height: 100px; right: -40px; bottom: -40px; background: var(--mint); border-radius: 50%; transition: .3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card:hover::after { transform: scale(1.25); }
.card-number { display: block; color: #a5b3ad; font-size: 12px; letter-spacing: .13em; }
.card-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 45px 0 25px; border-radius: 18px; background: var(--mint); color: var(--forest); font-size: 25px; }
.service-card p { color: var(--muted); font-size: 14px; }

.specialty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.specialty-card { min-height: 440px; padding: 55px; border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.specialty-card::before { content: "Ψ"; position: absolute; right: -10px; top: -45px; font-family: Georgia, serif; font-size: 220px; opacity: .055; }
.dark-card { background: var(--forest); color: var(--white); }
.light-card { background: var(--mint); }
.specialty-card h2 { margin: 22px 0 18px; font-size: clamp(36px, 4vw, 52px); }
.specialty-card p { max-width: 510px; margin: 0 0 38px; color: inherit; opacity: .78; }
.specialty-card a { font-weight: 700; display: inline-flex; align-items: center; gap: 12px; }
.specialty-card a span { font-size: 22px; transition: .2s; }
.specialty-card a:hover span { transform: translateX(5px); }

.evaluation-section { background: #f2eee6; }
.split-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: end; margin-bottom: 45px; }
.split-heading > p { margin-bottom: 4px; }
.evaluation-list { border-top: 1px solid var(--line); }
.evaluation-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 25px; align-items: center; min-height: 150px; border-bottom: 1px solid var(--line); transition: .25s ease; }
.evaluation-item:hover { padding-left: 14px; background: rgba(255,255,255,.4); }
.evaluation-index { color: var(--sage); font-size: 12px; letter-spacing: .14em; }
.evaluation-item p { margin: 8px 0 0; color: var(--muted); }
.evaluation-symbol { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--forest); font-size: 22px; }

.approaches-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 90px; }
.approach-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.approach-pills div { min-height: 145px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; justify-content: space-between; transition: .25s; }
.approach-pills div:hover { background: var(--forest); color: var(--white); transform: translateY(-5px); }
.approach-pills span { color: var(--sage); font-size: 12px; letter-spacing: .12em; }
.approach-pills strong { font-family: "Playfair Display", serif; font-size: 24px; }

.formation-section { background: var(--forest-dark); color: var(--white); }
.formation-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; align-items: center; }
.formation-badge { aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, #527469 0%, #38584f 55%, #2a443d 100%); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 0 0 18px rgba(255,255,255,.035); }
.formation-badge span { font-family: "Playfair Display", serif; font-size: clamp(46px, 6vw, 78px); }
.formation-badge small { color: #bdd0c7; text-transform: uppercase; letter-spacing: .15em; }
.formation-copy h2 { margin: 20px 0; }
.formation-copy > p { color: #c0d0c9; font-size: 18px; }
.formation-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.formation-tags span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #d3dfda; font-size: 13px; }

.trajectory-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; top: 15px; bottom: 15px; left: 8px; width: 1px; background: var(--line); }
.timeline-item { position: relative; min-height: 120px; padding-bottom: 28px; }
.timeline-item > span { position: absolute; left: -40px; top: 8px; width: 17px; height: 17px; border-radius: 50%; background: #fbfaf7; border: 3px solid var(--sage); }
.timeline-item.active > span { background: var(--forest); box-shadow: 0 0 0 8px var(--mint); }
.timeline-item small, .timeline-item strong { display: block; }
.timeline-item small { color: var(--sage); text-transform: uppercase; font-size: 11px; letter-spacing: .12em; margin-bottom: 8px; }
.timeline-item strong { font-family: "Playfair Display", serif; font-size: 22px; line-height: 1.35; }

.contact-section { padding-top: 30px; }
.contact-card { padding: 70px; border-radius: var(--radius-lg); background: var(--forest); color: var(--white); display: grid; grid-template-columns: 1.05fr .95fr; gap: 75px; box-shadow: var(--shadow); }
.contact-card h2 { margin: 20px 0; }
.contact-card p { max-width: 570px; color: #c9d8d2; }
.contact-details { display: grid; gap: 20px; align-content: center; }
.contact-details a:not(.button), .contact-details > div { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: #b8cbc2; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.contact-details strong { margin-top: 5px; font-size: 18px; }

.site-footer { padding: 60px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.footer-grid strong { font-family: "Playfair Display", serif; font-size: 22px; }
.footer-grid p { margin: 7px 0 0; color: var(--muted); }
.footer-grid > div:last-child { text-align: right; }
.footer-grid span, .footer-grid a { display: block; }
.footer-grid a { color: var(--forest); font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 25px; color: var(--muted); font-size: 13px; }

.whatsapp-float { position: fixed; z-index: 950; right: 22px; bottom: 22px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 14px 35px rgba(22,108,57,.28); transition: .25s; }
.whatsapp-float:hover { transform: translateY(-5px) scale(1.03); }
.whatsapp-float svg { width: 32px; fill: white; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .section { padding: 90px 0; }
  .main-nav { gap: 18px; }
  .hero-grid { gap: 25px; }
  .hero-visual { transform: scale(.9); }
  .four-columns { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 20px 0; }
  .trust-grid > div { padding: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .intro-grid, .approaches-grid, .trajectory-grid { gap: 55px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 30px, 1180px); }
  .nav-wrap { height: 76px; }
  .menu-toggle { display: block; z-index: 1002; }
  .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); }
  .main-nav { position: fixed; inset: 0; z-index: 1001; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 25px; background: #fbfaf7; transform: translateX(100%); transition: transform .35s ease; font-size: 20px; }
  .main-nav.open { transform: translateX(0); }
  .nav-cta { margin-top: 10px; }
  .hero { padding-top: 135px; min-height: auto; }
  .hero-grid, .intro-grid, .specialty-grid, .split-heading, .approaches-grid, .formation-grid, .trajectory-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-detail { text-align: left; margin-inline: auto; }
  .hero-visual { min-height: 500px; transform: none; }
  .hero-visual::before { width: 420px; height: 420px; }
  .intro-copy { padding-left: 0; border-left: 0; }
  .specialty-card { min-height: 390px; }
  .split-heading { gap: 10px; }
  .approaches-grid, .formation-grid, .trajectory-grid { gap: 50px; }
  .formation-badge { width: min(420px, 100%); margin: auto; }
  .contact-card { gap: 40px; padding: 50px; }
}

@media (max-width: 600px) {
  .section { padding: 76px 0; }
  .brand small { display: none; }
  .brand strong { font-size: 16px; }
  h1 { font-size: 43px; }
  h2 { font-size: 36px; }
  .hero { padding-top: 120px; }
  .hero-text { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 430px; }
  .hero-visual::before { width: 330px; height: 330px; }
  .hero-visual::after { width: 290px; height: 290px; }
  .visual-card-main { width: 250px; padding: 35px 24px; }
  .visual-card-main strong { font-size: 19px; }
  .visual-card-float { max-width: 145px; padding: 15px; }
  .top-card { right: -4px; top: 45px; }
  .bottom-card { left: 0; bottom: 35px; }
  .trust-grid, .four-columns, .approach-pills { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; padding-left: 0; }
  .service-card { min-height: 270px; }
  .card-icon { margin-top: 32px; }
  .specialty-card { min-height: 370px; padding: 35px 28px; }
  .evaluation-item { grid-template-columns: 45px 1fr; padding: 25px 0; }
  .evaluation-symbol { display: none; }
  .formation-tags { gap: 8px; }
  .contact-card { padding: 38px 24px; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .footer-grid > div:last-child { text-align: left; }
  .footer-bottom { gap: 8px; }
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

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