:root {
  --navy: #0E1D40;
  --navy-2: #16295A;
  --blue: #0B4FB3;
  --blue-dark: #083E8E;
  --tint: #EEF3FA;
  --line: #DCE4F0;
  --text: #1B2433;
  --muted: #5B6578;
  --wa: #1FA855;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 29, 64, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.3em; border-radius: 10px; font-weight: 700; font-size: .95rem;
  transition: background-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .95em 1.6em; font-size: 1.02rem; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #188a46; }
.btn--light { background: #fff; color: var(--navy); }

.eyebrow {
  display: inline-block; margin-bottom: .8em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--light { color: #8FB5F2; }

/* Top bar */
.topbar { background: var(--navy); color: #C9D5EA; font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { width: 15px; height: 15px; fill: #8FB5F2; }
.topbar__phones { display: flex; gap: 20px; }
.topbar__phones a:hover { color: #fff; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header__in { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.header__logo img { height: 50px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-weight: 600; color: var(--navy); }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); border-color: var(--blue); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(90deg, rgba(14, 29, 64, .94) 0%, rgba(14, 29, 64, .78) 45%, rgba(14, 29, 64, .25) 100%),
    url("img/hero.jpg") center / cover no-repeat;
}
.hero__in { padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px); max-width: 1180px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; max-width: 14em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #D7E2F5; max-width: 34em; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 2.2em 0 0; color: #D7E2F5; font-weight: 600; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #C9D5EA; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head p:last-child { color: var(--muted); margin: 0; }
.section__head--light h2 { color: #fff; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14, 29, 64, .14); }
.card img { aspect-ratio: 10 / 7; object-fit: cover; width: 100%; }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card__link { color: var(--blue); font-weight: 700; }
.card__link:hover { text-decoration: underline; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 6 / 7; object-fit: cover; width: 100%; }
.about__text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--tint);
}
.feature__icon svg { width: 26px; height: 26px; fill: var(--blue); }
.feature__icon--wa { background: #E3F6EA; }
.feature__icon--wa svg { fill: var(--wa); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--navy-2); }
.steps span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.steps h3 { color: #fff; }
.steps p { margin: 0; font-size: .95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }

/* CTA */
.cta { background: linear-gradient(110deg, var(--blue) 0%, var(--navy-2) 100%); color: #fff; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 56px 0; }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin: 0; color: #D7E2F5; font-size: 1.1rem; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact__item {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.contact__item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.contact__label { font-size: .85rem; color: var(--muted); }
.contact__item strong { font-size: 1.15rem; color: var(--navy); }

/* Footer */
.footer { background: var(--navy); color: #AFC0DD; padding-top: 48px; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { border-radius: 12px; background: #fff; padding: 4px; }
.footer__brand strong { color: #fff; }
.footer__brand p { margin: 0; font-size: .9rem; }
.footer__nav, .footer__phones { display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: #fff; }
.footer__copy { padding: 20px 0; font-size: .85rem; text-align: center; }

/* Floating WhatsApp + mobile bar */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .services, .features, .steps, .contact { grid-template-columns: repeat(2, 1fr); }
  .header__cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav a { padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .nav--open { display: flex; }
}
@media (max-width: 768px) {
  .topbar__item { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { min-height: 66px; }
  .header__logo img { height: 40px; }
  .about { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { background:
    linear-gradient(180deg, rgba(14, 29, 64, .88) 0%, rgba(14, 29, 64, .8) 100%),
    url("img/hero.jpg") center / cover no-repeat; }
  .hero__actions .btn { width: 100%; }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
  }
  .mobile-bar a { padding: 15px; text-align: center; font-weight: 700; color: #fff; background: var(--blue); }
  .mobile-bar .mobile-bar__wa { background: var(--wa); }
  body { padding-bottom: 52px; }
}
@media (max-width: 520px) {
  .services, .features, .steps, .contact { grid-template-columns: 1fr; }
}
