/* ===== WESTSIDE WINDOWS — Design System v2 ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary:        #0a2540;
  --primary-light:  #1a3a60;
  --secondary:      #00add8;
  --secondary-dark: #028eaf;
  --bg:             #ffffff;
  --surface:        #f8fafc;
  --surface-2:      #eef2f7;
  --text:           #334155;
  --heading:        #0f172a;
  --muted:          #64748b;
  --border:         #e2e8f0;
  --success:        #22c55e;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 32px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);

  --nav-height: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  color: var(--heading);
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.2;
}
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section        { padding: 5rem 0; }
.section-light  { background: var(--bg); }
.section-gray   { background: var(--surface); }
.section-dark   { background: var(--primary); color: #fff; }
.text-center    { text-align: center; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.grid-2.reversed > *:first-child { order: 2; }
.grid-2.reversed > *:last-child  { order: 1; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--secondary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: var(--secondary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,173,216,0.35);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover {
  background: var(--primary-light);
  box-shadow: 0 6px 18px rgba(10,37,64,0.35);
}
.btn-lg {
  font-size: 1.1rem;
  padding: 0.9rem 2.25rem;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}
.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  flex-shrink: 0;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo span { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: width 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 8px;
  transition: background 0.15s;
  margin-left: 0.5rem;
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; width: 100%;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  z-index: 999;
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}
.nav-mobile .nav-link::after { display: none; }
.nav-mobile .btn { margin-top: 1.25rem; }

/* Offset content for fixed nav */
main { padding-top: var(--nav-height); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero-short { min-height: 52vh; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,37,64,0.88) 0%, rgba(10,37,64,0.52) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-content.centered { margin: 0 auto; text-align: center; }
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin-bottom: 0.75rem;
  max-width: 580px;
}
.hero-content.centered p { margin-left: auto; margin-right: auto; }
.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-content.centered .hero-actions { justify-content: center; }
.hero-trust {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
}
.hero-content.centered .hero-trust { justify-content: center; }
.hero-trust .check { color: var(--secondary); font-weight: 700; }

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--primary);
  padding: 3rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item .num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.trust-item .lbl {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  margin-top: 0.35rem;
}

/* ===== FEATURE LIST ===== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
}
.feature-list li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-list strong { color: var(--primary); }

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.card-body li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-body li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== PROCESS STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.testimonial-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.testimonial p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.testimonial-author { font-weight: 700; font-size: 0.875rem; }
.testimonial-location { font-size: 0.8rem; color: var(--muted); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-grid img:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--secondary) 0%, #0094bd 100%);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-dark { background: var(--primary); }
.cta-band .btn-dark:hover { background: var(--primary-light); }

/* ===== CONTACT INFO SIDEBAR ===== */
.info-sidebar {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.info-sidebar h3 { color: #fff; margin-bottom: 1.5rem; font-size: 1.25rem; }
.info-item {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.info-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,173,216,0.2);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.info-item .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 0.15rem; }
.info-item .val { font-weight: 600; color: #fff; }
.info-item a { color: var(--secondary); }
.info-item a:hover { text-decoration: underline; }
.info-badges {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.info-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}
.info-badge .check { color: var(--secondary); font-weight: 700; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.75rem; color: #fff; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; }
.footer-heading {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list li, .footer-list a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-list a:hover { color: var(--secondary); }
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.footer-badges span { display: flex; align-items: center; gap: 0.4rem; }
.footer-badges .check { color: var(--secondary); font-weight: 700; }
.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.15);
  padding: 1.25rem 0;
  font-size: 0.8rem;
}

/* ===== FORM ===== */
.form-wrapper {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1.5rem 0 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.75rem;
}

/* CRITICAL: must keep this exact class — lead-integration.js uses closest() on it */
.page-module__nC61QG__formGroup {
  margin-bottom: 1.2rem;
}
.page-module__nC61QG__formGroup label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--heading);
  margin-bottom: 0.4rem;
}
.page-module__nC61QG__formGroup input[type="text"],
.page-module__nC61QG__formGroup input[type="email"],
.page-module__nC61QG__formGroup input[type="tel"],
.page-module__nC61QG__formGroup input[type="number"],
.page-module__nC61QG__formGroup select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--heading);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.page-module__nC61QG__formGroup select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.page-module__nC61QG__formGroup input:focus,
.page-module__nC61QG__formGroup select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0,173,216,0.12);
}
.page-module__nC61QG__formGroup label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  cursor: pointer;
  font-size: 0.95rem;
}
.page-module__nC61QG__formGroup input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: var(--secondary);
  flex-shrink: 0;
  cursor: pointer;
}
.quote-result {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--heading);
}
.page-module__nC61QG__submitBtn {
  width: 100%;
  font-size: 1.05rem;
  padding: 0.9rem;
  border-radius: var(--radius-md) !important;
}

/* ===== MOBILE STICKY BAR ===== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 990;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 0.65rem 1rem;
  gap: 0.625rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: inherit;
  text-decoration: none;
}
.bar-call    { background: var(--primary); color: #fff; }
.bar-wp      { background: #22c55e; color: #fff; }
.bar-quote   { background: var(--secondary); color: #fff; }

/* ===== SHARED NAV JS STATE ===== */
.nav-phone-link {
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
}
.nav-phone-link:hover { color: var(--primary); }

/* ===== SECTION LABELS ===== */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}
.centered .section-sub { margin: 0 auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-2.reversed > *:first-child { order: unset; }
  .grid-2.reversed > *:last-child  { order: unset; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links   { display: none; }
  .nav-toggle  { display: flex; }
  .nav-phone-link { display: none; }

  .hero        { min-height: 75vh; }
  .hero-short  { min-height: 48vh; }
  .section     { padding: 3.5rem 0; }

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

  .mobile-bar  { display: flex; }
  body         { padding-bottom: 68px; }

  .form-wrapper { padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: none; border-color: transparent; }
  .form-grid-2  { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 150px; }
  .cards-grid   { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: repeat(2, 1fr); }
  .trust-grid   { gap: 1rem; }
  .trust-item .num { font-size: 1.75rem; }
}
