:root {
  --green: #50b964;
  --green-dark: #3ea652;
  --navy: #08394a;
  --navy-2: #0b4558;
  --bg: #f5f8ee;
  --white: #ffffff;
  --text: #161922;
  --muted: #5c6b70;
  --line: #e2ead8;
  --orange: #ffa030;
  --shadow: 0 18px 40px rgba(8, 57, 74, 0.1);
  --wrap: 1140px;
  --radius: 6px;
  --font: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 10px 14px;
  z-index: 1000;
}
.skip:focus { left: 8px; }

.wrap {
  width: min(calc(100% - 32px), var(--wrap));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { background: var(--green-dark); }

.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-white:hover { background: #eef7f0; }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-2); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.1); }

.topbar {
  background: var(--navy);
  color: #d7e6ea;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 12px;
}
.topbar a:hover { color: var(--green); }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 12px rgba(8, 57, 74, 0.08);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 62px;
  width: auto;
  display: block;
}
.logo-on-dark {
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-flex;
  margin-bottom: 16px;
}
.logo-on-dark img { height: 54px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover,
.nav a.active { color: var(--green); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  color: var(--navy);
  overflow: hidden;
}
.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-media picture { display: block; }
.hero-logo {
  display: inline-flex;
  margin-bottom: 14px;
}
.hero-logo img {
  height: 64px;
  width: auto;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 40px 0 48px;
  width: min(calc(100% - 32px), var(--wrap));
}
.hero-panel {
  background: #fff;
  color: var(--navy);
  max-width: 520px;
  padding: 28px 28px 26px;
  border-radius: 8px;
  border-left: 6px solid var(--green);
}
.hero-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  color: var(--navy);
}
.hero-panel p {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--muted);
  max-width: none;
}
.hero-lead-short { display: none; }
.hero-phone {
  display: inline-block;
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 16px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.quote-copy .hero-logo,
.page-hero .hero-logo {
  background: #fff;
  padding: 10px 18px;
  border-radius: 8px;
}

.section { padding: 80px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2,
.left-head h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
}
.section-head p { margin: 0; color: var(--muted); }

.features {
  margin-top: 28px;
  position: relative;
  z-index: 4;
  padding-bottom: 20px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  border-radius: var(--radius);
}
.parallax {
  display: block;
  overflow: hidden;
  position: relative;
}
.parallax-img {
  width: 100%;
  height: 175%;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
@supports (animation-timeline: view()) {
  .parallax-img {
    animation: parallax-shift 1s linear both;
    animation-timeline: view();
    animation-range: contain 0% contain 100%;
  }
}
@keyframes parallax-shift {
  from { transform: translate3d(0, -14%, 0); }
  to { transform: translate3d(0, 14%, 0); }
}
@keyframes parallax-shift-rev {
  from { transform: translate3d(0, 14%, 0); }
  to { transform: translate3d(0, -14%, 0); }
}
.feature:nth-child(even) .parallax-img,
.gallery-grid a:nth-child(even) .parallax-img {
  animation-name: parallax-shift-rev;
}

.feature .parallax {
  height: 160px;
}
.photo-ground {
  object-position: center 78%;
  animation: none !important;
  height: 100% !important;
  transform: none !important;
}
.about-photo {
  height: 460px;
  border-radius: var(--radius);
}
.gallery-grid a .parallax-img {
  height: 175%;
  width: 100%;
}
.gallery-grid a .parallax {
  height: 100%;
}
.quote-copy {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.quote-photo {
  position: absolute;
  inset: 0;
}
.quote-photo .parallax-img {
  height: 180%;
}
.quote-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,57,74,.82), rgba(8,57,74,.88));
  pointer-events: none;
}
.quote-copy-inner {
  position: relative;
  z-index: 1;
  padding: 42px 36px;
}
.feature-body { padding: 18px 18px 22px; }
.feature-body span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feature-body h3 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: 18px;
}
.feature-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-bar {
  background: var(--green);
  color: #fff;
  padding: 28px 0;
}
.cta-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.cta-bar strong {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}
.cta-bar span { display: block; opacity: 0.92; }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about h2 { color: var(--navy); font-size: clamp(28px, 4vw, 38px); margin: 8px 0 14px; }
.about p { color: var(--muted); }
.checks { display: grid; gap: 8px; margin: 18px 0 24px; }
.checks li {
  list-style: none;
  padding-left: 28px;
  position: relative;
  color: var(--navy);
  font-weight: 600;
}
.checks { padding: 0; }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefit {
  background: #fff;
  padding: 28px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.benefit .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e8f7ec;
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.benefit h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }

