/* =============================================================================
   Shri Finserv - Vehicle Loan product page
   Institutional finance layout. Loads AFTER styles.css and reuses its tokens,
   buttons, container, section-head, eyebrow and reveal. Everything below is
   specific to this page's structure.
   ============================================================================= */

:root {
  --gold: #c79a3a;
  --gold-soft: #f7efdc;
  --green: #16a34a;
  --green-soft: #e7f6ec;
  --ink-navy: #06233c;      /* deep institutional navy for footer + headings */
  --hero-wash: #eef4fb;
  --panel-blue: #f0f6fd;
}

/* Institutional pages read a touch tighter than the marketing home. */
.section { padding-block: clamp(56px, 7vw, 96px); }

/* ---- BRAND LOGO --------------------------------------------------------- */
/* Transparent PNG in the header (full colour) and a white PNG in the dark
   footer, so no container box is needed and the mark sits on the background. */
.brand-logo { height: 40px; width: auto; display: block; transition: opacity .2s ease; }
.brand:hover .brand-logo { opacity: .85; }
.footer-logo { height: 44px; width: auto; display: block; }
@media (max-width: 560px) { .brand-logo { height: 34px; } .footer-logo { height: 40px; } }

/* ---- VEHICLE LOAN OVERVIEW (single, generic) ---------------------------- */
.vprod-grid2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 3.5vw, 48px); align-items: stretch; }
.vprod-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); min-height: 320px; }
.vprod-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- TOP UTILITY BAR ---------------------------------------------------- */
.topbar { background: #fff; border-bottom: 1px solid var(--border); font-size: 12.5px; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar-left { color: var(--gray-500); }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-right a { color: var(--gray-600); transition: color .2s; }
.topbar-right a:hover { color: var(--blue-700); }
.topbar-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gray-800); }
.topbar-phone i { color: var(--blue-600); font-size: 15px; }
.topbar-sep { width: 1px; height: 14px; background: var(--gray-200); }

/* ---- HEADER (compact institutional) ------------------------------------- */
.header .nav { height: 66px; }
.header .brand { font-size: 18px; }
.header .brand-mark { width: 36px; height: 36px; border-radius: 9px; font-size: 18px; }

.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-links .has-dropdown > a .caret { font-size: 14px; transition: transform .2s ease; }
.nav-links .has-dropdown:hover > a .caret,
.nav-links .has-dropdown:focus-within > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--r-xs); font-size: 14.5px; color: var(--gray-700); }
.dropdown a i { font-size: 19px; color: var(--blue-600); }
.dropdown a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-links a.is-active { color: var(--blue-700); }

.nav-search { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--gray-700); font-size: 20px; transition: background .2s, color .2s; }
.nav-search:hover { background: var(--blue-50); color: var(--blue-700); }
.search-box { position: absolute; top: 100%; right: 24px; width: min(360px, 90vw); background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-md); padding: 10px; display: none; gap: 8px; }
.search-box.open { display: flex; }
.search-box input { flex: 1; border: 1px solid var(--gray-300); border-radius: var(--r); padding: 10px 12px; font-size: 14.5px; }
.search-box input:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--ring); }

/* ---- HERO BANNER -------------------------------------------------------- */
.vhero { background: linear-gradient(180deg, var(--hero-wash), #f7fafd); border-bottom: 1px solid var(--border); }
.vhero-grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(44px, 5.5vw, 80px); }
.vhero .eyebrow { background: #fff; border-color: var(--blue-100); }
.vhero h1 { font-size: clamp(30px, 4.6vw, 50px); color: var(--ink-navy); line-height: 1.12; margin-top: 18px; }
.vhero p.lead { margin-top: 18px; max-width: 46ch; }
.vhero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.vhero-assure { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 18px; }
.vhero-assure li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--gray-700); }
.vhero-assure i { color: var(--success); font-size: 18px; }
.vhero-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 5 / 4; }
.vhero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- VEHICLE LOAN INTRO ------------------------------------------------- */
.vintro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.vintro-copy .label { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue-700); }
.vintro-copy h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--ink-navy); margin: 12px 0 18px; }
.vintro-copy p { color: var(--gray-600); font-size: 16px; margin-bottom: 14px; max-width: 60ch; }
.vintro-copy .btn { margin-top: 12px; }
.vintro-illus { display: grid; place-items: center; }
.vintro-illus img { width: 100%; max-width: 400px; }

/* ---- VEHICLE LOAN PRODUCTS + DETAILS ------------------------------------ */
.vprod { background: var(--bg-soft); }
.vprod-grid { display: grid; grid-template-columns: 0.82fr 1.35fr; gap: clamp(24px, 3vw, 40px); align-items: start; }

