:root {
  --navy-950: #030303;
  --navy-900: #073e59;
  --navy-800: #07526a;
  --navy-700: #00667d;
  --accent-500: #0b7188;
  --accent-300: #a7ced6;
  --accent-700: #004253;
  --ivory: #f5f3ef;
  --sand: #e7eff1;
  --white: #fff;
  --ink: #030303;
  --muted: #52616a;
  --line: rgba(7, 62, 89, .16);
  --success: #1f7a55;
  --danger: #a33b36;
  --shadow: 0 22px 60px rgba(7, 25, 35, .11);
  --radius: 18px;
  --container: min(1160px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 10px 16px; background: var(--white); color: var(--navy-900); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.container { width: var(--container); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--accent-700); font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .page-hero .eyebrow, .section--navy .eyebrow, .site-footer .eyebrow { color: var(--accent-300); }
h1, h2, h3 { margin: 0; color: var(--navy-950); font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 7vw, 5.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.72rem); }
p { margin: 0 0 1.2rem; }
.lead { max-width: 780px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.section { padding: clamp(76px, 10vw, 130px) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-900); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-heading { display: grid; gap: 24px; margin-bottom: 48px; }
.section-heading--split { grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr); align-items: end; }
.section-heading--split .lead { margin: 0; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 720; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent-500); color: var(--white); }
.btn--primary:hover { background: #00586b; color: var(--white); }
.btn--secondary { border-color: rgba(255,255,255,.38); color: var(--white); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-800); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(245,243,239,.96); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(7,25,35,.06); }
.nav-wrap { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: clamp(220px, 24vw, 312px); height: 62px; flex: 0 0 auto; background: url("../img/logo-maria-clara-oficial.png") left center / contain no-repeat; color: var(--navy-950); text-decoration: none; }
.brand__mark, .brand__text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--navy-900); font-size: .87rem; font-weight: 680; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-700); }
.nav .btn { padding: 10px 18px; color: var(--navy-950); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--navy-950); }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: .2s; }

.hero { position: relative; display: grid; min-height: min(820px, calc(100svh - 82px)); overflow: hidden; padding: clamp(74px, 9vw, 122px) 0 52px; align-items: center; background: var(--navy-900); color: rgba(255,255,255,.78); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(112deg, rgba(3,3,3,.97) 0%, rgba(7,62,89,.96) 54%, rgba(0,66,83,.86) 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; right: -11vw; top: -17vw; width: min(720px, 58vw); aspect-ratio: 1; border: 1px solid rgba(167,206,214,.25); border-radius: 50%; box-shadow: 0 0 0 6vw rgba(11,113,136,.05), 0 0 0 14vw rgba(11,113,136,.025); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(290px, .48fr); align-items: center; gap: clamp(44px, 7vw, 96px); }
.hero h1 { max-width: 850px; color: var(--white); font-size: clamp(3rem, 6.1vw, 5.15rem); line-height: 1.02; }
.hero .lead { max-width: 710px; margin: 26px 0 32px; color: rgba(255,255,255,.74); font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__aside { position: relative; padding: 34px; overflow: hidden; border: 1px solid rgba(167,206,214,.3); border-radius: 18px; background: rgba(255,255,255,.055); box-shadow: 0 24px 70px rgba(0,0,0,.16); backdrop-filter: blur(8px); }
.hero__aside::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent-500); }
.hero__aside p { margin-bottom: 0; color: rgba(255,255,255,.66); font-size: .91rem; }
.hero__aside strong { display: block; margin-bottom: 14px; color: var(--white); font-family: Georgia, serif; font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.25; }
.hero__meta { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: clamp(44px, 7vw, 72px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .015em; }
.hero__meta span { padding-right: 22px; }
.hero__meta span + span { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.12); }
.hero__meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 1px 0; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 4px rgba(11,113,136,.14); }
.page-hero { padding: clamp(70px, 9vw, 112px) 0; background: linear-gradient(115deg, var(--navy-900), var(--accent-700)); color: rgba(255,255,255,.78); }
.page-hero h1 { max-width: 920px; color: var(--white); font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero .lead { margin-top: 24px; color: rgba(255,255,255,.72); }
.breadcrumbs { margin-bottom: 24px; color: rgba(255,255,255,.55); font-size: .82rem; }
.breadcrumbs a { color: rgba(255,255,255,.76); }

.situation-grid, .services-grid, .feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.card { padding: clamp(26px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.62); }
.card__num { display: grid; width: 38px; height: 38px; margin-bottom: 24px; place-items: center; border: 1px solid var(--accent-300); border-radius: 50%; color: var(--accent-700); font-size: .78rem; font-weight: 800; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); }
.service-card { display: flex; min-height: 330px; flex-direction: column; justify-content: space-between; background: var(--white); }
.service-card .text-link { margin-top: 24px; }
.profile { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(48px,9vw,120px); align-items: center; }
.profile__portrait { position: relative; aspect-ratio: 4/5; margin: 0; overflow: hidden; border: 1px solid rgba(7,62,89,.14); border-radius: 180px 180px 22px 22px; background: #e9e6e2; box-shadow: var(--shadow); }
.profile__portrait::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 160px 160px 14px 14px; pointer-events: none; }
.profile__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.check-list { display: grid; gap: 12px; margin: 28px 0 34px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 9px; border: 1px solid var(--accent-500); border-radius: 50%; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 30px 26px 0 0; border-top: 1px solid rgba(255,255,255,.22); }
.step::before { content: counter(step, decimal-leading-zero); counter-increment: step; display: block; margin: -16px 0 28px; width: fit-content; padding-right: 10px; background: var(--navy-900); color: var(--accent-300); font-size: .78rem; font-weight: 800; }
.step p { margin-top: 12px; color: rgba(255,255,255,.6); font-size: .92rem; }
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border: 0; background: transparent; color: var(--navy-950); text-align: left; font-family: Georgia, serif; font-size: clamp(1.1rem,2vw,1.35rem); }
.faq-item button::after { content: "+"; flex: 0 0 auto; color: var(--accent-500); font-family: "Segoe UI", sans-serif; font-size: 1.5rem; font-weight: 300; }
.faq-item button[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: none; max-width: 860px; padding: 0 0 26px; color: var(--muted); }
.faq-answer.is-open { display: block; }
.cta-panel { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 40px; padding: clamp(34px,6vw,68px); border-radius: 28px; background: var(--navy-800); color: rgba(255,255,255,.72); }
.cta-panel h2 { color: var(--white); font-size: clamp(2rem,4vw,3.2rem); }
.cta-panel p { margin: 16px 0 0; }

