/* ===== VARIABLES ===== */
:root {
  --black: #1a1a1a;
  --black2: #2a2a2a;
  --blue: #4175b3;
  --blue-light: #5a8ec4;
  --red: #c21d24;
  --red-dark: #a5181e;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-700: #495057;
  --gray-800: #343a40;
  --text: #333333;
  --muted: #6c757d;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1400px;
  --header-h: 88px;
  --topbar-h: 36px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ===== CONTAINER ===== */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn.red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn.red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn.blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn.blue:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}

.btn.white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn.white:hover {
  background: var(--gray-100);
}

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

.btn.outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn.outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-xl { padding: 20px 48px; font-size: 20px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.btn-full { width: 100%; }

.bolt-s {
  display: inline-block;
  vertical-align: middle;
  margin-right: -2px;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
}

.storm-btn {
  flex-direction: column;
  padding: 16px 48px 20px;
}

.storm-icons-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}

.storm-icons-row svg {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.storm-text {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn.storm {
  background: linear-gradient(135deg, #d42a31 0%, #c21d24 50%, #a5181e 100%);
  color: var(--white);
  border-color: #c21d24;
  box-shadow: 0 4px 20px rgba(194,29,36,0.4);
  animation: storm-pulse 2s ease-in-out infinite;
}
.btn.storm:hover {
  background: linear-gradient(135deg, #e0333a 0%, #d42a31 50%, #c21d24 100%);
  box-shadow: 0 6px 28px rgba(194,29,36,0.55);
  transform: translateY(-2px);
}

@keyframes storm-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(194,29,36,0.4); }
  50% { box-shadow: 0 4px 30px rgba(194,29,36,0.65); }
}

.btn.roof {
  background: linear-gradient(135deg, #5a8ec4 0%, #4175b3 50%, #365f8a 100%);
  color: var(--white);
  border-color: #4175b3;
  box-shadow: 0 4px 20px rgba(65,117,179,0.4);
  animation: roof-pulse 2s ease-in-out infinite;
}
.btn.roof:hover {
  background: linear-gradient(135deg, #6b9fd5 0%, #5a8ec4 50%, #4175b3 100%);
  box-shadow: 0 6px 28px rgba(65,117,179,0.55);
  transform: translateY(-2px);
}

@keyframes roof-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(65,117,179,0.4); }
  50% { box-shadow: 0 4px 30px rgba(65,117,179,0.65); }
}

/* ===== TOP BAR STRIP ===== */
.topbar-strip {
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}

.topbar-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-highlight {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  animation: highlight-pulse 2s ease-in-out infinite;
}

@keyframes highlight-pulse {
  0%, 100% { background: var(--red); }
  50% { background: #d42a31; }
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue);
}
.topbar-phone:hover { color: var(--red); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  padding: 12px 0;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}

.nav-link {
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-link.active {
  color: var(--white);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: calc(var(--topbar-h) + var(--header-h));
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open {
  display: flex;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--gray-50);
  color: var(--blue);
}

.mobile-nav-cta {
  margin-top: 8px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  color: var(--white);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-trust span::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.95);
  border: 2px solid #FFD700;
  border-radius: 100px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.hero-discount-badge:hover {
  background: #ffffff;
  transform: translateY(-2px);
}
.hero-discount-star {
  font-size: 18px;
  color: #FFB300;
}
.hero-discount-arrow {
  animation: bounce-down 1.5s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Estimate Card */
.estimate-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.estimate-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.estimate-card-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.estimate-card-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* Forms */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,82,118,0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
}

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

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* ===== QUICK BAR ===== */
.quickbar {
  padding: 12px 0;
  background: var(--black);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: all 0.2s;
}
.quick-item:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.quick-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red) 0%, #d42a31 100%);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(194,29,36,0.4);
}
.quick-icon.multi {
  width: 72px;
  height: 72px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.quick-icon svg {
  width: 24px;
  height: 24px;
}
.quick-icon.multi svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.quick-item:hover .quick-icon {
  background: linear-gradient(135deg, #d42a31 0%, #e0333a 100%);
  box-shadow: 0 4px 16px rgba(194,29,36,0.6);
}
.quick-item:hover .quick-icon.multi {
  background: none;
  box-shadow: none;
  transform: scale(1.1);
}

/* ===== SECTIONS ===== */
.section-light {
  padding: 80px 0;
  background: var(--gray-50);
}

.section-dark {
  padding: 80px 0;
  background: var(--black2);
  color: var(--white);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

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

/* ===== FEATURE CARDS (Why Choose Us) ===== */
.cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

a.feature-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card-img {
  width: 100%;
  overflow: hidden;
}

.feature-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-card h3,
.feature-card .feature-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 20px 20px 8px;
  color: var(--black);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  padding: 0 20px 24px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 64px 0;
  background: var(--blue);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  opacity: 0.85;
  font-weight: 500;
}

/* ===== DISCOUNTS BANNER ===== */
.discounts-bar {
  padding: 64px 0;
  background: var(--gray-50);
  text-align: center;
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

.discounts-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 40px;
}

.discounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 32px;
}

a.discount-item {
  text-decoration: none;
  display: block;
}

.discount-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.discount-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.discount-icon {
  margin-bottom: 16px;
}

.discount-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.discount-item p {
  font-size: 14px;
  color: var(--muted);
}

.discounts-note {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 64px 0;
  background: var(--red);
  color: var(--white);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-banner p {
  font-size: 16px;
  opacity: 0.9;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 48px 0 56px;
  text-align: center;
}

.page-hero.blueband {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 70%, var(--gray-50) 100%);
  color: var(--white);
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 17px;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.7;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ===== GRID LAYOUTS ===== */
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

/* ===== DEEP SERVICE SECTIONS ===== */
.service-deep-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-200);
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

.section-divider,
.nanotech-section,
.roofing-types {
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 16px);
}
.service-deep-section:last-child { border-bottom: none; }

.service-deep-section.alt { background: var(--white); }

.service-deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-deep-section:nth-child(even) .service-deep-grid {
  direction: rtl;
}
.service-deep-section:nth-child(even) .service-deep-grid > * {
  direction: ltr;
}

.service-deep-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-deep-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.service-deep-content .service-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 16px;
}

