* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #111111;
}

a {
  text-decoration: none;
}

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 30;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e7e7e7;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  width: min(1380px, calc(100% - 56px));
  min-height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: min-height 0.25s ease;
}

.site-header.scrolled .header-inner {
  min-height: 104px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.logo {
  height: 112px;
  width: auto;
  object-fit: contain;
  background: transparent;
  transition: height 0.25s ease;
}

.site-header.scrolled .logo {
  height: 98px;
}

.nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav a {
  color: #111111;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: #1f5fbf;
  transform: translateY(-1px);
}

.nav-item {
  position: relative;
}


.services-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 18px;
}


.services-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.services-link::after {
  content: "▾";
  font-size: 12px;
  line-height: 1;
  margin-top: 1px;
}

.services-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 270px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.10);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.services-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
}

.services-menu a:hover {
  background: #f3f6fb;
  color: #1f5fbf;
  transform: none;
}

.services-dropdown:hover .services-menu,
.services-dropdown:focus-within .services-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* HERO */
.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: #000000;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.35) contrast(1.15) brightness(1.08);
  transform: scale(1.02);
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.06);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.05)),
    linear-gradient(to top, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.01));
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
}

.hero-copy {
  position: absolute;
  left: 0;
  bottom: 24px;
  max-width: 560px;
}

.slogan-box {
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.slogan-box h1 {
  margin: 0 0 12px;
  font-size: 46px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.slogan-box p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero-services-primary {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: #ffffff;
}

.hero-services-secondary {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta-subtext {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-cta-wrap {
  position: absolute;
  right: 120px;
  bottom: 44px;
}

.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: #1f5fbf;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 95, 191, 0.34);
}

.hero-trust {
  position: absolute;
  left: 0;
  bottom: -62px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* GENERAL WIDTH */
.section-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* MERGED SERVICES */
.services-showcase {
  padding: 108px 0 80px;
  background: #ffffff;
}

.services-showcase h2,
.dark-section h2,
.why-us h2,
.before-after h2,
.areas h2,
.contact h2 {
  margin: 0 0 28px;
  font-size: 38px;
  line-height: 1.1;
  text-align: center;
}

.services-intro {
  max-width: 860px;
  margin: -8px auto 30px;
  text-align: center;
  color: #4b5563;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}

.service-showcase-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  margin-bottom: 0;
  height: 100%;
}

.compact-service-card {
  min-height: 100%;
}

.compact-service-card .service-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.compact-service-card .mini-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: auto;
}

.services-grid .service-showcase-card:nth-child(7) {
  grid-column: 2;
}

.emergency-card {
  border: 1px solid rgba(200, 30, 30, 0.24);
  box-shadow: 0 12px 28px rgba(31, 95, 191, 0.10);
}

.service-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f5fbf;
}

.emergency-kicker {
  color: #c81e1e;
}

.service-copy h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.15;
}

.service-copy p {
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.7;
  font-size: 15px;
}

.service-copy .service-problem {
  color: #111111;
  font-weight: 700;
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 18px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f6fb;
  color: #1f5fbf;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.emergency-card .service-tags span {
  background: rgba(200, 30, 30, 0.08);
  color: #c81e1e;
}

.mini-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: inline-block;
  background: #111111;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.14);
}

.danger-btn {
  background: #c81e1e;
}

.service-slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f4f6;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 240px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(17,17,17,0.62);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
}

.dot.active {
  background: #ffffff;
}

.red-247 {
  color: #ff2d2d;
}

/* DARK SECTION */
.dark-section {
  padding: 82px 0;
  background: linear-gradient(135deg, #123c8c, #0e2f70);
  color: #ffffff;
}

.dark-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items: center;
}

.dark-copy h2 {
  text-align: left;
  margin-bottom: 18px;
}

.dark-copy p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.dark-stats {
  display: grid;
  gap: 16px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
}

.stat-box strong {
  display: block;
  font-size: 34px;
  margin-bottom: 6px;
}

.stat-box span {
  color: rgba(255, 255, 255, 0.86);
}

/* WHY US */
.why-us {
  padding: 80px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.96)),
    url("about-us-bg.jpg") center center / cover no-repeat;
}

.why-us-intro {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.why-us-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f6fb;
  color: #1f5fbf;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.why-us-copy {
  max-width: 860px;
  margin: 0 auto;
  color: #4b5563;
  line-height: 1.8;
  font-size: 17px;
  text-align: center;
}

