/* ===== Guna Bikes – brand tokens ===== */
:root {
  --red: #e10600;
  --red-dark: #b80500;
  --navy: #0f1e3d;
  --navy-2: #1a2c55;
  --ink: #111318;
  --text: #2b2f38;
  --muted: #646b78;
  --line: #e4e6eb;
  --bg: #ffffff;
  --bg-alt: #f4f5f8;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 30, 61, .10);
  --display: "Saira", "Noto Sans Tamil", system-ui, sans-serif;
  --body: "Noto Sans", "Noto Sans Tamil", system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; }
p { margin: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

.small { font-size: .85rem; }
.muted { color: var(--muted); }
.red { color: var(--red); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .lang-toggle:focus-visible, .menu-btn:focus-visible, .g-item:focus-visible {
  outline: 3px solid var(--red); outline-offset: 3px;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(225, 6, 0, .3); }
.btn-red:hover { background: var(--red-dark); }
.btn-wa { background: var(--wa); color: #08361b; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand img { height: 52px; width: auto; }
.nav { display: none; margin-left: auto; gap: 1.6rem; }
.nav a {
  text-decoration: none; font-weight: 600; color: var(--navy);
  position: relative; padding: .25rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--red); transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.lang-toggle {
  font: 700 .85rem var(--body);
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy); border-radius: 999px;
  padding: .4rem .8rem; cursor: pointer;
}
.lang-toggle:hover { background: var(--navy); color: #fff; }
.header-call span { display: none; }
@media (min-width: 420px) { .header-call span { display: inline; } }

.menu-btn {
  width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-btn span { width: 22px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .5rem 16px 1rem;
  }
  .nav.open a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav.open a::after { display: none; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-actions { margin-left: 1.5rem; }
  .menu-btn { display: none; }
  .brand img { height: 58px; }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  min-height: min(88vh, 720px);
  display: flex; align-items: center;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(10, 20, 44, .95) 0%, rgba(10, 20, 44, .82) 45%, rgba(10, 20, 44, .35) 100%);
}
/* speed stripes echoing the logo */
.hero::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 10px;
  background: linear-gradient(90deg, var(--red) 0 60%, transparent 60% 63%, var(--red) 63% 75%, transparent 75% 78%, #fff 78% 84%, transparent 84%);
}
.hero-content { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 4.5rem; }
.eyebrow {
  display: inline-block;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem;
  color: #ffd1cf; background: rgba(225, 6, 0, .25);
  border-left: 4px solid var(--red);
  padding: .35rem .75rem; margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--display); font-style: italic; font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase;
  color: #fff;
}
.hero-title span { display: block; }
.hero-sub { max-width: 34rem; margin-top: 1.2rem; font-size: 1.1rem; color: #d7dceb; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-points {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  font-weight: 600; color: #fff;
}
.hero-points li::before { content: "✓"; color: var(--red); font-weight: 900; margin-right: .45rem; }

/* ===== Brands strip ===== */
.brands { background: var(--ink); color: #fff; }
.brands-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.brands-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #9aa3b8; font-weight: 700; }
.brand-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.35rem;
  text-transform: uppercase;
}

/* ===== Sections ===== */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2.2rem; }
.kicker {
  font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem;
  margin-bottom: .4rem;
}
.kicker-light { color: #ff8a85; }
.section-title {
  font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: var(--navy);
}
.section-title.light { color: #fff; }

/* Tamil text: no forced uppercase/italic, slightly smaller display sizes */
html[lang="ta"] .hero-title,
html[lang="ta"] .section-title { font-family: "Noto Sans Tamil", sans-serif; font-style: normal; font-weight: 800; text-transform: none; }
html[lang="ta"] .hero-title { font-size: clamp(1.9rem, 5.5vw, 3.4rem); line-height: 1.25; }
html[lang="ta"] .section-title { font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.35; }
html[lang="ta"] .eyebrow, html[lang="ta"] .kicker, html[lang="ta"] .brands-label { text-transform: none; letter-spacing: 0; }

/* ===== Cards (new/used) ===== */
.cards-2 { display: grid; gap: 1.4rem; }
@media (min-width: 768px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem; box-shadow: var(--shadow);
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--red); }
.card-used::before { background: var(--navy); }
.card h3 { font-size: 1.45rem; margin: .7rem 0 .5rem; color: var(--navy); }
.card p { color: var(--muted); }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: #ffe7e6; color: var(--red-dark); padding: .25rem .65rem; border-radius: 999px;
}
.tag-navy { background: #e6ebf5; color: var(--navy); }
.ticks { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-weight: 600; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 75% no-repeat;
}

/* ===== Finance ===== */
.finance {
  background:
    radial-gradient(circle at 85% 10%, rgba(225, 6, 0, .25), transparent 45%),
    var(--navy);
  color: #d7dceb;
}
.finance-grid { display: grid; gap: 2.4rem; align-items: start; }
@media (min-width: 900px) { .finance-grid { grid-template-columns: 1.25fr 1fr; gap: 3.5rem; } }
.lead { margin-top: 1rem; font-size: 1.08rem; max-width: 36rem; }
.fin-benefits {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 520px) { .fin-benefits { grid-template-columns: 1fr 1fr; } }
.fin-benefits li {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-left: 4px solid var(--red);
  border-radius: 10px; padding: 1rem 1.1rem;
}
.fin-benefits strong { display: block; color: #fff; font-size: 1.05rem; }
.fin-benefits span { font-size: .92rem; color: #b9c1d6; }
.docs-card {
  background: #fff; color: var(--text); border-radius: var(--radius); padding: 1.8rem 1.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  display: grid; gap: 1rem;
}
.docs-card h3 { font-size: 1.3rem; color: var(--navy); }
.docs-card .ticks { margin: 0; }

/* ===== Why us ===== */
.features { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { border-top: 3px solid var(--navy); padding-top: 1rem; }
.f-num { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 2rem; color: var(--red); }
.feature h3 { font-size: 1.15rem; color: var(--navy); margin: .2rem 0 .4rem; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ===== Gallery ===== */
.gallery {
  display: grid; gap: .6rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: .8rem; } }
.g-item {
  padding: 0; border: 0; cursor: zoom-in; overflow: hidden; border-radius: 10px; background: #dde1e8;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 10, 22, .94);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
}
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: var(--red); }

/* ===== Branches ===== */
.branches {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1rem; grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) { .branches { grid-template-columns: repeat(5, 1fr); } }
.branch {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.1rem;
  background: #fff; display: grid; gap: .25rem; align-content: start;
}
.branch strong { font-size: 1.1rem; color: var(--navy); }
.b-addr { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.b-map { font-size: .88rem; font-weight: 700; color: var(--red); text-decoration: none; margin-top: .2rem; }
.b-map:hover { text-decoration: underline; }
.b-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.main-branch { grid-column: 1 / -1; background: var(--red); border-color: var(--red); }
.main-branch strong { color: #fff; font-size: 1.4rem; }
.main-branch .b-label { color: #ffd1cf; }
@media (min-width: 900px) { .main-branch { grid-column: auto; } }

/* ===== Contact ===== */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 3rem; } }
.addr { margin-top: 1rem; font-size: 1.05rem; }
.addr strong { color: var(--navy); }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; align-items: baseline; gap: 1rem; }
.c-label { min-width: 90px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-list a { font-size: 1.3rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.map-wrap {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; background: #dde1e8;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #9aa3b8; padding: 2.5rem 0 5.5rem; text-align: center; }
.footer-inner { display: grid; gap: .6rem; justify-items: center; }
.footer-logo { height: 54px; width: auto; background: #fff; border-radius: 10px; padding: 4px 10px; }
.footer-tag { color: #fff; font-weight: 600; font-family: "Noto Sans Tamil", sans-serif; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
