:root {
  --blue: #1293e7;
  --dark-blue: #003b73;
  --sky: #63c7ff;
  --white: #ffffff;
  --bg: #f4faff;
  --text: #1f2937;
  --muted: #64748b;
  --shadow: 0 24px 80px rgba(18, 147, 231, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, rgba(99, 199, 255, 0.18), transparent 38%), var(--bg);
  color: var(--text);
  line-height: 1.72;
  overflow-x: hidden;
  animation: pageLoadFadeIn 0.5s ease-out forwards;
  text-rendering: optimizeLegibility;
}

main {
  animation: pageLoadSlideUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes pageLoadFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pageLoadSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 147, 231, 0.12);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header.shrink {
  padding: 10px 0;
  box-shadow: 0 20px 60px rgba(18, 147, 231, 0.14);
}

.header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
}

.brand__logo {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.brand__name {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark-blue);
}

.brand__tag {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: var(--blue);
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.nav a {
  position: relative;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.nav.nav-open {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.95);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: left center;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header__cta {
  display: flex;
}

.button {
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 14px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button--primary {
  background: var(--dark-blue);
  color: var(--white);
  box-shadow: 0 18px 30px rgba(0, 59, 115, 0.14);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 80px rgba(18, 147, 231, 0.32);
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
}

.button--secondary {
  background: rgba(18, 147, 231, 0.12);
  color: var(--dark-blue);
}

.button--secondary:hover {
  background: rgba(18, 147, 231, 0.18);
  box-shadow: 0 18px 40px rgba(18, 147, 231, 0.18);
}

.button--ghost {
  background: rgba(255,255,255,0.98);
  color: var(--dark-blue);
  border: 1px solid rgba(18, 147, 231, 0.18);
}

.button--quote {
  width: 100%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  display: flex;
  align-items: center;
  padding: clamp(36px, 5vh, 58px) 0 clamp(44px, 6vh, 70px);
  overflow: hidden;
  isolation: isolate;
  background: #101820;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1s ease-in-out;
  filter: brightness(1.05) contrast(1.04) saturate(1.03);
  z-index: 0;
}

.hero-bg::before,
.hero-bg::after {
  display: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.hero-bg--1 {
  background-image: url('../images/hero-bg 3.jpg');
}

.hero-bg--active {
  opacity: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual-panel {
  position: relative;
  width: 100%;
  max-width: 620px;
}

.hero__visual-panel img {
  width: 100%;
  height: auto;
  border-radius: 34px;
  box-shadow: 0 40px 90px rgba(18, 147, 231, 0.12);
}

.hero__visual-cta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -26px;
  display: flex;
  gap: 16px;
  justify-content: center;
  width: calc(100% - 40px);
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18,147,231,0.14);
  border-radius: 999px;
  box-shadow: 0 28px 80px rgba(18, 147, 231, 0.12);
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px 28px;
  width: min(820px, 100%);
  margin: clamp(26px, 4vh, 36px) auto 0;
}

.hero__badges article {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(0, 59, 115, 0.72);
  box-shadow: 0 10px 26px rgba(0, 59, 115, 0.22);
  backdrop-filter: blur(8px);
  text-align: left;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  margin-top: 2px;
}

.badge-text {
  min-width: 0;
}

.hero__badges strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__badges p {
  margin: 0;
  color: var(--white);
  font-size: 0.8rem;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero__copy {
  max-width: 920px;
  padding: 28px 30px 30px;
  margin: 0 auto;
  border-radius: 0 28px 28px 0;
  background: transparent;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.45rem, 3.55vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--white);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.34);
}

.hero-title-line {
  display: block;
}

.section-head h2,
.feature-block__content h2,
.contact h2,
.why-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 18px 0 20px;
}

.hero p {
  max-width: 620px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero__service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  max-width: 720px;
  margin: 16px auto 0;
}

.hero__service-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(0, 59, 115, 0.72);
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 10px 26px rgba(0, 59, 115, 0.22);
  backdrop-filter: blur(8px);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 22px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 16px 0;
  color: var(--dark-blue);
  font-weight: 600;
}

