:root {
  --bg: #f4f0e9;
  --surface: #fbf8f2;
  --surface-2: #ebe5dc;
  --ink: #1f2822;
  --muted: #657069;
  --sage: #5f7567;
  --sage-dark: #3d5045;
  --sage-soft: #b9c4bb;
  --clay: #b7997e;
  --line: rgba(31, 40, 34, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(47, 61, 51, 0.12);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  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 { max-width: 100%; display: block; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.section-pad-sm { padding: 72px 0; }

.ambient {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .2;
  pointer-events: none;
}
.ambient-one { background: var(--sage-soft); top: 12%; right: -160px; }
.ambient-two { background: #d6c5b3; bottom: 8%; left: -170px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 233, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(31,40,34,.05); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(63,80,69,.3);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--sage-dark);
  background: rgba(255,255,255,.45);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: Georgia, 'Times New Roman', serif; font-size: 22px; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  height: 1px;
  width: 0;
  background: var(--sage-dark);
  transition: width .25s ease;
}
.main-nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: var(--sage-dark); color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s ease; }

.hero { min-height: calc(100vh - 86px); display: flex; align-items: center; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--sage); }
.eyebrow.light { color: rgba(255,255,255,.72); }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.03; margin-top: 0; }
h1 { font-size: clamp(54px, 6.5vw, 92px); letter-spacing: -.035em; margin-bottom: 24px; max-width: 760px; }
h1 span { color: var(--sage); font-style: italic; font-weight: 600; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.btn { min-height: 52px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage-dark); color: white; box-shadow: 0 12px 26px rgba(61,80,69,.22); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.btn-light { background: var(--white); color: var(--sage-dark); align-self: flex-start; }

.hero-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; max-width: 690px; }
.meta-card { border-top: 1px solid var(--line); padding-top: 18px; display: flex; gap: 14px; align-items: flex-start; }
.meta-icon { width: 35px; height: 35px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--sage-dark); flex: 0 0 auto; }
.meta-card small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.meta-card strong { font-size: 13px; line-height: 1.45; }

.hero-visual { min-height: 570px; position: relative; display: grid; place-items: center; }
.main-visual-card {
  width: min(100%, 430px);
  aspect-ratio: .8;
  border-radius: 190px 190px 34px 34px;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 32%),
    linear-gradient(155deg, #819184 0%, #52675a 62%, #34483d 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
}
.visual-copy { position: absolute; inset: 0; padding: 58px 46px; color: white; display: flex; flex-direction: column; justify-content: flex-end; }
.visual-copy p { text-transform: uppercase; font-size: 11px; letter-spacing: .18em; margin: 0 0 12px; opacity: .8; }
.visual-copy h2 { font-size: clamp(54px,5vw,78px); margin: 0; }
.visual-copy span { font-size: 12px; opacity: .8; letter-spacing: .06em; }
.visual-divider { width: 100%; height: 1px; background: rgba(255,255,255,.25); margin: 18px 0; }
.small-line { width: 54px; height: 1px; background: rgba(255,255,255,.7); position: absolute; top: 62px; left: 46px; }
.leaf { position: absolute; border: 1px solid rgba(255,255,255,.28); border-radius: 100% 0 100% 0; transform-origin: bottom center; }
.leaf-a { width: 95px; height: 185px; right: 24px; top: 55px; transform: rotate(18deg); }
.leaf-b { width: 75px; height: 145px; right: 95px; top: 115px; transform: rotate(-8deg); }
.leaf-c { width: 65px; height: 120px; right: 55px; top: 210px; transform: rotate(36deg); }
.visual-orbit { position: absolute; border: 1px solid rgba(95,117,103,.22); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 590px; height: 590px; border-style: dashed; animation: spin 38s linear infinite; }
.floating-note { position: absolute; background: rgba(251,248,242,.88); backdrop-filter: blur(15px); border: 1px solid var(--line); box-shadow: 0 15px 35px rgba(31,40,34,.08); border-radius: 999px; padding: 12px 18px; font-size: 12px; font-weight: 700; }
.note-one { top: 15%; left: -3%; }
.note-two { bottom: 13%; right: -4%; }
@keyframes spin { to { transform: rotate(360deg); } }

.intro { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.section-heading h2 { font-size: clamp(42px,5vw,68px); margin-bottom: 18px; }
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 620px; }
.section-heading.centered { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.intro-copy { font-size: 19px; max-width: 700px; }
.intro-copy p { margin-top: 0; margin-bottom: 14px; }
.intro-copy p:first-child { color: var(--sage); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }

.services { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.service-card { position: relative; min-height: 330px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(235,229,220,.65)); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-number { font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.service-symbol { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); margin: 58px 0 34px; font-size: 28px; color: var(--sage); }
.service-card h3 { font-size: 36px; margin-bottom: 10px; }
.service-card p { color: var(--muted); margin: 0; }

.audience-panel { min-height: 360px; border-radius: var(--radius-lg); background: var(--sage-dark); color: white; padding: 58px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.audience-panel h2 { font-size: clamp(48px,6vw,82px); max-width: 800px; margin: 0; position: relative; z-index: 2; }
.audience-deco { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; right: -90px; top: -150px; box-shadow: 0 0 0 45px rgba(255,255,255,.03), 0 0 0 90px rgba(255,255,255,.025); }

.modality-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--sage-dark); font-weight: 700; margin-top: 18px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px,-3px); }
.modality-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.modality-card { padding: 36px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); min-height: 260px; }
.round-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: white; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; margin-bottom: 54px; }
.modality-card h3 { font-size: 34px; margin-bottom: 10px; }
.modality-card p { color: var(--muted); margin: 0; }

