/* ===== Variables ===== */
:root {
  --navy: #10233f;
  --navy-2: #16324f;
  --blue: #1c5aa8;
  --blue-light: #eaf2fb;
  --accent: #ff7a3d;
  --accent-dark: #e65e1f;
  --text: #1b2733;
  --text-muted: #5b6b7c;
  --border: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --radius: 16px;
  --shadow: 0 20px 45px -20px rgba(16, 35, 63, 0.25);
  --container: 1200px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  text-align: center;
}
.btn--primary { background: var(--accent); color: #fff; animation: btn-pulse-orange 2.4s ease-in-out infinite; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(230, 94, 31, .55); animation-play-state: paused; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; animation: btn-pulse-ghost-light 2.4s ease-in-out infinite; }
.btn--ghost:hover { background: rgba(255,255,255,.12); animation-play-state: paused; }
.btn--ghost-dark { background: transparent; border-color: var(--border); color: var(--navy); animation: btn-pulse-ghost-dark 2.4s ease-in-out infinite; }
.btn--ghost-dark:hover { background: var(--bg-soft); border-color: var(--navy); animation-play-state: paused; }
.btn--sm { padding: 10px 18px; font-size: 16px; }
.btn--lg { padding: 15px 28px; font-size: 17px; }

@keyframes btn-pulse-orange {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 61, .6), 0 4px 14px -4px rgba(230, 94, 31, .35); }
  50% { box-shadow: 0 0 0 13px rgba(255, 122, 61, 0), 0 6px 22px -2px rgba(230, 94, 31, .65); }
}
@keyframes btn-pulse-ghost-light {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .22); }
  50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
}
@keyframes btn-pulse-ghost-dark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 61, .2); }
  50% { box-shadow: 0 0 0 7px rgba(255, 122, 61, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary, .btn--ghost, .btn--ghost-dark { animation: none; }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 18px; }
.logo__icon { width: 30px; height: 30px; color: var(--accent); }
.logo--light { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__icon { display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; transition: color .15s ease; }
.header__icon:hover { color: var(--accent); }
.header__phone { font-weight: 700; color: var(--navy); font-size: 16px; white-space: nowrap; }
.header__phone-icon {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--navy);
  flex-shrink: 0;
}
.header__whatsapp {
  display: flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.header__whatsapp svg { width: 100%; height: 100%; }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-2) 0%, var(--navy) 55%, #0b1a2e 100%);
  color: #fff;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-areas:
    "eyebrow photo"
    "title   photo"
    "lead    photo"
    "cta     photo"
    "points  photo";
  column-gap: 56px;
  row-gap: 0;
  align-items: start;
  padding-top: 84px;
  padding-bottom: 72px;
}
.hero__area-eyebrow { grid-area: eyebrow; }
.hero__area-title { grid-area: title; }
.hero__area-photo { grid-area: photo; align-self: center; }
.hero__area-lead { grid-area: lead; }
.hero__area-cta { grid-area: cta; }
.hero__area-points { grid-area: points; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--center { display: block; text-align: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.15; font-weight: 800; margin-bottom: 20px; }
.hero__lead { color: rgba(255,255,255,.85); font-size: 19px; font-weight: 600; max-width: 520px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__cta--center { justify-content: center; margin-top: 40px; margin-bottom: 0; }
.hero__points { display: flex; flex-direction: column; gap: 10px; }
.hero__points li {
  position: relative;
  padding-left: 26px;
  color: rgba(255,255,255,.85);
  font-size: 17px;
}
.hero__points li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----- Hero photo ----- */
.hero__photo-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(150deg, #22384a, #0d1c2b);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.55);
  border: 3px solid rgba(255,255,255,.14);
}
.hero__photo-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero__photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 24px 20px;
  background: linear-gradient(180deg, rgba(11,26,46,0) 0%, rgba(11,26,46,.55) 45%, rgba(11,26,46,.92) 100%);
  color: #fff;
}
.hero__photo-caption strong { display: block; font-size: 19px; margin-bottom: 3px; }
.hero__photo-caption span { font-size: 17px; color: rgba(255,255,255,.82); }

/* ----- Stats bar ----- */
.stats { background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.1); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.stat-card { text-align: center; }
.stat-card strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.stat-card span { font-size: 17px; color: rgba(255,255,255,.72); }

/* ===== Section shared ===== */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-title--accent { color: var(--accent); }
.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
  font-size: 19px;
  font-weight: 600;
}

/* ===== Services ===== */
.services { padding: 96px 0; background: var(--bg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
}
.service-card__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-card__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,14,24,0) 15%, rgba(6,14,24,.75) 55%, rgba(6,14,24,.97) 100%);
}
.service-card__text {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  z-index: 1;
  padding: 18px 20px 6px;
}
.service-card__text h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.18;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.service-card__text p {
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.4;
}

/* ===== Why ===== */
.why { background: var(--bg-soft); padding: 96px 0; }
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-card__icon svg { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.benefit-card p { color: var(--text-muted); font-size: 17px; margin-bottom: 12px; }
.benefit-card__gain { color: var(--navy) !important; font-size: 17px !important; margin-bottom: 0 !important; }
.benefit-card__gain strong { color: var(--accent-dark); }

/* ===== Reviews ===== */
.reviews { padding: 96px 0; background: var(--bg); }
.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  align-items: start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.review-card img { width: 100%; height: auto; cursor: zoom-in; display: block; }
.reviews__hint { text-align: center; color: var(--text-muted); font-size: 15px; margin-top: 16px; }

.reviews__controls { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.reviews__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1.3rem;
  color: var(--navy);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.reviews__btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== Final CTA ===== */
.cta-final { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.cta-final__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.cta-final h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.cta-final p { color: rgba(255,255,255,.75); font-size: 17px; }
.cta-final .hero__cta { margin-bottom: 0; flex-wrap: nowrap; }

/* ===== Footer ===== */
.footer { background: #0b1a2e; color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand p { margin-top: 14px; font-size: 16px; line-height: 1.6; max-width: 260px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 16px; transition: color .15s ease; }
.footer__col a:hover { color: var(--accent); }
.footer__hours { font-size: 16px; line-height: 1.5; }
.footer__contact-row { display: flex; align-items: center; gap: 14px; }
.footer__whatsapp {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  flex-shrink: 0;
  transition: background-color .15s ease, color .15s ease;
}
.footer__whatsapp:hover { background: var(--accent); color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 16px;
  color: rgba(255,255,255,.5);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 16, 28, .94);
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 86vh;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__count {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 15px;
}

@media (max-width: 640px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.5rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 12px; right: 12px; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "photo"
      "lead"
      "cta"
      "points";
    padding-top: 48px;
    padding-bottom: 40px;
    row-gap: 24px;
  }
  .hero__photo-wrap { max-width: 360px; aspect-ratio: 1 / 1; }
  .eyebrow, .hero h1, .hero__lead, .hero__cta { margin-bottom: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .cta-final__inner { flex-direction: column; text-align: center; }
  .cta-final .hero__cta { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 720px) {
  .services__grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .services, .why, .reviews { padding: 64px 0; }
}

@media (max-width: 560px) {
  .header__phone { display: none; }
  .header__phone-icon { display: flex; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__cta--center .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}
