/* ============================================================
   WEST COAST AIR CONDITIONING — Shared Stylesheet
   West Coast HVAC Inc. | CSLB #952030
   Warm, bright, friendly theme — v3
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&family=Dancing+Script:wght@700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Brand colors */
  --red:          #c41230;
  --red-dark:     #9b0e27;
  --red-light:    #e8223f;
  --blue:         #0284c7;
  --blue-dark:    #0369a1;
  --blue-light:   #0ea5e9;
  --purple:       #7c3aed;
  --gold:         #f59e0b;

  /* Light theme surfaces */
  --page-bg:      #ffffff;
  --section-alt:  #f1f5f9;
  --section-warm: #fef9f0;
  --card:         #ffffff;
  --card2:        #f8fafc;
  --border:       #e2e8f0;
  --border-strong:#cbd5e1;

  /* Text */
  --text-dark:    #1e293b;
  --text:         #334155;
  --text-muted:   #64748b;
  --white:        #ffffff;

  /* Dark areas (hero, footer, CTA) */
  --dark-bg:      #0f172a;
  --dark-card:    #1e293b;
  --dark-border:  #334155;
  --dark-text:    rgba(255,255,255,.87);
  --dark-muted:   rgba(255,255,255,.55);

  /* Gradients */
  --grad-red:     linear-gradient(135deg, var(--red), var(--red-dark));
  --grad-blue:    linear-gradient(135deg, var(--blue), var(--blue-dark));
  --grad-hero:    linear-gradient(160deg, #0f172a 0%, #1e0a14 45%, #071a2e 100%);
  --grad-rb:      linear-gradient(90deg, var(--red), var(--purple), var(--blue));
  --grad-warm:    linear-gradient(135deg, #fff7ed 0%, #fef9f0 100%);

  /* Shadows */
  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,.10);
  --shadow-red:   0 4px 20px rgba(196,18,48,.25);
  --shadow-blue:  0 4px 20px rgba(2,132,199,.25);

  /* Misc */
  --radius:       10px;
  --radius-lg:    18px;
  --nav-h:        72px;
  --font-head:    'Oswald', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --font-script:  'Dancing Script', cursive;

  /* Legacy aliases (used in page-specific styles) */
  --black:        var(--text-dark);
  --dark:         var(--section-alt);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: .03em;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

/* Utility overrides */
.text-red    { color: var(--red) !important; }
.text-blue   { color: var(--blue) !important; }
.text-white  { color: var(--white) !important; }
.text-gold   { color: var(--gold) !important; }
.text-dark   { color: var(--text-dark) !important; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }

/* --- Layout --- */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark  { background: var(--section-alt); }
.section-warm  { background: var(--section-warm); }
.section-card  { background: var(--card); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.flex         { display: flex; align-items: center; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  background: rgba(196,18,48,.08);
  padding: 4px 14px;
  border-radius: 20px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 640px; margin: 0 auto; font-size: 1.05rem; color: var(--text-muted); }
.divider {
  width: 64px; height: 4px;
  background: var(--grad-rb);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* Eyebrow (standalone, not in section-header) */
.eyebrow {
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(196,18,48,.08);
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}
/* Eyebrow on dark backgrounds */
.page-hero .eyebrow,
.cta-banner .eyebrow {
  color: var(--blue-light);
  background: rgba(14,165,233,.15);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all .25s;
  text-decoration: none;
}
.btn-red {
  background: var(--grad-red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-red:hover { background: linear-gradient(135deg, var(--red-light), var(--red)); transform: translateY(-2px); color: var(--white); }
.btn-blue {
  background: var(--grad-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover { background: linear-gradient(135deg, var(--blue-light), var(--blue)); transform: translateY(-2px); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-strong);
}
.btn-outline:hover { background: var(--section-alt); color: var(--text-dark); }
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline-red:hover { background: var(--red); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Top Bar --- */
.top-bar {
  background: var(--red-dark);
  padding: 9px 0;
  font-size: .82rem;
  font-family: var(--font-head);
  letter-spacing: .04em;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--gold); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; color: rgba(255,255,255,.9); }
.top-bar-badge {
  background: rgba(255,255,255,.2);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: .75rem;
  color: var(--white);
}

/* --- Navigation (bright, friendly) --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  height: var(--nav-h);
  overflow: hidden;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; overflow: hidden; max-height: var(--nav-h); }
.nav-logo-text { font-family: var(--font-head); line-height: 1.1; }
.nav-logo-text .name { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); letter-spacing: .04em; }
.nav-logo-text .name span { color: var(--blue); }
.nav-logo-text .tagline { font-size: .65rem; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.nav-logo-img { height: 54px !important; max-height: 54px !important; width: auto; max-width: 200px; object-fit: contain; transition: transform .2s; display: block; }
.nav-logo:hover .nav-logo-img { transform: scale(1.03); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 14px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .2s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text-dark); background: var(--section-alt); }
.nav-links a.active { color: var(--red); background: rgba(196,18,48,.07); font-weight: 600; }
.nav-links .nav-cta {
  margin-left: 10px;
  padding: 10px 18px;
  background: var(--grad-red);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: .85rem;
  box-shadow: var(--shadow-red);
}
.nav-links .nav-cta:hover { transform: translateY(-1px); background: linear-gradient(135deg,var(--red-light),var(--red)); }
.nav-links .nav-book {
  padding: 10px 18px;
  background: var(--grad-blue);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: .85rem;
  box-shadow: var(--shadow-blue);
}
.nav-links .nav-book:hover { transform: translateY(-1px); }

/* Mobile Nav Toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* --- Page Hero (inner pages) — stays dark for logo contrast --- */
.page-hero {
  background: var(--grad-hero);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(196,18,48,.10) 0%, transparent 70%);
}
.page-hero .eyebrow { color: var(--blue-light); background: rgba(14,165,233,.15); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { max-width: 640px; margin: 0 auto 24px; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb span { margin: 0 6px; }

/* --- Cards --- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-icon.red    { background: rgba(196,18,48,.10); }
.card-icon.blue   { background: rgba(2,132,199,.10); }
.card-icon.purple { background: rgba(124,58,237,.10); }

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 12px; left: 20px;
  font-size: 5rem; line-height: 1;
  color: var(--red);
  font-family: Georgia, serif;
  opacity: .15;
}
.testimonial-card p { color: var(--text); font-style: italic; padding-top: 20px; }
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; letter-spacing: 2px; }
.testimonial-author { font-family: var(--font-head); font-size: .85rem; color: var(--blue); margin-top: 16px; letter-spacing: .05em; }

/* --- Accent bar --- */
.accent-bar { height: 4px; background: var(--grad-rb); width: 100%; }

/* --- CTA Banner (stays dark — intentional contrast) --- */
.cta-banner {
  background: linear-gradient(135deg, #1e0a14 0%, var(--dark-bg) 50%, #071a2e 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%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/g%3E%3C/svg%3E");
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.75); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Footer (stays dark) --- */
.site-footer {
  background: var(--dark-bg);
  border-top: 4px solid var(--red);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .tagline-script {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: var(--dark-muted);
  margin: 12px 0 16px;
}
.footer-brand p { font-size: .9rem; color: var(--dark-muted); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dark-border);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--dark-muted); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: .9rem; color: var(--dark-muted); }
.footer-contact-item .icon { color: var(--red-light); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--dark-muted); }
.footer-contact-item a:hover { color: var(--white); }
.footer-license {
  font-size: .75rem;
  color: var(--dark-muted);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-top: 16px;
  display: inline-block;
}
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: var(--dark-muted);
}
.footer-bottom a { color: var(--dark-muted); }
.footer-bottom a:hover { color: var(--white); }

/* --- Badges / Trust --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: .82rem;
  font-family: var(--font-head);
  letter-spacing: .05em;
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-control {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,132,199,.12); }
.form-control::placeholder { color: #b0bec5; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

/* --- Accordion (FAQ) --- */
.accordion-item { border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.accordion-btn {
  width: 100%; background: var(--white); border: none; cursor: pointer;
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-size: 1rem; color: var(--text-dark); letter-spacing: .03em;
  text-align: left; transition: background .2s;
}
.accordion-btn:hover { background: var(--section-alt); }
.accordion-btn .icon { color: var(--blue); font-size: 1.2rem; transition: transform .3s; flex-shrink: 0; margin-left: 16px; }
.accordion-btn.open .icon { transform: rotate(45deg); color: var(--red); }
.accordion-body { display: none; padding: 20px 24px; background: var(--card2); border-top: 1px solid var(--border); }
.accordion-body.open { display: block !important; }
.accordion-body p { color: var(--text); margin: 0; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--grad-rb); }
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -34px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}
.timeline-year { font-family: var(--font-head); font-size: .85rem; color: var(--blue); letter-spacing: .1em; margin-bottom: 6px; text-transform: uppercase; }
.timeline-item h3 { margin-bottom: 8px; }


/* --- Stat Boxes --- */
.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s;
}
.stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-box .number {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-rb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-box .label {
  font-family: var(--font-head);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Stars Rating --- */
.stars { color: var(--gold); letter-spacing: 2px; }

/* --- Location Badges --- */
.location-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.location-tag {
  backgroun