.formation { background: var(--surface-2); }
.formation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.formation-card { padding: 36px; min-height: 280px; background: rgba(251,248,242,.72); border: 1px solid rgba(31,40,34,.09); border-radius: var(--radius-md); display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.formation-index { position: absolute; top: 28px; right: 32px; font-family: Georgia, 'Times New Roman', serif; font-size: 34px; color: var(--sage-soft); }
.formation-card h3 { font-size: 38px; margin-bottom: 8px; max-width: 520px; }
.formation-card p { margin: 0; color: var(--muted); }

.schedule-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.schedule-card, .area-card { min-height: 440px; border-radius: var(--radius-lg); padding: 44px; position: relative; overflow: hidden; }
.schedule-card { background: var(--surface); border: 1px solid var(--line); }
.area-card { background: linear-gradient(145deg,#dbc8b7,#b9a58f); }
.schedule-card h2, .area-card h2 { font-size: 48px; }
.time-display { font-family: Georgia, 'Times New Roman', serif; font-size: 68px; line-height: .95; }
.time-display span { font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.time-line { height: 36px; display: flex; align-items: center; }
.time-line span { width: 100%; height: 1px; background: var(--line); }
.area-value { font-family: Georgia, 'Times New Roman', serif; font-size: 72px; margin: 70px 0 0; position: relative; z-index: 2; }
.area-dot-grid { position: absolute; inset: auto -45px -80px auto; width: 280px; height: 280px; background-image: radial-gradient(rgba(61,80,69,.22) 1px, transparent 1px); background-size: 16px 16px; transform: rotate(16deg); }

.contact { padding-top: 40px; }
.contact-panel { border-radius: var(--radius-lg); background: var(--sage-dark); color: white; padding: 58px; display: grid; grid-template-columns: 1fr .8fr; gap: 60px; }
.contact-copy h2 { font-size: clamp(44px,5vw,68px); margin-bottom: 24px; }
.contact-copy p:last-child { color: rgba(255,255,255,.72); }
.contact-actions { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.contact-data { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-data span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.55); margin-bottom: 5px; }
.contact-data strong { font-size: 15px; }

.site-footer { padding: 48px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 40px; align-items: start; }
.footer-brand .brand-text small { max-width: 300px; }
.footer-info { color: var(--muted); font-size: 13px; }
.footer-info p { margin: 0 0 6px; }
.footer-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 18px; font-size: 13px; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 45; background: #244e3c; color: white; min-height: 52px; padding: 0 18px 0 10px; border-radius: 999px; display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; box-shadow: 0 12px 32px rgba(36,78,60,.28); transition: transform .25s ease; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-bubble { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); }

.reveal { opacity: 1; transform: none; }
.reveal.visible { animation: reveal-in .55s ease both; }
@keyframes reveal-in {
  from { opacity: .92; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .section-pad { padding: 88px 0; }
  .hero-grid, .modality-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { gap: 58px; }
  .hero-copy { padding-top: 20px; }
  .hero-visual { min-height: 510px; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); }

  .menu-toggle { display: block; z-index: 60; }
  .main-nav { position: fixed; inset: 0 0 auto 0; top: 0; min-height: 100vh; background: rgba(244,240,233,.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; gap: 24px; font-size: 18px; transform: translateY(-110%); transition: transform .35s ease; z-index: 55; }
  .main-nav.open { transform: translateY(0); }
  .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); }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-pad { padding: 72px 0; }
  .section-pad-sm { padding: 56px 0; }
  .nav-wrap { min-height: 76px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand-text strong { font-size: 19px; }
  .brand-text small { font-size: 9px; }

  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .main-visual-card { width: min(100%, 330px); }
  .visual-copy { padding: 42px 30px; }
  .small-line { left: 30px; top: 44px; }
  .visual-copy h2 { font-size: 56px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 430px; height: 430px; }
  .floating-note { font-size: 10px; padding: 9px 12px; }
  .note-one { left: -1%; top: 10%; }
  .note-two { right: -2%; bottom: 8%; }

  .section-heading h2 { font-size: 46px; }
  .service-grid, .modality-cards, .formation-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .audience-panel { min-height: 300px; padding: 36px 28px; }
  .audience-panel h2 { font-size: 52px; }
  .modality-card { min-height: 220px; }
  .round-icon { margin-bottom: 38px; }
  .schedule-card, .area-card { min-height: 380px; padding: 32px 26px; }
  .schedule-card h2, .area-card h2 { font-size: 42px; }
  .time-display { font-size: 58px; }
  .area-value { font-size: 60px; margin-top: 52px; }
  .contact-panel { padding: 38px 28px; gap: 36px; }
  .contact-copy h2 { font-size: 46px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-column: auto; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 48px; }
}

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