/* ============================================================
   CLEARVIEW WINDOW CLEANING — Styles
   Sixty Deuce Design — DCII Demo D4
   Vault patterns: PeakstoneRoofing (services grid, about split,
   testimonials, contact form)
   New pattern: Light gradient-bleed hero (white-to-transparent,
   left-aligned text on white, image visible right)
   ============================================================ */

/* ================================
   CSS CUSTOM PROPERTIES (TOKENS)
   ================================ */
:root {
  /* Color Palette */
  --color-sky:                  #4AB3E8;  /* primary — sky blue, icons, accents */
  --color-sky-dark:              #2E9FD4;  /* sky hover state (decorative) */
  --color-sky-accessible:        #1A7FB0;  /* accessible blue — 4.5:1+ on white, text & btn bg */
  --color-sky-accessible-dark:   #145F8A;  /* hover state for accessible sky */
  --color-sky-light:    rgba(74, 179, 232, 0.10);  /* icon bg, chip bg */
  --color-sky-light-2:  rgba(74, 179, 232, 0.18);  /* featured pricing shadow */
  --color-navy:         #1A2E44;  /* dark text, headings, footer */
  --color-navy-mid:     #243E58;  /* secondary dark surface */
  --color-white:        #FFFFFF;
  --color-bg:           #F0F4F8;  /* light gray — alternating sections */
  --color-text:         #1A2E44;
  --color-text-muted:   #4A6072;
  --color-border:       #D0DCE8;
  --color-star:         #F5A623;  /* review star gold */

  /* Typography */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing & Layout */
  --container-max:    85rem;
  --section-padding:  5rem 1.5rem;
  --radius-sm:        0.375rem;
  --radius-md:        0.75rem;
  --radius-lg:        1.25rem;
  --radius-pill:      9999px;

  /* Elevation */
  --shadow-card:       0 2px 12px rgba(26, 46, 68, 0.07);
  --shadow-card-hover: 0 8px 28px rgba(26, 46, 68, 0.13);
  --shadow-btn:        0 2px 8px rgba(74, 179, 232, 0.30);
  --shadow-contact:    0 8px 40px rgba(26, 46, 68, 0.12);

  /* Motion */
  --transition: 0.3s ease;

  /* Demo banner height — used for scroll offsets */
  --demo-banner-h: 1.75rem;
}

/* ================================
   RESET & BASE
   ================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--demo-banner-h) + 1.5rem);
}

/* ================================
   SKIP LINK
   ================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-sky-accessible);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9375rem;
}

.skip-link:focus {
  top: 1rem;
  color: var(--color-white);
  text-decoration: none;
}

/* ================================
   BASE TYPOGRAPHY
   ================================ */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
}

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

a:hover {
  color: var(--color-sky-dark);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

/* ================================
   CONTAINER
   ================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 3px;
}

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

.btn--primary {
  background-color: var(--color-sky-accessible);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background-color: var(--color-sky-accessible-dark);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(20, 95, 138, 0.40);
  text-decoration: none;
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--ghost:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  text-decoration: none;
}

.btn--outline {
  background-color: transparent;
  color: var(--color-sky-accessible);
  border-color: var(--color-sky);
}

.btn--outline:hover {
  background-color: var(--color-sky-accessible);
  color: var(--color-white);
  text-decoration: none;
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn .material-symbols-outlined {
  font-size: 1.125rem;
}

/* ================================
   DEMO BANNER
   ================================ */
.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--demo-banner-h);
  background-color: var(--color-sky-accessible);
  color: var(--color-white);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  z-index: 1000;
}

/* Push main content below fixed banner */
main {
  padding-top: var(--demo-banner-h);
}

/* ================================
   SECTION HEADERS
   ================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sky-accessible);
  margin-bottom: 0.625rem;
}

.section-header__title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  color: var(--color-navy);
  margin-bottom: 0.875rem;
}

.section-header__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 46rem;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header--sm .section-header__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

/* ================================
   HERO — Light Gradient Bleed
   New pattern: full-bleed bg image with white-to-transparent
   gradient overlay; left-aligned text on the white side.
   Contrast with dark hero patterns in PeakstoneRoofing/OakAndIron.
   ================================ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--demo-banner-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-white);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* White-to-transparent gradient — image shows through on the right */
