/* =============================================================
   ROOFS R US — SITE STYLESHEET
   Brand colors: #0D3B66 (navy), #4DA6E6 (sky), #E63946 (red),
                 #7DB343 (green), #F2F7FB (light bg), #333333 (text)
============================================================= */

/* ---------------------------------------------------------------
   CSS CUSTOM PROPERTIES
--------------------------------------------------------------- */
:root {
  --brand-blue: #0D3B66;
  --sky-blue: #4DA6E6;
  --brand-red: #E63946;
  --brand-green: #7DB343;
  --light-bg: #F2F7FB;
  --white: #FFFFFF;
  --dark-text: #1A2232;
  --muted-text: #5F6B76;
  --border: #DDE8F5;
  --card-shadow: 0 4px 24px rgba(13, 59, 102, 0.10);
  --card-shadow-hover: 0 12px 40px rgba(13, 59, 102, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', 'Lato', system-ui, sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

/* ---------------------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-blue);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-blue);
  background: rgba(77, 166, 230, 0.12);
  border: 1px solid rgba(77, 166, 230, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.text-accent {
  color: var(--brand-red);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header p {
  color: var(--muted-text);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* ---------------------------------------------------------------
   BUTTONS
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: var(--transition);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn {
  padding: 11px 24px;
  font-size: 0.9rem;
}

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

.btn-primary {
  background: var(--brand-red);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.35);
}

.btn-primary:hover {
  background: #c62c39;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230, 57, 70, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
  background: var(--brand-blue);
  color: white;
  transform: translateY(-2px);
}

.btn-red {
  background: var(--brand-red);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.35);
}

.btn-red:hover {
  background: #c62c39;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--brand-blue);
  font-weight: 800;
}

.btn-white:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------
   HEADER
--------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(13, 59, 102, 0.07);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(13, 59, 102, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 24px;
}

.header-logo {
  height: 52px;
  width: auto;
  transition: transform var(--transition);
}

.logo-link:hover .header-logo {
  transform: scale(1.04);
}

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue);
  opacity: 0.75;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.main-nav a:hover {
  opacity: 1;
  background: var(--light-bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  transition: color var(--transition);
}

.phone-link:hover {
  color: var(--brand-red);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  margin-left: auto;
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--light-bg);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brand-blue);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Drawer — hidden by default; JS toggles inline style */
.mobile-nav {
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
  background: white;
  /* Intentionally no display:none here so JS inline style can override cleanly */
}

.mobile-nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-blue);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.mobile-nav-link:hover {
  background: var(--light-bg);
}

.mobile-cta {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

.mobile-phone {
  margin-top: 4px;
  justify-content: center;
}

/* ---------------------------------------------------------------
   HERO
--------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #EEF6FF 0%, #F8FAFF 55%, #FAFCFF 100%);
  overflow: hidden;
  padding: 80px 0 60px;
  min-height: min(90vh, 800px);
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape-1 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 166, 230, 0.14) 0%, transparent 70%);
}

.hero-shape-2 {
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 59, 102, 0.07) 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-blue);
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(230, 57, 70, 0);
  }
}

.hero-headline {
  margin-bottom: 20px;
  color: var(--brand-blue);
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--muted-text);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.check-icon {
  flex-shrink: 0;
  color: var(--brand-green);
  width: 18px;
  height: 18px;
}

.hero-image-wrap {
  position: relative;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(13, 59, 102, 0.2);
}

.hero-image-badge {
  position: absolute;
  top: -18px;
  left: -18px;
  background: white;
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(13, 59, 102, 0.16);
  font-family: 'Poppins', sans-serif;
  z-index: 2;
  animation: float 5s ease-in-out infinite reverse;
}

.badge-icon {
  font-size: 1.5rem;
}

.hero-image-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-blue);
}

.hero-image-badge span {
  font-size: 0.75rem;
  color: var(--muted-text);
}

/* ---------------------------------------------------------------
   TRUST BAR
--------------------------------------------------------------- */
.trust-bar {
  background: var(--brand-blue);
  padding: 40px 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item:hover {
  transform: translateY(-3px);
}

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--sky-blue);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.trust-item p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* ---------------------------------------------------------------
   SERVICES SECTION
--------------------------------------------------------------- */
.services-section {
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.service-card-featured {
  border: 2px solid var(--sky-blue);
  grid-column: span 1;
}

.service-card-simple {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 32px;
}

.service-card-simple .service-card-body {
  padding: 0;
}

.service-card-simple .service-icon-lg {
  font-size: 2.5rem;
}

.service-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-blue);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.service-badge-featured {
  background: var(--sky-blue);
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--brand-blue);
}

.service-card-body p {
  color: var(--muted-text);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.service-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}

.service-link span {
  transition: transform var(--transition);
}

.service-link:hover {
  color: var(--brand-red);
}

.service-link:hover span {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------
   WHY SECTION
--------------------------------------------------------------- */
.why-section {
  background: white;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}

.why-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
}

.why-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--brand-blue);
  color: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(13, 59, 102, 0.3);
  font-family: 'Poppins', sans-serif;
}

