/* ==========================================================================
   Carolina Window, Roofing & Siding - "Trusted Craft" Design
   Colors: Teal #115a7a + Navy #1a3354 + Copper #D4783B
   Fonts: Crimson Pro (headings) + Barlow (body)
   ========================================================================== */

:root {
  --primary: #115a7a;
  --primary-dark: #0d4560;
  --primary-light: #1a7ba8;
  --secondary: #1a3354;
  --accent: #D4783B;
  --accent-hover: #c06a2f;
  --accent-light: #e89660;
  --dark: #0b1e2d;
  --light: #f5f2ed;
  --lighter: #faf8f5;
  --white: #ffffff;
  --text: #2d3436;
  --text-light: #636e72;
  --text-muted: #95a5a6;
  --border: #dfe6e9;
  --shadow-sm: 0 2px 8px rgba(11,30,45,0.06);
  --shadow-md: 0 4px 20px rgba(11,30,45,0.1);
  --shadow-lg: 0 8px 40px rgba(11,30,45,0.14);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Skip Link */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 10000;
  background: var(--accent); color: var(--white); padding: 12px 24px;
  border-radius: var(--radius); font-weight: 600; font-size: 0.875rem;
}
.skip-link:focus { top: 16px; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Crimson Pro', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--secondary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--text-light); line-height: 1.8; }

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 900px; }
.container--wide { max-width: 1400px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  min-height: 48px;
  text-align: center;
  justify-content: center;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212,120,59,0.35);
}
.btn--primary:active { transform: translateY(0); }
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--white {
  background: var(--white);
  color: var(--secondary);
}
.btn--white:hover {
  background: var(--light);
  color: var(--secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--sm { padding: 10px 24px; font-size: 0.875rem; min-height: 40px; }
.btn--lg { padding: 16px 40px; font-size: 1.05rem; }

/* Section Label */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label--light { color: var(--accent-light); }

/* ========================================================================
   HEADER
   ======================================================================== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
}
.header__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--secondary);
}
.header__logo-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem; font-weight: 700; font-style: italic;
}
.header__logo-text {
  font-family: 'Crimson Pro', serif;
  font-size: 1.15rem; font-weight: 600; line-height: 1.2;
}
.header__logo-text span { display: block; font-size: 0.7rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.04em; }
.header__nav { display: flex; align-items: center; gap: 4px; }
.header__nav a {
  padding: 8px 14px; font-size: 0.9rem; font-weight: 500;
  color: var(--text); border-radius: var(--radius);
  transition: all var(--transition-fast);
}
.header__nav a:hover { color: var(--primary); background: var(--light); }
.header__nav a.active { color: var(--primary); font-weight: 600; }
.header__cta { margin-left: 12px; }
.header__phone {
  display: none;
  font-weight: 600; color: var(--primary); font-size: 0.9rem;
}
.mobile-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: all var(--transition-fast);
  position: relative;
}
.mobile-toggle span::before,
.mobile-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--text); border-radius: 1px;
  transition: all var(--transition-fast);
}
.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after { top: 7px; }
.mobile-toggle.open span { background: transparent; }
.mobile-toggle.open span::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; width: 100%; bottom: 0;
  background: var(--white); z-index: 999;
  padding: 24px; overflow-y: auto;
  transform: translateY(-10px); opacity: 0;
  transition: all var(--transition);
}
.mobile-nav.open { display: block; transform: translateY(0); opacity: 1; }
.mobile-nav a {
  display: block; padding: 14px 0; font-size: 1.1rem; font-weight: 500;
  color: var(--text); border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .btn { margin-top: 20px; width: 100%; }
.mobile-nav__phone {
  display: block; padding: 14px 0;
  font-size: 1.1rem; font-weight: 600; color: var(--primary);
}

@media (max-width: 960px) {
  .header__nav, .header__cta, .header__phone { display: none; }
  .mobile-toggle { display: flex; }
}
@media (min-width: 961px) {
  .header__phone { display: block; }
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,30,45,0.88) 0%, rgba(17,90,122,0.72) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 680px;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero__content h1 { color: var(--white); margin-bottom: 20px; }
.hero__content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem; line-height: 1.8;
  margin-bottom: 32px;
}
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 32px;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero__badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 8px 16px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.9);
}
.hero__badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero__btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
}
.page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,30,45,0.9) 0%, rgba(17,90,122,0.75) 100%);
}
.page-hero__content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.page-hero__content h1 { color: var(--white); margin-bottom: 16px; }
.page-hero__content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.page-hero__breadcrumb {
  margin-bottom: 16px;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero__breadcrumb a:hover { color: var(--white); }

/* ========================================================================
   SECTIONS
   ======================================================================== */
section { padding: 80px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.8); }
.section--primary { background: var(--primary); color: var(--white); }
.section--primary h2, .section--primary h3 { color: var(--white); }
.section--primary p { color: rgba(255,255,255,0.85); }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section__header p { color: var(--text-light); font-size: 1.1rem; }

/* ========================================================================
   SERVICES OVERVIEW (Index)
   ======================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__img {
  position: relative; height: 220px; overflow: hidden;
}
.service-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__body { padding: 24px; }
.service-card__body h3 { margin-bottom: 8px; }
.service-card__body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.service-card__link {
  font-weight: 600; font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card__link:hover { gap: 10px; color: var(--accent-hover); }
.service-card__link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }

/* ========================================================================
   WHY CHOOSE US
   ======================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-card {
  text-align: center;
  padding: 32px 24px;
}
.why-card__icon {
  width: 56px; height: 56px;
  background: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: all var(--transition);
}
.why-card:hover .why-card__icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}
.why-card__icon svg { width: 24px; height: 24px; }
.why-card h4 { margin-bottom: 8px; color: var(--secondary); }
.why-card p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ========================================================================
   TESTIMONIALS
   ======================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-card__stars {
  display: flex; gap: 2px; margin-bottom: 16px;
  color: #f39c12;
}
.testimonial-card__stars svg { width: 18px; height: 18px; }
.testimonial-card__text {
  font-size: 0.95rem; line-height: 1.7;
  color: var(--text); margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card__author {
  font-weight: 600; font-size: 0.9rem; color: var(--secondary);
}
.testimonial-card__source {
  font-size: 0.8rem; color: var(--text-muted); margin-top: 2px;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 16px; right: 24px;
  font-size: 4rem; line-height: 1;
  font-family: 'Crimson Pro', serif;
  color: var(--border);
}

/* ========================================================================
   STATS / TRUST
   ======================================================================== */
.stats-bar {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 48px;
  padding: 32px 0;
}
.stat-item { text-align: center; }
.stat-item__number {
  font-family: 'Crimson Pro', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.section--dark .stat-item__number { color: var(--accent-light); }
.stat-item__label {
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-light);
  margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em;
}
.section--dark .stat-item__label { color: rgba(255,255,255,0.7); }

/* ========================================================================
   TRUST BADGES
   ======================================================================== */
.trust-badges {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 32px;
  padding: 20px 0;
}
.trust-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-light);
}
.trust-badge svg { width: 28px; height: 28px; color: var(--primary); }
.section--dark .trust-badge { color: rgba(255,255,255,0.8); }
.section--dark .trust-badge svg { color: var(--accent-light); }