.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.96) 35%,
    rgba(255, 255, 255, 0.72) 60%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero__content {
  max-width: 42rem;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sky-accessible);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero__tagline {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1rem;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.hero__trust-item .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--color-sky);
}

.hero__trust-sep {
  color: var(--color-border);
  font-size: 0.75rem;
}

/*
  Glass-reflection swish — S-shaped sheen overlay.
  polygon() fallback: hexagon approximating the S using straight lines.
  @supports upgrades to true curved S via shape().
  Horizontal gradient centers the bright specular highlight
  at ~13% (midpoint of the 8–22% band).
*/
.hero__sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    transparent 4%,
    rgba(120, 195, 255, 0.40) 8%,
    rgba(215, 238, 255, 0.82) 13%,
    rgba(120, 195, 255, 0.40) 18%,
    transparent 24%
  );
  /* Straight-line S approximation for all browsers */
  clip-path: polygon(8% 0%, 22% 0%, 14% 50%, 22% 100%, 8% 100%, 0% 50%);
  animation: hero-sheen-pulse 7s ease-in-out infinite;
}

@supports (clip-path: shape(from 0% 0%, line to 100% 100%)) {
  .hero__sheen {
    /*
      Each edge is split at the 50% midpoint so the two halves
      can bow in OPPOSITE directions — that's what makes the S.
      Left edge:  top half bows hard LEFT (-15% 22%),
                  bottom half bows hard RIGHT (22% 78%).
      Right edge: exact mirror, 14% wider throughout.
    */
    clip-path: shape(
      from 8% 0%,
      curve to 0% 50% with -15% 22%,
      curve to 8% 100% with 22% 78%,
      line to 22% 100%,
      curve to 14% 50% with 36% 78%,
      curve to 22% 0% with -2% 22%,
      line to 8% 0%
    );
  }
}

@keyframes hero-sheen-pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: .65; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__sheen { animation: none; opacity: 0.7; }
}

/* ================================
   SERVICES
   ================================ */
.services {
  padding: var(--section-padding);
  background-color: var(--color-bg);
}

.services__list {
  list-style: none;
  margin-bottom: 4.5rem;
}

.service-row {
  display: grid;
  grid-template-columns: 17rem 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 1.875rem 0;
  border-bottom: 1px solid var(--color-border);
}

.service-row:first-child {
  border-top: 1px solid var(--color-border);
}

.service-row__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-row__icon {
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--color-sky-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-row__icon .material-symbols-outlined {
  font-size: 1.375rem;
  color: var(--color-sky);
}

.service-row__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

.service-row__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-top: 0.125rem;
}

/* ================================
   PRICING
   ================================ */
.pricing {
  padding: var(--section-padding);
  background-color: var(--color-bg);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.pricing-card--featured {
  border-color: var(--color-sky);
  box-shadow: 0 4px 24px var(--color-sky-light-2);
}

.pricing-card__badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-sky-accessible);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-card__tier {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.pricing-card__windows {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.pricing-card__price {
  margin-bottom: 1.5rem;
}

.pricing-card__from {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-sky-accessible);
  line-height: 1;
}

.pricing-card__features {
  list-style: none;
  width: 100%;
  margin-bottom: 1.75rem;
  text-align: left;
}

.pricing-card__features li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.pricing-card__features li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-sky);
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.pricing__addons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  background-color: var(--color-sky-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
}

.pricing__addons .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--color-sky);
  flex-shrink: 0;
}

.pricing__addons strong {
  color: var(--color-navy);
}

/* ================================
   ABOUT
   ================================ */
.about {
  padding: var(--section-padding);
  background-color: var(--color-white);
}

.about__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.about__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  min-height: 30rem;
}

.about__image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
}

.about__content {
  padding: 3.5rem 3.5rem 3.5rem 4rem;
  background-color: var(--color-bg);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* Scale-in scroll effect */
[data-scroll-effect="scale"] img {
  transition: transform 1.2s ease-out;
}

[data-scroll="out"][data-scroll-effect="scale"] img {
  transform: scale(1.08);
}

[data-scroll="in"][data-scroll-effect="scale"] img {
  transform: scale(1);
}

/* Prevent translateY conflict on scale wrapper */
[data-scroll][data-scroll-effect="scale"] {
  transform: none !important;
}

.about__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sky-accessible);
  margin-bottom: 0.75rem;
}

