:root {
  --blue: #0082fe;
  --blue-dark: #0063c4;
  --blue-deep: #06244a;
  --blue-soft: #e8f3ff;
  --yellow: #ffdd55;
  --ink: #0d1b2e;
  --muted: #56657a;
  --line: #dfe7f1;
  --bg: #f6f9fc;
  --white: #ffffff;
  --red: #d62839;
  --green: #2e7d32;
  --radius: 18px;
  --shadow: 0 20px 50px -24px rgba(6, 36, 74, 0.35);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 999; }

/* Header */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; min-width: 0; }
.brand img { width: 40px; height: 40px; flex-shrink: 0; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .72rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--blue); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; font-family: var(--font-body); font-size: .98rem; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 26px -12px var(--blue); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: var(--white); color: var(--blue-dark); border-color: var(--line); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 80% -10%, #cfe6ff 0%, transparent 60%), var(--bg); padding: 4.5rem 0 5rem; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; font-size: .82rem; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.2rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero h1 span { color: var(--blue); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.works-with { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; }
.chip { background: var(--white); border: 1px solid var(--line); padding: .3rem .75rem; border-radius: 999px; font-weight: 700; color: var(--ink); font-size: .82rem; }
.phones { position: relative; height: 560px; }
.phones img { position: absolute; width: 270px; border-radius: 26px; box-shadow: var(--shadow); }
.phones .p1 { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.phones .p2 { left: 2%; top: 70px; transform: rotate(-7deg); z-index: 2; opacity: .96; }
.phones .p3 { right: 2%; top: 70px; transform: rotate(7deg); z-index: 1; opacity: .96; }
.badge-float { position: absolute; z-index: 4; bottom: 30px; left: 50%; transform: translateX(-50%); background: var(--white); padding: .7rem 1rem; border-radius: 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.badge-float i { width: 10px; height: 10px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 6px rgba(214,40,57,.18); }

/* Sections */
section { padding: 5rem 0; }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .6rem; display: block; }
.bg-white { background: var(--white); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue .kicker { color: var(--yellow); }
.bg-blue .section-head p { color: rgba(255,255,255,.85); }
.bg-deep { background: var(--blue-deep); color: var(--white); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; margin-bottom: .8rem; }
.step p { color: var(--muted); }
.step img { margin-top: auto; border-radius: 14px; width: 100%; max-width: 240px; align-self: center; }

/* Map */
.map-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 1.2rem; align-items: stretch; }
.map-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.map-panel h3 { font-size: 1rem; }
.layer-toggle { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; cursor: pointer; font-weight: 700; }
.layer-toggle input { width: 18px; height: 18px; accent-color: var(--blue); }
.swatch { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; }
.layer-toggle .count { margin-left: auto; color: var(--muted); font-weight: 600; font-size: .82rem; }
.map-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
#map { height: 600px; border-radius: var(--radius); border: 1px solid var(--line); background: #e9eef3; z-index: 1; }
.map-status { padding: .8rem 1rem; border-radius: 12px; font-size: .88rem; margin-top: .8rem; background: var(--blue-soft); color: var(--blue-dark); }
.map-status.error { background: #fde8ea; color: var(--red); }
.leaflet-popup-content { font-family: var(--font-body); }
.leaflet-popup-content strong { font-family: var(--font-head); font-size: 1rem; display: block; }
.popup-cat { display: inline-block; margin-top: .3rem; font-size: .75rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; color: #fff; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 1rem; }
.card .ic svg { width: 24px; height: 24px; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 4rem; }
.showcase.rev .show-img { order: 2; }
.show-img { display: flex; justify-content: center; }
.show-img img { width: 290px; border-radius: 26px; box-shadow: var(--shadow); }
.show-text ul { padding: 0; list-style: none; }
.show-text li { padding-left: 1.8rem; position: relative; margin-bottom: .6rem; color: var(--muted); }
.show-text li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 4px var(--blue-soft); }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 900px; margin: 0 auto; }
.plan { background: var(--white); color: var(--ink); border-radius: 22px; padding: 2rem; }
.plan.premium { background: var(--blue-deep); color: var(--white); border: 2px solid var(--yellow); position: relative; }
.plan .tag { display: inline-block; font-weight: 800; font-size: .78rem; padding: .25rem .7rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); margin-bottom: .8rem; }
.plan.premium .tag { background: var(--yellow); color: var(--ink); }
.plan .price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.plan li { padding: .55rem 0 .55rem 1.8rem; border-bottom: 1px solid rgba(127,140,160,.2); position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--blue); }
.plan.premium li::before { color: var(--yellow); }
.plan .fine { font-size: .82rem; opacity: .75; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.gallery button { background: none; border: 0; padding: 0; cursor: zoom-in; text-align: left; font: inherit; color: inherit; }
.gallery img { border-radius: 16px; box-shadow: 0 10px 24px -16px rgba(6,36,74,.5); transition: transform .2s; aspect-ratio: 320 / 568; width: 100%; object-fit: contain; }
.gallery button:hover img { transform: scale(1.03); }
.gallery span { display: block; font-size: .85rem; font-weight: 700; margin-top: .5rem; }
.lightbox { position: fixed; inset: 0; background: rgba(6,20,40,.9); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 1.5rem; flex-direction: column; gap: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 18px; }
.lightbox p { color: #fff; margin: 0; font-weight: 700; text-align: center; }
.lightbox .close { position: absolute; top: 1rem; right: 1rem; background: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox .nav-arrow { position: absolute; top: 50%; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox .prev { left: 1rem; } .lightbox .next { right: 1rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* CTA + footer */
.cta { text-align: center; }
.cta img { width: 84px; margin: 0 auto 1rem; }
.disclaimer { font-size: .85rem; opacity: .8; max-width: 640px; margin: 1.2rem auto 0; }
.footer { background: #041a36; color: rgba(255,255,255,.8); padding: 3rem 0 2rem; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; font-family: var(--font-head); margin: 0 0 .8rem; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; display: block; margin-bottom: .4rem; }
.footer a:hover { color: var(--yellow); }
.footer .brand { color: #fff; margin-bottom: .8rem; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; }

/* Legal pages */
.legal { padding: 3.5rem 0 5rem; }
.legal .container { max-width: 820px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 2.5rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.legal .edit-note { background: #fff8db; border: 1px solid var(--yellow); padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1040px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .nav a:not(.btn) { font-size: .85rem; }
  .nav { gap: 1rem; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--white); padding: 1rem 4%; border-bottom: 1px solid var(--line); gap: .2rem; }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; font-size: 1rem !important; }
  .nav .btn { margin-top: .5rem; }
  .hero .container, .showcase, .map-wrap { grid-template-columns: 1fr; }
  .showcase.rev .show-img { order: 0; }
  .phones { height: 480px; }
  .phones img { width: 220px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  #map { height: 480px; }
  .footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 2.5rem 0 3rem; }
  .phones { height: 420px; }
  .phones img { width: 190px; }
  .phones .p2 { left: -6%; } .phones .p3 { right: -6%; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .actions .btn { width: 100%; }
  .legal .container { padding: 1.5rem; }
}