.why-trust-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.why-trust-pill {
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.why-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

/* BEFORE AFTER */
.before-after {
  padding: 72px 0;
  background: linear-gradient(135deg, #123c8c, #0e2f70);
  color: #ffffff;
}

.before-after h2 {
  color: #ffffff;
}

.before-after .section-inner {
  width: min(1000px, calc(100% - 48px));
}

.before-after-gallery {
  display: grid;
  gap: 36px;
}

.before-after-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.image-block {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255,255,255,0.12);
}

.image-block h3 {
  margin: 0;
  padding: 16px 18px;
  font-size: 21px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.image-wrap {
  position: relative;
  overflow: hidden;
  background: #000000;
  display: flex;
  justify-content: center;
  padding: 18px;
}

.image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.8s ease;
}

.image-block:hover .image-wrap::after {
  left: 140%;
}

.image-block img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* AREAS */
.areas {
  position: relative;
  padding: 84px 0 80px;
  background: url("assets/section-backgrounds/service-areas.jpg") center center / cover no-repeat;
}

.areas-shell {
  max-width: 1240px;
}

.areas-heading {
  text-align: center;
  margin-bottom: 26px;
}

.areas h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  color: #1f426d;
}

.areas-topline {
  margin: 14px auto 0;
  max-width: 760px;
  padding-top: 14px;
  border-top: 1px solid #d8dde5;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: #35567d;
}

.areas-map-panel {
  position: relative;
  padding: 62px 26px 48px;
  background:
    linear-gradient(rgba(247, 248, 250, 0.12), rgba(247, 248, 250, 0.12)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Greater_Los_Angeles_blank.png/1280px-Greater_Los_Angeles_blank.png") center center / cover no-repeat;
  border-radius: 26px;
  overflow: hidden;
}

.areas-map-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.58);
}

.areas-map-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 1;
  pointer-events: none;
}

.areas-map-fade-left {
  left: 0;
  background: linear-gradient(to right, #f7f8fa 0%, rgba(247, 248, 250, 0) 100%);
}

.areas-map-fade-right {
  right: 0;
  background: linear-gradient(to left, #f7f8fa 0%, rgba(247, 248, 250, 0) 100%);
}

.areas-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.area-box {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d4dbe5;
  border-radius: 16px;
  padding: 18px 24px 20px;
  box-shadow: 0 8px 22px rgba(31, 66, 109, 0.14);
  text-align: center;
}

.area-icon {
  width: 148px;
  height: 88px;
  margin: -52px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-icon svg {
  width: 100%;
  height: 100%;
}

.area-icon svg {
  overflow: visible;
}

.area-icon-la .icon-base,
.area-icon-la .icon-building,
.area-icon-la .icon-tower {
  fill: #4b6588;
}

.area-icon-la .icon-detail {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.95;
}

.area-icon-oc .icon-sun {
  fill: #efb34e;
}

.area-icon-oc .icon-island {
  fill: #4c9e4d;
}

.area-icon-oc .icon-wave {
  fill: none;
  stroke: #2f8fc8;
  stroke-width: 7;
  stroke-linecap: round;
}

.area-icon-oc .icon-trunk {
  fill: none;
  stroke: #8a5a2a;
  stroke-width: 4.5;
  stroke-linecap: round;
}

.area-icon-oc .icon-frond {
  fill: none;
  stroke: #4c9e4d;
  stroke-width: 5.5;
  stroke-linecap: round;
}

.area-icon-extra .icon-pin {
  fill: #5f718b;
}

.area-icon-extra .icon-pin-center {
  fill: #ffffff;
}

.area-icon-extra .icon-range {
  fill: none;
  stroke: #8d99a9;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.area-icon-extra .icon-range-fill {
  fill: #b8c0cb;
}

.area-box h3 {
  margin: 4px 0 10px;
  font-size: 24px;
  line-height: 1.18;
  color: #1f426d;
}

.area-highlight,
.area-note,
.area-list,
.area-service-line {
  margin: 0;
}

.area-highlight {
  color: #394b62;
  font-size: 17px;
  line-height: 1.38;
}

.area-highlight strong {
  color: #225883;
  font-weight: 800;
}

.area-highlight span {
  color: #4d5563;
  font-size: 16px;
}

.area-divider {
  height: 1px;
  background: #d8dde5;
  margin: 14px 0;
}

.area-label {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #253d60;
}

.area-list {
  color: #394b62;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.area-note {
  color: #4d5563;
  font-size: 16px;
  line-height: 1.5;
  min-height: 48px;
}

.area-service-line {
  margin-top: auto;
  color: #2c567e;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.area-service-spacer {
  visibility: hidden;
}

.areas-base-line {
  margin: 22px 0 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  color: #394b62;
}

.areas-base-line strong {
  color: #253d60;
}

.areas-cta-block {
  max-width: 660px;
  margin: 26px auto 0;
  padding-top: 24px;
  border-top: 1px solid #d8dde5;
  text-align: center;
}

.areas-cta-block h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
  color: #1f426d;
}

.areas-cta-block p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.6;
  color: #394b62;
  font-style: italic;
}

.areas-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 306px;
  min-height: 62px;
  padding: 14px 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2f91e9 0%, #0d5ba7 100%);
  box-shadow: 0 10px 20px rgba(13, 91, 167, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
}

.areas-cta-btn:hover {
  transform: translateY(-1px);
}

/* CONTACT */
.contact {
  position: relative;
  padding: 34px 0 38px;
  background: #ffffff;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/section-backgrounds/contact-section.jpg") center center / cover no-repeat;
  opacity: 0.22;
  z-index: 0;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.62);
  z-index: 0;
}

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