.about__title {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  color: var(--color-navy);
  margin-bottom: 1.25rem;
}

.about__text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about__highlights {
  list-style: none;
  margin-bottom: 1.75rem;
}

.about__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.about__highlights li:last-child {
  border-bottom: none;
}

.about__highlights .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--color-sky);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about__stats {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about__stat {
  flex: 1;
  text-align: center;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--color-border);
}

.about__stat:last-child {
  border-right: none;
}

.about__stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-sky-accessible);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about__stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--color-white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-card__stars .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--color-star);
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.72;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.25rem;
}

.testimonial-card__author {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

/* ================================
   CONTACT
   ================================ */
.contact {
  padding: 0 0 5rem;
  background-color: var(--color-bg);
}

/* Sky blue angled band at the top of the contact section */
.contact__band {
  height: 9rem;
  background: linear-gradient(
    150deg,
    var(--color-sky) 0%,
    var(--color-sky-dark) 100%
  );
  margin-bottom: -4.5rem;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact__card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-contact);
  padding: 3rem;
}

.contact__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sky-accessible);
  margin-bottom: 0.625rem;
}

.contact__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--color-navy);
  margin-bottom: 0.875rem;
}

.contact__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.contact__detail {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

.contact__detail:hover {
  color: var(--color-sky);
  text-decoration: none;
}

.contact__detail .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--color-sky);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* SERVICE AREA CHIPS */
.service-area__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.service-area__label .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--color-sky);
}

.service-area__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-area__chips li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-sky-accessible);
  background-color: var(--color-sky-light);
  border: 1px solid rgba(74, 179, 232, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.875rem;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-form__field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
}

.contact-form__field label span[aria-hidden] {
  color: var(--color-sky);
  margin-left: 0.125rem;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #9EB3C5;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
  border-color: var(--color-sky-accessible);
  box-shadow: none;
}

.contact-form__field input[aria-invalid="true"],
.contact-form__field select[aria-invalid="true"],
.contact-form__field textarea[aria-invalid="true"] {
  border-color: #e84545;
  box-shadow: 0 0 0 3px rgba(232, 69, 69, 0.12);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath fill='none' stroke='%231A2E44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 0.75rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 1.5rem 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.375rem;
}

.site-footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.site-footer__location {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.site-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.site-footer__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer__list a:hover {
  color: var(--color-sky);
  text-decoration: none;
}

.site-footer__list .material-symbols-outlined {
  font-size: 1rem;
  color: var(--color-sky);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__bottom a {
  color: var(--color-sky);
}

.site-footer__bottom a:hover {
  color: var(--color-white);
  text-decoration: none;
}

/* ================================
   SCROLLOUT ANIMATIONS
   ================================ */
[data-scroll] {
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

[data-scroll="in"] {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll="out"] {
  opacity: 0;
  transform: translateY(40px);
}

/* ================================
   RESPONSIVE — 1024px
   ================================ */
@media (max-width: 1024px) {
  .service-row {
    grid-template-columns: 14rem 1fr;
    gap: 1.75rem;
  }

  .about__wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about__image-wrap {
    min-height: 22rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .about__content {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 2.5rem 2rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ================================
   RESPONSIVE — 768px
   ================================ */
@media (max-width: 768px) {
  .hero__title {
    font-size: 2.25rem;
  }

  /* On narrow screens the image gradient fades too aggressively — use solid */
  .hero__background::after {
    background: rgba(255, 255, 255, 0.95);
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .service-row__meta {
    align-items: center;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .contact__card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2.5rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================
   RESPONSIVE — 480px
   ================================ */
@media (max-width: 480px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  /* Prevent full-width submit button from overflowing at 320px */
  .btn--full {
    white-space: normal;
    text-align: center;
  }

  .about__stats {
    flex-direction: column;
  }

  .about__stat {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .about__stat:last-child {
    border-bottom: none;
  }
}

/* ================================
   FORM FEEDBACK
   ================================ */
.form-error {
  display: block;
  font-size: 0.8125rem;
  color: #e84545;
  min-height: 1rem;
}

.form-status {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-sky-accessible);
  text-align: center;
  min-height: 1.5rem;
}

/* ================================
   PREFERS-REDUCED-MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
