/* ============================================
   Lowkey Window Tint — Style System v2
   ============================================ */

:root {
  --bg: #0f0e10;
  --surface: #1a191c;
  --border: #2a2930;
  --accent: #d42027;
  --accent-hover: #e8343b;
  --accent-dark: #b01a20;
  --text: #ffffff;
  --text-secondary: #b0b0b8;
  --text-muted: #606068;
  --wrapper: 1100px;
  --radius: 8px;
  --radius-sm: 5px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

.wrapper {
  max-width: var(--wrapper);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   Header / Nav
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 14, 16, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(15, 14, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: var(--wrapper);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  flex-shrink: 0;
}
.header-logo img {
  height: 32px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
}
.desktop-nav a {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--text); }

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.header-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}
.header-cta svg { flex-shrink: 0; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger active state */
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(15, 14, 16, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-link {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mobile-nav-link:hover { color: var(--text); }
.mobile-nav-cta {
  color: var(--accent) !important;
  font-weight: 600;
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .desktop-nav { display: none; }
  .header-cta { display: none; }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(212, 32, 39, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, transparent 50%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 24px rgba(212, 32, 39, 0.25));
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.hero-sub-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-secondary {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}
.hero-secondary:hover { color: var(--text); }

/* ============================================
   Trust Strip
   ============================================ */

.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.trust-badge svg {
  flex-shrink: 0;
  color: var(--accent);
}

.trust-badge strong {
  color: var(--text);
  font-weight: 600;
}

a.trust-badge {
  color: var(--text-secondary);
  transition: color 0.2s;
}
a.trust-badge:hover { color: var(--text); }

@media (max-width: 640px) {
  .trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    justify-items: center;
  }
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 3rem;
  font-weight: 300;
  margin-top: 0.75rem;
}

/* ============================================
   Services
   ============================================ */

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.service-icon {
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Why Tint — Feature Rows
   ============================================ */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.feature-row:last-of-type { margin-bottom: 0; }

.feature-row-reverse .feature-image { order: 2; }
.feature-row-reverse .feature-text { order: 1; }

.feature-image img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.feature-text h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .feature-row,
  .feature-row-reverse .feature-image,
  .feature-row-reverse .feature-text {
    grid-template-columns: 1fr;
    order: unset;
  }
  .feature-row { display: flex; flex-direction: column; gap: 1.5rem; }
}

/* ============================================
   Stats Row
   ============================================ */

.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  flex: 0 1 160px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ============================================
   Tint Levels (VLT)
   ============================================ */

.tint-scale-image {
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tint-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tint-card {
  flex: 1 1 0;
  min-width: 120px;
  max-width: 150px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 0.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.tint-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--tint-opacity, 0.5);
  z-index: 0;
  transition: opacity 0.3s ease;
}
.tint-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.tint-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.tint-card:hover::after { transform: scaleX(1); }

.tint-percent {
  position: relative;
  z-index: 1;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.tint-name {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.tint-desc {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.tint-legal {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .tint-card {
    flex: 0 0 calc(25% - 0.375rem);
    min-width: 0;
    max-width: none;
    padding: 0.75rem 0.35rem;
  }
  .tint-percent { font-size: 1.25rem; }
  .tint-name { font-size: 0.6rem; letter-spacing: 0.02em; }
  .tint-desc { font-size: 0.6rem; line-height: 1.3; }
}

/* ============================================
   Carbon vs. Ceramic
   ============================================ */

.film-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.film-card {
  background: linear-gradient(180deg, rgba(26, 25, 28, 1) 0%, rgba(15, 14, 16, 1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  position: relative;
}
.film-card-premium {
  border-color: var(--accent);
}

.film-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.film-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.film-tagline {
  color: var(--accent);
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.film-card > p:not(.film-tagline) {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.film-features {
  list-style: none;
  padding: 0;
}
.film-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.film-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 640px) {
  .film-grid { grid-template-columns: 1fr; }
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
  background: var(--bg);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.comparison-table tbody td {
  background: var(--surface);
  color: var(--text-secondary);
}
.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }

/* Desert Verdict Quote */
.desert-verdict {
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.desert-verdict strong { color: var(--text); }

/* ============================================
   Reviews
   ============================================ */

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.reviews-header .google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.review-card {
  flex: 0 1 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.review-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.review-author strong {
  font-size: 0.875rem;
}
.review-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-cta {
  text-align: center;
}

.reviews-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.reviews-cta a:hover { color: var(--accent); }

/* ============================================
   CTA Strip
   ============================================ */

.cta-strip {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(212, 32, 39, 0.08) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-strip h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-strip .cta-phone {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.cta-strip .cta-phone:hover { color: var(--accent-hover); }

.cta-details p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.cta-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: color 0.2s;
}
.cta-instagram:hover { color: var(--accent); }
.cta-instagram svg { flex-shrink: 0; }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 1rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.footer-social:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-hosted {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-hosted a { color: var(--text-muted); }
.footer-hosted a:hover { color: var(--accent); }

/* ============================================
   Floating Mobile CTA
   ============================================ */

.floating-cta {
  display: none;
}

@media (max-width: 768px) {
  .floating-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--accent);
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    transition: transform 0.4s ease;
  }
  .floating-cta.visible {
    transform: translateY(0);
  }
  .floating-cta:hover {
    background: var(--accent-hover);
    color: #fff;
  }
  .floating-cta svg { flex-shrink: 0; }

  /* Add bottom padding to body so footer isn't hidden behind floating CTA */
  body { padding-bottom: 56px; }
}
