:root {
  --bg: #f7f9f7;
  --surface: #ffffff;
  --surface-soft: #edf5f3;
  --ink: #143c40;
  --ink-strong: #0b2d31;
  --muted: #587075;
  --brand: #0b686e;
  --brand-strong: #075158;
  --brand-deep: #082f34;
  --accent: #d1a556;
  --accent-soft: #f3e8d1;
  --border: #d8e4e1;
  --shadow: 0 22px 60px rgba(13, 60, 64, .10);
  --shadow-small: 0 10px 30px rgba(13, 60, 64, .08);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --container: 1180px;
  --header-height: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-strong); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--ink-strong);
  color: #fff;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #9a6508; outline-offset: 4px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section-soft { background: var(--surface-soft); }
.section-dark { background: var(--brand-deep); color: #fff; overflow: hidden; }
.section-dark::before,
.section-dark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: .5;
  pointer-events: none;
}
.section-dark::before { width: 460px; height: 460px; top: -250px; right: -120px; background: rgba(41, 133, 138, .28); }
.section-dark::after { width: 340px; height: 340px; bottom: -240px; left: -80px; background: rgba(209, 165, 86, .15); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(247, 249, 247, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(12, 49, 53, .08); border-color: var(--border); background: rgba(255, 255, 255, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-strong); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--ink-strong); }
.brand-mark { width: 48px; height: 48px; }
.brand-copy { display: grid; line-height: 1.05; letter-spacing: .015em; }
.brand-copy strong { font-size: 1.02rem; }
.brand-copy span { margin-top: 5px; color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav > a:not(.button) { position: relative; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 650; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span:not(.sr-only) { display: block; width: 21px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .78rem 1.35rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.2;
  box-shadow: 0 12px 26px rgba(11, 104, 110, .18);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { color: #fff; background: var(--brand-strong); border-color: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(11, 104, 110, .23); }
.button-secondary { background: transparent; color: var(--brand-strong); box-shadow: none; }
.button-secondary:hover { background: var(--surface); color: var(--brand-strong); border-color: var(--brand-strong); }
.button-small { min-height: 44px; padding: .62rem 1.05rem; font-size: .88rem; }
.button-whatsapp { background: #167f54; border-color: #167f54; }
.button-whatsapp:hover { background: #106b46; border-color: #106b46; }

.hero { min-height: calc(100svh - var(--header-height)); display: flex; align-items: center; padding-top: 68px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; left: -340px; top: 100px; background: radial-gradient(circle, rgba(41, 133, 138, .13), transparent 68%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); align-items: center; gap: 48px; }
.eyebrow { margin: 0 0 18px; color: var(--brand); font-size: .78rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.hero h1,
.section-heading h2,
.contact-copy h2,
.legal-content h1,
.error-card h1 { margin: 0; color: var(--ink-strong); font-size: clamp(2.55rem, 5.2vw, 5.3rem); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 span { color: var(--brand); }
.hero-lead { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--brand); font-weight: 900; }
.hero-visual { min-width: 0; }
.hero-visual img { display: block; width: 100%; filter: drop-shadow(0 30px 50px rgba(9, 55, 59, .06)); }

.split-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.section-heading { max-width: 690px; }
.section-heading.centered { margin: 0 auto 52px; text-align: center; }
.section-heading h2,
.contact-copy h2 { font-size: clamp(2.15rem, 4vw, 4rem); line-height: 1.08; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-heading.light h2 { color: #fff; }
.section-heading.light > p:last-child { color: rgba(255, 255, 255, .72); }
.section-heading.light .eyebrow { color: #efd9a9; }
.prose-card { padding: 42px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .84); box-shadow: var(--shadow-small); }
.prose-card > p { margin: 0 0 18px; color: var(--muted); font-size: 1.07rem; }
.identity-note { display: grid; gap: 4px; margin-top: 30px; padding: 22px 24px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--accent-soft); }
.identity-note strong { color: var(--ink-strong); }
.identity-note span { color: var(--muted); font-size: .9rem; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 310px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 8px 28px rgba(12, 58, 62, .045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #b9d4d0; box-shadow: var(--shadow-small); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: var(--surface-soft); color: var(--brand); }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 24px 0 10px; color: var(--ink-strong); font-size: 1.18rem; line-height: 1.3; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.team-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.team-card { display: grid; grid-template-columns: 210px 1fr; min-height: 430px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255, 255, 255, .08); box-shadow: 0 20px 60px rgba(0,0,0,.16); }
.team-photo { min-height: 100%; background: #dce7e5; }
.team-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 34%; }
.team-body { align-self: center; padding: 34px; }
.team-role { margin: 0 0 7px; color: #efd9a9; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.team-body h3 { margin: 0; color: #fff; font-size: 1.65rem; line-height: 1.18; }
.registration { margin: 9px 0 20px; color: #a9d2d0; font-weight: 750; }
.team-body > p:last-child { margin: 0; color: rgba(255, 255, 255, .72); font-size: .94rem; }

.journey-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.journey-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.journey-list li { display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: start; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.journey-list li > span { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 19px; background: var(--surface-soft); color: var(--brand); font-weight: 850; }
.journey-list h3 { margin: 2px 0 6px; color: var(--ink-strong); font-size: 1.15rem; }
.journey-list p { margin: 0; color: var(--muted); }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: clip; }
.faq-list summary { position: relative; padding: 22px 64px 22px 24px; color: var(--ink-strong); font-weight: 760; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--brand); font-size: 1.25rem; transform: translateY(-50%); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details > div { padding: 0 24px 22px; }
.faq-list details p { margin: 0; color: var(--muted); }

.contact-section { background: linear-gradient(140deg, #f9faf8 0%, #edf5f3 58%, #f6efe2 100%); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: stretch; }
.contact-copy { padding: 30px 0; }
.contact-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 1.05rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact-details { display: grid; gap: 16px; margin-top: 34px; }
.contact-details > div { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.contact-details > div > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--brand); font-size: 1.12rem; }
.contact-details p { margin: 0; color: var(--muted); }
.contact-details strong { display: block; color: var(--ink-strong); }
.map-card { min-height: 540px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 100%; min-height: 540px; border: 0; display: block; }
.map-placeholder { height: 100%; min-height: 540px; display: grid; place-content: center; justify-items: center; padding: 40px; text-align: center; background: radial-gradient(circle at center, #fff, #eef5f3); }
.map-placeholder img { width: 72px; }
.map-placeholder h3 { margin: 18px 0 8px; color: var(--ink-strong); }
.map-placeholder p { max-width: 340px; margin: 0 0 22px; color: var(--muted); }

.site-footer { padding: 76px 0 22px; background: #062c30; color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 42px; }
.brand-footer { color: #fff; }
.brand-footer:hover { color: #fff; }
.brand-footer .brand-copy strong { color: #fff; }
.brand-footer .brand-copy span { color: #a8d4d0; }
.footer-brand > p { max-width: 360px; }
.footer-contact a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-title { margin: 7px 0 16px; color: #fff; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer p { font-size: .86rem; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-bottom a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; }


.floating-whatsapp {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: #167f54;
  color: #fff;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(10, 73, 47, .3);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.floating-whatsapp:hover { color: #fff; background: #106b46; transform: translateY(-3px); box-shadow: 0 22px 44px rgba(10, 73, 47, .36); }
.floating-whatsapp svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

.legal-page { background: var(--surface-soft); }
.site-header.compact { position: relative; }
.legal-main { padding: 72px 0 104px; }
.legal-content { max-width: 880px; padding: 56px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-small); }
.legal-content h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.legal-updated { color: var(--muted); }
.legal-content h2 { margin: 42px 0 10px; color: var(--ink-strong); font-size: 1.35rem; }
.legal-content p { color: var(--muted); }
.legal-footer { padding-top: 0; }
.legal-footer .footer-bottom { margin-top: 0; }

.error-page { min-height: 100svh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top, #e5f1ef, var(--bg) 60%); }
.error-main { width: 100%; }
.error-card { width: min(100%, 680px); margin: 0 auto; padding: 56px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.error-card img { width: 86px; }
.error-card h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.error-card > p:not(.eyebrow) { color: var(--muted); }

@media (max-width: 1080px) {
  .site-nav { gap: 16px; }
  .site-nav > a:not(.button) { font-size: .86rem; }
  .hero-grid { grid-template-columns: 1fr .88fr; gap: 26px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { grid-template-columns: 180px 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-height: 76px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 78px 0; }
  .nav-toggle { display: inline-flex; z-index: 102; }
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 18px 20px 28px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 40px rgba(12, 49, 53, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a:not(.button) { padding: 15px 8px; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { margin-top: 18px; }
  .hero { min-height: auto; padding-top: 58px; }
  .hero-grid, .split-grid, .journey-grid, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 12px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-list { justify-content: center; }
  .hero-visual { max-width: 620px; margin: 0 auto; }
  .split-grid, .journey-grid, .faq-layout { gap: 38px; }
  .team-grid { grid-template-columns: 1fr; max-width: 660px; }
  .team-card { grid-template-columns: 220px 1fr; }
  .contact-copy { padding: 0; }
  .map-card, .map-placeholder, .map-card iframe { min-height: 430px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 64px 0; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: .93rem; }
  .brand-copy span { font-size: .62rem; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .hero-actions { display: grid; width: 100%; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; justify-content: start; margin-inline: auto; width: max-content; max-width: 100%; text-align: left; }
  .hero-visual { margin-top: 10px; }
  .prose-card { padding: 28px; border-radius: 28px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo { height: 430px; }
  .team-body { padding: 28px; }
  .journey-list li { grid-template-columns: 52px 1fr; gap: 14px; padding: 22px; }
  .journey-list li > span { width: 48px; height: 48px; border-radius: 15px; }
  .contact-actions { display: grid; }
  .contact-actions .button { width: 100%; }
  .map-card, .map-placeholder, .map-card iframe { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-content, .error-card { padding: 32px 24px; border-radius: 28px; }
  .floating-whatsapp { right: 14px; bottom: 14px; width: 58px; height: 58px; min-height: 58px; justify-content: center; padding: 0; }
  .floating-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
}

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

@media (forced-colors: active) {
  .button, .service-icon, .check { border: 1px solid ButtonText; }
}