.benefits-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-row {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.benefit-row .icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--green);
  display: grid;
  place-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  height: 240px;
}
.gallery-grid a:hover .parallax-img {
  filter: brightness(1.06);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}
.faq-item button::after {
  content: "+";
  color: var(--green);
  font-size: 20px;
}
.faq-item.open button::after { content: "–"; }
.faq-item .answer {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
}
.faq-item.open .answer { display: block; }

.quote {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.quote-copy h2 { margin: 8px 0 12px; font-size: 32px; }
.quote-copy p { color: rgba(255,255,255,.86); }
.form { padding: 36px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; color: var(--navy); }
.field input,
.field textarea {
  border: 1px solid #d7e0d4;
  border-radius: 4px;
  padding: 12px 12px;
  font-size: 15px;
}
.form .btn { width: 100%; margin-top: 8px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 10px; }

footer {
  background: var(--navy);
  color: #c5d6db;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
footer h3 { color: #fff; margin: 0 0 12px; }
footer a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  font-size: 13px;
  opacity: .8;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
}
.wa-float:hover { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 57, 74, .92);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 20px;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 6px;
}
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(8,57,74,.88), rgba(8,57,74,.6)),
    url("../img/textura.jpg") center/cover;
  color: #fff;
  padding: 70px 0 50px;
}
.page-hero h1 { margin: 8px 0; font-size: 40px; }
.legal { background: #fff; padding: 50px 0 80px; }
.legal .wrap { max-width: 800px; }
.legal h2 { color: var(--navy); }
.legal p { color: var(--muted); }

@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    box-shadow: var(--shadow);
    gap: 12px;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .features-grid,
  .benefits,
  .benefits-6,
  .about,
  .faq-wrap,
  .quote,
  .form-grid,
  .gallery-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about, .faq-wrap, .quote, .footer-grid { grid-template-columns: 1fr; }
  .cta-bar .wrap { flex-direction: column; text-align: center; }
  .features { margin-top: 20px; }
  .about-photo { height: 320px; }
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-media {
    position: relative;
    height: 48vh;
    min-height: 300px;
  }
  .hero-media img {
    object-position: center 70%;
  }
  .hero-content {
    width: calc(100% - 32px);
    margin: 16px auto 0;
    padding: 0 0 8px;
  }
  .hero-panel .hero-logo,
  .hero-lead {
    display: none;
  }
  .hero-lead-short {
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .benefits,
  .benefits-6,
  .form-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .feature .parallax { height: 210px; }
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-media {
    position: relative;
    height: 58vh;
    min-height: 320px;
  }
  .hero-media img {
    object-position: center 70%;
  }
  .hero-content {
    width: calc(100% - 24px);
    margin: 12px auto 0;
    padding: 0 0 8px;
  }
  .hero-panel {
    max-width: none;
    padding: 14px 14px 12px;
  }
  .hero-panel .hero-logo,
  .hero-lead {
    display: none;
  }
  .hero-lead-short {
    display: block;
    margin: 0 0 10px;
    font-size: 14px;
  }
  .hero-panel h1 {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }
  .hero-phone {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
  .hero-actions .btn { width: 100%; }
  .topbar span:last-child { display: none; }
  .footer-bottom { flex-direction: column; }
  footer { padding-bottom: 90px; }
  .logo img { height: 48px; }
  .logo-on-dark img { height: 44px; }
  .quote-copy-inner,
  .form { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .parallax-img {
    height: 100% !important;
    transform: none !important;
    animation: none !important;
  }
}