/* ========================================================================
   CTA SECTION
   ======================================================================== */
.cta-section {
  position: relative;
  padding: 80px 0;
  background: var(--primary);
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.cta-section .container {
  position: relative; z-index: 2;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; }
.cta-section .btn--white { margin: 0 8px; }

/* ========================================================================
   SERVICE DETAIL PAGES
   ======================================================================== */
.service-detail { padding: 80px 0; }
.service-detail__content { max-width: 800px; }
.service-detail__content p {
  font-size: 1.05rem; line-height: 1.8;
  color: var(--text-light);
}
.service-detail__content h2 { margin-bottom: 16px; margin-top: 48px; }
.service-detail__content h2:first-child { margin-top: 0; }

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-list-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.service-list-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.service-list-item h4 {
  color: var(--secondary);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.service-list-item h4 svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.service-list-item p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; }
.service-list-item ul {
  padding-left: 0;
}
.service-list-item li {
  font-size: 0.85rem; color: var(--text-light);
  padding: 3px 0 3px 20px;
  position: relative;
}
.service-list-item li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* Feature list with images */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.feature-row:nth-child(even) .feature-row__img { order: -1; }
.feature-row__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-row__img img {
  width: 100%; height: 350px; object-fit: cover;
  border-radius: var(--radius-lg);
}
.feature-row__content h3 { margin-bottom: 12px; }
.feature-row__content p { color: var(--text-light); }
.feature-list {
  margin-top: 16px;
}
.feature-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
}
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 14px;
  width: 12px; height: 2px;
  background: var(--accent);
}

