/* ===== SUMMIT GLASS CARE — GLOBAL DESIGN SYSTEM ===== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --color-navy: #0D2B5E;
  --color-navy-mid: #173E7A;
  --color-sky: #29ABE2;
  --color-sky-light: #7ED6F7;
  --color-white: #FFFFFF;
  --color-off-white: #F4F8FC;
  --color-text: #1A1A2E;
  --color-text-muted: #556080;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);
  --shadow-glass: 0 8px 32px rgba(13,43,94,0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 12px;
}
.section-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-sky);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-primary:hover { background: #1E95C9; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-white);
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-outline:hover { background: var(--color-sky); border-color: var(--color-sky); transform: translateY(-2px); }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  color: var(--color-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-white:hover { background: var(--color-sky); color: var(--color-white); transform: translateY(-2px); }
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-navy:hover { background: var(--color-navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== GLASSMORPHISM ===== */
.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), var(--shadow-glass);
}

/* ===== STICKY NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.navbar.navbar-light {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.navbar.navbar-light .nav-logo-text { color: var(--color-navy); }
.navbar.navbar-light .nav-links a { color: var(--color-navy); }
.navbar.navbar-light .hamburger span { background: var(--color-navy); }

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1002;
}
.nav-logo svg { width: 52px; height: 52px; }
.nav-logo img { width: 120px; height: auto; object-fit: contain; border-radius: 6px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
  letter-spacing: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-logo-text { color: var(--color-navy); }
.navbar.scrolled .nav-logo svg circle { fill: var(--color-navy); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-white);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-sky);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--color-navy); }
.navbar.navbar-light .nav-links a.active::after { width: 100%; }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { display: none !important; }
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > a .dd-arrow {
  width: 10px; height: 10px;
  transition: var(--transition);
}
.nav-dropdown:hover > a .dd-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  padding: 8px 0;
  z-index: 1010;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--color-navy) !important;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.nav-dropdown-menu a:hover {
  background: var(--color-off-white);
  color: var(--color-sky) !important;
}
.nav-dropdown-menu a::after { display: none !important; }

.nav-cta {
  background: var(--color-sky);
  color: var(--color-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-xl);
  font-weight: 600 !important;
  transition: var(--transition);
}
.nav-cta:hover { background: #1E95C9; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  z-index: 1002;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
  border-radius: 2px;
}
.navbar.scrolled .hamburger span { background: var(--color-navy); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--color-navy);
  z-index: 1001;
  transition: var(--transition);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.active { right: 0; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.mobile-menu a:hover { color: var(--color-sky); }
.mobile-menu .mob-cta {
  background: var(--color-sky);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-xl);
  margin-top: 16px;
}
.mobile-menu .mob-phone {
  color: var(--color-sky-light);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  margin-top: auto;
}
.mobile-menu .mob-sub {
  font-size: 16px;
  padding-left: 16px;
  letter-spacing: 1px;
}
.mobile-menu .mob-sub a {
  font-size: 16px;
  color: var(--color-sky-light);
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.menu-overlay.active { opacity: 1; pointer-events: all; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  min-height: 40vh;
  background: linear-gradient(160deg, #060F1F 0%, var(--color-navy) 40%, #1a3a6b 70%, #0e2040 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(255,255,255,0.015) 80px,
    rgba(255,255,255,0.015) 82px
  );
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a {
  color: var(--color-sky-light);
  transition: var(--transition);
}
.page-hero .breadcrumb a:hover { color: var(--color-sky); }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 80px);
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-sky-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== QUOTE CTA SECTION (shared) ===== */
.quote-cta {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-sky) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(255,255,255,0.03) 80px,
    rgba(255,255,255,0.03) 82px
  );
  z-index: 0;
}
.quote-cta .container { position: relative; z-index: 1; }
.quote-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}
.quote-cta .sub {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.quote-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.quote-note {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-navy);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand .footer-logo svg { width: 48px; height: 48px; }
.footer-brand .footer-logo img { width: 160px; height: auto; object-fit: contain; border-radius: 6px; }
.footer-brand .footer-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  letter-spacing: 2px;
}
.footer-tagline {
  font-style: italic;
  color: var(--color-sky-light);
  margin-bottom: 8px;
  font-size: 15px;
}
.footer-brand p { font-size: 14px; margin-bottom: 12px; }
.footer-stars { color: #FBBF24; font-size: 14px; }
.footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer ul li a:hover { color: var(--color-sky); }
.footer-contact p { font-size: 14px; margin-bottom: 10px; }
.footer-contact a { color: var(--color-sky-light); }
.footer-contact .btn-primary { font-size: 13px; padding: 10px 20px; margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== FLOATING MOBILE CTA ===== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-sky);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  z-index: 998;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.floating-cta.visible { transform: translateX(-50%) translateY(0); }
.floating-cta .dismiss {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
@media (max-width: 900px) {
  .floating-cta { display: block; }
}

/* ===== SHARED SECTION PATTERNS ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-sub { max-width: 560px; margin: 0 auto; }

/* Trust badges */
.trust-badges { background: var(--color-white); padding: 32px 0; border-bottom: 1px solid rgba(13,43,94,0.06); }
.badges-row { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-sky);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .badges-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 24px;
  }
  .badges-row::-webkit-scrollbar { display: none; }
}

