/* ============================================
   AV Tint & Protect — Shared Stylesheet
   Palette: Royal Blue / Black / White / Gold
   ============================================ */

:root {
  --blue-deep: #101A4A;      /* royal blue, deep */
  --blue: #1E3A8A;           /* royal blue, primary */
  --blue-light: #3D63D6;     /* royal blue, lighter accent */
  --electric: #4C8DFF;       /* electric blue pop accent */
  --black: #08090C;
  --white: #FFFFFF;
  --off-white: #F6F7FB;
  --gold: #D4A94F;
  --gold-light: #F0CE7A;
  --grey-text: #4B4F58;
  --border: #E3E5EE;

  --font-display: 'Rajdhani', 'Arial Narrow', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Signature element: gold pinstripe rule ---------- */
.pinstripe {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 28px;
}
.pinstripe--center { justify-content: center; }
.pinstripe::before,
.pinstripe::after {
  content: "";
  height: 1px;
  width: 44px;
  background: var(--gold);
}
.pinstripe--left::after { display: none; }
.pinstripe--left { justify-content: flex-start; }
.pinstripe span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--black);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 600; letter-spacing: 0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: 0.02em; }

.hero h1,
.hero p.lede {
  color: var(--white);
}
.hero h1 {
  text-shadow: 0 0 30px rgba(198,161,83,0.35), 0 2px 18px rgba(0,0,0,0.5);
}
.cta-band h2,
.section--dark h2 {
  color: var(--white);
}

p { color: var(--grey-text); }

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--dark p { color: #C7CADA; }
.section--dark h2 { color: var(--white); }
.section--off {
  background: var(--off-white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn--gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 0 rgba(212,169,79,0);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212,169,79,0.45);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: var(--electric);
  color: var(--electric);
  box-shadow: 0 0 20px rgba(76,141,255,0.25);
}
.btn--outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline-dark:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid rgba(198,161,83,0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 30px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  padding: 4px 6px;
}
.logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  color: #D6D9E5;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
  border-color: var(--gold);
}
.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 14px;
  border-bottom: none !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links a { display: block; padding: 16px 24px; border-bottom: none !important; }
  .nav-cta { margin: 14px 24px; display: inline-block; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, var(--blue-deep) 0%, var(--blue) 46%, var(--black) 100%);
  color: var(--white);
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(198,161,83,0.18);
  transform: rotate(45deg);
}
.hero-inner { max-width: 640px; position: relative; z-index: 1; }
.hero p.lede {
  color: #D9DCEA;
  font-size: 18px;
  margin: 20px 0 34px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 44px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
}
.trust-item .dot {
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: none;
}

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  padding: 34px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: 0 18px 40px rgba(76,141,255,0.16);
  transform: translateY(-3px);
  border-top-color: var(--electric);
}
.card-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; margin-bottom: 18px; }
.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.card-link:hover { color: var(--gold); }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}
.split-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue) 60%, var(--gold) 165%);
  position: relative;
}
.split-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.35);
}
.check-list { list-style: none; margin-top: 22px; }
.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--black);
}
.check-list li:last-child { border-bottom: none; }
.check-list .mark {
  color: var(--gold);
  font-weight: 700;
  flex: none;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: #DEE2F2; max-width: 520px; margin: 0 auto 30px; }

/* ---------- Service detail blocks (services page) ---------- */
.service-block {
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-of-type { border-bottom: none; }
.service-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 6px;
}
.service-index {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  font-weight: 700;
}
.service-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 26px;
}
@media (max-width: 860px) {
  .service-body { grid-template-columns: 1fr; }
}
.service-panel {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 26px 28px;
}
.service-panel h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

/* ---------- Hero, photo variant ---------- */
.hero--photo {
  background: none;
  position: relative;
  padding: 0;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero--photo::after { display: none; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(30,58,138,0.85) 0%, rgba(61,99,214,0.72) 45%, rgba(61,99,214,0.35) 75%, rgba(61,99,214,0.15) 100%);
  z-index: 1;
}
.hero-bg {
  filter: brightness(1.08) saturate(1.05);
}
.hero--photo .hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.hero--photo .hero-corner {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(198,161,83,0.28);
  transform: rotate(45deg);
  z-index: 1;
}

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--black);
  padding: 52px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 0 24px rgba(212,169,79,0.5);
}
.stat-item .label {
  color: #B9BCCC;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 34px;
}
@media (max-width: 700px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 30px 26px;
  position: relative;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-quote {
  font-size: 15px;
  color: var(--black);
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.55;
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-deep);
}
.testimonial-source {
  font-size: 12.5px;
  color: var(--grey-text);
}
.testimonial-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--grey-text);
  text-align: center;
  border: 1px dashed var(--border);
  padding: 14px 18px;
}
.testimonial-note a { color: var(--blue); font-weight: 600; border-bottom: 1px solid var(--gold); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* ---------- Work gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.btn-arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.15s ease;
}
.btn:hover .btn-arrow { transform: translate(3px, -3px); }

/* ---------- Tint level selector ---------- */
.tint-selector {
  margin-top: 30px;
}
.tint-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 700px) {
  .tint-grid { grid-template-columns: repeat(2, 1fr); }
}
.tint-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tint-card:hover { border-color: var(--gold); }
.tint-card.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.tint-swatch {
  height: 44px;
  border-radius: 3px;
  margin-bottom: 10px;
  border: 1px solid rgba(0,0,0,0.15);
}
.tint-card .pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-deep);
}
.tint-card .label {
  font-size: 12.5px;
  color: var(--grey-text);
  margin-top: 2px;
}
.tint-detail {
  margin-top: 22px;
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 20px 24px;
  font-size: 14.5px;
  color: var(--black);
}
.tint-detail strong { color: var(--blue-deep); }

/* ---------- About page ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }
.value-item {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.value-item h3 { font-size: 18px; margin-bottom: 8px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.info-item h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.info-item p, .info-item a { color: var(--black); font-size: 15.5px; }

.form-wrap {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 34px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--black);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 120px; }

.map-note {
  aspect-ratio: 16/8;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #B9BCCC;
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-top h4 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-top ul { list-style: none; }
.footer-top li { margin-bottom: 10px; font-size: 14.5px; }
.footer-top a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #7C7F91;
}

/* ---------- Page intro (used on inner pages) ---------- */
.page-intro {
  background: linear-gradient(155deg, var(--blue-deep), var(--blue));
  color: var(--white);
  padding: 72px 0 60px;
}
.page-intro p { color: #D9DCEA; max-width: 560px; margin-top: 14px; }