/* Warranty badge */
.warranty-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--light);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-top: 24px;
}
.warranty-badge svg { width: 28px; height: 28px; color: var(--primary); flex-shrink: 0; }
.warranty-badge__text { font-weight: 600; color: var(--secondary); }
.warranty-badge__text span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--text-light); }

/* ========================================================================
   ADDITIONAL SERVICES
   ======================================================================== */
.add-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.add-service-card {
  display: flex; gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.add-service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.add-service-card__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.add-service-card__icon svg { width: 24px; height: 24px; }
.add-service-card__content h4 { margin-bottom: 6px; }
.add-service-card__content p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.add-service-card__points {
  margin-top: 10px;
}
.add-service-card__points li {
  font-size: 0.82rem; color: var(--text-muted);
  padding: 2px 0 2px 16px;
  position: relative;
}
.add-service-card__points li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0.5;
}

/* ========================================================================
   ABOUT
   ======================================================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-intro__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-intro__img img {
  width: 100%; height: 400px; object-fit: cover;
}
.about-content h3 { margin-top: 32px; margin-bottom: 12px; }
.about-content p { color: var(--text-light); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.team-card__avatar {
  width: 80px; height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Crimson Pro', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--white);
}
.team-card h4 { margin-bottom: 4px; }
.team-card__title { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

.awards-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px;
}
.award-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border-radius: 100px;
  padding: 12px 24px;
  box-shadow: var(--shadow-sm);
}
.award-item svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.award-item span { font-size: 0.9rem; font-weight: 500; color: var(--secondary); }

/* ========================================================================
   CONTACT
   ======================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-item {
  display: flex; gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-info-item__icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { margin-bottom: 2px; font-size: 1rem; }
.contact-info-item p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.contact-info-item a { color: var(--primary); font-weight: 500; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--secondary); margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Barlow', sans-serif;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17,90,122,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
#form-status {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}
#form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
#form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ========================================================================
   MAP
   ======================================================================== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}
.map-container--sm { height: 300px; }
#map, #map-contact { width: 100%; height: 100%; }

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__about p { font-size: 0.9rem; line-height: 1.7; margin-top: 16px; }
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); text-decoration: none;
}
.footer__logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: 'Crimson Pro', serif;
  font-size: 1.3rem; font-weight: 700; font-style: italic;
}
.footer__logo-text {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem; font-weight: 600;
  color: var(--white);
}
.footer h4 {
  color: var(--white); font-size: 1rem;
  margin-bottom: 16px; font-weight: 600;
}
.footer ul li { margin-bottom: 8px; }
.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.footer ul a:hover { color: var(--accent-light); }
.footer__contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 0.9rem;
}
.footer__contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--accent-light); }
.footer__contact-item a { color: rgba(255,255,255,0.7); }
.footer__contact-item a:hover { color: var(--white); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
}
.footer__social a:hover {
  background: var(--accent);
  color: var(--white);
}
.footer__social svg { width: 16px; height: 16px; }

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--left { transform: translateX(-30px); }
.reveal--left.visible { transform: translateX(0); }
.reveal--right { transform: translateX(30px); }
.reveal--right.visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.92); }
.reveal--scale.visible { transform: scale(1); }

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.stagger.visible > *:nth-child(8) { transition-delay: 560ms; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
/* ========================================================================
   ROOFING PAGE - PAGE-SPECIFIC STYLES
   ======================================================================== */

