/* Front page only. Shared header, footer, buttons, typography and forms stay in global.css. */

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(23, 18, 16, .93) 0%, rgba(23, 18, 16, .72) 40%, rgba(23, 18, 16, .08) 78%),
    linear-gradient(0deg, rgba(23, 18, 16, .78), rgba(23, 18, 16, 0) 48%);
}

.hero-media img {
  filter: saturate(.95) contrast(1.04);
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.hero-panel div {
  padding: 24px;
  background: rgba(255, 255, 255, .08);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 24px;
}

.hero-panel span {
  color: rgba(255, 255, 255, .72);
}

.split-copy h2,
.about-copy h2,
.trust-heading h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0;
}

.split-copy p {
  font-size: 18px;
}

.services-section {
  overflow-x: clip;
  background: linear-gradient(180deg, var(--white), var(--soft));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  --service-scan-opacity: 0;
  --service-scan-x: -120%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 44px rgba(24, 18, 14, .06);
  transform-origin: center bottom;
  will-change: transform, opacity;
  transition: box-shadow .32s ease, border-color .32s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 79, 76, .18), transparent);
  opacity: var(--service-scan-opacity);
  transform: translateX(var(--service-scan-x));
}

.service-card.is-intro-done {
  will-change: auto;
  transition: box-shadow .32s ease, transform .32s ease, border-color .32s ease;
}

.service-card img {
  width: 100%;
  height: clamp(220px, 18vw, 280px);
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .78, .18, 1), filter .32s ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(182, 50, 47, .24);
  box-shadow: 0 24px 60px rgba(24, 18, 14, .13);
  transform: translateY(-6px);
}

.service-card:hover img,
.service-card:focus-within img {
  transform: scale(1.045);
}

.service-scan {
  position: absolute;
  left: 13%;
  top: var(--scan-top, 148px);
  z-index: 2;
  width: 74%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 79, 76, .25), var(--red-bright), rgba(255, 79, 76, .25), transparent);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(255, 79, 76, .45);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
}

.service-card div {
  padding: 24px;
}

.service-card span {
  color: var(--red);
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 900;
}

.service-card h3 {
  margin-top: 8px;
  font-size: 26px;
}

.service-card p {
  min-height: 104px;
}

.service-card a {
  --interactive-link-fill: var(--red);
  --link-fill: var(--interactive-link-fill);
  --link-hover-fill: var(--brand-secondary);
  display: inline-block;
  width: max-content;
  font-weight: 900;
}

.service-card a:hover,
.service-card a:focus-visible {
  background-size: 100% 100%, 100% 100%;
  text-decoration: none;
}

.service-card-featured {
  background: var(--dark);
}

.service-card-featured h3,
.service-card-featured p {
  color: var(--white);
}

.service-card-featured a {
  --interactive-link-fill: var(--red);
  --link-hover-fill: var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  align-items: center;
  gap: 72px;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-main {
  width: 82%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-small {
  position: absolute;
  right: 0;
  bottom: -26px;
  width: 210px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border: 10px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(340px, 1fr);
  align-items: center;
  gap: 74px;
}

.about-copy p:not(.eyebrow) {
  max-width: 620px;
  font-size: 18px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-outline-dark {
  --btn-bg: transparent;
  --btn-color: var(--ink);
  --btn-hover-bg: var(--red);
  --btn-hover-color: var(--white);
  --btn-hover-border: var(--red);
  border-color: rgba(23, 23, 23, .22);
}

.about-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-flash {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: min(360px, 100%);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(24, 18, 14, .14);
  --about-photo-flash-opacity: 0;
  --about-photo-flash-x: -120%;
}

.about-photo-flash::after {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(182, 50, 47, .18), rgba(182, 50, 47, .72), rgba(182, 50, 47, .18), transparent);
  mix-blend-mode: normal;
  opacity: var(--about-photo-flash-opacity);
  transform: translateX(var(--about-photo-flash-x)) skewX(-16deg);
}

.about-photo-flash .about-logo-mark {
  display: block;
  width: 100%;
}

.about-logo-mark {
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
  object-position: center;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 48px rgba(24, 18, 14, .14);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  overflow: hidden;
  --check-scan-opacity: 0;
  --check-scan-x: -110%;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}

.check-list li::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 79, 76, .16), transparent);
  opacity: var(--check-scan-opacity);
  transform: translateX(var(--check-scan-x));
}

.check-list li.is-check-validated {
  border-left-color: var(--red-bright);
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 18, 14, .08);
  color: var(--ink);
}

.trust-section {
  background: var(--soft);
}

.trust-inner {
  display: grid;
  gap: 32px;
}