.contact-subtext {
  margin: -4px auto 16px;
  max-width: 760px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #edf7ed;
  border: 1px solid #b7dfb8;
  color: #185b1d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.form-success.show {
  display: grid;
  gap: 6px;
}

.form-success strong {
  font-size: 16px;
}

.form-success span {
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 12px 16px;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.96);
}

.contact-form textarea {
  min-height: 118px;
  line-height: 1.5;
  resize: vertical;
}

#type-of-work option.water-damage-option {
  color: #d60000;
  font-weight: 700;
}

#type-of-work.water-damage-selected {
  color: #d60000;
  font-weight: 700;
}

.project-type-group,
.roof-type-group {
  margin: 2px 0 10px;
}

.project-type-group label,
.roof-type-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.project-type-options,
.roof-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-type-chip,
.roof-type-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.project-type-chip input,
.roof-type-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-type-chip span,
.roof-type-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111111;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.project-type-chip.selected span,
.project-type-chip input:checked + span,
.roof-type-chip.selected span,
.roof-type-chip input:checked + span {
  background: #1f5fbf;
  border-color: #1f5fbf;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 95, 191, 0.18);
}

.project-type-error {
  display: none;
  margin-top: 10px;
  color: #c81e1e;
  font-size: 14px;
  font-weight: 700;
}

.project-type-error.show {
  display: block;
}

.project-type-invalid .project-type-chip span {
  border-color: #c81e1e;
}

.checkbox-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 2px 0 12px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.checkbox-row label {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.contact-form label[for="message"] {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-privacy-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
}

.form-privacy-note a {
  color: #1f5fbf;
  font-weight: 700;
  text-decoration: underline;
}

.submit-btn {
  border: none;
  background: #111111;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

/* FOOTER */
.site-footer {
  background: #0c0c0c;
  color: #ffffff;
  padding: 40px 20px;
}

.footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-col p,
.footer-col a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

/* FLOATING CALL BUTTON */
.call-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  background: #1f5fbf;
  color: #ffffff;
  padding: 18px 24px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  animation: callPulse 2.8s ease-in-out infinite;
}

@keyframes callPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 14px 30px rgba(31, 95, 191, 0.32);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  }
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .header-inner {
    min-height: 118px;
  }

  .logo {
    height: 96px;
  }

  .hero {
    height: 620px;
  }

  .slogan-box h1 {
    font-size: 38px;
  }

  .hero-cta-wrap {
    right: 40px;
    bottom: 42px;
  }
}