.glass-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(18, 147, 231, 0.14);
  box-shadow: 0 28px 60px rgba(18, 147, 231, 0.09);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  padding: 28px;
}

.hero__form {
  margin-top: 40px;
}

.form-header h2 {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
}

.form-header p {
  margin: 10px 0 22px;
  color: var(--muted);
}

.quote-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text);
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  border: 1px solid rgba(18,147,231,0.18);
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(99, 199, 255, 0.22);
}

.section {
  padding: clamp(76px, 8vw, 108px) 0;
  background: transparent;
}

.about-highlight .container {
  width: 100%;
  max-width: none;
  padding: 0 20px;
}

.about-panel {
  background: rgba(255,255,255,0.95);
  border-radius: 30px;
  padding: 48px 44px 44px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-panel .eyebrow {
  color: #0b70c2;
  font-style: italic;
  border-bottom: 2px solid rgba(11,112,194,0.25);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.about-panel h2 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-blue);
  font-size: clamp(2.35rem, 4.4vw, 3.25rem);
  line-height: 1.02;
  margin: 12px auto 28px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 920px;
  text-wrap: balance;
  background: linear-gradient(90deg, var(--blue), var(--dark-blue), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 28px rgba(18, 147, 231, 0.12);
}

.about-panel p {
  margin: 0 auto 22px;
  color: rgba(31,41,55,0.82);
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 820px;
  text-wrap: pretty;
}

.highlight-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.highlight-buttons .button {
  min-width: 232px;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.section-head p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.services-grid,
.before-after__grid,
.reviews-grid,
.why-grid,
.gallery-grid,
.areas-grid,
.stats-grid,
.process-grid {
  display: grid;
  gap: 24px;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services-list {
  display: grid;
  gap: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(18,147,231,0.08);
  transform: translateZ(0);
  will-change: transform;
}

/* Alternate layout - image left, text right for odd rows */
.service-row:nth-child(odd) {
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
}

.service-row__text {
  display: grid;
  gap: 18px;
  align-content: center;
}

.service-row__text span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(18, 147, 231, 0.12);
  color: var(--blue);
  font-size: 1.3rem;
}

.service-row__text h3 {
  margin: 0;
  color: var(--dark-blue);
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  line-height: 1.12;
  text-wrap: balance;
}

.service-row__text p {
  margin: 0;
  color: rgba(31,41,55,0.82);
  line-height: 1.78;
  max-width: 760px;
  text-wrap: pretty;
}

.service-row__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

@media (max-width: 980px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-row__image img {
    height: 220px;
  }
}

@media (max-width: 620px) {
  .service-row {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .service-row__image img {
    height: 180px;
  }
}

/* Categorized Services Section */
.services-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
  background: linear-gradient(135deg, rgba(18, 147, 231, 0.06), rgba(99, 199, 255, 0.08));
  border-radius: 32px;
  padding: 48px;
  border: 1px solid rgba(18, 147, 231, 0.12);
}

.services-category {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.category-heading {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-list li {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.category-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.6rem;
  font-weight: 900;
}

.category-list li:hover {
  color: var(--blue);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .services-categories {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 24px;
  }

  .category-heading {
    font-size: 1.35rem;
  }

  .category-list li {
    font-size: 0.95rem;
  }
}

.service-card {
  background: var(--white);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18,147,231,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 80px rgba(18, 147, 231, 0.16);
  border-color: rgba(18,147,231,0.18);
}

.service-card span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: rgba(18, 147, 231, 0.12);
  color: var(--blue);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--dark-blue);
  line-height: 1.2;
  text-wrap: balance;
}

.service-card p,
.why-card p,
.review-card p,
.contact-cards p,
.map-panel p,
.feature-block__content p {
  line-height: 1.76;
  text-wrap: pretty;
}

.feature-block__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 58px);
  align-items: center;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(34px, 5vw, 58px);
  align-items: center;
}

