/* ================================================================
   Brandon's Window Tinting — design system
   Fonts:  Clarity City (display, self-hosted) + Chivo (Google)
   Accent: #ff3434  ·  Ink: #070707
   ================================================================ */

@font-face {
  font-family: 'Clarity City';
  src: url('../assets/fonts/ClarityCity-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clarity City';
  src: url('../assets/fonts/ClarityCity-Medium.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clarity City';
  src: url('../assets/fonts/ClarityCity-Bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clarity City';
  src: url('../assets/fonts/ClarityCity-ExtraBold.woff') format('woff');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clarity City';
  src: url('../assets/fonts/ClarityCity-Black.woff') format('woff');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clarity City';
  src: url('../assets/fonts/ClarityCity-BlackItalic.woff') format('woff');
  font-weight: 900; font-style: italic; font-display: swap;
}

:root {
  --red: #ff3434;
  --red-dark: #be0000;
  --ink: #070707;
  --ink-2: #131313;
  --gray-700: #393939;
  --gray-500: #6b6b6b;
  --gray-400: #919191;
  --gray-300: #d6d6d6;
  --gray-200: #f0f0f0;
  --gray-100: #f6f6f6;
  --white: #ffffff;
  --display: 'Clarity City', 'Arial Black', sans-serif;
  --body: 'Chivo', 'Helvetica Neue', sans-serif;
  --shadow-btn: 0 14px 24px -10px rgba(255, 52, 52, .45);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

.container { width: min(1200px, 92%); margin: 0 auto; position: relative; z-index: 2; }
.container.narrow { width: min(860px, 92%); }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.35rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; margin-bottom: 18px; }
h3 { font-size: 1.22rem; line-height: 1.25; }
h2.light, h3.light { color: var(--white); }
.accent { color: var(--red); font-style: inherit; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--body); font-style: italic; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .82rem; color: var(--red); margin-bottom: 18px;
}
.eyebrow-line { display: inline-block; width: 72px; height: 2px; background: var(--red); flex: none; }
.eyebrow.light { color: var(--red); }

.section-sub { max-width: 560px; margin-bottom: 30px; color: var(--gray-500); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body); font-style: italic; font-weight: 700;
  font-size: 1.02rem; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  text-align: center;
  padding: 22px 30px;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-6px); }
.btn:active { transform: translateY(-2px); }
.btn-primary { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-sm { padding: 14px 22px; font-size: .9rem; }
.btn-lg { padding: 26px 44px; font-size: 1.12rem; }
.buttons-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--ink);
  transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.navbar-logo img { height: 44px; width: auto; }
.navbar-links { display: flex; align-items: center; gap: 30px; }
.navbar-links a:not(.btn) {
  font-family: var(--body); font-style: italic; font-weight: 700;
  font-size: .84rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.navbar-links a:not(.btn):hover { color: var(--red); border-color: var(--red); }
.navbar-right { display: flex; align-items: center; gap: 16px; }
.nav-book-mobile { display: none; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 46px; height: 46px; padding: 10px;
  background: transparent; border: 2px solid var(--white); cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; width: 100%; background: var(--white); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(0,0,0,.92) 32%, rgba(0,0,0,.45) 75%, rgba(0,0,0,.55) 100%),
    url('../assets/img/hero-bg.jpg') center right / cover no-repeat;
  background-color: var(--ink);
  padding: 190px 0 0;
  color: var(--white);
}
.hero-inner { min-height: 480px; display: flex; align-items: center; }
.hero-content { max-width: 660px; padding-bottom: 70px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 540px; margin-bottom: 34px; }
.google-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 30px; padding: 12px 18px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  color: var(--white); text-decoration: none; font-size: .95rem;
  transition: background .2s ease;
}
.google-badge:hover { background: rgba(255,255,255,.14); }
.google-badge strong { font-size: 1.05rem; }
.stars { color: #ffb400; letter-spacing: 3px; font-size: .95rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 34px 0 44px;
  gap: 20px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-number {
  font-family: var(--display); font-style: italic; font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.1rem); color: var(--red); line-height: 1;
}
.stat-label {
  font-style: italic; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .8rem; color: rgba(255,255,255,.75);
}