@media (max-width: 900px) {
  .hero {
    height: 620px;
  }

  .hero-content {
    width: min(1200px, calc(100% - 32px));
  }

  .hero-copy {
    left: 0;
    right: 0;
    bottom: 92px;
    max-width: 520px;
  }

  .hero-cta-wrap {
    left: 0;
    right: 0;
    bottom: 32px;
    text-align: center;
  }

  .hero-trust {
    position: static;
    margin-top: 18px;
    justify-content: flex-start;
  }

  .service-showcase-card,
  .before-after-grid,
  .why-grid,
  .areas-grid,
  .footer-inner,
  .form-row {
    grid-template-columns: 1fr;
  }

  .slider-track {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .project-type-options,
  .roof-type-options {
    gap: 8px;
  }

  .why-us-copy {
    font-size: 16px;
  }

  .why-trust-row {
    gap: 10px;
  }

  .why-trust-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .project-type-chip,
  .roof-type-chip {
    width: 100%;
  }

  .project-type-chip span,
  .roof-type-chip span {
    width: 100%;
  }

  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: 122px;
    width: min(1200px, calc(100% - 24px));
    padding: 12px 0;
  }

  .logo {
    height: 76px;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    height: 600px;
  }

  .hero-copy {
    bottom: 100px;
    max-width: none;
  }

  .slogan-box {
    padding: 20px 18px;
  }

  .slogan-box h1 {
    font-size: 31px;
  }

  .slogan-box p {
    font-size: 15px;
  }

  .services-showcase,
  .why-us,
  .before-after,
  .areas,
  .contact,
  .dark-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .services-showcase h2,
  .dark-section h2,
  .why-us h2,
  .before-after h2,
  .areas h2,
  .contact h2 {
    font-size: 31px;
  }

  .service-copy h3 {
    font-size: 26px;
  }

  .call-button {
    right: 14px;
    bottom: 14px;
    padding: 14px 18px;
  }
}

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

  .services-grid .service-showcase-card:nth-child(7) {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .header-inner {
    width: min(1380px, calc(100% - 28px));
    min-height: 104px;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .services-menu {
    left: 0;
    transform: translateX(0);
    min-width: 240px;
  }

  .services-dropdown:hover .services-menu,
  .services-dropdown:focus-within .services-menu {
    transform: translateX(0) translateY(0);
  }

  .hero {
    height: 640px;
  }

  .hero-content {
    width: min(1380px, calc(100% - 28px));
  }

  .hero-copy {
    max-width: 100%;
    right: 0;
    bottom: 116px;
  }

  .slogan-box h1 {
    font-size: 38px;
  }

  .hero-cta-wrap {
    right: auto;
    left: 0;
    bottom: 48px;
  }

  .hero-trust {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 18px;
  }
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 98px;
  }

  .logo {
    height: 92px;
  }

  .nav {
    gap: 14px 16px;
  }

  .nav a,
  .services-menu a {
    font-size: 13px;
  }

  .services-menu {
    position: absolute;
    top: calc(100% + 10px);
    min-width: 220px;
    max-width: calc(100vw - 32px);
  }

  .section-inner {
    width: min(1200px, calc(100% - 24px));
  }

  .before-after .section-inner {
    width: min(1000px, calc(100% - 24px));
  }

  .services-showcase {
    padding: 92px 0 72px;
  }

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

  .slider-track {
    height: 220px;
  }

  .service-copy h3 {
    font-size: 24px;
  }

  .hero {
    height: 600px;
  }

  .hero-copy {
    bottom: 142px;
  }

  .slogan-box {
    padding: 20px 20px;
  }

  .slogan-box h1 {
    font-size: 32px;
  }

  .slogan-box p {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-cta-wrap {
    bottom: 58px;
    right: auto;
    left: 0;
  }

  .why-grid,
  .before-after-grid,
  .areas-grid,
  .footer-inner,
  .dark-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .before-after-pair {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 1180px) {
  .areas-grid {
    grid-template-columns: 1fr;
    max-width: 430px;
    margin: 0 auto;
  }

  .areas-map-panel {
    padding-top: 54px;
  }
}

@media (max-width: 767px) {
  .areas {
    padding: 72px 0;
  }

  .areas h2 {
    font-size: 34px;
  }

  .areas-topline {
    font-size: 15px;
  }

  .areas-map-panel {
    padding: 46px 14px 34px;
    border-radius: 20px;
  }

  .area-box {
    padding: 16px 18px 18px;
  }

  .area-box h3 {
    font-size: 22px;
  }

  .area-highlight,
  .area-list {
    font-size: 16px;
  }

  .areas-base-line {
    font-size: 17px;
  }

  .areas-cta-block h3 {
    font-size: 24px;
  }

  .areas-cta-btn {
    min-width: 100%;
    font-size: 20px;
  }
}

/* SERVICE DETAIL PAGES */
.service-page-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #000000;
}

.service-page-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.08) brightness(0.92);
}

