/* =========================================================
   PATRIOT SPRAY FOAM — STYLES
   ========================================================= */

:root {
  --navy:        #0A1A4F;
  --navy-soft:   #102765;
  --navy-deep:   #060F38;
  --red:         #D93829;
  --red-hover:   #B82E22;
  --red-tint:    rgba(217, 56, 41, 0.10);

  --white:       #FFFFFF;
  --gray-50:     #F5F5F5;
  --gray-100:    #EFEFEF;
  --gray-200:    #E0E0E0;
  --gray-300:    #C9C9C9;
  --gray-500:    #6B6B6B;
  --gray-700:    #3F3F3F;
  --gray-900:    #1A1A1A;

  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   20px;

  --shadow-sm:   0 1px 2px rgba(10, 26, 79, 0.05);
  --shadow-md:   0 8px 24px rgba(10, 26, 79, 0.08);
  --shadow-lg:   0 18px 50px rgba(10, 26, 79, 0.16);
  --shadow-xl:   0 30px 80px rgba(10, 26, 79, 0.22);

  --section-pad: 96px;
  --container:   1200px;

  --font-sans:   'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* =========================================================
   RESET / BASE
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }

/* Focus state — accessibility */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 1000;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 16px;
  color: var(--white);
}

/* Reveal-on-scroll — applied via JS, respects reduced motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Honeypot — hidden anti-spam field */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Form status message */
.form-status {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 14px;
  min-height: 0;
  transition: min-height .2s ease;
}
.form-status:not(:empty) {
  min-height: 22px;
  padding: 10px 14px;
  border-radius: 8px;
}
.form-status.is-error {
  background: rgba(217, 56, 41, 0.08);
  color: var(--red-hover);
  border: 1px solid rgba(217, 56, 41, 0.25);
}
.form-status.is-success {
  background: rgba(34, 139, 70, 0.08);
  color: #1f7a3c;
  border: 1px solid rgba(34, 139, 70, 0.25);
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--gray-900);
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 16px; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(217, 56, 41, 0.30);
}
.btn-primary:hover { background: var(--red-hover); color: var(--white); box-shadow: 0 14px 30px rgba(217, 56, 41, 0.38); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-sm   { padding: 10px 16px; font-size: 14px; }
.btn-lg   { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
}
.topbar-phone:hover { color: var(--white); opacity: 0.85; }

/* =========================================================
   HEADER
   ========================================================= */

.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo-img { height: 50px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 15px;
  transition: color .15s ease;
}
.nav a:hover { color: var(--white); }
.nav .btn { color: var(--white); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform .2s, opacity .2s;
}

/* =========================================================
   HERO — two-column with photo
   ========================================================= */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: calc(var(--section-pad) + 16px) 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(217,56,41,0.18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-content { max-width: 640px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title { color: var(--white); margin-bottom: 20px; }
.hero-title .accent { color: var(--red); }

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 500;
}
.hero-trust .check {
  color: var(--red);
  font-weight: 800;
  margin-right: 8px;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.10);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  display: block;
  transform: scale(1.0);
  transition: transform 1.2s ease;
}
@media (max-width: 1024px) {
  .hero-media img { aspect-ratio: 16 / 11; }
}
@media (max-width: 720px) {
  .hero-media img { aspect-ratio: 16 / 12; }
}
.hero-media:hover img { transform: scale(1.04); }

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 26, 79, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--white);
}
.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge-icon svg { width: 22px; height: 22px; }
.hero-badge-title {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  margin-bottom: 2px;
}
.hero-badge-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* =========================================================
   SECTIONS — SHARED
   ========================================================= */

.section { padding: var(--section-pad) 0; background: var(--white); }
.section-light { background: var(--gray-50); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-head .kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head .lead {
  font-size: 1.075rem;
  color: var(--gray-500);
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

/* =========================================================
   PROBLEM
   ========================================================= */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.problem-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.problem-icon svg { width: 28px; height: 28px; }
.problem-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--navy); }
.problem-card p { color: var(--gray-500); font-size: 0.95rem; margin: 0; }