/* Page hero button row */
.page-hero__btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 24px; margin-bottom: 24px;
}

/* Roofing intro split */
.roofing-intro {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}
.roofing-intro__text h2 { margin-bottom: 20px; }
.roofing-intro__text p { margin-bottom: 16px; color: var(--text-light); }
.roofing-intro__text .btn { margin-top: 8px; }

/* Roofing checklist */
.roofing-list {
  list-style: none; padding: 0; margin: 24px 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.roofing-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text);
}
.roofing-list li svg {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  color: var(--accent);
}

/* Cert badges column */
.roofing-intro__visual {
  display: flex; flex-direction: column; gap: 24px;
  align-items: center;
}
.cert-badges {
  display: flex; flex-direction: column; gap: 12px; width: 100%;
}
.cert-badge {
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem; font-weight: 600; color: var(--secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cert-badge svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* Inline warranty badge (intro visual) */
.warranty-badge {
  width: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(17,90,122,0.25);
}
.warranty-badge__inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.warranty-badge svg { width: 44px; height: 44px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.warranty-badge__years {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 4.5rem; font-weight: 700; line-height: 1;
  color: var(--white);
}
.warranty-badge__label {
  font-size: 1.4rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
}
.warranty-badge__sub {
  font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.85);
  margin-top: 6px;
}
.warranty-badge__detail {
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px;
}

/* Feature row with two images flanking content */
.roofing-feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0;
  background: var(--dark);
  overflow: hidden;
}
.roofing-feature-row__img-left,
.roofing-feature-row__img-right {
  overflow: hidden;
  max-height: 520px;
}
.roofing-feature-row__img-left img,
.roofing-feature-row__img-right img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.roofing-feature-row__img-left:hover img,
.roofing-feature-row__img-right:hover img {
  transform: scale(1.04);
}
.roofing-feature-row__content {
  padding: 64px 48px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--dark); color: var(--white);
}
.roofing-feature-row__content h2 { color: var(--white); margin-bottom: 16px; }
.roofing-feature-row__content p { color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.roofing-feature-row__content .section-label { color: var(--accent); }

.feature-highlights { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.feature-highlight {
  display: flex; align-items: flex-start; gap: 16px;
}
.feature-highlight__icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(212,120,59,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-highlight__icon svg { width: 18px; height: 18px; color: var(--accent); }
.feature-highlight strong { display: block; color: var(--white); margin-bottom: 4px; }
.feature-highlight p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }

/* Shingle cards grid */
.shingle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.shingle-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.shingle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.shingle-card--featured {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(17,90,122,0.12);
}
.shingle-card--featured .shingle-card__icon { background: var(--primary); }
.shingle-card--featured .shingle-card__icon svg { color: var(--white); }
.shingle-card__icon {
  width: 52px; height: 52px;
  background: var(--light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.shingle-card__icon svg { width: 26px; height: 26px; color: var(--primary); }
.shingle-card__brand {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 6px;
}
.shingle-card__name {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.5rem; font-weight: 700; color: var(--secondary);
  margin: 0 0 12px;
}
.shingle-card__desc {
  font-size: 0.9rem; color: var(--text-light); line-height: 1.65;
  margin-bottom: 18px;
}
.shingle-card__tag {
  display: inline-block;
  background: var(--light);
  color: var(--primary);
  font-size: 0.75rem; font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.shingle-card--featured .shingle-card__tag {
  background: var(--primary);
  color: var(--white);
}
.shingle-note {
  text-align: center;
  color: var(--text-light);
  margin-top: 32px;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
  font-size: 0.95rem;
}

/* Warranty section */
.warranty-section {
  background: var(--secondary);
  color: var(--white);
  padding: 80px 0;
}
.warranty-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: center;
}
.warranty-row__badge { display: flex; justify-content: center; }
.warranty-big-badge {
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
  text-align: center;
}
.warranty-big-badge svg {
  width: 100px; height: 100px;
  color: rgba(212,120,59,0.5);
  margin-bottom: -60px;
}
.warranty-big-badge__text {
  position: relative;
  background: var(--accent);
  border-radius: 50%;
  width: 200px; height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.warranty-big-badge__num {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 5.5rem; font-weight: 700; line-height: 1;
  color: var(--white);
}
.warranty-big-badge__yr {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
}
.warranty-big-badge__wk {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  padding: 0 12px; text-align: center; line-height: 1.3;
}
.warranty-row__content h2 { color: var(--white); margin-bottom: 16px; }
.warranty-row__content .section-label { color: rgba(212,120,59,0.9); }
.warranty-row__content p { color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.warranty-features {
  display: flex; flex-direction: column; gap: 12px; margin-top: 20px;
}
.warranty-feature {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,0.85); font-size: 0.95rem;
}
.warranty-feature svg {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  color: var(--accent);
}

/* ========================================================================
   RESPONSIVE - ROOFING PAGE
   ======================================================================== */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 32px; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .feature-row:nth-child(even) .feature-row__img { order: 0; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .add-services-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { min-height: 70vh; padding: 100px 0 60px; }
  .page-hero { padding: 110px 0 60px; }
  .team-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  /* Roofing page */
  .roofing-intro { grid-template-columns: 1fr; gap: 40px; }
  .roofing-intro__visual { flex-direction: row; flex-wrap: wrap; }
  .warranty-badge { max-width: 360px; }
  .cert-badges { flex-direction: row; flex-wrap: wrap; }
  .cert-badge { flex: 1 1 160px; }
  .roofing-feature-row { grid-template-columns: 1fr; }
  .roofing-feature-row__img-left { display: none; }
  .roofing-feature-row__content { padding: 48px 24px; }
  .shingle-grid { grid-template-columns: 1fr; }
  .warranty-row { grid-template-columns: 1fr; gap: 40px; }
  .warranty-big-badge__text { width: 160px; height: 160px; }
  .warranty-big-badge__num { font-size: 4rem; }
}
@media (max-width: 480px) {
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; }
  .page-hero__btns { flex-direction: column; }
  .page-hero__btns .btn { width: 100%; }
  .stats-bar { flex-direction: column; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .awards-grid { flex-direction: column; align-items: center; }
  .roofing-feature-row__img-right { display: none; }
  .service-area-split { grid-template-columns: 1fr; }
}

/* ========================================================================
   ABOUT PAGE - ADDITIONAL COMPONENTS
   ======================================================================== */

/* About intro body area */
.about-intro__body { }
.about-intro__badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 24px;
}
.about-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--light);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.85rem; font-weight: 600; color: var(--secondary);
}
.about-badge svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* Award cards (card variant for about page) */
.awards-grid--cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.award-item--card {
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.award-item--card .award-item__icon {
  width: 48px; height: 48px;
  background: rgba(var(--accent-rgb, 210,163,94),0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.award-item--card .award-item__icon svg { width: 24px; height: 24px; }
.award-item--card h4 { color: var(--white); margin-bottom: 6px; font-size: 1.05rem; }
.award-item--card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* Service area split layout */
.service-area-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.service-area-split__body h2 { margin-bottom: 16px; }
.service-area-split__body p { color: var(--text-light); margin-bottom: 16px; }
.service-area-split__contact {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.service-area-split__contact h3 { margin-bottom: 24px; }

/* Area tags */
.area-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.area-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.82rem; font-weight: 500; color: var(--text-light);
}

/* Contact block (used in service area section) */
.contact-block { display: flex; flex-direction: column; gap: 16px; }
.contact-block__item {
  display: flex; align-items: flex-start; gap: 14px;
}
.contact-block__item svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  color: var(--primary);
}
.contact-block__label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted, var(--text-light));
  margin-bottom: 2px;
}
.contact-block__item a { color: var(--primary); font-weight: 500; font-size: 0.95rem; }
.contact-block__item span { font-size: 0.95rem; color: var(--text-light); line-height: 1.5; }

@media (max-width: 768px) {
  .awards-grid--cards { grid-template-columns: 1fr; }
  .service-area-split { grid-template-columns: 1fr; gap: 40px; }
}
