/*
Theme Name: SD Aluminum Patio Covers
Theme URI: https://sandiegoaluminum.com
Author: Elite Digital Marketing
Description: Apex lead-generation WordPress theme for San Diego Aluminum Patio Covers. Built for maximum conversions and local SEO dominance.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sd-aluminum
Tags: lead-generation, contractor, patio-covers, aluminum, san-diego, local-seo
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:        #0D1B2A;
  --navy-mid:    #1A2F45;
  --navy-light:  #243B55;
  --gold:        #C8962E;
  --gold-light:  #E8B04A;
  --gold-pale:   #F5E6C8;
  --sand:        #F7F3EC;
  --white:       #FFFFFF;
  --gray-100:    #F8F9FA;
  --gray-200:    #E9ECEF;
  --gray-500:    #6C757D;
  --gray-700:    #495057;
  --gray-900:    #212529;
  --green:       #2ECC71;
  --red:         #E74C3C;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', sans-serif;

  --shadow-sm:   0 2px 8px rgba(13,27,42,.12);
  --shadow-md:   0 8px 32px rgba(13,27,42,.18);
  --shadow-lg:   0 20px 60px rgba(13,27,42,.25);
  --shadow-gold: 0 8px 40px rgba(200,150,46,.35);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   24px;

  --transition:      all .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .6s cubic-bezier(.4,0,.2,1);
  --container:   1200px;
  --section-pad: 100px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: var(--section-pad) 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 50px;
}
.section-title-center { text-align: center; }
.title-accent { position: relative; display: inline-block; }
.title-accent::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  transform: translateX(-100%);
  transition: transform .4s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
  border-color: transparent;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 50px rgba(200,150,46,.5);
  color: var(--navy);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-lg { padding: 20px 48px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy);
  padding: 10px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: var(--gold); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-item .tb-icon { color: var(--gold); font-size: .9rem; }
.top-bar-badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.top-bar-badge-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(200,150,46,.4);
  font-weight: 700;
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}
.logo-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 1.5; }
.logo-text .logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  display: block;
}
.logo-text .logo-tagline {
  font-size: .68rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: .02em;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(200,150,46,.08);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-phone { display: flex; flex-direction: column; align-items: flex-end; }
.header-phone .hp-label {
  font-size: .68rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.header-phone a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.header-phone a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  width: 100%;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.78) 50%, rgba(13,27,42,.45) 100%);
}
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 38%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(200,150,46,.08) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,150,46,.15);
  border: 1px solid rgba(200,150,46,.4);
  border-radius: 30px;
  padding: 8px 20px;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeSlideDown .8s ease forwards;
  opacity: 0;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeSlideUp .9s .2s ease forwards;
  opacity: 0;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 40px;
  max-width: 580px;
  animation: fadeSlideUp .9s .4s ease forwards;
  opacity: 0;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeSlideUp .9s .6s ease forwards;
  opacity: 0;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeSlideUp .9s .8s ease forwards;
  opacity: 0;
}
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item .ht-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-trust-item .ht-label {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.hero-trust-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.2);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll-arrow {
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--navy);
  padding: 24px 0;
  border-top: 1px solid rgba(200,150,46,.2);
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
}
.trust-bar-icon {
  width: 42px; height: 42px;
  background: rgba(200,150,46,.15);
  border: 1px solid rgba(200,150,46,.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.trust-bar-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.trust-bar-text .tb-label {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  display: block;
}
.trust-bar-text .tb-value {
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  display: block;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--sand); padding: var(--section-pad) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: scaleX(0);
  transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-body { padding: 28px; }
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gold-pale), var(--sand));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--gray-500); margin-bottom: 20px; }
.service-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.service-feature { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--gray-700); }
.service-feature .check {
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.service-feature .check svg { width: 8px; height: 8px; fill: none; stroke: currentColor; stroke-width: 3; }

/* ============================================================
   WHY US
   ============================================================ */
.why-us { background: var(--white); padding: var(--section-pad) 0; position: relative; overflow: hidden; }
.why-us::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,150,46,.06) 0%, transparent 70%);
  pointer-events: none;
}
.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-us-image { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.why-us-image img {
  width: 100%; height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.why-us-badge {
  position: absolute;
  bottom: 32px; right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
}
.why-us-badge .badge-icon {
  width: 50px; height: 50px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.why-us-badge .badge-stars { color: var(--gold); font-size: .85rem; margin-bottom: 4px; }
.why-us-badge .badge-rating {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.why-us-badge .badge-count { font-size: .75rem; color: var(--gray-500); }
.benefits-list { display: flex; flex-direction: column; gap: 28px; margin: 40px 0; }
.benefit-item { display: flex; gap: 20px; }
.benefit-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-pale);
  line-height: 1;
  min-width: 60px;
  flex-shrink: 0;
}
.benefit-content h4 { font-size: 1.1rem; margin-bottom: 6px; color: var(--navy); }
.benefit-content p { font-size: .9rem; color: var(--gray-500); }

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C8962E' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.stat-card { text-align: center; color: var(--white); padding: 20px; }
.stat-icon { font-size: 2.5rem; margin-bottom: 16px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number .suffix { color: var(--gold); }
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--sand); padding: var(--section-pad) 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
  margin-top: 56px;
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: pointer; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: var(--white); }
.gallery-caption .gc-type {
  font-size: .72rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 4px;
}
.gallery-caption .gc-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ============================================================
   LEAD FORM SECTION
   ============================================================ */
.lead-form-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.lead-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23C8962E' stroke-width='1'%3E%3Ccircle cx='400' cy='400' r='200' opacity='.05'/%3E%3Ccircle cx='400' cy='400' r='300' opacity='.04'/%3E%3Ccircle cx='400' cy='400' r='400' opacity='.03'/%3E%3C/g%3E%3C/svg%3E");
  background-position: right center;
  background-repeat: no-repeat;
  pointer-events: none;
}
.lead-form-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
  position: relative;
}
.lead-form-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 20px;
}
.lead-form-left h2 em { color: var(--gold-light); font-style: italic; }
.lead-form-left p { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 36px; }
.form-promises { display: flex; flex-direction: column; gap: 16px; }
.form-promise { display: flex; align-items: flex-start; gap: 12px; }
.promise-check {
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.promise-check svg { width: 12px; height: 12px; stroke: var(--navy); stroke-width: 3; fill: none; }
.form-promise-text strong { display: block; color: var(--white); font-size: .9rem; }
.form-promise-text span { color: rgba(255,255,255,.6); font-size: .82rem; }

.lead-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.lead-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 0 0 4px 4px;
}
.form-header { text-align: center; margin-bottom: 32px; }
.form-header .fh-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.form-header h3 { font-size: 1.5rem; color: var(--navy); }
.form-header p { font-size: .85rem; color: var(--gray-500); margin-top: 6px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; letter-spacing: .02em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--gray-900);
  background: var(--gray-100);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200,150,46,.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-disclaimer { font-size: .73rem; color: var(--gray-500); text-align: center; margin-top: 12px; }