/* =========================================================
   SERVICES
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(217, 56, 41, 0.30);
}
.service-card h3 { margin-bottom: 12px; color: var(--navy); font-size: 1.35rem; }
.service-card > p { color: var(--gray-500); }
.service-list {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}
.service-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  color: var(--gray-900);
  font-size: 0.93rem;
  font-weight: 500;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
}
.service-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 4px;
  height: 7px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.about-text h2 { margin-bottom: 18px; }
.about-text .lead { color: var(--gray-700); font-size: 1.05rem; }
.about-text .lead + .lead { margin-top: -6px; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.value-icon svg { width: 22px; height: 22px; }
.value-card h4 { color: var(--navy); margin-bottom: 6px; font-size: 1.05rem; }
.value-card p { color: var(--gray-500); font-size: 0.9rem; margin: 0; line-height: 1.5; }

.about-media {
  position: sticky;
  top: 110px;
}
.about-photo {
  margin: 0 0 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  max-height: 520px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.credential {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.credential:hover {
  border-color: rgba(10, 26, 79, 0.18);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.credential-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(10, 26, 79, 0.18);
}
.credential-icon svg { width: 22px; height: 22px; }
.credential strong { display: block; color: var(--navy); font-size: 0.98rem; line-height: 1.25; margin-bottom: 2px; }
.credential span { color: var(--gray-500); font-size: 0.84rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.about-stat { text-align: center; }
.about-stat-num {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label { font-size: 0.86rem; color: var(--gray-500); font-weight: 500; }

/* =========================================================
   GALLERY
   ========================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  background: var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 14px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 26, 79, 0.82) 70%, rgba(10, 26, 79, 0.92) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* =========================================================
   SERVICE AREA
   ========================================================= */

