/* Sun Control Films / PROTINT — premium automotive sun-film & PPF site (RED theme) */

:root {
  --black: #0d0d0f;
  --charcoal: #171415;
  --charcoal-2: #201a1b;
  --red: #d71920;
  --red-dark: #9f1016;
  --red-light: #ef3b42;
  --wa-green: #25d366;
  --silver: #c4cad1;
  --off-white: #f6f7f9;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(13, 13, 15, 0.1);
  --text-soft: rgba(13, 13, 15, 0.68);
  --radius: 14px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  --font-head: 'Barlow Condensed', '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: 88px; }
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; font-weight: 700;
}
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: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-light); font-weight: 700; margin-bottom: .7rem;
}
.accent { background: linear-gradient(90deg, var(--red-light), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Light sections override */
.section { padding: 70px 0; background: var(--off-white); color: var(--black); }
.section h1, .section h2, .section h3 { color: var(--black); }
.section .eyebrow { color: var(--red-dark); }
.section-alt { background: var(--white); }
.section-sub { color: var(--text-soft); font-size: 1.02rem; }
.section-head { max-width: 640px; margin: 0 auto 2.4rem; 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: 8px; 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: .02em; text-transform: uppercase;
}
.btn svg { flex-shrink: 0; }
.btn-call { background: linear-gradient(135deg, var(--red-light), var(--red)); color: var(--white); box-shadow: 0 10px 26px rgba(215,25,32,.38); }
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(215,25,32,.48); background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.btn-wa { background: var(--wa-green); color: #063117; box-shadow: 0 10px 26px rgba(37,211,102,.3); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37,211,102,.4); }
.btn-outline-sm {
  border: 2px solid var(--line-dark); color: var(--black); padding: .5rem 1rem; border-radius: 8px;
  font-weight: 700; font-size: .8rem; display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); letter-spacing: .02em; text-transform: uppercase;
}
.btn-outline-sm:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(13,13,15,.92);
  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: 8px 20px; gap: 16px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 1.5rem; }
.main-nav ul a {
  font-weight: 700; font-size: .92rem; color: var(--silver); padding: .3rem 0;
  border-bottom: 2px solid transparent; transition: border-color .15s ease, color .15s ease;
  text-transform: uppercase; letter-spacing: .03em; font-family: var(--font-head);
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--red-light); border-color: var(--red-light); }
.main-nav-cta { display: flex; gap: .7rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--silver); padding: 6px; }
.nav-toggle-close { display: none; }
.nav-overlay { display: none; }

/* Hero */
.hero {
  padding: 60px 0 56px; position: relative;
  background:
    radial-gradient(circle at 88% 5%, rgba(215,25,32,.22), transparent 55%),
    linear-gradient(180deg, var(--black), var(--charcoal));
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.hero-sub { font-size: 1.02rem; color: rgba(246,247,249,.78); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.5rem 0 1.1rem; }
.hero-phone-note { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--silver); }
.hero-phone-note svg { color: var(--red-light); }
.hero-phone-note a { color: var(--white); }
.hero-visual { display: flex; justify-content: center; }
.hero-photo-card {
  position: relative; overflow: hidden; border-radius: 20px; width: 100%; max-width: 440px;
  aspect-ratio: 4/3.1; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 2;
  background: linear-gradient(90deg, var(--red-light), var(--red), var(--red-dark));
}
.hero-photo-card::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 45%);
}
.hero-photo-caption {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2;
  color: var(--white); font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .02em; font-size: 1.05rem;
}

/* Generic "photo card" used for about / split sections instead of icon-only cards */
.photo-card {
  position: relative; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line); aspect-ratio: 4/3;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 2;
  background: linear-gradient(90deg, var(--red-light), var(--red), var(--red-dark));
}

/* Icon grid (main services / about focus) — now image-topped cards */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icon-card {
  background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 14px 32px rgba(13,13,15,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(13,13,15,.14); }
.icon-card .ic-photo { position: relative; height: 150px; overflow: hidden; }
.icon-card .ic-photo img { width: 100%; height: 100%; object-fit: cover; }
.icon-card .ic-photo .ic-badge {
  position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: 8px;
  background: rgba(13,13,15,.72); color: var(--red-light); display: flex; align-items: center; justify-content: center;
}
.icon-card .ic-body { padding: 20px 20px 22px; }
.icon-card h3 { font-size: 1rem; }
.icon-card p { color: var(--text-soft); font-size: .88rem; margin: 0; }

/* Why / split grids */
.why-grid, .split-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; }
.split-grid.reverse { grid-template-columns: .8fr 1.2fr; }
.split-grid.reverse > *:first-child { order: 2; }
.why-list { display: grid; gap: 12px; margin: 1.3rem 0 1.7rem; }
.why-list li { display: flex; align-items: flex-start; gap: .7rem; color: var(--black); font-weight: 500; }
.why-list svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 14px 32px rgba(13,13,15,.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(13,13,15,.13); }
.product-card .pc-photo { position: relative; height: 160px; overflow: hidden; }
.product-card .pc-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-card .pc-body { padding: 22px 22px 24px; }
.product-card h3 { font-size: 1rem; }
.product-card p { color: var(--text-soft); font-size: .9rem; margin-bottom: 1.1rem; }
.cta-band-btns.sm { gap: 8px; }
.cta-band-btns.sm .btn { padding: .4rem .8rem; font-size: .72rem; }