.service-deep-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.service-features li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
}

.service-deep-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.service-deep-cta:hover { text-decoration: underline; }

/* NanoTech Featured Section */
.nanotech-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #1a2332 0%, #0d1520 100%);
  color: var(--white);
}

.nanotech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.nanotech-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.nanotech-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.nanotech-section p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 16px;
}

.nanotech-features {
  list-style: none;
  margin-bottom: 24px;
}

.nanotech-features li {
  font-size: 14px;
  padding: 6px 0 6px 24px;
  position: relative;
  opacity: 0.9;
}

.nanotech-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: 700;
}

.nanotech-certs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.nanotech-cert {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
}

.nanotech-img img {
  width: 100%;
  border-radius: var(--radius);
}

/* Section Divider */
.section-divider {
  padding: 48px 0;
  text-align: center;
  background: var(--blue);
  color: var(--white);
}

.section-divider h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-divider p {
  font-size: 16px;
  opacity: 0.85;
}

/* Roofing Types Grid */
.roofing-types {
  padding: 64px 0;
  background: var(--gray-50);
}

.roofing-types h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--text);
}

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

.roofing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

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

.roofing-card-body {
  padding: 20px;
}

.roofing-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.roofing-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Inline CTA between sections */
.mid-cta {
  padding: 48px 0;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.mid-cta h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mid-cta p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.mid-cta .btn { margin: 0 8px; }

/* ===== OVERVIEW HIGHLIGHTS ===== */
.overview-highlights {
  padding: 48px 0 32px;
  background: var(--gray-50);
}

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

.highlight-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.highlight-storm {
  background: linear-gradient(135deg, #c21d24 0%, #a5181e 100%);
}

.highlight-roof {
  background: linear-gradient(135deg, #4175b3 0%, #365f8a 100%);
}

.highlight-discount {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.highlight-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.highlight-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== SERVICES ===== */
.service-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-panel h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
  color: var(--blue);
}

.service-list {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  flex: 1;
}

.service-list li {
  padding: 16px 0;
  border-bottom: 2px solid var(--gray-200);
}
.service-list li:last-child { border-bottom: none; }

.service-list-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.service-list-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-list-link:hover h3 {
  color: var(--blue);
}

.service-list h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.service-list p {
  font-size: 14px;
  color: var(--muted);
}

/* ===== INSURANCE HERO ===== */
.insurance-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue) 0%, #1a3c5e 100%);
  color: var(--white);
}

.insurance-hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.insurance-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.insurance-hero-sub {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 32px;
}

.ins-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ins-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ins-step-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
}