/* ---------- sections ---------- */
.section { position: relative; padding: 110px 0; overflow: hidden; }
.section.dark { background: var(--ink); }
.section.gray { background: var(--gray-100); }

.bg-word {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-style: italic; font-weight: 900;
  text-transform: uppercase; white-space: nowrap;
  font-size: clamp(4.5rem, 12vw, 9.5rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(7,7,7,.10);
  text-stroke: 1.5px rgba(7,7,7,.10);
  user-select: none; pointer-events: none;
  z-index: 1;
}
.section.dark .bg-word { -webkit-text-stroke-color: rgba(255,255,255,.10); }
.section.gray .bg-word { -webkit-text-stroke-color: rgba(7,7,7,.12); }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-top: 40px; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media { position: relative; }
.split-media img { position: relative; z-index: 2; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.media-shape {
  position: absolute; z-index: 1; width: 62%; height: 62%;
  background: var(--red); opacity: .9;
  top: -26px; right: -18px;
  transform: skewX(-8deg);
}
.media-shape.alt { top: auto; bottom: -26px; left: -18px; right: auto; transform: skewX(8deg); }

.feature-list { list-style: none; margin: 8px 0 34px; display: flex; flex-direction: column; gap: 26px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; }
.feature-mark {
  flex: none; width: 20px; height: 34px; margin-top: 4px;
  background: var(--red); transform: skewX(-14deg);
}
.feature-list h3 { margin-bottom: 6px; }
.feature-list p { color: var(--gray-500); font-size: .98rem; }

/* ---------- services ---------- */
.services h2 { margin-bottom: 46px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.09);
  padding: 20px 20px 26px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--red); }
.service-photo { overflow: hidden; margin-bottom: 20px; aspect-ratio: 4 / 3.4; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-photo img { transform: scale(1.05); }
.service-card h3 { color: var(--white); margin-bottom: 12px; }
.service-card ul { list-style: none; margin-bottom: 20px; flex: 1; }
.service-card li {
  color: rgba(255,255,255,.72); font-size: .93rem; padding: 5px 0 5px 22px; position: relative;
}
.service-card li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 10px; height: 10px; background: var(--red); transform: skewX(-14deg);
}
.card-link {
  font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: .86rem; color: var(--red); text-decoration: none;
}
.card-link:hover { color: var(--white); }
.card-link span { transition: transform .2s ease; display: inline-block; }
.card-link:hover span { transform: translateX(5px); }

/* ---------- builder ---------- */
.builder { background: var(--white); }
.builder-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.builder-frame {
  position: relative;
  border: 3px solid var(--ink);
  box-shadow: 18px 18px 0 var(--red);
  background: var(--gray-100);
}
.builder-frame iframe { display: block; width: 100%; height: 760px; border: 0; }
.builder-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  font-family: var(--display); font-style: italic; font-weight: 900;
  font-size: 2.4rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}
.step p { color: var(--gray-500); font-size: .97rem; }
.step strong { color: var(--ink); text-transform: uppercase; font-style: italic; letter-spacing: .03em; }

/* ---------- reviews ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.slider-controls { display: flex; gap: 12px; }
.slider-btn {
  width: 54px; height: 54px; border: 2.5px solid var(--ink); background: transparent;
  font-size: 1.3rem; cursor: pointer; color: var(--ink);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.slider-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: translateY(-4px); }
.reviews-track {
  display: flex; gap: 22px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 18px; margin-bottom: 26px;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 min(380px, 86%); scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--gray-200);
  box-shadow: 0 18px 34px -18px rgba(7,7,7,.16);
  padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card p { color: var(--gray-700); font-size: .98rem; }
.review-card cite {
  font-style: italic; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: .82rem; color: var(--ink);
}
.review-card .stars { font-size: 1.05rem; }

/* ---------- about ---------- */
.about-facts { list-style: none; margin: 4px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.about-facts li { padding-left: 30px; position: relative; color: var(--gray-500); }
.about-facts li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; background: var(--red); transform: skewX(-14deg);
}
.about-facts strong { color: var(--ink); }

