:root {
  --aec-navy: #11124d;
  --aec-navy-2: #1b1d64;
  --aec-green: #5f9f2d;
  --aec-green-dark: #3f761c;
  --aec-lime: #dff0cb;
  --aec-mint: #f2f8ec;
  --aec-cream: #fbfaf5;
  --aec-ink: #1d2630;
  --aec-muted: #59636d;
  --aec-line: #d9e1d2;
  --aec-white: #ffffff;
  --aec-shadow: 0 18px 48px rgba(17, 18, 77, 0.11);
  --aec-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.aec-managed-page { margin: 0; color: var(--aec-ink); background: var(--aec-cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; overflow-x: hidden; }
.aec-managed-page img { max-width: 100%; height: auto; }
.aec-managed-page a { color: inherit; }
.aec-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.aec-narrow { max-width: 820px; }
.aec-centered { margin-top: 36px; text-align: center; }
.aec-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; }
.aec-skip-link { position: fixed; z-index: 99999; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 18px; color: var(--aec-white); background: var(--aec-navy); border-radius: 8px; font-weight: 700; }
.aec-skip-link:focus { transform: translateY(0); }

.aec-header { position: sticky; z-index: 900; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(17,18,77,.08); backdrop-filter: blur(16px); }
body.admin-bar .aec-header { top: 32px; }
.aec-nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.aec-brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.aec-brand img { width: 76px; height: 70px; object-fit: contain; }
.aec-menu-wrap { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.aec-menu { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.aec-menu > li { position: relative; }
.aec-menu a { text-decoration: none; font-size: .95rem; font-weight: 700; color: var(--aec-navy); }
.aec-menu a:hover, .aec-menu a:focus-visible { color: var(--aec-green-dark); }
.aec-submenu { position: absolute; visibility: hidden; opacity: 0; top: calc(100% + 14px); left: -20px; width: 270px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 16px; padding: 18px; margin: 0; list-style: none; border: 1px solid var(--aec-line); border-radius: 16px; background: var(--aec-white); box-shadow: var(--aec-shadow); transform: translateY(8px); transition: .18s ease; }
.aec-submenu a { display: block; padding: 7px 4px; font-size: .82rem; }
.aec-has-submenu:hover .aec-submenu, .aec-has-submenu:focus-within .aec-submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.aec-menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; border-radius: 12px; background: var(--aec-navy); cursor: pointer; }
.aec-menu-toggle span:not(.aec-sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--aec-white); }

.aec-button, .aec-secondary-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 23px; border: 2px solid var(--aec-green-dark); border-radius: 999px; text-decoration: none; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.aec-button { color: var(--aec-white) !important; background: var(--aec-green-dark); box-shadow: 0 10px 24px rgba(63,118,28,.22); }
.aec-button:hover, .aec-button:focus-visible { color: var(--aec-white); background: #315f13; transform: translateY(-2px); }
.aec-button-small { min-height: 44px; padding: 11px 18px; font-size: .9rem; white-space: nowrap; }
.aec-button-light { color: var(--aec-navy) !important; background: var(--aec-white); border-color: var(--aec-white); }
.aec-button-light:hover, .aec-button-light:focus-visible { color: var(--aec-navy); background: var(--aec-lime); border-color: var(--aec-lime); }
.aec-secondary-button { color: var(--aec-navy); background: transparent; border-color: rgba(17,18,77,.22); }
.aec-secondary-button:hover, .aec-secondary-button:focus-visible { border-color: var(--aec-navy); background: var(--aec-mint); }
.aec-text-link, .aec-card-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--aec-green-dark) !important; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.aec-eyebrow { display: inline-block; margin-bottom: 12px; color: var(--aec-green-dark); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.aec-eyebrow-light { color: #bde68e; }
.aec-hero { position: relative; overflow: hidden; padding: 90px 0 82px; background: linear-gradient(135deg, #f7fbf2 0%, #eef6e7 53%, #e1efcf 100%); }
.aec-hero::before { content: ""; position: absolute; inset: -30% auto auto 55%; width: 620px; height: 620px; border-radius: 50%; border: 1px solid rgba(95,159,45,.17); box-shadow: 0 0 0 70px rgba(95,159,45,.05), 0 0 0 140px rgba(95,159,45,.035); }
.aec-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); align-items: center; gap: 70px; }
.aec-hero h1, .aec-page-hero h1 { max-width: 880px; margin: 0; color: var(--aec-navy); font-size: clamp(2.45rem, 5.6vw, 5rem); line-height: .99; letter-spacing: -.055em; }
.aec-lead { max-width: 760px; margin: 26px 0 0; color: #3d4852; font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.65; }
.aec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.aec-trust-list { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; margin: 38px 0 0; list-style: none; }
.aec-trust-list li { position: relative; padding-left: 22px; color: #46523e; font-size: .9rem; font-weight: 700; }
.aec-trust-list li::before { content: ""; position: absolute; top: .48em; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--aec-green); box-shadow: 0 0 0 4px rgba(95,159,45,.15); }
.aec-hero-card { position: relative; padding: 36px; color: var(--aec-white); background: linear-gradient(155deg, var(--aec-navy-2), var(--aec-navy)); border-radius: 30px 8px 30px 30px; box-shadow: 0 28px 60px rgba(17,18,77,.2); }
.aec-hero-card::after { content: ""; position: absolute; right: 22px; bottom: 22px; width: 70px; height: 70px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.aec-card-kicker { display: inline-block; margin-bottom: 12px; color: #bde68e; font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.aec-hero-card h2 { margin: 0; font-size: 2rem; line-height: 1.15; }
.aec-hero-card p { margin: 18px 0 26px; color: rgba(255,255,255,.82); }

.aec-section { padding: 94px 0; }
.aec-section-soft { background: var(--aec-mint); }
.aec-section-dark { color: var(--aec-white); background: var(--aec-navy); }
.aec-section-heading { max-width: 760px; margin-bottom: 45px; }
.aec-section-heading h2, .aec-split h2, .aec-faq-layout h2 { margin: 0; color: var(--aec-navy); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
.aec-section-heading p { color: var(--aec-muted); font-size: 1.06rem; }
.aec-section-dark h2 { color: var(--aec-white); }
.aec-section-dark p { color: rgba(255,255,255,.74); }
.aec-therapy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aec-therapy-card { overflow: hidden; min-width: 0; background: var(--aec-white); border: 1px solid var(--aec-line); border-radius: var(--aec-radius); box-shadow: 0 10px 32px rgba(17,18,77,.05); transition: transform .2s ease, box-shadow .2s ease; }
.aec-therapy-card:hover { transform: translateY(-5px); box-shadow: var(--aec-shadow); }
.aec-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--aec-mint); }
.aec-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.aec-therapy-card:hover .aec-card-image img { transform: scale(1.035); }
.aec-card-body { padding: 28px; }
.aec-card-body > span { display: block; color: var(--aec-green-dark); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.aec-card-body h3 { margin: 8px 0 13px; color: var(--aec-navy); font-size: 1.45rem; line-height: 1.15; }
.aec-card-body h3 a { text-decoration: none; }
.aec-card-body p { min-height: 82px; margin: 0 0 15px; color: var(--aec-muted); }
.aec-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--aec-line); border-radius: var(--aec-radius); background: var(--aec-line); }
.aec-steps article { padding: 38px; background: var(--aec-white); }
.aec-steps article > span { color: var(--aec-green-dark); font-size: .8rem; font-weight: 900; }
.aec-steps h3 { margin: 18px 0 10px; color: var(--aec-navy); font-size: 1.3rem; }
.aec-steps p { color: var(--aec-muted); }
.aec-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.aec-split p { margin-top: 0; color: var(--aec-muted); font-size: 1.08rem; }
#terapias .aec-eyebrow, #terapias .aec-text-link, #sobre .aec-eyebrow { color: #254b10 !important; }
#terapias .aec-section-heading p, #sobre .aec-split p { color: #29353d; }
.aec-faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.aec-faq-list details { border-top: 1px solid rgba(255,255,255,.2); }
.aec-faq-list details:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.aec-faq-list summary { padding: 22px 40px 22px 0; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.aec-faq-list p { margin: -5px 0 24px; }

.aec-page-hero { padding: 82px 0 74px; background: linear-gradient(135deg, var(--aec-mint), #e1efcf); }
.aec-page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.aec-therapy-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.aec-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; color: var(--aec-muted); font-size: .84rem; }
.aec-breadcrumb a { color: var(--aec-green-dark); }
.aec-featured-media { overflow: hidden; aspect-ratio: 1.15 / 1; margin: 0; border-radius: 40px 8px 40px 40px; background: var(--aec-white); box-shadow: var(--aec-shadow); }
.aec-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.aec-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: start; }
.aec-prose h2 { margin: 0 0 20px; color: var(--aec-navy); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.035em; }
.aec-prose > p { color: var(--aec-muted); font-size: 1.12rem; }
.aec-anchor-section { scroll-margin-top: 120px; margin-top: 70px; }
.aec-mini-steps { display: grid; gap: 18px; margin-top: 28px; }
.aec-mini-steps > div { padding: 22px 24px; border-left: 4px solid var(--aec-green); border-radius: 0 14px 14px 0; background: var(--aec-mint); }
.aec-mini-steps strong { color: var(--aec-navy); }
.aec-mini-steps p { margin: 5px 0 0; color: var(--aec-muted); }
.aec-safety-box { display: flex; gap: 20px; margin-top: 46px; padding: 28px; border: 1px solid #c4dba9; border-radius: 18px; background: #f5faef; }
.aec-safety-icon { display: inline-flex; flex: 0 0 38px; height: 38px; align-items: center; justify-content: center; color: var(--aec-white); background: var(--aec-green-dark); border-radius: 50%; font-weight: 900; }
.aec-safety-box h2 { margin: 0 0 8px; font-size: 1.25rem; }
.aec-safety-box p { margin: 0; color: #46523e; }
.aec-contact-card, .aec-form-card { position: sticky; top: 124px; padding: 34px; border: 1px solid var(--aec-line); border-radius: var(--aec-radius); background: var(--aec-white); box-shadow: var(--aec-shadow); }
.aec-contact-card h2, .aec-form-card h2 { margin: 0; color: var(--aec-navy); font-size: 1.75rem; line-height: 1.15; }
.aec-contact-card p { color: var(--aec-muted); }
.aec-contact-card .aec-button, .aec-contact-card .aec-secondary-button { width: 100%; margin-top: 11px; }
.aec-contact-card small { display: block; margin-top: 18px; color: var(--aec-muted); text-align: center; }

.aec-contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.aec-contact-options { display: grid; gap: 18px; }
.aec-contact-options article { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--aec-line); border-radius: 18px; background: var(--aec-white); }
.aec-contact-options h2 { margin: 0; color: var(--aec-navy); font-size: 1.25rem; }
.aec-contact-options p { margin: 4px 0 8px; color: var(--aec-muted); }
.aec-contact-symbol { display: inline-flex; flex: 0 0 48px; height: 48px; align-items: center; justify-content: center; color: var(--aec-white); background: var(--aec-green-dark); border-radius: 14px; font-weight: 900; }
.aec-safety-note { padding: 22px; color: #453d1e; background: #fff7d9; border: 1px solid #ecdda5; border-radius: 16px; }
.aec-form-card { position: static; }
.aec-form { display: grid; gap: 9px; margin-top: 24px; }
.aec-form label { margin-top: 7px; color: var(--aec-navy); font-weight: 800; }
.aec-form input:not([type="checkbox"]), .aec-form select, .aec-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--aec-ink); background: var(--aec-white); border: 1px solid #aeb9a7; border-radius: 10px; font: inherit; }
.aec-form textarea { resize: vertical; }
.aec-form input:focus, .aec-form select:focus, .aec-form textarea:focus { outline: 3px solid rgba(95,159,45,.28); border-color: var(--aec-green-dark); }
.aec-check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500 !important; }
.aec-check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; }
.aec-form .aec-button { width: fit-content; margin-top: 12px; border: 0; }
.aec-honeypot { position: absolute !important; left: -9999px !important; }
.aec-alert { padding: 14px 16px; margin-top: 18px; border-radius: 10px; font-weight: 700; }
.aec-alert-success { color: #254f0d; background: #e7f5da; }
.aec-alert-error { color: #71272a; background: #fae2e3; }

.aec-final-cta { padding: 65px 0; color: var(--aec-white); background: linear-gradient(125deg, var(--aec-green-dark), #5e962f); }
.aec-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.aec-final-cta h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.03em; }
.aec-final-cta p { margin-bottom: 0; color: rgba(255,255,255,.84); }
.aec-footer { padding: 58px 0 24px; color: rgba(255,255,255,.76); background: #0b0d35; }
.aec-footer-grid { display: grid; grid-template-columns: 1.35fr .65fr 1fr; gap: 70px; }
.aec-footer-brand img { width: 72px; height: 66px; padding: 6px; border-radius: 10px; background: var(--aec-white); object-fit: contain; }
.aec-footer-brand p { max-width: 330px; }
.aec-footer h2 { margin: 0 0 14px; color: var(--aec-white); font-size: 1rem; }
.aec-footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.aec-footer a { color: rgba(255,255,255,.8); text-decoration-color: rgba(255,255,255,.36); text-underline-offset: 4px; }
.aec-footer a:hover, .aec-footer a:focus-visible { color: var(--aec-white); }
.aec-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: .82rem; }

.aec-managed-page :focus-visible { outline: 3px solid #e2aa32; outline-offset: 4px; }
.aec-managed-page .qlwapp, .aec-managed-page .scrollup { display: none !important; }

@media (max-width: 980px) {
  body.admin-bar .aec-header { top: 46px; }
  .aec-menu-toggle { display: block; }
  .aec-menu-wrap { position: absolute; display: none; top: 92px; left: 20px; right: 20px; max-height: calc(100vh - 130px); overflow-y: auto; padding: 22px; border: 1px solid var(--aec-line); border-radius: 18px; background: var(--aec-white); box-shadow: var(--aec-shadow); }
  .aec-menu-wrap.is-open { display: block; }
  .aec-menu { align-items: stretch; flex-direction: column; gap: 0; }
  .aec-menu a { display: block; min-height: 46px; padding: 11px 4px; }
  .aec-submenu { position: static; visibility: visible; opacity: 1; width: auto; grid-template-columns: 1fr 1fr; padding: 8px 0 12px 18px; border: 0; box-shadow: none; transform: none; }
  .aec-menu-wrap > .aec-button { width: 100%; margin-top: 12px; }
  .aec-hero-grid, .aec-therapy-hero-grid, .aec-content-grid, .aec-contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .aec-hero-copy { max-width: 760px; }
  .aec-hero-card { max-width: 620px; }
  .aec-therapy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aec-content-grid { max-width: 820px; }
  .aec-contact-card { position: static; }
}

@media (max-width: 720px) {
  .aec-container { width: min(100% - 28px, 1180px); }
  .aec-nav { min-height: 78px; }
  .aec-brand img { width: 62px; height: 58px; }
  .aec-menu-wrap { top: 78px; left: 14px; right: 14px; }
  .aec-submenu { grid-template-columns: 1fr; }
  .aec-hero, .aec-page-hero { padding: 58px 0 54px; }
  .aec-hero h1, .aec-page-hero h1 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .aec-hero-grid { gap: 38px; }
  .aec-hero-card { padding: 28px 24px; }
  .aec-actions { align-items: stretch; flex-direction: column; }
  .aec-actions .aec-button, .aec-actions .aec-text-link { width: 100%; justify-content: center; text-align: center; }
  .aec-trust-list { align-items: flex-start; flex-direction: column; }
  .aec-section { padding: 66px 0; }
  .aec-therapy-grid, .aec-steps, .aec-split, .aec-faq-layout, .aec-footer-grid { grid-template-columns: 1fr; }
  .aec-therapy-grid { gap: 18px; }
  .aec-card-body p { min-height: auto; }
  .aec-steps { gap: 1px; }
  .aec-split, .aec-faq-layout { gap: 34px; }
  .aec-featured-media { border-radius: 24px 6px 24px 24px; }
  .aec-content-grid { gap: 42px; }
  .aec-contact-card, .aec-form-card { padding: 26px 22px; }
  .aec-contact-options article { padding: 22px 18px; }
  .aec-final-cta-inner, .aec-footer-bottom { align-items: stretch; flex-direction: column; }
  .aec-final-cta .aec-button { width: 100%; }
  .aec-footer-grid { gap: 38px; }
  .aec-footer-bottom { gap: 8px; }
}

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