.feature-block__media img {
  border-radius: var(--radius);
  height: 100%;
  object-fit: cover;
}

.feature-block__video {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  background: #0b537f;
  box-shadow: var(--shadow);
}

.feature-block__content h2 {
  margin-bottom: 18px;
  max-width: 760px;
  text-wrap: balance;
}

.feature-block.alt .feature-block__row {
  grid-template-columns: 1fr 1fr;
}

.before-after__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.before-after__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.before-after__card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 147, 231, 0.08);
}

.before-after__card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.before-after__card:hover img {
  transform: scale(1.03);
}

.before-after__label {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(0, 59, 115, 0.82);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.comparison-slider {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 22px;
  border: 1px solid rgba(18, 147, 231, 0.08);
}

.comparison-slider__label {
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark-blue);
  font-size: 1.1rem;
}

.comparison-slider__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  user-select: none;
}

.comparison-slider__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-slider__image.before {
  width: 50%;
  clip-path: inset(0 0 0 0); /* This will be updated by JS */
  z-index: 2;
}

.comparison-slider__handle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

/* Custom Handle Visual */
.comparison-slider__wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--handle-pos, 50%);
  width: 3px;
  background: var(--white);
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-slider__wrapper::before {
  content: '↔';
  position: absolute;
  top: 50%;
  left: var(--handle-pos, 50%);
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border: 4px solid var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  z-index: 6;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.comparison-slider__overlay {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(0, 59, 115, 0.7);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 7;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.comparison-slider__overlay.before {
  left: 16px;
}

.comparison-slider__overlay.after {
  right: 16px;
}

.reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.review-card p {
  margin: 0 0 24px;
  color: rgba(31,41,55,0.82);
}

.review-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.review-meta strong {
  font-weight: 700;
}

.stars {
  color: #f5b301;
  font-size: 1.05rem;
}

.stats {
  background: rgba(99, 199, 255, 0.14);
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 52px) 0;
  margin: 32px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stats-grid div {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.95);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.stats-grid strong {
  display: block;
  font-size: 2.5rem;
  color: var(--dark-blue);
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(18, 147, 231, 0.14);
}

.why-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--dark-blue);
  line-height: 1.25;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid img {
  border-radius: 28px;
  object-fit: cover;
  height: 280px;
  transition: transform 0.35s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.service-areas {
  background: rgba(244, 250, 255, 0.9);
  border-radius: var(--radius);
  padding: clamp(48px, 6vw, 68px) 0 32px;
}

.areas-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(18, 147, 231, 0.06);
  border-radius: 24px;
  padding: 26px;
}

.areas-grid div {
  padding: 20px 18px;
  border-radius: 18px;
  background: var(--white);
  text-align: center;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(18, 147, 231, 0.08);
}

.map-panel {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(99, 199, 255, 0.16), rgba(255,255,255,0.98));
  border-radius: 28px;
  padding: clamp(28px, 4vw, 42px);
}

.map-panel h3 {
  margin-top: 0;
  color: var(--dark-blue);
  line-height: 1.2;
}

.contact .two-column {
  gap: clamp(34px, 5vw, 58px);
}

.contact-cards {
  display: grid;
  gap: 20px;
}

.contact-photo {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18,147,231,0.08);
}

.contact-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.contact-cards div {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18,147,231,0.08);
}

.contact-cards h3 {
  margin: 0 0 10px;
  color: var(--dark-blue);
  line-height: 1.2;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 600;
  line-height: 1.5;
}

.form-status--success {
  color: #067647;
}

.form-status--error {
  color: #b42318;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.thank-you-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 84px 0;
}