.service-page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.20));
}

.service-page-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
  padding: 140px 0 72px;
}

.service-page-box {
  max-width: 620px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 28px 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.service-page-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.service-page-box h1 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 48px;
  line-height: 1.05;
}

.service-page-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.7;
  font-size: 16px;
}

.service-page-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.service-page-section {
  padding: 72px 0 84px;
  background: #ffffff;
}

.service-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-page-card {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.service-page-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
}

.service-page-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .service-page-content {
    min-height: 560px;
    padding: 132px 0 56px;
  }

  .service-page-hero {
    min-height: 560px;
  }

  .service-page-box h1 {
    font-size: 38px;
  }

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

@media (max-width: 640px) {
  .services-dropdown::after {
    display: none;
  }

  .service-page-box {
    padding: 24px 22px;
  }

  .service-page-box h1 {
    font-size: 32px;
  }

  .service-page-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Footer polish */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  align-items: start;
}

.footer-col:first-child p {
  line-height: 1.7;
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col h4 {
  margin-bottom: 14px;
}

.footer-col p + p,
.footer-col a + a {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .footer-col:first-child {
    text-align: center;
  }
}


.footer-contact-group p {
  margin: 0 0 6px;
}

.cslb-line {
  margin-top: 18px;
  opacity: 0.85;
}


#services,
#before-after,
#areas,
#contact {
  scroll-margin-top: 140px;
}

#contact {
  scroll-margin-top: 120px;
}

#financing-hero {
  scroll-margin-top: 80px;
}


/* SECONDARY PAGES */
.secondary-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f244b;
}

.secondary-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.15) contrast(1.06) brightness(0.70);
}

.secondary-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8, 16, 32, 0.72), rgba(8, 16, 32, 0.34)),
    linear-gradient(to top, rgba(8, 16, 32, 0.40), rgba(8, 16, 32, 0.12));
}

.secondary-hero .section-inner {
  position: relative;
  z-index: 2;
  padding: 122px 0 78px;
}

.secondary-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.secondary-hero h1 {
  margin: 0 0 16px;
  max-width: 760px;
  color: #ffffff;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.secondary-hero p {
  margin: 0 0 26px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.7;
}

.secondary-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.secondary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn-primary {
  background: #1f5fbf;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(31, 95, 191, 0.28);
}

.secondary-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.page-section {
  padding: 80px 0;
}

.page-section.alt {
  background: #f7f8fa;
}

.page-section h2 {
  margin: 0 0 22px;
  font-size: 38px;
  line-height: 1.1;
  text-align: center;
}

.page-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #4b5563;
  line-height: 1.8;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.75;
  font-size: 15px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.problem-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.problem-check {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #1f5fbf;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.problem-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.problem-item p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.gallery-card span {
  display: block;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
}

.trust-band {
  padding: 82px 0;
  background: linear-gradient(135deg, #123c8c, #0e2f70);
  color: #ffffff;
}

.trust-band .page-intro {
  color: rgba(255, 255, 255, 0.9);
}

.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.trust-band-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
}