/* Brand enquiry sections (Garware / Nanolux) with product photos */
.brand-section { background: linear-gradient(135deg, var(--charcoal), var(--black)); }
.brand-section h2, .brand-section .section-sub { color: var(--white); }
.brand-section .section-sub { color: rgba(255,255,255,.72); max-width: 600px; }
.brand-section .eyebrow { color: var(--red-light); }
.brand-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.brand-grid.reverse { grid-template-columns: 1.1fr .9fr; }
.brand-grid.reverse > *:first-child { order: 2; }
.brand-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.brand-photo { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--white); }
.brand-photo img { width: 100%; height: 100%; object-fit: contain; background: var(--white); padding: 6px; }

/* 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; }

/* Service area */
.area-chip-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-chip-list li {
  display: flex; align-items: center; gap: .5rem; background: var(--off-white);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: .55rem 1.1rem;
  font-weight: 600; font-size: .88rem; color: var(--black);
}
.area-chip-list svg { color: var(--red); }

/* Contact inline (home page) */
.contact-inline { background: var(--off-white); }
.contact-inline-grid { max-width: 640px; text-align: center; margin: 0 auto; }
.contact-inline .contact-info-list { justify-content: center; }
.contact-inline .cta-band-btns { justify-content: center; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; }
.contact-info-list { display: grid; gap: 12px; margin: 1.2rem 0 1.6rem; }
.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-info-list a { border-bottom: 1px solid transparent; }
.contact-info-list a:hover { border-color: currentColor; }

/* Responsive Google Map embed */
.map-section { background: var(--white); }
.map-wrap {
  position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-dark);
}
.map-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Page hero (inner pages) */
.page-hero { padding: 56px 0 44px; background: linear-gradient(180deg, var(--black), var(--charcoal)); color: var(--white); text-align: center; }
.page-hero h1 { color: var(--white); }
.page-hero-sub { color: rgba(255,255,255,.7); max-width: 580px; margin: 0 auto; }
.page-hero .container { text-align: center; }

/* About body */
.about-body { max-width: 760px; }
.about-body p { color: var(--text-soft); font-size: 1.02rem; }

/* Service blocks */
.service-block h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* Dedicated landing page (car-film/coimbatore) — keep H1 + CTAs first on mobile,
   never push the message below the hero photo. */
.landing-hero .hero-inner { align-items: start; }
.landing-hero .hero-visual { order: 0; }
@media (max-width: 980px) {
  .landing-hero .hero-photo-card { margin-top: 18px; }
}
.internal-links-section { padding: 30px 0 50px; text-align: center; }
.internal-links-section a { color: var(--red-dark); text-decoration: underline; font-weight: 600; }

/* FAQ list */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.faq-item { background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 20px 24px; box-shadow: 0 10px 24px rgba(13,13,15,.06); }
.faq-item h3 { font-size: 1rem; text-transform: none; letter-spacing: 0; margin-bottom: .5rem; }
.faq-item p { color: var(--text-soft); font-size: .95rem; margin: 0; }
.landing-why-list { max-width: 760px; margin: 0 auto; }
.landing-why-list li { background: var(--white); border: 1px solid var(--line-dark); border-radius: 10px; padding: 14px 18px; box-shadow: 0 8px 20px rgba(13,13,15,.05); }

/* Footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.72); padding: 54px 0 0; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-logo { height: 46px; width: auto; margin-bottom: .8rem; }
.footer-brand-col p { color: rgba(255,255,255,.65); font-size: .92rem; }
.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); }

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

/* Sticky mobile call/whatsapp bar */
.sticky-cta { display: none; }

/* ===================== 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.3rem; width: 100%; }
  .main-nav ul a { font-size: 1.02rem; }
  .main-nav-cta { width: 100%; flex-direction: column; }
  .main-nav-cta .btn { 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; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-photo-card { max-width: 100%; aspect-ratio: 16/10; }

  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .split-grid, .split-grid.reverse { grid-template-columns: 1fr; }
  .split-grid.reverse > *:first-child { order: -1; }
  .split-grid > div:first-child { order: -1; }
  .brand-grid, .brand-grid.reverse { grid-template-columns: 1fr; }
  .brand-grid.reverse > *:first-child { order: -1; }
  .brand-grid > div:first-child { order: -1; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div:last-child { order: -1; }

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

  body { padding-bottom: 80px; }
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; box-shadow: 0 -8px 24px rgba(0,0,0,.3); }
  .sc-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 10px; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .03em; }
  .sc-call { background: linear-gradient(135deg, var(--red-light), var(--red)); color: var(--white); }
  .sc-wa { background: var(--wa-green); color: #063117; }
}

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