.trust-heading {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(280px, 480px);
  align-items: end;
  gap: 56px;
}

.trust-heading h2 {
  margin-bottom: 0;
}

.trust-heading p:not(.eyebrow) {
  align-self: end;
  margin: 0;
  font-size: 18px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.review-card {
  min-height: 250px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 44px rgba(24, 18, 14, .06);
  will-change: transform, opacity;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.review-card.is-review-ready {
  will-change: auto;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.review-card.is-review-ready:hover,
.review-card.is-review-ready:focus-within {
  box-shadow: 0 24px 60px rgba(24, 18, 14, .12);
  transform: translateY(-5px);
}

.review-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: #d8d2ca;
  font-size: 22px;
  line-height: 1;
}

.review-rating span {
  display: inline-block;
  transform-origin: center;
}

.review-card p {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.32;
}

.review-card strong {
  display: block;
  color: var(--red);
  font-weight: 900;
}

.review-card-score {
  background: var(--dark);
  color: var(--white);
}

.review-card-score p,
.review-card-score strong {
  color: var(--white);
}

.review-score {
  display: block;
  margin-bottom: 18px;
  color: var(--red-bright);
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-list span {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  transition: background-color .24s ease, color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.cert-list span:hover {
  background: rgba(182, 50, 47, .08);
  color: var(--red);
  box-shadow: 0 12px 28px rgba(24, 18, 14, .08);
  transform: translateY(-2px);
}

.coverage-section {
  overflow-x: clip;
  background: var(--white);
}

.coverage-inner {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.coverage-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0;
}

.coverage-copy p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.coverage-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coverage-zones span {
  padding: 12px 15px;
  border: 1px solid rgba(182, 50, 47, .18);
  border-radius: var(--radius-sm);
  background: rgba(182, 50, 47, .07);
  color: var(--red);
  font-weight: 900;
}

.coverage-maps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.coverage-map-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(24, 18, 14, .1);
  border-radius: var(--radius);
  background: #e8e3dc;
  box-shadow: 0 24px 64px rgba(24, 18, 14, .1);
}

.coverage-map {
  min-height: 360px;
}

.coverage-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.coverage-map-panel {
  padding: 16px 18px;
  border-top: 1px solid rgba(182, 50, 47, .18);
  background: rgba(255, 255, 255, .94);
}

.coverage-map-panel strong,
.coverage-map-panel span {
  display: block;
}

.coverage-map-panel strong {
  margin-bottom: 4px;
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 900;
}

.coverage-map-panel span {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.partners-section {
  background: var(--soft);
}

.partners-inner {
  display: grid;
  gap: 34px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.partner-logo {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 132px;
  margin: 0;
  padding: 22px;
  --partner-shine-opacity: 0;
  --partner-shine-x: -120%;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(24, 18, 14, .09);
  contain: layout paint;
  will-change: transform, opacity;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.partner-logo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 79, 76, .18) 46%, rgba(255, 255, 255, .72) 50%, rgba(255, 79, 76, .16) 54%, transparent 82%);
  opacity: var(--partner-shine-opacity);
  transform: translateX(var(--partner-shine-x));
  content: "";
}

.partner-logo img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
}

.partner-logo:hover,
.partner-logo:focus-within {
  border-color: rgba(182, 50, 47, .36);
  background: var(--white);
  box-shadow: 0 24px 58px rgba(24, 18, 14, .14);
  transform: translateY(-3px);
}

.cta-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cta-summary span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 1440px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-media {
    justify-content: flex-start;
  }
}

@media (max-width: 1180px) {
  .service-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card img {
    height: clamp(220px, 32vw, 320px);
  }
}

@media (max-width: 820px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .split-grid,
  .about-grid,
  .trust-heading,
  .coverage-inner {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: clamp(220px, 58vw, 340px);
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .partner-logo {
    min-height: 110px;
    padding: 16px;
  }

  .coverage-maps {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

  .split-grid {
    gap: 42px;
  }

  .image-stack {
    min-height: auto;
  }

  .image-main {
    width: 100%;
    height: auto;
    aspect-ratio: 1.1;
  }

  .about-media {
    justify-content: center;
  }

  .about-actions {
    justify-content: center;
  }

  .about-logo-mark {
    width: min(260px, 100%);
    margin-inline: auto;
    padding: 12px;
  }

  .about-photo-flash {
    width: min(260px, 100%);
    margin-inline: auto;
  }

}

@media (max-width: 520px) {
  .coverage-map,
  .coverage-map iframe {
    min-height: 300px;
    height: 300px;
  }

  .coverage-map-panel {
    padding: 14px 16px;
  }
}