.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: start; gap: clamp(48px,8vw,100px); }
.prose { max-width: 780px; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.8rem,3vw,2.7rem); }
.prose h3 { margin: 1.7em 0 .5em; }
.prose ul, .prose ol { margin: 1.2rem 0 1.6rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--navy-700); font-weight: 700; }
.note { margin: 28px 0; padding: 24px; border-left: 3px solid var(--accent-500); background: var(--sand); }
.sidebar { position: sticky; top: 110px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.sidebar h2 { font-size: 1.55rem; }
.sidebar p { margin: 14px 0 20px; color: var(--muted); font-size: .9rem; }
.sidebar .btn { width: 100%; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; color: rgba(255,255,255,.6); font-size: .86rem; }

.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.65fr); gap: clamp(48px,8vw,100px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1/-1; }
.field label { color: var(--navy-900); font-size: .84rem; font-weight: 720; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid rgba(11,34,48,.24); border-radius: 10px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 145px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 1.2em; color: var(--danger); font-size: .78rem; }
.form-status { margin-top: 14px; color: var(--success); font-size: .9rem; }
.contact-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-list a { color: var(--navy-800); font-weight: 700; }

.site-footer { padding: 68px 0 28px; border-top: 1px solid var(--line); background: #e7eff1; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .8fr; gap: 48px; }
.site-footer .brand { color: var(--navy-900); }
.site-footer p { max-width: 460px; margin-top: 20px; font-size: .88rem; }
.site-footer h2 { margin-bottom: 16px; color: var(--accent-700); font-family: "Segoe UI", sans-serif; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent-700); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(7,62,89,.16); font-size: .78rem; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: grid; width: 60px; height: 60px; place-items: center; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; background: #1d8f5a; color: white; box-shadow: 0 14px 32px rgba(0,0,0,.2); text-decoration: none; transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float span { font-size: 0; }
.whatsapp-float::before { content: "✆"; font-size: 1.7rem; transform: rotate(-18deg); }

.cookie-banner { position: fixed; left: 50%; bottom: 20px; z-index: 1100; display: none; width: min(760px, calc(100% - 32px)); padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: var(--navy-900); color: rgba(255,255,255,.8); box-shadow: 0 22px 60px rgba(0,0,0,.3); transform: translateX(-50%); }
.cookie-banner.is-visible { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; }
.cookie-banner strong { display: block; margin-bottom: 4px; color: var(--white); }
.cookie-banner p { margin: 0; font-size: .84rem; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button { padding: 9px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: var(--white); font-size: .78rem; font-weight: 700; }
.cookie-actions .accept { border-color: var(--accent-500); background: var(--accent-500); color: var(--white); }
.privacy-link { border: 0; background: none; color: inherit; text-decoration: underline; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 82px 0 auto; display: none; height: calc(100vh - 82px); padding: 38px 24px; flex-direction: column; align-items: flex-start; background: var(--ivory); }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.05rem; }
  .hero__grid, .profile, .content-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__aside { max-width: 560px; }
  .section-heading--split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); row-gap: 40px; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}

@media (max-width: 660px) {
  :root { --container: min(100% - 28px, 1160px); }
  body { font-size: 16px; }
  .brand { width: min(230px, calc(100vw - 90px)); height: 54px; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4.1rem); }
  .hero__actions .btn { width: 100%; }
  .hero__meta { grid-template-columns: 1fr; gap: 12px; margin-top: 42px; }
  .hero__meta span, .hero__meta span + span { padding: 0; border-left: 0; }
  .situation-grid, .services-grid, .feature-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .profile__portrait { max-height: 560px; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner.is-visible { grid-template-columns: 1fr; }
  .cookie-actions { flex-wrap: wrap; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

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

@media print {
  .site-header, .whatsapp-float, .cookie-banner, .site-footer { display: none !important; }
  body { background: white; color: black; }
}