.form-disclaimer a { color: var(--gold); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--white); padding: var(--section-pad) 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-pale); }
.testimonial-quote { font-size: 4rem; font-family: var(--font-display); color: var(--gold); line-height: .8; margin-bottom: 16px; }
.testimonial-text { font-size: .95rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 28px; font-style: italic; }
.testimonial-stars { color: var(--gold); font-size: .9rem; margin-bottom: 16px; display: flex; gap: 2px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-info .ai-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
.author-info .ai-location { font-size: .78rem; color: var(--gray-500); }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas { background: var(--navy); padding: 80px 0; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.area-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.area-chip svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; flex-shrink: 0; }
.area-chip:hover {
  background: rgba(200,150,46,.12);
  border-color: rgba(200,150,46,.4);
  color: var(--white);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--sand); padding: var(--section-pad) 0; }
.faq-list {
  max-width: 780px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--gold-pale); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.faq-question:hover { color: var(--gold); }
.faq-toggle {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--navy);
}
.faq-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.faq-item.open .faq-toggle { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 26px 22px; font-size: .9rem; color: var(--gray-700); line-height: 1.75; }

/* ============================================================
   FLOATING CTA
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 14px 0;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.floating-cta.visible { transform: translateY(0); }
.floating-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.floating-cta-text .fct-bold { font-weight: 700; font-size: .95rem; color: var(--white); }
.floating-cta-text .fct-small { font-size: .78rem; color: rgba(255,255,255,.6); }
.floating-cta-actions { display: flex; align-items: center; gap: 12px; }
.floating-cta-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  flex-shrink: 0;
  cursor: pointer;
  border: none;
}
.floating-cta-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.floating-cta-close:hover { color: var(--white); background: rgba(255,255,255,.2); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-desc {
  font-size: .88rem;
  line-height: 1.8;
  margin: 20px 0 28px;
  color: rgba(255,255,255,.55);
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  text-decoration: none;
}
.social-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.social-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
  text-decoration: none;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact-item .fci-icon {
  width: 34px; height: 34px;
  background: rgba(200,150,46,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item .fci-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.footer-contact-item .fci-info .fci-label {
  font-size: .7rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  display: block;
}
.footer-contact-item .fci-info a,
.footer-contact-item .fci-info span {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.footer-contact-item .fci-info a:hover { color: var(--gold); }
.footer-lic-box {
  margin-top: 16px;
  padding: 14px;
  background: rgba(200,150,46,.1);
  border-radius: 8px;
  border: 1px solid rgba(200,150,46,.2);
}
.footer-lic-box .lic-title {
  font-size: .72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}
.footer-lic-box .lic-text {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  transition: var(--transition);
  text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  background: var(--gray-100);
  padding: 12px 0;
  font-size: .82rem;
  color: var(--gray-500);
}
.breadcrumbs a { color: var(--gray-500); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 6px; color: var(--gray-500); }

/* ============================================================
   ENTRY CONTENT (blog/pages)
   ============================================================ */
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 28px 0 12px; }
.entry-content p { margin-bottom: 18px; line-height: 1.8; }
.entry-content ul, .entry-content ol { margin: 12px 0 18px 24px; }
.entry-content li { margin-bottom: 6px; line-height: 1.7; }
.entry-content a { color: var(--gold); }
.entry-content a:hover { text-decoration: underline; }
.entry-content img { border-radius: var(--radius-md); margin: 20px 0; }
.entry-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--sand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--gray-700);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.85); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .why-us-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-us-image img { height: 380px; }
  .why-us-badge { right: 16px; }
  .lead-form-inner { grid-template-columns: 1fr; gap: 48px; }
  .lead-form-card { max-width: 560px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .top-bar-right { display: none; }
  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 40px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.5rem; font-family: var(--font-display); }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .hero { min-height: 100svh; }
  .hero-bg { background-attachment: scroll; }
  .hero h1 { font-size: 2.4rem; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .hero-trust { gap: 20px; }
  .hero-trust-divider { height: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: auto; }
  .gallery-item { height: 200px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-number { font-size: 2.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lead-form-card { padding: 32px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-cta .container { flex-wrap: wrap; }
  .trust-bar .container { justify-content: flex-start; gap: 16px; }
}