.why-badge svg {
  color: var(--sky-blue);
  flex-shrink: 0;
}

.why-badge strong {
  display: block;
  font-size: 0.95rem;
}

.why-badge span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.why-intro {
  color: var(--muted-text);
  font-size: 1rem;
  margin: 16px 0 28px;
}

.value-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.value-card:hover {
  border-color: var(--border);
  background: white;
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}

.value-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(13, 59, 102, 0.08);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
}

.value-icon svg {
  width: 20px;
  height: 20px;
}

.value-card h4 {
  margin-bottom: 4px;
  color: var(--brand-blue);
}

.value-card p {
  font-size: 0.82rem;
  color: var(--muted-text);
  line-height: 1.5;
}

/* ---------------------------------------------------------------
   INSPECTION / FORM SECTION
--------------------------------------------------------------- */
.inspection-section {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0a2d54 100%);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.inspection-bg-art {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  opacity: 0.5;
}

.inspection-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}

.inspection-content h2 {
  color: white;
  margin: 8px 0 0;
}

.inspection-subhead {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sky-blue);
  margin: 8px 0 16px;
}

.inspection-body {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.inspection-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inspection-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
  font-weight: 500;
}

.inspection-bullets svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

/* Form Card */
.form-card {
  background: white;
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.form-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--brand-blue);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--light-bg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(77, 166, 230, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-success {
  text-align: center;
  padding: 24px 0;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.form-success h4 {
  color: var(--brand-green);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted-text);
}

/* ---------------------------------------------------------------
   GALLERY / BEFORE & AFTER
--------------------------------------------------------------- */
.gallery-section {
  background: var(--light-bg);
}

.before-after-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.ba-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.ba-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 300px;
}

.ba-half {
  position: relative;
  overflow: hidden;
}

.ba-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ba-card:hover .ba-half img {
  transform: scale(1.05);
}

.ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(13, 59, 102, 0.85);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.ba-label-after {
  background: rgba(125, 179, 67, 0.9);
}

.ba-caption {
  padding: 16px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  box-shadow: var(--card-shadow);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 59, 102, 0.75) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------------------------------------------------------------
   PROCESS SECTION
--------------------------------------------------------------- */
.process-section {
  background: white;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
  cursor: default;
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--brand-red);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.step-connector {
  position: absolute;
  top: 14px;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--sky-blue), transparent);
}

.process-step:last-child .step-connector {
  display: none;
}

.step-icon {
  font-size: 3rem;
  margin: 24px auto 16px;
  display: block;
  transition: transform var(--transition);
}

.process-step:hover .step-icon {
  transform: scale(1.15) rotate(-5deg);
}

.process-step h3 {
  font-size: 1rem;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.p-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.84rem;
  color: var(--muted-text);
  line-height: 1.6;
}

/* ---------------------------------------------------------------
   REVIEWS SECTION
--------------------------------------------------------------- */
.reviews-section {
  background: var(--light-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-top-color: var(--sky-blue);
}

.review-card-featured {
  border-top-color: var(--brand-blue);
  box-shadow: 0 8px 32px rgba(13, 59, 102, 0.15);
}

.review-stars {
  color: #FFB800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card blockquote {
  font-size: 0.92rem;
  color: var(--dark-text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  background: var(--brand-blue);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.reviewer strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-blue);
  font-family: 'Poppins', sans-serif;
}

.reviewer span {
  font-size: 0.78rem;
  color: var(--muted-text);
}

.reviews-stats {
  background: var(--brand-blue);
  border-radius: var(--radius);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* Happy customer photo above stats bar */
.reviews-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  max-height: 340px;
  box-shadow: var(--card-shadow-hover);
}

.reviews-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.5s ease;
}

.reviews-hero-img:hover img {
  transform: scale(1.03);
}