.ins-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.ins-step p {
  font-size: 14px;
  opacity: 0.8;
}

.insurance-form-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.insurance-form-panel h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.insurance-form-panel > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Damage Types */
.damage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.damage-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.damage-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.damage-icon {
  margin-bottom: 16px;
  color: var(--gray-300);
}

.damage-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.damage-card p {
  font-size: 14px;
  opacity: 0.7;
}

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  background: var(--white);
  transition: all 0.2s;
}
.filter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.filter-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

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

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gallery-placeholder {
  aspect-ratio: 4/3;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ===== FINANCING ===== */
.finance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.finance-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  color: var(--white);
}
.finance-card.blue { background: var(--blue); }
.finance-card.red { background: var(--red); }
.finance-card.dark { background: var(--black2); }

.finance-card-icon {
  margin-bottom: 16px;
}

.finance-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.finance-card p {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.how-it-works h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 36px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.step { text-align: center; }

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  border-radius: 50%;
  font-weight: 700;
  font-size: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  opacity: 0.75;
}

/* ===== ABOUT ===== */
.about-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.about-panel h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--blue);
}

.about-panel p {
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-facts li {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-facts li:last-child { border-bottom: none; }

.about-facts strong {
  font-size: 17px;
  color: var(--black);
}
.about-facts span {
  font-size: 14px;
  color: var(--muted);
}

/* ===== CONTACT ===== */
.contact-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--black2) 100%);
  color: var(--white);
}

.contact-hero h1 {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.contact-hero-sub {
  text-align: center;
  font-size: 17px;
  opacity: 0.7;
  margin-bottom: 48px;
}

.contact-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form-side h2,
.contact-info-side h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gray-500);
}

.contact-info-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
}
.contact-info-item a:hover {
  color: var(--white);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--black);
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  margin-bottom: 16px;
  color: var(--gray-700);
  line-height: 1.7;
}

.legal-content a {
  color: var(--blue);
}
.legal-content a:hover {
  text-decoration: underline;
}

.legal-updated {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 0;
  background: var(--black);
  color: var(--gray-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.footer .footer-brand .brand-logo {
  height: 132px;
  width: auto;
  display: block;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--white);
}

.footer-col p {
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
  padding: 0;
}
.footer-social a:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

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

.footer-legal a:hover {
  color: var(--white);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hamburger { display: flex; }

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

  .hero h1 { font-size: 38px; }

  .estimate-card {
    max-width: 480px;
  }

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

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

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid2 { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .finance-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .damage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }

  .service-deep-grid,
  .nanotech-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-deep-section:nth-child(even) .service-deep-grid {
    direction: ltr;
  }

  .service-deep-img img {
    height: 240px;
  }

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

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

  .topbar-strip-inner span:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }

  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn { width: 100%; }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }

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

  .estimate-card {
    max-width: 100%;
  }

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

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

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

  .stat-number { font-size: 32px; }

  .discounts-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .section-light,
  .section-dark {
    padding: 56px 0;
  }

  .section-title { font-size: 28px; }

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

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

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

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

  .how-it-works {
    padding: 32px 20px;
  }

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

  .insurance-hero {
    padding: 56px 0;
  }

  .insurance-hero h1 { font-size: 32px; }

  .contact-hero h1 { font-size: 32px; }

  .contact-board {
    padding: 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-banner h2 { font-size: 24px; }

  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner-actions .btn { width: 100%; }

  .header-actions .btn { display: none; }
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  width: 100%;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text);
}

