:root {
  --ink: #15183f;
  --muted: #586077;
  --brand: #271fa0;
  --brand-dark: #17116e;
  --brand-soft: #eef1ff;
  --blue: #271fa0;
  --surface: #ffffff;
  --wash: #f6f8ff;
  --line: #dce2f1;
  --success: #166a45;
  --success-soft: #e8f7ef;
  --warning: #9b321f;
  --warning-soft: #fff2ee;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(23, 17, 110, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #90c6ff; outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 99; }
.skip-link:focus { left: 16px; top: 16px; padding: 10px 14px; background: white; border-radius: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; }
.brand small { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink); font-size: 0.93rem; font-weight: 700; text-decoration: none; }
.nav a:hover { color: var(--brand); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 8px 12px; color: var(--ink); font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 20px; border: 0; border-radius: 12px; background: var(--brand); color: white; font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--brand-dark); color: white; }
.button.secondary { background: white; color: var(--brand); border: 1px solid var(--brand); }
.button.secondary:hover { background: var(--brand-soft); }
.button.whatsapp { background: #167b4c; }
.button.whatsapp:hover { background: #0f613a; }
.button.small { min-height: 42px; padding: 8px 14px; font-size: 0.9rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { overflow: hidden; background: linear-gradient(135deg, #ffffff 0%, #eef3ff 100%); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 590px; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 48px; padding-block: 72px; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-weight: 850; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.45rem, 6vw, 4.4rem); max-width: 820px; }
h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); }
h3 { font-size: 1.28rem; }
.hero .lead { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 1.18rem; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; height: 440px; object-fit: cover; object-position: 68% center; border: 6px solid white; border-radius: 26px; box-shadow: var(--shadow); }
.hero-media figcaption { margin-top: 9px; color: var(--muted); font-size: 0.76rem; text-align: center; }
.microcopy { margin: 14px 0 0; color: var(--muted); font-size: 0.88rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink); font-weight: 700; font-size: 0.92rem; }
.trust-line li::before { content: "✓"; margin-right: 7px; color: var(--success); }

.section { padding-block: 84px; }
.section.alt { background: var(--wash); }
.section-head { max-width: 750px; margin-bottom: 38px; }
.section-head p { color: var(--muted); margin: 14px 0 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 26px; box-shadow: 0 8px 22px rgba(30, 28, 60, 0.04); }
.card p { margin: 12px 0 0; color: var(--muted); }
.card .price { display: block; margin-top: 16px; color: var(--ink); font-weight: 850; }
.card-link { display: inline-flex; margin-top: 18px; font-weight: 800; text-decoration: none; }
.service-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: #b8c2ed; box-shadow: 0 16px 34px rgba(23, 17, 110, 0.1); transform: translateY(-2px); }
.service-image { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--line); }
.service-card-content { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 25px; }
.service-card .card-link { margin-top: auto; padding-top: 18px; }
.illustration-note { margin: 18px 0 0; color: var(--muted); font-size: 0.78rem; }
.icon-disc { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 76px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 25px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-weight: 900; }

.notice { border: 1px solid #f2b8aa; border-radius: 15px; background: var(--warning-soft); padding: 18px 20px; color: #662316; }
.notice strong { color: #4d190f; }
.notice a { color: #662316; font-weight: 850; }
.info { border: 1px solid #a9ddc3; border-radius: 15px; background: var(--success-soft); padding: 18px 20px; color: #124c34; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.plain-list { margin: 14px 0 0; padding-left: 22px; }
.plain-list li + li { margin-top: 8px; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { padding: 8px 13px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 750; font-size: 0.9rem; }

.form-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { color: var(--ink); font-weight: 750; font-size: 0.92rem; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #b8bfcc; border-radius: 10px; background: white; color: var(--ink); padding: 12px 13px; }
.field textarea { min-height: 120px; resize: vertical; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 5px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 10px; }
.form-status.show { display: block; }
.form-status.success { background: var(--success-soft); color: var(--success); }
.form-status.error { background: var(--warning-soft); color: var(--warning); }
.contact-list { display: grid; gap: 16px; margin-top: 26px; }
.contact-list a { font-weight: 800; }

.page-hero { background: linear-gradient(135deg, #ffffff 0%, #eef3ff 100%); padding-block: 68px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.25rem, 5.4vw, 3.8rem); }
.page-hero .lead { max-width: 780px; margin: 18px 0 0; color: var(--muted); font-size: 1.12rem; }
.breadcrumb { margin-bottom: 20px; color: var(--muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--muted); }
.price-banner { display: inline-flex; gap: 8px; margin-top: 24px; padding: 10px 14px; border: 1px solid #c7cfef; border-radius: 11px; background: white; color: var(--brand-dark); font-weight: 800; }
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.service-layout article { display: grid; gap: 32px; }
.service-layout article section { scroll-margin-top: 100px; }
.service-layout article h2 { font-size: 1.8rem; margin-bottom: 14px; }
.service-layout article p { margin: 10px 0 0; color: var(--muted); }
.aside-card { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: white; box-shadow: var(--shadow); }
.aside-card p { color: var(--muted); }
.aside-card .button { width: 100%; margin-top: 8px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.price-table th, .price-table td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { background: var(--wash); font-size: 0.9rem; }
.price-table td:last-child { white-space: nowrap; font-weight: 800; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; }
details p { margin-bottom: 0; }
.cta-strip { border-radius: 24px; background: var(--ink); padding: 42px; color: white; }
.cta-strip p { max-width: 700px; color: #d8ddea; }
.cta-strip .button.secondary { border-color: white; color: white; background: transparent; }
.cta-strip .button.secondary:hover { background: rgba(255,255,255,.1); }

.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 { margin: 38px 0 12px; font-size: 1.55rem; }
.legal h3 { margin: 26px 0 10px; font-size: 1.18rem; }
.legal p, .legal li { color: #3f485d; }

.site-footer { padding-block: 52px 26px; background: var(--brand-dark); color: #e4e7f5; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h2, .site-footer h3 { color: white; font-size: 1.1rem; letter-spacing: 0; }
.site-footer p { color: #aeb8ca; }
.site-footer a { color: #edf0f7; }
.site-footer ul { margin: 14px 0 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid #2e3850; color: #9ea9bd; font-size: 0.85rem; }
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 30; padding: 13px 17px; border-radius: 999px; background: #167b4c; color: white; font-weight: 850; text-decoration: none; box-shadow: 0 12px 30px rgba(10, 66, 39, .3); }
.float-wa:hover { background: #0f613a; color: white; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; padding: 18px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav .button { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 36px; padding-block: 58px; }
  .hero-media { max-width: 720px; }
  .hero-media img { height: 390px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .section { padding-block: 62px; }
  .brand small { display: none; }
  .grid-2, .grid-3, .split, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .hero-media img { height: 280px; }
  .step { padding-left: 66px; }
  .step::before { left: 18px; }
  .page-hero { padding-block: 50px; }
  .cta-strip { padding: 28px; }
  .price-table { font-size: 0.9rem; }
  .price-table th, .price-table td { padding: 10px 8px; }
  .float-wa { right: 12px; bottom: 12px; font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card { transition: none; }
}