.trust-band-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-band-card span {
  display: block;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.page-cta {
  padding: 84px 0;
  background: #ffffff;
}

.page-cta-shell {
  max-width: 940px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 40px 34px;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.page-cta-shell h2 {
  margin: 0 0 12px;
}

.page-cta-shell p {
  margin: 0 auto 24px;
  max-width: 720px;
  color: #4b5563;
  line-height: 1.8;
}

.blog-hero {
  min-height: 390px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-featured-image {
  margin-bottom: 32px;
}

.post-featured-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px;
}

.blog-meta {
  margin: 0 0 10px;
  color: #1f5fbf;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.25;
}

.blog-card p {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.75;
  font-size: 15px;
}

.blog-card .mini-btn {
  margin-top: auto;
  align-self: flex-start;
}

.blog-note {
  max-width: 860px;
  margin: 28px auto 0;
  text-align: center;
  color: #4b5563;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .feature-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .problem-grid,
  .feature-grid,
  .gallery-grid,
  .blog-grid,
  .trust-band-grid {
    grid-template-columns: 1fr;
  }

  .secondary-hero h1 {
    font-size: 40px;
  }

  .secondary-hero p {
    font-size: 17px;
  }

  .secondary-hero .section-inner {
    padding: 118px 0 72px;
  }
}

@media (max-width: 640px) {
  .secondary-hero {
    min-height: 420px;
  }

  .secondary-hero h1 {
    font-size: 33px;
  }

  .page-section h2,
  .page-cta-shell h2 {
    font-size: 31px;
  }

  .page-section,
  .page-cta,
  .trust-band {
    padding: 72px 0;
  }

  .gallery-card img,
  .blog-card img {
    height: 210px;
  }
}


.gallery-card[hidden] {
  display: none !important;
}


.footer-hours {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}

.footer-emergency-note {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}


/* === Motion & interaction polish === */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-showcase-card,
.feature-card,
.problem-item,
.gallery-card,
.blog-card,
.page-cta-shell,
.footer-col,
.trust-pill,
.trust-band-card,
.stat-box,
.secondary-btn,
.btn,
.mini-btn,
.submit-btn {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease;
}

.service-showcase-card:hover,
.feature-card:hover,
.problem-item:hover,
.blog-card:hover,
.page-cta-shell:hover,
.trust-band-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.service-showcase-card:hover {
  border-color: rgba(31, 95, 191, 0.22);
}

.service-showcase-card:hover .slide.active {
  transform: scale(1.035);
}

.service-showcase-card:hover .service-tags span {
  background: #eaf1fd;
}

.emergency-card:hover {
  border-color: rgba(200, 30, 30, 0.32);
  box-shadow: 0 16px 34px rgba(200, 30, 30, 0.10);
}

.slide {
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.gallery-card,
.blog-card {
  position: relative;
}

.gallery-card::after,
.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.12), rgba(17, 17, 17, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-card:hover::after,
.blog-card:hover::after {
  opacity: 1;
}

.gallery-card img,
.blog-card img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-card:hover img,
.blog-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.03) contrast(1.02);
}

.gallery-card.is-lightbox-ready {
  cursor: zoom-in;
}

.site-header {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header.scrolled {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.btn-primary,
.secondary-btn-primary,
.submit-btn {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.secondary-btn-primary::after,
.submit-btn::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 34%;
  height: 340%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.26), rgba(255,255,255,0));
  transform: rotate(18deg);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.btn-primary:hover::after,
.secondary-btn-primary:hover::after,
.submit-btn:hover::after {
  transform: translateX(340%) rotate(18deg);
}

.submit-btn.is-submitting,
.submit-btn.is-success {
  pointer-events: none;
}

.submit-btn.is-submitting {
  background: #1f5fbf;
  box-shadow: 0 12px 28px rgba(31, 95, 191, 0.28);
}

.submit-btn.is-success {
  background: #157347;
  box-shadow: 0 12px 28px rgba(21, 115, 71, 0.24);
}

.lightbox-open {
  overflow: hidden;
}

.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.site-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.site-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-lightbox-image-wrap {
  position: relative;
  max-width: 100%;
  max-height: calc(100vh - 56px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.site-lightbox-image {
  display: block;
  max-width: min(1120px, calc(100vw - 80px));
  max-height: calc(100vh - 56px);
  width: auto;
  height: auto;
}

.site-lightbox-close,
.site-lightbox-prev,
.site-lightbox-next {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
}

.site-lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 28px;
}

.site-lightbox-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.site-lightbox-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .site-lightbox {
    padding: 18px;
  }

  .site-lightbox-image {
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 36px);
  }

  .site-lightbox-close,
  .site-lightbox-prev,
  .site-lightbox-next {
    width: 44px;
    height: 44px;
  }

  .site-lightbox-prev {
    left: 10px;
  }

  .site-lightbox-next {
    right: 10px;
  }

  .site-lightbox-close {
    top: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image,
  .reveal-on-scroll,
  .service-showcase-card,
  .feature-card,
  .problem-item,
  .gallery-card,
  .blog-card,
  .page-cta-shell,
  .footer-col,
  .trust-pill,
  .trust-band-card,
  .stat-box,
  .secondary-btn,
  .btn,
  .mini-btn,
  .submit-btn,
  .slide,
  .gallery-card img,
  .blog-card img,
  .site-lightbox,
  .site-lightbox * {
    animation: none !important;
    transition: none !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* FOOTER MATCH UPDATE */
.site-footer {
  background: radial-gradient(circle at top left, rgba(19, 46, 98, 0.14), transparent 28%), #050608;
  color: #ffffff;
  padding: 78px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner.footer-inner-match {
  width: min(1380px, calc(100% - 88px));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(320px, 1fr);
  gap: 84px;
  align-items: start;
}

.footer-brand-col,
.footer-links-col,
.footer-help-col {
  min-width: 0;
}

.footer-brand-link {
  display: inline-flex;
  color: #3f73d9;
  margin-bottom: 18px;
}

.footer-brand-icon {
  width: 136px;
  height: auto;
  display: block;
}

.site-footer h4 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 800;
}

.footer-accent {
  display: block;
  width: 62px;
  height: 4px;
  border-radius: 999px;
  background: #3f73d9;
  margin: 22px 0 26px;
}

.footer-contact-list,
.footer-links,
.footer-hours,
.footer-emergency-note,
.cslb-line {
  color: rgba(255, 255, 255, 0.88);
}

.footer-contact-list p,
.footer-hours,
.footer-emergency-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.65;
}

.footer-contact-list a,
.footer-links a,
.footer-hours a,
.footer-emergency-note a,
.cslb-line a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-list a:hover,
.footer-links a:hover,
.footer-brand-link:hover,
.footer-call-btn:hover {
  opacity: 0.92;
}

.footer-icon {
  flex: 0 0 auto;
  width: 28px;
  text-align: center;
  font-size: 21px;
  line-height: 1.2;
  opacity: 0.92;
  margin-top: 2px;
}

.footer-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  margin: 28px 0 20px;
}

.cslb-line {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
}

.footer-links a {
  position: relative;
  display: block;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 17px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #3f73d9;
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
}

.footer-emergency-badge {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-emergency-drop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(195, 66, 66, 0.22);
  color: #ff6e6e;
  font-size: 22px;
  flex: 0 0 auto;
}

.footer-emergency-highlight {
  margin: 2px 0 0;
  color: #d75b5b;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.footer-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 224px;
  padding: 18px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #17396f, #315fb3);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(31, 95, 191, 0.22);
  margin-bottom: 30px;
}

.footer-call-btn::before {
  content: '☎';
  font-size: 22px;
  line-height: 1;
  margin-right: 14px;
}

.footer-bottom.footer-bottom-match {
  margin-top: 56px;
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.footer-bottom.footer-bottom-match p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.6;
}

.footer-bottom-divider {
  display: inline-block;
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1080px) {
  .footer-inner.footer-inner-match {
    width: min(1380px, calc(100% - 48px));
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .site-footer {
    padding-top: 56px;
  }
}

@media (max-width: 640px) {
  .site-footer h4 {
    font-size: 24px;
  }

  .footer-contact-list p,
  .footer-links a,
  .footer-hours,
  .footer-emergency-note,
  .cslb-line,
  .footer-emergency-highlight,
  .footer-bottom.footer-bottom-match p {
    font-size: 16px;
  }

  .footer-call-btn {
    width: 100%;
    min-width: 0;
  }

  .footer-bottom-divider {
    display: none;
  }
}


#areas {
  scroll-margin-top: 140px;
}


/* BLOG PAGE UPGRADE */
.blog-overview {
  background: linear-gradient(180deg, rgba(15, 36, 75, 0.04) 0%, #ffffff 22%);
}

.blog-overview-shell {
  display: grid;
  gap: 30px;
}

.blog-overview-head {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.blog-overview-head h2 {
  margin-bottom: 12px;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.blog-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #d8e3f4;
  background: #ffffff;
  color: #1f5fbf;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(31, 95, 191, 0.06);
}

.featured-blog {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.06);
}

.featured-blog-media {
  min-height: 100%;
}

.featured-blog-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.featured-blog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 38px;
}

.featured-badge,
.blog-meta-row,
.blog-card-date {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.featured-badge span,
.blog-card-date span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f6fb;
  color: #1f5fbf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-blog-content h3 {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
}

.featured-blog-content p {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
  font-size: 16px;
}

.featured-blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.blog-grid-upgraded {
  margin-top: 0;
}

.blog-card-upgraded {
  overflow: hidden;
}

.blog-meta-row {
  justify-content: space-between;
  margin-bottom: 12px;
}

.blog-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.blog-card-placeholder {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-style: dashed;
}

.blog-placeholder-shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 100%;
  padding: 28px 24px;
}

.blog-placeholder-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf1fd;
  color: #1f5fbf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card-placeholder h3 {
  margin: 0 0 12px;
}

