/* CARWARE FILMS — premium B2B automotive film supplier site */

:root {
  --black: #0c0d10;
  --charcoal: #15171c;
  --charcoal-2: #1d2026;
  --silver: #b9c0c9;
  --silver-light: #e4e8ec;
  --red: #c81e2c;
  --red-light: #e23b3b;
  --white: #ffffff;
  --off-white: #f5f6f8;
  --line: rgba(255, 255, 255, 0.09);
  --line-dark: rgba(12, 13, 16, 0.1);
  --text-soft: rgba(12, 13, 16, 0.68);
  --radius: 14px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  --font-head: 'Rajdhani', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--off-white);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--font-head); color: var(--white); line-height: 1.12;
  margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .01em;
}
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-light); font-weight: 700; margin-bottom: .7rem;
}
.brand-accent { color: var(--red-light); }

/* Light sections override */
.section { padding: 76px 0; background: var(--off-white); color: var(--black); }
.section h1, .section h2, .section h3 { color: var(--black); }
.section .eyebrow { color: var(--red); }
.section-alt { background: var(--white); }
.section-sub { color: var(--text-soft); font-size: 1.02rem; }
.section-head { max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 6px; font-weight: 700;
  font-size: .96rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap; font-family: var(--font-head); letter-spacing: .03em; text-transform: uppercase;
}
.btn svg { flex-shrink: 0; }
.btn-red { background: linear-gradient(135deg, var(--red-light), var(--red)); color: var(--white); box-shadow: 0 10px 26px rgba(200,30,44,.4); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(200,30,44,.5); }
.btn-outline { border-color: var(--silver); color: var(--silver-light); background: transparent; }
.btn-outline:hover { background: var(--silver-light); color: var(--black); }
.btn-outline-sm {
  border: 2px solid var(--red); color: var(--red); padding: .55rem 1rem; border-radius: 6px;
  font-weight: 700; font-size: .82rem; display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); letter-spacing: .03em; text-transform: uppercase;
}
.btn-outline-sm:hover { background: var(--red); color: var(--white); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-call { background: var(--red); color: var(--white); padding: .6rem 1.2rem; }
.btn-call:hover { background: var(--red-light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(12,13,16,.88);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 22px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; gap: 16px; }
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-logo { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2.2rem; }
.main-nav ul { display: flex; gap: 1.7rem; }
.main-nav ul a {
  font-weight: 600; font-size: .92rem; color: var(--silver-light); padding: .3rem 0;
  border-bottom: 2px solid transparent; transition: border-color .15s ease, color .15s ease;
  text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-head); font-weight: 700;
}
.main-nav ul a:hover { color: var(--red-light); border-color: var(--red-light); }
.hdr-call-icon { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--silver-light); padding: 6px; }
.nav-toggle-close { display: none; }
.nav-overlay { display: none; }

