:root {
  --navy: #01183A;
  --navy-2: #0B2A55;
  --blue: #2F6BFF;
  --blue-dark: #1F55E0;
  --blue-soft: #EAF0FF;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --text: #1B2433;
  --grey: #5B6474;
  --line: #E4E7EC;
  --radius: 12px;
  --heading: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--heading); color: var(--navy); line-height: 1.25; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 10px; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--heading); font-weight: 600; font-size: 18px; letter-spacing: 2px; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--grey); }
.nav-links a:not(.btn):hover { color: var(--navy); }
.menu-toggle { display: none; background: none; border: none; color: var(--navy); cursor: pointer; padding: 6px; }

.hero { background: var(--bg); padding: 96px 0 88px; }
.hero-inner { max-width: 860px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; margin-bottom: 20px; }
.lead { font-size: 19px; color: var(--grey); max-width: 680px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--grey); }
.hero-points .ic { color: var(--blue); margin-right: 6px; vertical-align: -2px; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 14px; }
.section-lead { font-size: 17px; color: var(--grey); max-width: 680px; margin-bottom: 44px; }
.center .section-lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.problems { padding: 64px 0; border-bottom: 1px solid var(--line); }
.problems .section-title { font-size: 24px; margin-bottom: 28px; }
.problem { display: flex; gap: 14px; align-items: flex-start; }
.problem .ic { font-size: 26px; color: var(--blue); flex-shrink: 0; }
.problem p { font-size: 15px; color: var(--text); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #C9D3E6; transform: translateY(-2px); }
.service .ic, .service-wide > .ic { font-size: 30px; color: var(--blue); }
.service h3 { font-size: 18px; margin: 16px 0 10px; }
.service p { font-size: 15px; color: var(--grey); }
.service .price, .service-wide .price { margin-top: 18px; font-weight: 600; color: var(--navy); font-size: 15px; }
.service-wide { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.service-wide h3 { font-size: 18px; margin-bottom: 6px; }
.service-wide p { font-size: 15px; color: var(--grey); }
.service-wide .price { margin: 0 0 0 auto; white-space: nowrap; }

.work-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.work h3 { font-size: 22px; margin-bottom: 10px; }
.work p { color: var(--grey); font-size: 15px; margin-bottom: 18px; }
.link { font-weight: 600; font-size: 15px; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; }
.link.muted { color: var(--grey); font-weight: 500; }

.steps { margin-top: 12px; }
.step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-family: var(--heading); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--grey); }

