:root {
  --navy-950: #071a2e;
  --navy-900: #0a2342;
  --navy-800: #12365d;
  --blue-600: #2d6cdf;
  --blue-100: #eaf2ff;
  --teal-600: #118f8a;
  --teal-100: #e7f8f6;
  --gold-500: #d7a73f;
  --ink: #172033;
  --muted: #667085;
  --line: #dfe6ee;
  --surface: #ffffff;
  --surface-soft: #f6f9fc;
  --shadow: 0 18px 50px rgba(7, 26, 46, .12);
  --shadow-soft: 0 10px 30px rgba(7, 26, 46, .08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(45,108,223,.35); outline-offset: 3px; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: #fff; }
.section-kicker {
  margin: 0 0 10px;
  color: var(--teal-600);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .16em;
  font-weight: 800;
}
.section-dark .section-kicker { color: #76ddd6; }
.section-title {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-dark .section-title { color: #fff; }
.section-lead { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.section-dark .section-lead { color: rgba(255,255,255,.75); }
.section-heading { margin-bottom: 42px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--teal-100);
  color: #0a6f6b;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-600); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7,26,46,.08);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-900), var(--blue-600));
  color: #fff; font-weight: 900; font-size: .82rem; letter-spacing: .04em;
  box-shadow: 0 10px 25px rgba(10,35,66,.2);
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: .88rem; color: var(--navy-950); letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { font-size: .9rem; color: #374151; font-weight: 650; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue-600); transition: right .25s ease; }
.main-nav a:hover::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); margin: 5px 0; border-radius: 4px; }

.hero {
  position: relative;
  padding: 74px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(45,108,223,.14), transparent 28%),
    radial-gradient(circle at 8% 75%, rgba(17,143,138,.10), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #f7fafc 100%);
}
.hero::before { content: ""; position: absolute; inset: auto -140px -220px auto; width: 440px; height: 440px; border: 1px solid rgba(45,108,223,.15); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 64px; }
.hero-copy h1 { margin: 18px 0 12px; color: var(--navy-950); font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .96; letter-spacing: -.055em; }
.hero-copy .subheadline { margin: 0 0 18px; color: var(--blue-600); font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 800; }
.hero-copy .hero-intro { margin: 0; max-width: 660px; font-size: 1.08rem; color: var(--muted); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 0; }
.meta-pill { padding: 9px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-size: .88rem; font-weight: 700; color: var(--navy-800); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  min-height: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 13px; padding: 13px 19px;
  font-weight: 800; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy-900); color: #fff; box-shadow: 0 12px 30px rgba(10,35,66,.22); }
.btn-primary:hover { background: #061d39; }
.btn-whatsapp { background: #0f9f68; color: #fff; box-shadow: 0 12px 30px rgba(15,159,104,.2); }
.btn-outline { background: #fff; color: var(--navy-900); border-color: var(--line); }
.btn-light { background: #fff; color: var(--navy-950); }
.hero-photo-card { position: relative; max-width: 320px; margin-left: auto; }
.hero-photo-frame { aspect-ratio: 1 / 1; padding: 14px; overflow: hidden; border-radius: 34px; background: linear-gradient(145deg, #fff, #eaf2ff); box-shadow: var(--shadow); border: 1px solid rgba(7,26,46,.08); }
.hero-photo-frame img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 24px; }
.hero-id-card { width: calc(100% - 44px); margin: -42px auto 0; position: relative; background: rgba(255,255,255,.96); border: 1px solid rgba(7,26,46,.08); border-radius: 18px; box-shadow: var(--shadow-soft); padding: 18px 20px; }
.hero-id-card strong { display: block; color: var(--navy-950); font-size: 1.15rem; }
.hero-id-card span { color: var(--muted); font-size: .9rem; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 62px; align-items: center; }
.about-grid-no-photo { grid-template-columns: 1fr; max-width: 940px; margin-inline: auto; }
.profile-panel { background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); padding: 18px; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.profile-panel img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 18%; border-radius: 20px; }
.profile-summary { padding: 21px 8px 4px; color: #fff; }
.profile-summary h3 { margin: 0; font-size: 1.35rem; }
.profile-summary p { margin: 4px 0 0; color: rgba(255,255,255,.72); }
.about-copy p { color: var(--muted); font-size: 1.02rem; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.fact-card { border: 1px solid var(--line); border-radius: 15px; padding: 17px; background: #fff; }
.fact-card span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.fact-card strong { display: block; margin-top: 3px; color: var(--navy-900); font-size: 1rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .benefit-card, .process-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
  box-shadow: 0 8px 25px rgba(7,26,46,.04); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover, .benefit-card:hover, .process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: #c8d7eb; }
.icon-box { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); font-weight: 900; font-size: 1.1rem; }
.service-card:nth-child(2n) .icon-box, .benefit-card:nth-child(2n) .icon-box { background: var(--teal-100); color: var(--teal-600); }
.card-title { margin: 17px 0 8px; color: var(--navy-950); font-size: 1.08rem; }
.card-text { margin: 0; color: var(--muted); font-size: .94rem; }

.achievement-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.achievement-media { background: #fff; border-radius: var(--radius-xl); padding: 12px; box-shadow: var(--shadow); border: 1px solid rgba(7,26,46,.08); }
.achievement-media img { width: auto; max-width: 100%; max-height: 620px; height: auto; margin-inline: auto; object-fit: contain; border-radius: 19px; }
.achievement-copy .highlight-box { margin-top: 24px; padding: 22px; border-radius: 18px; background: var(--teal-100); border: 1px solid #c9ece8; }
.achievement-copy .highlight-box strong { color: #0d6f6b; }

.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; counter-reset: step; }
.process-card { position: relative; padding-top: 64px; }
.process-card::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 22px; left: 26px; color: var(--blue-600); font-size: 1.05rem; font-weight: 900; letter-spacing: .06em; }
.process-card::after { content: ""; position: absolute; left: 26px; top: 52px; width: 46px; height: 3px; border-radius: 5px; background: var(--gold-500); }

.cta-card { border-radius: 30px; padding: 50px; display: grid; grid-template-columns: 1.2fr auto; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--navy-950), var(--navy-800) 65%, #174f73); color: #fff; box-shadow: var(--shadow); }
.cta-card h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.cta-card p { margin: 13px 0 0; color: rgba(255,255,255,.75); max-width: 680px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.contact-card, .form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); padding: 30px; }
.contact-card { position: sticky; top: 104px; }
.contact-card h3, .form-card h3 { margin: 0 0 10px; color: var(--navy-950); font-size: 1.45rem; }
.contact-list { display: grid; gap: 15px; margin-top: 24px; }
.contact-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.contact-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); font-weight: 900; }
.contact-item span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.contact-item strong, .contact-item a { color: var(--navy-900); font-weight: 750; overflow-wrap: anywhere; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 800; color: #344054; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid #ccd7e4; border-radius: 12px; background: #fff; padding: 11px 13px; color: var(--ink); transition: border .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(45,108,223,.10); }
.field [aria-invalid="true"] { border-color: #c83c3c; }
.field-error { min-height: 20px; margin: 5px 0 0; color: #b42318; font-size: .78rem; }
.form-note { color: var(--muted); font-size: .78rem; margin: 12px 0 0; }
.form-success { margin: 0 0 18px; padding: 13px 15px; border-radius: 12px; background: #e9f8ef; color: #17653b; font-weight: 750; border: 1px solid #c8ead4; }

.legal-hero { padding: 72px 0 54px; background: linear-gradient(180deg, #f8fbff, #fff); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 12px 0 10px; color: var(--navy-950); font-size: clamp(2.5rem, 5vw, 4.6rem); letter-spacing: -.04em; line-height: 1; }
.legal-hero p { margin: 0; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 46px; align-items: start; }
.legal-aside { position: sticky; top: 104px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.legal-aside strong { display: block; color: var(--navy-950); margin-bottom: 8px; }
.legal-aside p { margin: 5px 0; color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.legal-content { max-width: 820px; }
.legal-content section { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 10px; color: var(--navy-950); font-size: 1.4rem; }
.legal-content p, .legal-content li { color: #536174; }
.legal-content ul { padding-left: 22px; }

.site-footer { background: #07192d; color: #fff; padding: 62px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-brand h2 { margin: 15px 0 2px; font-size: 1rem; letter-spacing: .02em; }
.footer-brand p { margin: 4px 0; color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-mark { background: linear-gradient(145deg, #174f73, #2d6cdf); }
.site-footer h3 { margin: 0 0 13px; color: #fff; font-size: .9rem; }
.site-footer a, .site-footer > .container p { display: block; color: rgba(255,255,255,.66); margin: 7px 0; font-size: .88rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.55); font-size: .8rem; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 20px 26px;
    display: grid; gap: 0; transform: translateY(-130%); opacity: 0; transition: transform .25s ease, opacity .25s ease; box-shadow: var(--shadow-soft);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid #eef2f6; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; }
  .hero-grid, .about-grid, .achievement-grid, .contact-grid, .legal-layout { grid-template-columns: 1fr; }
  .hero-photo-card { margin: 0 auto; width: min(100%, 320px); }
  .about-grid { gap: 36px; }
  .profile-panel { width: min(100%, 520px); margin-inline: auto; }
  .cards-3, .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-card { grid-template-columns: 1fr; }
  .contact-card, .legal-aside { position: static; }
  .legal-aside { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 72px 0; }
  .nav-wrap { min-height: 70px; }
  .main-nav { inset-top: 70px; }
  .brand-copy strong { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero { padding: 52px 0 68px; }
  .hero-grid { gap: 38px; }
  .hero-copy h1 { font-size: clamp(2.45rem, 14vw, 4rem); }
  .hero-actions, .cta-actions, .contact-buttons { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn, .contact-buttons .btn { width: 100%; }
  .hero-id-card { width: calc(100% - 24px); margin-top: -28px; }
  .achievement-media img { max-height: 520px; }
  .fact-grid, .cards-3, .process-grid, .form-grid, .footer-grid, .legal-aside { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .cta-card { padding: 34px 24px; border-radius: 24px; }
  .contact-card, .form-card { padding: 23px; }
  .legal-hero { padding-top: 50px; }
  .footer-bottom { flex-direction: column; }
}