/* Hero */
.hero {
  padding: 70px 0 64px; position: relative;
  background:
    radial-gradient(circle at 85% 0%, rgba(200,30,44,.18), transparent 55%),
    linear-gradient(180deg, var(--black), var(--charcoal));
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.hero-sub { font-size: 1.06rem; color: rgba(245,246,248,.78); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6rem 0 1.2rem; }
.hero-phone-note { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--silver-light); }
.hero-phone-note svg { color: var(--red-light); }
.hero-visual { display: flex; justify-content: center; }
.hero-visual-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--charcoal-2), var(--black));
  border: 1px solid var(--line);
  border-radius: 20px; padding: 48px 32px;
  width: 100%; max-width: 320px; aspect-ratio: 1/1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; text-align: center;
  box-shadow: var(--shadow);
}
.hero-visual-card.alt { aspect-ratio: auto; padding: 42px 28px; }
.hvc-stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--red), var(--silver), var(--red));
}
.hvc-icon { color: var(--red-light); }
.hero-visual-card p { color: rgba(255,255,255,.88); font-weight: 700; margin: 0; font-family: var(--font-head); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about-visual { display: flex; justify-content: center; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 16px 36px rgba(12,13,16,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(12,13,16,.14); }
.pc-visual {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--charcoal), var(--black)); position: relative;
}
.pc-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(200,30,44,.18) 50%, transparent 60%); }
.pc-icon { color: var(--silver-light); z-index: 1; }
.pc-body { padding: 26px 24px; }
.pc-body h3 { font-size: 1.05rem; }
.pc-body p { color: var(--text-soft); font-size: .93rem; margin-bottom: 1.1rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--charcoal), var(--black)); padding: 54px 0; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band h2 { color: var(--white); font-size: clamp(1.45rem, 2.6vw, 2rem); }
.cta-band p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 1.6rem; }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* B2B supply */
.b2b-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; }
.b2b-highlights { display: grid; gap: 12px; margin: 1.4rem 0 1.8rem; }
.b2b-highlights li { display: flex; align-items: center; gap: .7rem; color: var(--black); font-weight: 500; }
.b2b-highlights svg { color: var(--red); flex-shrink: 0; }
.b2b-targets {
  background: var(--black); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); align-self: start;
}
.b2b-targets h3 { color: var(--silver-light); font-size: 1.05rem; margin-bottom: 1.2rem; }
.target-list { display: grid; gap: 12px; }
.target-list li { display: flex; align-items: center; gap: .7rem; color: rgba(245,246,248,.85); font-size: .94rem; }
.target-list svg { color: var(--red-light); flex-shrink: 0; }

/* Contact */
.contact-section { background: var(--off-white); }
.contact-info-list { display: grid; gap: 12px; margin: 1.2rem 0 1rem; }
.contact-info-list li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.contact-info-list svg { color: var(--red); flex-shrink: 0; }
.contact-social { display: flex; gap: 10px; margin-bottom: 1.6rem; flex-wrap: wrap; }
.contact-social .btn svg { color: var(--red); }

/* Legal pages */
.page-hero { padding: 54px 0 24px; background: linear-gradient(180deg, var(--black), var(--charcoal)); color: var(--white); }
.page-hero h1 { color: var(--white); }
.page-hero .section-sub { color: rgba(255,255,255,.68); }
.legal-body { padding-top: 48px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-size: 1.25rem; margin-top: 2rem; text-transform: none; }
.legal-body p { color: var(--text-soft); }

/* Footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.72); padding: 56px 0 0; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand-row { margin-bottom: .6rem; }
.footer-logo { height: 52px; width: auto; }
.footer-tag { color: var(--red-light); font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; }
.footer-social { display: flex; gap: 12px; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--silver-light);
  transition: background .15s ease, color .15s ease;
}
.footer-social a:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.footer-col h5 { color: var(--red-light); font-family: var(--font-head); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,.72); font-size: .94rem; }
.footer-col ul a:hover { color: var(--red-light); }
.footer-contact li { display: flex; align-items: center; gap: .6rem; margin-bottom: 12px; color: rgba(255,255,255,.72); font-size: .92rem; }
.footer-contact svg { color: var(--red-light); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 20px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.45); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--red-light); }

/* Reveal animation (progressive enhancement) */
.pre-animate { opacity: 0; transform: translateY(16px); }
.pre-animate.in-view { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease; }

/* ===================== MOBILE ===================== */
@media (max-width: 980px) {
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82vw);
    background: var(--charcoal); flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px; transform: translateX(100%); transition: transform .25s ease;
    z-index: 70; gap: 2rem; border-left: 1px solid var(--line);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 1.4rem; width: 100%; }
  .main-nav ul a { font-size: 1.02rem; }
  .main-nav-cta { width: 100%; }
  .main-nav-cta .btn-call { width: 100%; justify-content: center; }
  .nav-toggle { display: block; z-index: 80; }
  .nav-toggle.is-open .nav-toggle-open { display: none; }
  .nav-toggle.is-open .nav-toggle-close { display: block; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,.6);
    opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 65;
  }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
  .hdr-call-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: var(--white); margin-left: auto; margin-right: 10px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual-card { max-width: 260px; padding: 32px 24px; }

  .product-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .b2b-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .cta-band-btns { flex-direction: column; align-items: stretch; }
  .contact-social { flex-direction: column; }
}