.section-dark { background: var(--navy); }
.section-dark .section-title, .section-dark h3 { color: var(--white); }
.section-dark .section-title { margin-bottom: 40px; }
.why .ic { font-size: 30px; color: #7FA3FF; }
.why h3 { font-size: 18px; margin: 14px 0 8px; }
.why p { color: #B8C2D6; font-size: 15px; }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.about-text p:not(.eyebrow) { color: var(--grey); margin-bottom: 16px; font-size: 16px; }
.signature { color: var(--navy) !important; font-weight: 600; margin-top: 24px; }
.signature span { font-weight: 400; color: var(--grey); font-size: 14px; }
.about-card { background: var(--bg); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.about-card ul { list-style: none; width: 100%; }
.about-card li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.about-card li .ic { color: var(--blue); font-size: 20px; }

details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 22px; color: var(--blue); font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { margin-top: 12px; color: var(--grey); font-size: 15px; }

.contact { background: var(--blue-soft); }
.contact-note { margin-top: 18px; font-size: 14px; color: var(--grey); }
.contact-note a { color: var(--blue); font-weight: 500; }

.site-footer { background: var(--navy); color: #B8C2D6; padding: 64px 0 28px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid #1E3560; }
.footer-tag { margin-top: 14px; max-width: 240px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols h4 { color: var(--white); font-size: 14px; margin-bottom: 6px; }
.footer-cols a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13px; }

.legal { padding: 64px 0 88px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal .updated { color: var(--grey); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--grey); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--blue); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .section { padding: 64px 0; }
  .service-wide { flex-direction: column; align-items: flex-start; }
  .service-wide .price { margin: 0; }
  .footer-cols { gap: 36px; }
}

.ic { width: 1em; height: 1em; stroke-width: 1.75; flex-shrink: 0; }
.hero-points .ic { font-size: 18px; vertical-align: -3px; }
.problem .ic, .service .ic, .service-wide > .ic, .why .ic { display: block; }
.about-card li .ic { font-size: 20px; }
.link .ic { font-size: 16px; }
.btn .ic { font-size: 20px; }
.contact-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp { background: #25D366; color: #FFFFFF; }
.btn-whatsapp:hover { background: #1EBE5A; }

/* ===== Premium layer ===== */
.mark-light { display: none; }

/* Splash */
.splash { position: fixed; inset: 0; z-index: 200; background: var(--navy); display: flex; align-items: center; justify-content: center; transition: transform .8s cubic-bezier(.76,0,.24,1), opacity .8s; }
.splash.hide { transform: translateY(-100%); }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.splash-mark { width: 150px; height: auto; opacity: 0; transform: scale(.85); animation: splashMark .9s cubic-bezier(.2,.8,.2,1) .1s forwards; }
.splash-word { font-family: var(--heading); font-weight: 600; color: #fff; letter-spacing: 10px; font-size: 22px; opacity: 0; transform: translateY(10px); animation: splashWord .7s ease .5s forwards; padding-left: 10px; }
.splash-bar { width: 140px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.splash-bar span { display: block; height: 100%; width: 0; background: var(--blue); animation: splashBar 1.2s ease .2s forwards; }
@keyframes splashMark { to { opacity: 1; transform: scale(1); } }
@keyframes splashWord { to { opacity: 1; transform: none; } }
@keyframes splashBar { to { width: 100%; } }

/* Header over dark hero */
body.home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background .35s, border-color .35s, box-shadow .35s; }
body.home .site-header:not(.scrolled) .brand { color: #fff; }
body.home .site-header:not(.scrolled) .mark-dark { display: none; }
body.home .site-header:not(.scrolled) .mark-light { display: block; }
body.home .site-header:not(.scrolled) .nav-links a:not(.btn) { color: rgba(255,255,255,.78); }
body.home .site-header:not(.scrolled) .nav-links a:not(.btn):hover { color: #fff; }
body.home .site-header:not(.scrolled) .menu-toggle { color: #fff; }
body.home .site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(1,24,58,.06); }

/* Dark animated hero */
body.home .hero { position: relative; overflow: hidden; background: var(--navy); padding: 170px 0 130px; min-height: 92vh; display: flex; align-items: center; }
.hero-inner { position: relative; z-index: 2; }
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.g1 { width: 520px; height: 520px; background: #2F6BFF; top: -160px; right: -80px; animation: drift1 18s ease-in-out infinite alternate; }
.g2 { width: 420px; height: 420px; background: #1B3E8F; bottom: -180px; left: -120px; animation: drift2 22s ease-in-out infinite alternate; }
.g3 { width: 280px; height: 280px; background: #5B8CFF; top: 40%; left: 55%; opacity: .25; animation: drift1 26s ease-in-out infinite alternate-reverse; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
@keyframes drift1 { to { transform: translate(-80px, 60px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(90px, -50px) scale(1.15); } }
body.home .hero h1 { color: #fff; font-size: clamp(36px, 5.6vw, 64px); letter-spacing: -1px; }
body.home .hero .eyebrow { color: #7FA3FF; }
body.home .hero .lead { color: #B8C2D6; }
body.home .hero .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
body.home .hero .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
body.home .hero .btn-primary { box-shadow: 0 8px 30px rgba(47,107,255,.45); }
body.home .hero .hero-points { color: #B8C2D6; }
body.home .hero .hero-points .ic { color: #7FA3FF; }

/* Hero entrance */
.hero-in { opacity: 0; transform: translateY(24px); }
body.loaded .hero-in { animation: heroIn .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
body.no-splash .hero-in { animation-delay: calc(var(--d, 0) * 110ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-6px); }

/* Richer cards */
.card { transition: border-color .3s, transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.card:hover { border-color: rgba(47,107,255,.45); box-shadow: 0 18px 40px rgba(1,24,58,.08), 0 0 0 4px rgba(47,107,255,.06); }
.service > .ic, .service-wide > .ic { width: 52px; height: 52px; padding: 13px; border-radius: 14px; background: var(--blue-soft); transition: background .3s, color .3s; box-sizing: border-box; }
.service:hover > .ic, .service-wide:hover > .ic { background: var(--blue); color: #fff; }
.service h3 { margin-top: 20px; }
.btn { transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.step-num { transition: background .3s, color .3s; }
.step:hover .step-num { background: var(--blue); color: #fff; }
.why { padding: 24px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); transition: background .3s, border-color .3s; }
.why:hover { background: rgba(255,255,255,.04); border-color: rgba(127,163,255,.35); }
.section-dark { position: relative; overflow: hidden; }
.section-dark::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: #2F6BFF; filter: blur(120px); opacity: .18; top: -250px; right: -150px; }
.section-dark .container { position: relative; }
.work-tag { transition: background .3s, color .3s; }
.work:hover .work-tag { background: var(--blue); color: #fff; }

@media (max-width: 720px) {
  body.home .hero { min-height: auto; padding: 130px 0 80px; }
  body.home .site-header .nav-links a:not(.btn) { color: var(--grey) !important; }
  body.home .site-header:has(.nav-links.open) { background: #fff; }
  body.home .site-header:has(.nav-links.open) .brand { color: var(--navy); }
  body.home .site-header:has(.nav-links.open) .mark-dark { display: block; }
  body.home .site-header:has(.nav-links.open) .mark-light { display: none; }
  body.home .site-header:has(.nav-links.open) .menu-toggle { color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-in { opacity: 1 !important; transform: none !important; }
}