.scheme-list { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.scheme-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 15px 18px; font-size: 15px; font-weight: 600; color: var(--gray-700); background: #fff; border-left: 3px solid transparent; border-bottom: 1px solid var(--border); transition: background .18s ease, color .18s ease, border-color .18s ease; }
.scheme-item:last-child { border-bottom: none; }
.scheme-item .chev { font-size: 16px; color: var(--blue-600); opacity: 0; transform: translateX(-4px); transition: opacity .18s, transform .18s; }
.scheme-item:hover { background: var(--blue-50); color: var(--blue-700); }
.scheme-item.active { background: var(--blue-50); color: var(--blue-700); border-left-color: var(--blue-600); }
.scheme-item.active .chev { opacity: 1; transform: none; }

.scheme-detail { background: var(--panel-blue); border: 1px solid var(--blue-100); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.scheme-detail h3 { font-size: clamp(20px, 2.6vw, 26px); color: var(--ink-navy); }
.detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.detail-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
.detail-stat .k { font-size: 12.5px; color: var(--gray-500); }
.detail-stat .v { font-family: var(--display); font-weight: 700; color: var(--ink-navy); font-size: 17px; margin-top: 5px; line-height: 1.25; }
.detail-note { font-size: 12px; color: var(--gray-500); margin: -8px 0 20px; }
.detail-features h4 { font-size: 15px; color: var(--gray-900); margin-bottom: 14px; }
.detail-features ul { display: grid; gap: 11px; }
.detail-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--gray-700); }
.detail-features li i { color: var(--blue-600); font-size: 17px; margin-top: 2px; flex: 0 0 auto; }
.scheme-detail .btn { margin-top: 24px; }

/* ---- EMI CALCULATOR ----------------------------------------------------- */
.vcalc { background: var(--bg-tint); }
.vcalc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh); padding: clamp(24px, 3.4vw, 44px); }
.vcalc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 52px); align-items: stretch; }

.vfield { margin-bottom: 26px; }
.vfield:last-child { margin-bottom: 0; }
.vfield-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vfield-top label { font-weight: 600; color: var(--gray-800); font-size: 14.5px; }
.vinput { display: flex; align-items: center; gap: 6px; border: 1px solid var(--gray-300); border-radius: var(--r); padding: 0 12px; height: 44px; background: #fff; transition: border-color .2s, box-shadow .2s; max-width: 190px; }
.vinput:focus-within { border-color: var(--blue-500); box-shadow: var(--ring); }
.vinput .unit { color: var(--gray-500); font-weight: 600; font-size: 14px; }
.vinput input { border: none; outline: none; width: 100%; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink-navy); text-align: right; background: transparent; -moz-appearance: textfield; }
.vinput input::-webkit-outer-spin-button, .vinput input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vfield-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--gray-400); }

.vresult { background: linear-gradient(165deg, var(--panel-blue), #e7f0fb); border: 1px solid var(--blue-100); border-radius: var(--r-md); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.vresult h3 { font-size: 16px; color: var(--ink-navy); margin-bottom: 18px; }
.vrow { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(30, 58, 95, .1); }
.vrow .k { font-size: 14px; color: var(--gray-600); }
.vrow .v { font-family: var(--display); font-weight: 700; color: var(--ink-navy); font-size: 17px; }
.vrow.emi { background: var(--blue-600); color: #fff; margin: 6px 0 10px; padding: 16px 18px; border-radius: var(--r); border: none; }
.vrow.emi .k { color: rgba(255,255,255,.85); font-size: 14px; }
.vrow.emi .v { color: #fff; font-size: 26px; }
.vresult-actions { margin-top: 20px; display: grid; gap: 10px; }
.vcalc-note { margin-top: 22px; font-size: 12.5px; color: var(--gray-500); line-height: 1.5; }

/* ---- HOW TO APPLY ------------------------------------------------------- */
.apply { background: var(--bg); }
.apply3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); text-align: center; position: relative; }
.apply3::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--gray-200) 0 8px, transparent 8px 16px); z-index: 0; }
.astep3 { position: relative; z-index: 1; }
.astep3 .badge { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; color: #fff; box-shadow: var(--sh); }
.astep3 .badge.b1 { background: var(--blue-600); }
.astep3 .badge.b2 { background: var(--gold); }
.astep3 .badge.b3 { background: var(--green); }
.astep3 .badge-ic { display: block; margin: 14px auto 0; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-size: 22px; }
.astep3 h3 { font-size: 18px; color: var(--ink-navy); margin-top: 16px; }
.astep3 p { font-size: 14.5px; color: var(--gray-600); margin-top: 8px; max-width: 30ch; margin-inline: auto; }
.apply-cta { text-align: center; margin-top: 44px; }

/* ---- BENEFITS ----------------------------------------------------------- */
.benefits { background: var(--bg-tint); }
.benefits-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.benefits-copy .eyebrow { margin-bottom: 16px; }
.benefits-copy h2 { font-size: clamp(24px, 3.2vw, 34px); color: var(--ink-navy); margin-bottom: 22px; }
.benefit-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 500; color: var(--gray-800); }
.benefit-list li:last-child { border-bottom: none; }
.benefit-list .num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--blue-600); min-width: 26px; }
.feature-cards { display: grid; gap: 18px; }
.fcard { background: #fff; border: 1px solid var(--blue-100); border-radius: var(--r-md); padding: 28px 30px; box-shadow: var(--sh-sm); }
.fcard .flabel { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue-600); }
.fcard h3 { font-size: 19px; color: var(--ink-navy); margin: 8px 0 10px; }
.fcard p { font-size: 15px; color: var(--gray-600); max-width: 62ch; }