.blog-card-placeholder p {
  margin: 0 0 18px;
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .featured-blog {
    grid-template-columns: 1fr;
  }

  .featured-blog-media img {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .featured-blog-content {
    padding: 30px 24px;
  }

  .featured-blog-content h3 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .blog-overview-shell {
    gap: 22px;
  }

  .blog-toolbar {
    gap: 8px;
  }

  .blog-pill {
    font-size: 12px;
    padding: 9px 13px;
  }

  .featured-blog-media img {
    min-height: 240px;
  }

  .featured-blog-content {
    padding: 24px 18px;
  }

  .featured-blog-content h3 {
    font-size: 28px;
  }

  .featured-blog-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .featured-blog-actions .btn,
  .featured-blog-actions .secondary-btn {
    justify-content: center;
    width: 100%;
  }
}


/* BLOG STAGE 2 PREP */
.blog-stage-two-ready .page-intro {
  max-width: 930px;
}

.featured-blog-shell {
  border: 1px solid #dfe6f2;
  background: linear-gradient(135deg, #ffffff, #f7f9fd);
}

.featured-blog-media-shell {
  min-height: 100%;
  display: flex;
}

.featured-media-placeholder,
.blog-card-image-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(31, 95, 191, 0.12), rgba(31, 95, 191, 0.04)),
    linear-gradient(180deg, #eef3fb, #dde7f6);
  color: #1f5fbf;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 28px;
}

.blog-feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
}