/* Review cards */
.review-card {
  background: var(--color-white);
  border: 1px solid rgba(41,171,226,0.15);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { margin-bottom: 16px; }
.review-stars svg { display: inline-block; }
.review-text { font-size: 15px; color: var(--color-navy); line-height: 1.7; margin-bottom: 20px; flex: 1; }
.review-author { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--color-navy); }
.review-via { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.review-via svg { width: 14px; height: 14px; }

/* Area pills */
.area-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }
.area-pill {
  border: 2px solid var(--color-sky);
  color: var(--color-navy);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
}
.area-pill:hover { background: var(--color-sky); color: var(--color-white); }

/* Feature check rows */
.feature-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 500; color: var(--color-text); }
.feature-row svg { flex-shrink: 0; }

/* Process steps */
.steps-row { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.step { flex: 1; max-width: 300px; text-align: center; position: relative; padding: 0 24px; }
.step-number {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 900; font-size: 80px;
  color: rgba(255,255,255,0.04); z-index: 0; line-height: 1;
}
.step-icon {
  width: 64px; height: 64px; background: rgba(41,171,226,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
}
.step-icon svg { width: 28px; height: 28px; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--color-white); margin-bottom: 8px; position: relative; z-index: 1; }
.step p { color: var(--color-sky-light); font-size: 14px; line-height: 1.7; position: relative; z-index: 1; }
.step-connector { display: flex; align-items: center; padding-top: 32px; flex-shrink: 0; }
.step-connector svg { width: 60px; }
@media (max-width: 768px) {
  .steps-row { flex-direction: column; align-items: center; gap: 40px; }
  .step-connector { display: none; }
}

/* Before/After slider */
.ba-slider {
  position: relative; width: 100%; max-width: 900px; height: 500px;
  margin: 0 auto 40px; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); cursor: ew-resize; user-select: none;
}
.ba-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-divider { position: absolute; top: 0; left: 50%; width: 3px; height: 100%; background: var(--color-white); z-index: 3; transform: translateX(-50%); }
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; background: var(--color-white); border-radius: 50%;
  z-index: 4; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); animation: pulseHandle 2s ease-in-out infinite;
}
@keyframes pulseHandle {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}
.ba-handle svg { width: 20px; height: 20px; }
.ba-label {
  position: absolute; top: 20px; z-index: 5;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 3px; padding: 6px 16px; border-radius: var(--radius-xl);
}
.ba-label-before { left: 20px; background: var(--color-navy); color: var(--color-white); }
.ba-label-after { right: 20px; background: var(--color-sky); color: var(--color-white); }
@media (max-width: 768px) { .ba-slider { height: 300px; } }
@media (max-width: 768px) {
  .nav-logo img { width: 90px; }
  .footer-brand .footer-logo img { width: 120px; }
}

/* FAQ Accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(13,43,94,0.1); }
.faq-question {
  width: 100%; background: none; text-align: left; padding: 20px 0;
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--color-navy); cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--color-sky); }
.faq-question .faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  color: var(--color-text-muted); font-size: 15px; line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 0 20px; }
