/* ===================================================================
   M/s Suvidha Auto Agency — Shared Stylesheet
   Palette : Dark Blue #1a237e · Orange #ff6f00 · White #ffffff
   =================================================================== */

:root {
  --blue: #1a237e;
  --blue-2: #283593;
  --blue-deep: #0d123f;
  --orange: #ff6f00;
  --orange-2: #ff8f00;
  --orange-dark: #e65c00;
  --white: #ffffff;

  --ink: #23283a;
  --muted: #5b6270;
  --line: #e6e8f2;
  --bg-soft: #f5f6fb;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 12px rgba(26, 35, 126, 0.06);
  --shadow: 0 12px 34px rgba(26, 35, 126, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 18, 63, 0.18);

  --maxw: 1160px;
  --f-head: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  --f-body: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 76px 0; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--blue);
  line-height: 1.22;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.2rem; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.section-head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 12px;
}

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 8px 20px rgba(255, 111, 0, 0.28);
}
.btn:hover {
  background: var(--orange-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 111, 0, 0.36);
}
.btn svg { width: 18px; height: 18px; }

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--white); color: var(--blue); box-shadow: none; }

.btn-blue { background: var(--blue); box-shadow: 0 8px 20px rgba(26, 35, 126, 0.28); }
.btn-blue:hover { background: var(--blue-2); box-shadow: 0 12px 26px rgba(26, 35, 126, 0.36); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue-deep);
  color: #b9c0e8;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 14px;
}
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar .pill {
  background: rgba(255, 111, 0, 0.16);
  color: var(--orange-2);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-badge {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(255, 111, 0, 0.4);
}
.logo-badge svg { width: 24px; height: 24px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.12; }
.logo-main {
  font-family: var(--f-head);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.2px;
}
.logo-main span { color: var(--orange-2); }
.logo-sub {
  font-size: 0.64rem;
  color: #b9c0e8;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.main-nav ul { list-style: none; display: flex; gap: 6px; }
.main-nav a {
  display: block;
  color: #eef0ff;
  padding: 9px 15px;
  border-radius: 7px;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.main-nav a:hover,
.main-nav a.active { background: var(--orange); color: var(--white); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 104px 0 96px;
  background: var(--blue);
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(13, 18, 63, 0.92) 0%, rgba(13, 18, 63, 0.78) 45%, rgba(13, 18, 63, 0.55) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; max-width: 780px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero .lead { font-size: 1.18rem; color: #e5e8ff; max-width: 560px; margin-bottom: 30px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #dfe3ff;
  font-weight: 500;
}
.hero-badges svg { width: 18px; height: 18px; color: var(--orange-2); flex: none; }

.spin { animation: spin 26s linear infinite; }
.spin-rev { animation: spin 34s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 74px 0;
  background: var(--blue);
  text-align: center;
}
.banner-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 18, 63, 0.66), rgba(13, 18, 63, 0.82));
  z-index: 1;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); margin-bottom: 8px; }
.page-banner p { color: #c9cdf3; margin-bottom: 0; }
.crumbs { font-size: 0.85rem; color: #a9b0e0; margin-top: 12px; }
.crumbs a { color: #d7daf7; }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #d7dbef;
}
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.96rem; color: var(--muted); }

.icon-badge {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.10), rgba(255, 111, 0, 0.14));
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 1.7rem;
}
.icon-badge svg { width: 28px; height: 28px; color: var(--blue); }

.card.center { text-align: center; }
.card.center .icon-badge { margin-left: auto; margin-right: auto; }

/* ---------- Split section (text + illustration) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.split.soft-art .art {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.split .art img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 10px;
}
.bg-soft { background: var(--bg-soft); }

.check-list { list-style: none; margin: 18px 0 0; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255, 111, 0, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e65c00' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Gallery ("photo" tiles) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shot:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.shot svg,
.shot img { width: 100%; height: 210px; object-fit: cover; display: block; background: var(--bg-soft); }
.gallery.g3 { grid-template-columns: repeat(3, 1fr); }
.shot .cap {
  padding: 13px 16px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue);
  border-top: 1px solid var(--line);
}

/* ---------- Stats band ---------- */
.stats {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 55%, var(--orange-dark) 165%);
  color: var(--white);
}
.stats .grid-4 { gap: 20px; }
.stat { text-align: center; padding: 10px; }
.stat .num {
  font-family: var(--f-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat .num span { color: var(--orange-2); }
.stat .label { margin-top: 8px; color: #d4d8ff; font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.quote .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-size: 0.98rem; color: var(--ink); }
.quote .who { margin-top: 14px; font-family: var(--f-head); font-weight: 600; color: var(--blue); font-size: 0.92rem; }

/* ---------- Info blocks / detail lists ---------- */
.info-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin: 22px 0;
}
.info-box h3 { margin-bottom: 8px; font-size: 1.1rem; }

.detail-list { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-list li { padding: 15px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.detail-list li:last-child { border-bottom: none; }
.detail-list strong { color: var(--blue); min-width: 140px; font-family: var(--f-head); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 17px; }
.form-group label { display: block; font-family: var(--f-head); font-weight: 600; color: var(--blue); margin-bottom: 6px; font-size: 0.92rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.15);
}
.form-message {
  display: none;
  background: #e9f7ec;
  border: 1px solid #a9d9b4;
  color: #1b5e20;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-weight: 600;
}
.form-message.show { display: block; }

.map-placeholder {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 30px;
  font-family: var(--f-head);
  font-weight: 600;
  margin-top: 22px;
  border: 1px solid var(--line);
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--orange-2); }
.map-placeholder small { font-weight: 400; color: #c9cdf3; font-family: var(--f-body); }

.location-photo {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
figure.photo { margin: 0; }
figure.photo figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Legal ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 36px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-2) 100%);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #fff4e8; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #b3bae2; padding: 56px 0 26px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 34px; margin-bottom: 34px; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.12em; }
.site-footer a { color: #b3bae2; }
.site-footer a:hover { color: var(--orange-2); }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.footer-brand .logo-main { font-size: 1.15rem; }
.footer-brand p { margin-top: 12px; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: #9098c9;
  line-height: 1.9;
}
.footer-legal strong { color: var(--white); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .spin, .spin-rev { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery.g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split .art img { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  section { padding: 54px 0; }
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; width: 100%; padding-top: 12px; }
  .main-nav a { padding: 12px 14px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery, .gallery.g3, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .split .art img { height: 240px; }

  .hero { padding: 76px 0 66px; }
  .detail-list li { flex-direction: column; gap: 2px; }
  .detail-list strong { min-width: auto; }
}