.stat {
  text-align: center;
  flex: 1;
}

.stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   SERVICE AREA
--------------------------------------------------------------- */
.area-section {
  background: white;
}

.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.area-content h2 {
  margin-bottom: 12px;
}

.area-content>p {
  color: var(--muted-text);
  margin-bottom: 24px;
}

.area-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.town-tag {
  background: var(--light-bg);
  border: 1px solid var(--border);
  color: var(--brand-blue);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.town-tag:hover {
  background: var(--brand-blue);
  color: white;
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.area-note {
  font-size: 0.85rem;
  color: var(--muted-text);
}

.area-note a {
  color: var(--brand-red);
  font-weight: 600;
}

.area-note a:hover {
  text-decoration: underline;
}

.area-map-wrap {
  position: relative;
}

.area-map-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
}

.map-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------
   FAQ SECTION
--------------------------------------------------------------- */
.faq-section {
  background: var(--light-bg);
}

.faq-inner {
  max-width: 960px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: sticky;
  top: 100px;
}

.faq-image img {
  width: 100%;
  height: auto;
  display: block;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-question[aria-expanded="true"] {
  background: var(--light-bg);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--sky-blue);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  animation: faq-open 0.25s ease;
}

.faq-answer p {
  color: var(--muted-text);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--light-bg);
  padding-top: 16px;
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------------
   FINAL CTA SECTION
--------------------------------------------------------------- */
.final-cta-section {
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--brand-blue) 60%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.final-cta-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-art-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-circle-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.cta-circle-2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  left: 10%;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  position: relative;
}

.final-cta-content h2 {
  color: white;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.final-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.final-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.final-cta-image {
  width: 320px;
  flex-shrink: 0;
}

.final-cta-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ---------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
.site-footer {
  background: #0A2340;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--sky-blue);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a,
.footer-col ul li span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: white;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-list svg {
  color: var(--sky-blue);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------------
   STICKY MOBILE CTA
--------------------------------------------------------------- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(13, 59, 102, 0.12);
  padding: 12px 20px;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
  align-items: center;
}

.sticky-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-blue);
}

.sticky-cta-estimate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background: var(--brand-red);
  color: white;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------
   SCROLL ANIMATIONS
--------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ---------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image-wrap {
    order: 0;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-trust-list {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-subtext {
    margin: 0 auto 32px;
  }

  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .trust-item:nth-child(2),
  .trust-item:last-child {
    border-bottom: none;
  }

  .trust-item:nth-child(even) {
    border-right: none;
  }

  .trust-item:nth-child(odd):not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .service-card-simple {
    grid-column: span 2;
  }

  .why-inner {
    grid-template-columns: 1fr;
  }

  .why-image-col {
    max-width: 500px;
    margin: 0 auto;
  }

  .why-badge {
    right: -8px;
    bottom: -8px;
  }

  .inspection-inner {
    grid-template-columns: 1fr;
  }

  .inspection-content {
    text-align: center;
  }

  .inspection-bullets {
    max-width: 400px;
    margin: 0 auto;
  }

  .area-inner {
    grid-template-columns: 1fr;
  }

  .area-map-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .final-cta-content p {
    margin: 0 auto 32px;
  }

  .final-cta-buttons {
    justify-content: center;
  }

  .final-cta-image {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section-padding {
    padding: 64px 0;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* NOTE: .mobile-nav display is controlled exclusively by JavaScript.
     Do NOT add display:flex here — it would override the JS close logic. */

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

  .service-card-simple {
    grid-column: auto;
    flex-direction: column;
    padding: 24px;
  }

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

  .reviews-stats {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

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

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-image {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .step-connector {
    display: none;
  }

  .value-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .sticky-mobile-cta {
    display: grid !important;
  }

  main {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0 40px;
    min-height: auto;
  }

  /* Hide the floating badge on tiny screens to avoid overflow */
  .hero-image-badge {
    display: none;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    justify-content: center;
  }

  .hero-trust-list {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .ba-images {
    height: 180px;
  }

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

  .reviews-stats {
    gap: 16px;
  }

  /* Tighter form card on small phones */
  .form-card {
    padding: 24px 20px;
  }

  /* Footer bottom stacks on tiny screens */
  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Why badge fits tighter */
  .why-badge {
    position: static;
    margin-top: 16px;
    border-radius: var(--radius-sm);
  }

  .inspection-section {
    padding: 64px 0;
  }
}