.blog-feed-head h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}

.blog-feed-head p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.blog-grid-stage-two {
  margin-top: 24px;
}

.blog-card-shell {
  border-style: dashed;
  border-color: #cfd9e8;
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
}

.blog-card-image-shell {
  min-height: 220px;
}

.blog-shell-btn {
  cursor: default;
  pointer-events: none;
  opacity: 0.92;
}

.blog-card-shell-accent {
  border-style: solid;
  border-color: rgba(31, 95, 191, 0.18);
  background: linear-gradient(135deg, rgba(31, 95, 191, 0.06), rgba(31, 95, 191, 0.015));
}

.blog-shell-callout {
  justify-content: center;
}

.blog-placeholder-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 95, 191, 0.10);
  color: #1f5fbf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .blog-feed-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* BLOG STAGE 2 READY */
.blog-shell-btn {
  pointer-events: none;
}


/* BLOG STAGE 2 FINAL SUPPORT */
.featured-blog-content h3 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.15;
}

.featured-blog-content p {
  margin: 0 0 22px;
  color: #4b5563;
  line-height: 1.8;
  font-size: 16px;
}

.featured-blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.blog-card-date span {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f3f6fb;
  color: #35567d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.blog-card-footer {
  margin-top: auto;
}

.featured-blog-shell .featured-blog-content h3,
.featured-blog-shell .featured-blog-content p,
.blog-card-shell h3,
.blog-card-shell p {
  max-width: none;
}

@media (max-width: 900px) {
  .featured-blog {
    grid-template-columns: 1fr;
  }

  .featured-blog-media img,
  .featured-blog-media-shell,
  .featured-media-placeholder {
    min-height: 260px;
  }
}


.blog-back-wrap {
  display: flex;
  align-items: center;
}

.blog-back-top {
  margin-bottom: 24px;
}

.blog-back-bottom {
  margin-top: 32px;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f5fbf;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-back-link:hover {
  color: #173f7d;
  transform: translateX(-1px);
}

.blog-back-button {
  padding: 12px 18px;
  border: 1px solid #d8e3f4;
  border-radius: 999px;
  background: #f3f6fb;
}

.blog-back-button:hover {
  background: #eaf1fd;
  box-shadow: 0 10px 22px rgba(31, 95, 191, 0.08);
}

@media (max-width: 640px) {
  .blog-back-top {
    margin-bottom: 20px;
  }

  .blog-back-bottom {
    margin-top: 28px;
  }
}