.service-area-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-area-region {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-area-region:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-area-region h3 {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}
.service-area-region ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.service-area-region li {
  position: relative;
  padding-left: 14px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
}
.service-area-region li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.service-area-foot {
  text-align: center;
  margin: 36px 0 0;
  color: var(--gray-500);
  font-size: 0.95rem;
}
.service-area-foot a {
  font-weight: 700;
  color: var(--red);
}
.service-area-foot a:hover { color: var(--red-hover); }

/* =========================================================
   PROCESS
   ========================================================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(217, 56, 41, 0.28);
}
.process-step h3 { margin-bottom: 8px; color: var(--navy); font-size: 1.15rem; }
.process-step p { color: var(--gray-500); margin: 0; font-size: 0.96rem; }

/* =========================================================
   REVIEWS
   ========================================================= */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.stars svg {
  width: 18px;
  height: 18px;
  fill: #F5A623;
}
.review-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.01em;
}
.review-source-g {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.review-card p {
  color: var(--gray-900);
  font-size: 0.98rem;
  margin-bottom: 18px;
  line-height: 1.6;
}
.review-author strong { display: block; color: var(--navy); font-size: 0.98rem; }
.review-author span { color: var(--gray-500); font-size: 0.88rem; }

/* =========================================================
   FAQ
   ========================================================= */

.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-list {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 0 28px;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .15s ease;
}
.faq-item summary:hover { color: var(--red); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 300;
  color: var(--red);
  transition: transform .2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 14px 0 0;
  color: var(--gray-500);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-item p + p { margin-top: 10px; }
.faq-list-inline {
  margin: 12px 0 0;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.faq-list-inline li {
  position: relative;
  padding-left: 22px;
  color: var(--gray-900);
  font-size: 0.95rem;
  font-weight: 500;
}
.faq-list-inline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 50%;
}
.faq-list-inline li::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 10px;
  width: 4px;
  height: 6px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* =========================================================
   FINAL CTA — with photo background
   ========================================================= */

.cta-final {
  background:
    linear-gradient(135deg, rgba(10, 26, 79, 0.96) 0%, rgba(16, 39, 101, 0.94) 100%),
    url('fotos3/JK9A0111.webp') center center / cover no-repeat;
  color: var(--white);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(217,56,41,0.18), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-text h2 { color: var(--white); }
.cta-text p {
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  margin-bottom: 26px;
}
.cta-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}
.cta-bullets li { display: flex; align-items: center; }
.cta-bullets .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
  margin-right: 12px;
  flex-shrink: 0;
}

.cta-form {
  background: var(--white);
  color: var(--gray-900);
  padding: 38px 34px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.cta-form h3 {
  margin-bottom: 22px;
  text-align: center;
  font-size: 1.45rem;
  color: var(--navy);
}
.cta-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.cta-form input,
.cta-form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cta-form input:focus,
.cta-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217,56,41,0.15);
}
.cta-form .btn { margin-top: 10px; }
.cta-finep {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.5;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.65);
  max-width: 340px;
  line-height: 1.6;
}
.footer-logo { height: 46px; margin-bottom: 8px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; font-size: 0.95rem; }
.footer-col a { color: rgba(255,255,255,0.7); transition: color .15s ease; }
.footer-col a:hover { color: var(--white); }

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-hours li:last-child { border-bottom: 0; }
.footer-hours li span:first-child {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
  font-size: 0.93rem;
}
.footer-contact .footer-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.footer-contact a {
  color: rgba(255,255,255,0.92);
  line-height: 1.45;
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* =========================================================
   STICKY MOBILE CTA BAR
   ========================================================= */

.mobile-cta {
  display: none; /* shown only on mobile via media query */
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(10, 26, 79, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 -10px 30px rgba(10, 26, 79, 0.25);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 10px;
  transform: translateY(0);
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-cta.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.mobile-cta-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease;
}
.mobile-cta-btn:active { transform: translateY(1px); }
.mobile-cta-call {
  background: var(--white);
  color: var(--navy);
}
.mobile-cta-call:hover { color: var(--navy); }
.mobile-cta-form {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(217, 56, 41, 0.35);
}
.mobile-cta-form:hover { background: var(--red-hover); color: var(--white); }

/* Lift footer copyright a touch so the bar doesn't overlap it on mobile */
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 76px; }
  body.has-mobile-cta.has-mobile-cta--safe { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 720px; }
  .hero-media { max-width: 520px; margin: 0 auto; }

  .problem-grid    { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .process-grid    { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid    { grid-template-columns: 1fr; }
  .reviews-grid .review-card { max-width: 720px; margin: 0 auto; }

  .about-wrap      { grid-template-columns: 1fr; gap: 40px; }
  .about-media     { position: static; }
  .about-photo { aspect-ratio: 16 / 10; max-height: none; }
  .about-stats     { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 28px 24px; }

  .service-area-regions { grid-template-columns: repeat(2, 1fr); }

  .cta-inner       { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --section-pad: 56px; }

  body { font-size: 16px; }

  .topbar-text { display: none; }
  .topbar-inner { justify-content: center; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav .btn { margin-top: 12px; width: 100%; }

  .section-head { margin-bottom: 40px; }

  .problem-grid,
  .services-grid,
  .process-grid { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr; }
  .about-stats { padding: 24px 20px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-caption { opacity: 1; transform: none; padding: 14px; font-size: 0.85rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }

  .hero { padding: 56px 0 64px; }
  .hero-eyebrow { font-size: 12px; padding: 7px 12px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-trust { flex-direction: column; gap: 10px; }

  .cta-form { padding: 26px 20px; }
  .cta-form label { margin-bottom: 12px; }
  .cta-form h3 { font-size: 1.3rem; margin-bottom: 18px; }

  /* Mobile typography polish: avoid orphaned words, tighter line-height,
     softer hyphenation so long copy doesn't break the layout. */
  body { line-height: 1.55; hyphens: auto; -webkit-hyphens: auto; }
  h1, h2, h3 { line-height: 1.18; }
  .hero-title { line-height: 1.14; }
  .hero-sub { font-size: 1rem; line-height: 1.55; }
  .section-head .lead, .about-text .lead { font-size: 1rem; line-height: 1.6; }
  .problem-card p, .service-card > p, .process-step p, .review-card p { line-height: 1.55; }
  .review-head { flex-wrap: wrap; gap: 8px; }
  .service-area-regions { grid-template-columns: 1fr; gap: 14px; }
  .service-area-region { padding: 22px 20px 18px; }
  .service-area-foot { margin-top: 26px; }

  /* Footer tweaks: keep address/phone from overlapping mobile CTA */
  .footer { padding-top: 56px; }
  .footer-hours li { padding: 6px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }

  .hero-trust { font-size: 14px; }
  .hero-badge-title { font-size: 14px; }
  .mobile-cta-btn { font-size: 14px; padding: 12px 8px; gap: 6px; }
  .mobile-cta { padding: 9px 10px calc(9px + env(safe-area-inset-bottom, 0px)); }

  .about-stats { grid-template-columns: 1fr 1fr; padding: 20px 16px; }
  .about-stat-num { font-size: 1.65rem; }
  .about-stat-label { font-size: 0.8rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item.gallery-tall { grid-row: span 1; }

  .hero-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }
  .hero-badge-icon { width: 36px; height: 36px; }

  /* Service area cards on small phones */
  .service-area-region ul { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .service-area-region h3 { font-size: 0.7rem; }

  /* Forms on tiny phones */
  .cta-form input,
  .cta-form select { padding: 12px 12px; font-size: 16px; }

  /* Footer hours: stack day & time tighter */
  .footer-hours li span:first-child { min-width: 36px; }

  /* Review cards: prevent star+badge from squeezing */
  .stars svg { width: 16px; height: 16px; }
  .review-source { font-size: 0.74rem; }
}