/* ---- TESTIMONIALS ------------------------------------------------------- */
.vtst { background: var(--bg); }
.vtst-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.vtst-nav { display: flex; gap: 10px; }
.vtst-arrow { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-sm); display: grid; place-items: center; font-size: 22px; color: var(--gray-800); transition: border-color .2s, color .2s, transform .15s; }
.vtst-arrow:hover { border-color: var(--blue-300); color: var(--blue-700); }
.vtst-arrow:active { transform: scale(.94); }
.vtst-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; -ms-overflow-style: none; scrollbar-width: none; }
.vtst-track::-webkit-scrollbar { display: none; }
.vtst-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm); }
.vtst-card .qmark { font-family: var(--display); font-size: 52px; line-height: .8; color: var(--blue-200); }
.vtst-card p { color: var(--gray-700); font-size: 15.5px; margin: 12px 0 20px; }
.vtst-card hr { border: none; border-top: 1px solid var(--border); margin: 0 0 18px; }
.vtst-person { display: flex; align-items: center; gap: 12px; }
.vtst-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.vtst-person .nm { font-weight: 700; color: var(--ink-navy); font-size: 15px; }
.vtst-person .rl { font-size: 13px; color: var(--gray-500); }

/* ---- STAY CONNECTED STRIP ----------------------------------------------- */
.connect { padding-block: clamp(40px, 5vw, 72px); }
.connect-inner { border-radius: var(--r-xl); background: radial-gradient(600px 300px at 90% 10%, rgba(59,130,246,.45), transparent 60%), linear-gradient(140deg, var(--blue-700), var(--ink-navy)); color: #fff; padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: var(--sh-lg); }
.connect-copy h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.connect-copy p { color: rgba(255,255,255,.82); margin-top: 10px; max-width: 44ch; }
.connect-form { display: flex; gap: 12px; flex-wrap: wrap; }
.connect-form input { height: 50px; width: min(280px, 70vw); border: none; border-radius: var(--r); padding: 0 16px; font-size: 15px; color: var(--gray-900); }
.connect-form input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.connect-msg { flex-basis: 100%; font-size: 13.5px; color: #d7ffe4; display: none; }
.connect-msg.show { display: block; }
.connect-msg.err { color: #ffd7d7; }

/* ---- FOOTER additions --------------------------------------------------- */
.footer { background: var(--ink-navy); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.footer-top .ft-item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); font-weight: 500; }
.footer-top .ft-item i { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: var(--blue-300); font-size: 22px; }
.footer-top .ft-item .s { font-size: 12.5px; color: rgba(255,255,255,.55); font-weight: 400; }
.footer-contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fcontact { }
.fcontact h4 { color: #fff; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.fcontact a, .fcontact p { color: rgba(255,255,255,.72); font-size: 15px; }
.fcontact .footer-social { margin-top: 4px; }

/* ---- RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1024px) {
  .vintro-grid { grid-template-columns: 1fr; }
  .vintro-illus { order: -1; max-width: 360px; margin-inline: auto; }
  .vprod-grid { grid-template-columns: 1fr; }
  .scheme-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .scheme-item { border-bottom: 1px solid var(--border); }
  .benefits-grid { grid-template-columns: 1fr; }
  .vcalc-grid { grid-template-columns: 1fr; }
  .vtst-card { flex-basis: calc((100% - 24px) / 2); }
  .footer-contact-row { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 860px) {
  .topbar-left { display: none; }
  .vhero-grid { grid-template-columns: 1fr; }
  .vhero-media { order: -1; max-height: 300px; }
  .apply3 { grid-template-columns: 1fr; gap: 36px; }
  .apply3::before { display: none; }
  .connect-inner { flex-direction: column; align-items: flex-start; }
  .vprod-grid2 { grid-template-columns: 1fr; }
  .vprod-media { order: -1; min-height: 240px; max-height: 300px; }
}

@media (max-width: 560px) {
  .scheme-list { grid-template-columns: 1fr; }
  .detail-stats { grid-template-columns: 1fr; }
  .vtst-card { flex-basis: 100%; }
  .vinput { max-width: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .connect-form input { width: 100%; }
  .connect-form .btn { width: 100%; }
}