.thank-you-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 59, 115, 0.88), rgba(18, 147, 231, 0.45)),
    url('../images/driveway-after.jpg') center / cover no-repeat;
  transform: scale(1.02);
}

.thank-you-hero__inner {
  position: relative;
  z-index: 1;
}

.thank-you-card {
  max-width: 720px;
  color: var(--white);
}

.thank-you-card__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 22px 54px rgba(0, 59, 115, 0.28);
}

.thank-you-card .eyebrow,
.thank-you-card h1,
.thank-you-card p {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.thank-you-card h1 {
  max-width: 680px;
  margin: 12px 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.thank-you-card p {
  max-width: 600px;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.thank-you-actions .button--secondary {
  background: rgba(255, 255, 255, 0.94);
}

.site-footer {
  background: linear-gradient(180deg, #003b73, #0b537f);
  color: rgba(255,255,255,0.92);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px);
}

.footer-brand {
  gap: 14px;
}

.site-footer .brand__name {
  color: var(--white);
}

.site-footer .brand__tag {
  color: var(--sky);
}

.site-footer h4 {
  margin: 0 0 18px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,0.92);
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 34px;
  color: rgba(255,255,255,0.68);
}

.sticky-call,
.sticky-estimate {
  position: fixed;
  right: 16px;
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 30px 70px rgba(18, 147, 231, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.sticky-call:hover,
.sticky-estimate:hover {
  transform: translateY(-2px);
  box-shadow: 0 36px 90px rgba(18, 147, 231, 0.35);
}

.sticky-call {
  bottom: 96px;
}

.sticky-estimate {
  bottom: 20px;
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-toggle {
  display: none;
  border: none;
  background: rgba(18,147,231,0.1);
  color: var(--dark-blue);
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

@media screen and (max-width: 1024px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero::after {
    background: transparent;
  }
}

@media screen and (min-width: 861px) and (max-height: 760px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 3.25vw, 3.45rem);
  }

  .hero__service-tags {
    margin-top: 12px;
  }

  .hero__badges {
    margin-top: 24px;
    gap: 18px 26px;
  }
}

@media screen and (max-width: 860px) {
  .header__inner,
  .container {
    width: min(100%, calc(100% - 28px));
  }
  .nav {
    display: none;
    gap: 18px;
  }
  .nav.nav-open {
    display: flex;
  }
  .hero {
    min-height: calc(100vh - 112px);
    min-height: calc(100svh - 112px);
    padding-top: 44px;
    padding-bottom: 58px;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 5.5vw, 3.1rem);
  }
  .hero__badges {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
    gap: 14px;
  }
  .hero__badges article {
    justify-content: center;
  }
  .hero__form,
  .two-column,
  .feature-block__row,
  .process-grid,
  .stats-grid,
  .gallery-grid,
  .areas-grid,
  .contact .two-column,
  .footer-grid {
    display: block;
  }
  .feature-block__content,
  .contact .two-column > div,
  .footer-grid > div {
    margin-bottom: 28px;
  }
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid img {
    height: 220px;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .hero,
  .section {
    padding-left: 0;
    padding-right: 0;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .container {
    width: min(100%, calc(100% - 20px));
  }

  .header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand__logo {
    height: 56px;
    flex: 0 0 auto;
  }

  .brand > div {
    min-width: 0;
  }

  .brand__name {
    font-size: 0.9rem;
  }

  .brand__tag {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .header__cta {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }

  .header__cta .button {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .mobile-nav-toggle {
    order: 2;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .nav.nav-open {
    grid-column: 1 / -1;
    order: 4;
    width: 100%;
    border-radius: 16px;
  }

  .nav {
    gap: 14px;
  }

  .hero {
    min-height: calc(100vh - 118px);
    min-height: calc(100svh - 118px);
    padding: 34px 0 92px;
  }

  .hero-bg {
    background-position: center;
  }

  .hero::after {
    background: transparent;
  }

  .hero__copy {
    margin-left: 0;
    padding: 22px 16px 24px;
    border-radius: 20px;
    background: transparent;
  }

  .hero-bg--1 {
    background-image: url('../images/hero-bg 3.jpg');
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9.6vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .hero-title-line {
    display: inline;
  }

  .why-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero__service-tags {
    gap: 8px;
    max-width: 100%;
    margin-top: 12px;
  }

  .hero__badges {
    margin-top: 22px;
  }

  .hero__service-tags span {
    max-width: 100%;
    padding: 8px 12px;
    font-size: 0.9rem;
    white-space: normal;
  }

  .about-panel {
    padding: 34px 18px;
    border-radius: 22px;
  }

  .about-panel h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
    letter-spacing: 0.05em;
    line-height: 1.08;
    margin-bottom: 22px;
  }

  .about-panel p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .highlight-buttons .button {
    min-width: 0;
  }

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

  .section-head h2,
  .feature-block__content h2,
  .contact h2,
  .why-hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .feature-block__row,
  .two-column {
    gap: 24px;
  }

  .service-card,
  .why-card,
  .review-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .services-categories,
  .map-panel,
  .areas-grid {
    border-radius: 22px;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid,
  .before-after__grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .areas-grid {
    grid-template-columns: 1fr;
  }
  .hero__buttons {
    flex-direction: column;
    width: 100%;
  }
  .button {
    width: 100%;
  }
  .sticky-call,
  .sticky-estimate {
    display: none;
  }
}

@media screen and (max-width: 380px) {
  .brand__logo {
    height: 48px;
  }

  .brand__name {
    font-size: 0.82rem;
  }

  .brand__tag {
    font-size: 0.5rem;
  }

  .header__cta .button {
    font-size: 0.9rem;
  }

  .hero h1,
  .why-hero h1 {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }
}

/* Scroll Fade Up Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Octagon Process Section */
.process-octagons-section {
  text-align: center;
}

.octagon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
}

.octagon-item {
  aspect-ratio: 1;
  background: #0076ce;
  color: var(--white);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10% 12%;
  box-sizing: border-box;
}

.octagon-item:nth-child(4) {
  grid-column: 1 / 2;
}

.octagon-item .step-num {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.octagon-item h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
}

.octagon-item p {
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 800px) {
  .octagon-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
  .octagon-item:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 500px) {
  .octagon-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

/* Values Grid Section (Squares) */
.values-section {
  text-align: center;
  padding: 88px 0; /* Adding the standard section padding */
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.value-card {
  aspect-ratio: 1;
  background: var(--blue);
  color: #ffffff;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10% 12%;
  box-sizing: border-box;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 10px 20px rgba(18, 147, 231, 0.15));
}

.value-card:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 18px 30px rgba(18, 147, 231, 0.3));
}

.value-card h3 {
  font-size: 1.3rem;
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
}

.value-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
  }
}

@media (max-width: 500px) {
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}

/* Structural Polish */
.hero-center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center .eyebrow {
  justify-content: center;
  margin-bottom: 12px;
}

.hero-center p {
  margin-left: auto;
  margin-right: auto;
}

.hero-center .hero__buttons {
  justify-content: center;
  margin-top: 24px;
}

.why-hero--photo {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 44, 85, 0.72), rgba(0, 59, 115, 0.62)), url('../images/whyus-roof.jpg') center / cover no-repeat;
}

.why-hero--photo .eyebrow,
.why-hero--photo h1,
.why-hero--photo p {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

@media screen and (max-width: 640px) {
  .why-hero--photo {
    min-height: auto;
    padding: 64px 0 84px;
  }

  .hero-center {
    text-align: left;
    align-items: stretch;
  }

  .hero-center .eyebrow {
    justify-content: flex-start;
  }

  .hero-center .hero__buttons {
    margin-top: 20px;
  }
}