/* ---------- faq ---------- */
.faq h2 { margin-bottom: 42px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.09);
  transition: border-color .25s ease;
}
.faq-item[open], .faq-item:hover { border-color: var(--red); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 28px;
  font-family: var(--display); font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: 1.02rem; color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--red); transition: transform .25s ease;
}
.faq-icon::before { inset: 8px 0; }
.faq-icon::after { inset: 0 8px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-item p { padding: 0 28px 26px; color: rgba(255,255,255,.75); max-width: 700px; }
.faq-item a { color: var(--red); }

/* ---------- cta banner ---------- */
.cta-banner {
  position: relative;
  background:
    linear-gradient(80deg, rgba(0,0,0,.9) 25%, rgba(0,0,0,.55) 100%),
    url('../assets/img/cta-bg.jpg') center / cover no-repeat;
  background-color: var(--ink);
  padding: 130px 0;
  text-align: left;
}
.cta-sub { color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 36px; }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; padding-top: 30px; }
.contact-list { list-style: none; margin: 10px 0 30px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; flex-direction: column; gap: 3px; }
.contact-label {
  font-style: italic; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .76rem; color: var(--red);
}
.contact-list a, .contact-list span:not(.contact-label) {
  color: var(--ink); text-decoration: none; font-size: 1.06rem; font-weight: 500;
}
.contact-list a:hover { color: var(--red); }
.visit-map {
  border: 3px solid var(--ink);
  box-shadow: -18px 18px 0 var(--red);
}
.visit-map iframe { display: block; width: 100%; height: 460px; border: 0; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 80px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 300px; }
.footer-social { display: flex; gap: 18px; margin-top: 20px; }
.footer-social a {
  color: var(--white); text-decoration: none; font-style: italic; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; font-size: .8rem;
  border-bottom: 2px solid var(--red); padding-bottom: 3px;
}
.footer-social a:hover { color: var(--red); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-family: var(--display); font-style: italic; font-weight: 900;
  text-transform: uppercase; color: var(--white); font-size: 1rem; margin-bottom: 8px;
}
.footer-col a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .95rem; }
.footer-col a:not(.btn):hover { color: var(--red); }
.footer-book-copy { font-size: .92rem; }
.footer-col .btn { align-self: flex-start; margin-top: 6px; }
.footer-bottom { padding: 26px 0; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .navbar-links {
    position: fixed; inset: 84px 0 auto 0;
    background: var(--ink);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 20px 4% 30px;
    transform: translateY(-130%); transition: transform .3s ease;
    border-bottom: 3px solid var(--red);
  }
  .navbar-links.open { transform: translateY(0); }
  .navbar-links a:not(.btn) { font-size: 1.05rem; padding: 12px 0; }
  .nav-toggle { display: flex; }
  .nav-book { display: none; }
  .nav-book-mobile { display: inline-block; margin-top: 14px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 46px; direction: ltr; }
  .visit-grid { grid-template-columns: 1fr; gap: 46px; }
  .builder-frame iframe { height: 640px; }
  .hero { padding-top: 150px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .builder-steps { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; }
  .btn { padding: 18px 24px; width: 100%; }
  .btn-sm { width: auto; padding: 13px 20px; }
  .buttons-row { flex-direction: column; align-items: stretch; }
  .builder-frame { box-shadow: 10px 10px 0 var(--red); }
  .visit-map { box-shadow: -10px 10px 0 var(--red); }
  .builder-frame iframe { height: 560px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .reviews-head, .builder-head { flex-direction: column; align-items: flex-start; }
}