.blog-card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.blog-card-date {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.blog-pagination-info {
  font-size: 14px;
  color: var(--muted);
}

/* Blog Post Layout */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.blog-post-content {
  max-width: 100%;
}

.blog-post-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.blog-post-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}

.blog-post-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--text);
}

.blog-post-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 16px 20px;
  list-style: disc;
}

.blog-post-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--gray-700);
}

/* Blog Sidebar */
.blog-post-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-sidebar-cta {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}

.blog-sidebar-cta h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-sidebar-cta p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.blog-sidebar-related {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}

.blog-sidebar-related h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.blog-sidebar-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.blog-sidebar-link:last-child { border-bottom: none; }
.blog-sidebar-link:hover span { color: var(--blue); }

.blog-sidebar-link span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s;
}

.blog-sidebar-link small {
  font-size: 12px;
  color: var(--gray-500);
}

/* ===== GALLERY V2 ===== */
.gallery-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-card-img {
  width: 100%;
  overflow: hidden;
}
.gallery-card-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-card:hover .gallery-card-img img {
  transform: scale(1.05);
}

.gallery-card-body {
  padding: 20px;
}

.gallery-card-service {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 6px;
  display: block;
}

.gallery-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.gallery-card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.gallery-card-location {
  font-size: 12px;
  color: var(--gray-500);
}

/* Before / After Slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
}

.ba-after {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-before-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.ba-before {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* match the after image dimensions exactly */
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.ba-handle-line {
  flex: 1;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
}

.ba-handle-circle {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.ba-label {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
}

.ba-label-before {
  left: 10px;
  background: var(--red);
}

.ba-label-after {
  right: 10px;
  background: var(--blue);
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 9/16;
  position: relative;
  display: block;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}
.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
}

@media (max-width: 1080px) {
  .gallery-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .gallery-grid-v2 { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ===== TESTIMONIALS ===== */
.testimonial-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-card.featured {
  border: 2px solid var(--blue);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars .star {
  color: #FFB300;
  font-size: 20px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  border: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-size: 15px;
  color: var(--text);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--muted);
}

.testimonial-service {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-top: 4px;
}

@media (max-width: 1080px) {
  .testimonial-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(194,29,36,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(194,29,36,0.55);
}

.chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  background: var(--black);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-header-info strong {
  font-size: 15px;
}

.chat-header-info span {
  font-size: 12px;
  opacity: 0.7;
}

.chat-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.chat-close:hover { opacity: 1; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  max-height: 340px;
}

.chat-msg {
  max-width: 85%;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-msg.assistant {
  align-self: flex-start;
}

.chat-msg p {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.chat-msg.user p {
  background: var(--blue);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-msg.assistant p {
  background: var(--gray-100);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: var(--white);
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
}
.chat-input:focus {
  border-color: var(--blue);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.2s;
}
.chat-send:hover {
  background: var(--red-dark);
}

.typing-dots span {
  animation: typing-bounce 1.4s infinite;
  display: inline-block;
  font-size: 24px;
  line-height: 1;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

@media (max-width: 480px) {
  .chat-panel {
    width: calc(100vw - 32px);
    right: -8px;
    bottom: 68px;
    max-height: 70vh;
  }
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .roofing-grid { grid-template-columns: 1fr; }
}

/* Blog responsive */
@media (max-width: 1080px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-post-sidebar { position: static; }
}

@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-hero-img { height: 240px; }
}
