/* =========================================================
   SONALIKA — TRACTOR DETAIL (cinematic re-skin)
   Restyles tractor-detail.js output onto homepage tokens.
   JS untouched. Navy · white · gold · Archivo.
   ========================================================= */

/* reveal + entrance (tractor-detail.js toggles .in / uses .animate-slide-up) */
.reveal{ opacity:0; transform:translateY(34px); filter:blur(6px);
  transition:opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); }
.reveal.in{ opacity:1; transform:none; filter:blur(0); }
.reveal.d1{ transition-delay:.1s; } .reveal.d2{ transition-delay:.2s; }
@keyframes slideUp{ from{ opacity:0; transform:translateY(30px); } to{ opacity:1; transform:none; } }
.animate-slide-up{ animation:slideUp 1s var(--ease-out) both; }
.dhero-img.animate-slide-up{ animation-delay:.15s; }

/* extra button variants the detail page uses */
.btn-navy{ background:var(--blue); color:#fff; box-shadow:0 16px 38px -18px rgba(27,63,156,.7); }
.btn-navy:hover{ background:var(--blue-d); color:#fff; transform:translateY(-2px); }
.btn-wa{ background:#1f9d57; color:#fff; box-shadow:0 16px 38px -18px rgba(31,157,87,.7); }
.btn-wa:hover{ background:#178a4b; color:#fff; transform:translateY(-2px); }
.btn-sm{ --pad:12px 20px; font-size:14px; }

/* =========================================================
   HERO
   ========================================================= */
/* detail page keeps a permanently-solid nav (it opens over a light breadcrumb) */
body.dpage .hnav{ background:rgba(255,255,255,.9); backdrop-filter:blur(16px) saturate(140%);
  box-shadow:0 10px 34px -22px rgba(20,30,70,.35); border-bottom:1px solid var(--panel-bd); }
body.dpage .hnav-links a{ color:var(--ink); }
body.dpage .hnav-links a:hover{ color:var(--blue); }
body.dpage .hbrand .badge img{ filter:none; }
body.dpage .lburger span{ background:var(--ink); }

.dhero{ position:relative; overflow:hidden; color:#fff; margin-top:16px;
  background:radial-gradient(130% 110% at 78% -10%, #24356f 0%, #16224d 46%, #0d1530 100%);
  padding:clamp(40px,5vw,72px) 0 clamp(48px,6vw,80px); }
.dhero::before{ content:""; position:absolute; left:-8%; top:-30%; width:55%; height:120%; z-index:0; pointer-events:none;
  background:radial-gradient(circle at 50% 40%, rgba(64,110,220,.32), transparent 60%); filter:blur(46px); }
.dhero-in{ position:relative; z-index:2; max-width:var(--maxw); margin:0 auto; padding:0 var(--gut);
  display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,5vw,64px); align-items:center; }
.dhero-tags{ display:flex; gap:10px; flex-wrap:wrap; }
.dhero-tags .hp{ font-family:var(--display); font-weight:800; font-size:12.5px; letter-spacing:.06em;
  color:var(--gold-2); background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); padding:7px 15px; border-radius:100px; }
.dhero-tags .pop{ font-family:var(--display); font-weight:800; font-size:12.5px; letter-spacing:.04em;
  color:var(--soil-2); background:var(--gold); padding:7px 15px; border-radius:100px; }
.dhero-copy h1{ font-family:var(--display); font-weight:900; letter-spacing:-.035em; line-height:.9;
  font-size:clamp(40px,6vw,86px); color:#fff; margin:18px 0 0; }
.dhero-copy .tagline{ color:rgba(255,255,255,.74); font-size:clamp(16px,1.7vw,21px); margin-top:14px; }
.dhero-copy .stars{ display:inline-flex; align-items:center; gap:3px; margin-top:18px; }
.dhero-copy .stars svg{ width:18px; height:18px; }
.dhero-copy .stars svg.f{ fill:var(--gold-2); }
.dhero-copy .stars svg.e{ fill:rgba(255,255,255,.22); }
.dhero-copy .stars .meta{ font-family:var(--display); font-weight:700; font-size:13.5px; color:rgba(255,255,255,.78); margin-left:10px; }
.dhero-img{ position:relative; border-radius:26px; overflow:hidden; aspect-ratio:16/12;
  border:1px solid rgba(255,255,255,.18); box-shadow:0 60px 120px -44px rgba(0,0,0,.7); }
.dhero-img img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:900px){ .dhero-in{ grid-template-columns:1fr; } .dhero-img{ aspect-ratio:16/10; } }

/* =========================================================
   LAYOUT
   ========================================================= */
.page{ background:var(--bg); }
.main-in{ max-width:var(--maxw); margin:0 auto; padding:clamp(40px,5vw,72px) var(--gut); }
.main-grid{ display:grid; grid-template-columns:0.92fr 1.08fr; gap:clamp(28px,4vw,56px); align-items:start; }
@media (max-width:980px){ .main-grid{ grid-template-columns:1fr; } }

/* ---- left column ---- */
.leftcol{ position:sticky; top:96px; }
@media (max-width:980px){ .leftcol{ position:static; } }
.gallery-main{ border-radius:22px; overflow:hidden; aspect-ratio:16/12; border:1px solid var(--panel-bd);
  background:radial-gradient(120% 90% at 50% 8%,#2c3c7a,#16224d); box-shadow:var(--ring); }
.gallery-main img{ width:100%; height:100%; object-fit:cover; transition:opacity .3s; }
.thumbs{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:12px; }
.thumb{ border-radius:13px; overflow:hidden; aspect-ratio:1; border:2px solid var(--panel-bd); background:#16224d; padding:0; transition:.25s; }
.thumb img{ width:100%; height:100%; object-fit:cover; opacity:.7; transition:opacity .25s; }
.thumb:hover img{ opacity:1; }
.thumb.on{ border-color:var(--gold); }
.thumb.on img{ opacity:1; }
.qspecs{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:16px; }
.qspecs > div{ background:#fff; border:1px solid var(--panel-bd); border-radius:15px; padding:14px 8px; text-align:center; box-shadow:var(--pr-shadow); }
.qspecs .k{ font-family:var(--display); font-size:9.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); }
.qspecs .v{ font-family:var(--display); font-size:22px; font-weight:900; color:var(--soil); margin-top:3px; line-height:1; }
.qspecs .v.sm{ font-size:14px; padding-top:4px; }
.pricecard{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:16px;
  background:linear-gradient(160deg,#1a285a,#0f1838); border:1px solid var(--panel-bd); border-radius:20px; padding:22px; box-shadow:var(--ring); }
.pricecard .k{ font-family:var(--display); font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-2); }
.pricecard .amt{ font-family:var(--display); font-size:28px; font-weight:900; color:#fff; line-height:1; margin-top:6px; }
.pricecard .note{ font-size:11px; color:rgba(255,255,255,.55); margin-top:7px; }
.cta-row{ display:grid; grid-template-columns:1fr 1fr auto; gap:10px; margin-top:14px; }
.cta-row .btn{ --pad:13px 14px; font-size:13.5px; }
.cta-row .btn svg{ width:17px; height:17px; }
.cta-row #shareBtn{ padding:0 16px; }

/* ---- right column ---- */
.rightcol{ display:flex; flex-direction:column; gap:clamp(20px,2.6vw,32px); }
.block{ background:#fff; border:1px solid var(--panel-bd); border-radius:22px; padding:clamp(22px,3vw,34px); box-shadow:var(--pr-shadow); }
.sectitle{ font-family:var(--display); font-weight:900; letter-spacing:-.02em; font-size:clamp(20px,2.4vw,27px); color:var(--soil); margin:0 0 18px; }
.sectitle.light{ color:#fff; }
.block .body{ color:var(--ink-2); font-size:15.5px; line-height:1.7; }
.block .body strong{ color:var(--soil); font-weight:700; }

.features{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .features{ grid-template-columns:1fr; } }
.feature{ display:flex; gap:14px; align-items:flex-start; padding:16px; border-radius:16px; background:var(--bg-a); border:1px solid var(--panel-bd);
  transition:transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.feature:hover{ transform:translateY(-3px); box-shadow:var(--pr-shadow); border-color:var(--gold-bd); }
.feature .fic{ width:46px; height:46px; border-radius:13px; flex-shrink:0; display:grid; place-items:center;
  background:linear-gradient(145deg,#1d2c63,#16224d); color:var(--gold-2); }
.feature .fic svg{ width:23px; height:23px; }
.feature b{ font-family:var(--display); font-weight:800; font-size:15px; color:var(--soil); }
.feature p{ color:var(--ink-2); font-size:13px; margin-top:4px; line-height:1.5; }

.navystrip{ background:linear-gradient(160deg,#16224d,#0f1838) !important; border-color:rgba(255,255,255,.12) !important; }
.hl-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:560px){ .hl-grid{ grid-template-columns:repeat(2,1fr); } }
.hl{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:15px; padding:16px 14px; }
.hl .k{ font-family:var(--display); font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--gold-2); }
.hl .v{ font-family:var(--display); font-weight:900; font-size:21px; color:#fff; margin-top:6px; line-height:1; }

/* accordion */
.specblock .head{ margin-bottom:6px; }
.acc{ border-top:1px solid var(--panel-bd); }
.acc:first-of-type{ border-top:none; }
.acc-btn{ display:flex; align-items:center; justify-content:space-between; width:100%; padding:18px 2px; background:none; border:none; }
.acc-btn .t{ font-family:var(--display); font-weight:800; font-size:15.5px; color:var(--soil); }
.acc-btn .chev{ width:18px; height:18px; color:var(--muted); transition:transform .4s var(--pr-ease); }
.acc.open .acc-btn .chev{ transform:rotate(180deg); color:var(--blue); }
.acc-body{ overflow:hidden; max-height:0; transition:max-height .5s var(--pr-ease); }
.acc.open .acc-body{ max-height:340px; }
.acc-body-in{ padding:0 2px 18px; }
.srow{ display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px solid var(--panel-bd); }
.srow:last-child{ border-bottom:none; }
.srow .l{ color:var(--ink-2); font-size:14px; }
.srow .r{ font-family:var(--display); font-weight:700; font-size:14px; color:var(--soil); }

/* EMI */
.emi-head{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.emi-head .ic{ width:46px; height:46px; border-radius:13px; display:grid; place-items:center;
  background:linear-gradient(145deg,#1d2c63,#16224d); color:var(--gold-2); }
.emi-head .ic svg{ width:23px; height:23px; }
.emi-head .sectitle{ margin:0; }
.emi-in{ display:flex; flex-direction:column; gap:22px; }
.emi-lbl{ font-family:var(--display); font-weight:800; font-size:11px; letter-spacing:.07em; text-transform:uppercase; color:var(--ink-2); margin:0 0 11px; }
.banks{ display:flex; flex-wrap:wrap; gap:9px; }
.bank{ font-family:var(--display); font-weight:700; font-size:12.5px; color:var(--ink-2); background:#fff;
  border:1.5px solid var(--panel-bd); border-radius:100px; padding:9px 15px; transition:.22s var(--ease-out); }
.bank:hover{ border-color:var(--blue); color:var(--blue); }
.bank.on{ background:var(--blue); color:#fff; border-color:var(--blue); box-shadow:0 12px 26px -14px rgba(27,63,156,.7); }
.rangetop{ display:flex; align-items:center; justify-content:space-between; }
.rangetop .amt{ font-family:var(--display); font-weight:900; font-size:18px; color:var(--blue); }
.slider{ -webkit-appearance:none; appearance:none; width:100%; height:6px; border-radius:6px; margin-top:4px;
  background:rgba(20,30,70,.14); outline:none; }
.slider::-webkit-slider-thumb{ -webkit-appearance:none; appearance:none; width:24px; height:24px; border-radius:50%;
  background:var(--gold); border:3px solid #fff; box-shadow:0 6px 16px -4px rgba(244,180,0,.8); cursor:pointer; }
.slider::-moz-range-thumb{ width:24px; height:24px; border-radius:50%; background:var(--gold); border:3px solid #fff;
  box-shadow:0 6px 16px -4px rgba(244,180,0,.8); cursor:pointer; }
.rangescale{ display:flex; justify-content:space-between; margin-top:10px; font-size:11.5px; color:var(--muted); font-family:var(--display); font-weight:600; }
.tenure{ display:flex; gap:9px; }
.tenure button{ flex:1; font-family:var(--display); font-weight:700; font-size:13.5px; color:var(--ink-2); background:#fff;
  border:1.5px solid var(--panel-bd); border-radius:13px; padding:11px 0; transition:.22s var(--ease-out); }
.tenure button:hover{ border-color:var(--blue); color:var(--blue); }
.tenure button.on{ background:var(--blue); color:#fff; border-color:var(--blue); }
.emi-result{ background:linear-gradient(160deg,#1a285a,#0f1838); border-radius:18px; padding:24px; color:#fff; }
.emi-result .top{ text-align:center; }
.emi-result .cap{ font-family:var(--display); font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-2); }
.emi-result .big{ font-family:var(--display); font-weight:900; font-size:clamp(36px,5vw,52px); color:#fff; line-height:1; margin:8px 0 4px; }
.emi-result .sub{ font-size:12.5px; color:rgba(255,255,255,.6); }
.emi-break{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:22px 0; }
.emi-break > div{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:13px; padding:13px 8px; text-align:center; }
.emi-break .k{ font-family:var(--display); font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:rgba(255,255,255,.55); }
.emi-break .v{ font-family:var(--display); font-weight:800; font-size:14.5px; color:#fff; margin-top:5px; }
.emi-break .tot{ background:rgba(244,180,0,.16); border-color:var(--gold-bd); }
.emi-break .tot .v{ color:var(--gold-2); }
.emi-apply{ width:100%; }
.emi-note{ font-size:11.5px; color:var(--muted); margin:0; }

.botcta{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.botcta .btn{ --pad:16px 20px; }

/* related */
.related{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:680px){ .related{ grid-template-columns:1fr; } }
.rel{ display:flex; flex-direction:column; gap:12px; background:var(--bg-a); border:1px solid var(--panel-bd);
  border-radius:18px; padding:14px; transition:transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.rel:hover{ transform:translateY(-4px); box-shadow:var(--pr-shadow); border-color:var(--gold-bd); }
.rim{ border-radius:13px; overflow:hidden; aspect-ratio:16/11; background:radial-gradient(120% 90% at 50% 8%,#2c3c7a,#16224d); }
.rim img{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--pr-ease); }
.rel:hover .rim img{ transform:scale(1.07); }
.rn{ font-family:var(--display); font-weight:800; font-size:15px; color:var(--soil); }
.rm{ font-size:12.5px; color:var(--ink-2); margin-top:3px; }
.rp{ font-family:var(--display); font-weight:800; font-size:15px; color:var(--blue); margin-top:8px; }

/* =========================================================
   BREADCRUMB + MOBILE STICKY
   ========================================================= */
.crumb{ position:relative; z-index:3; max-width:var(--maxw); margin:0 auto; padding:calc(var(--nav-h, 78px) + 18px) var(--gut) 0;
  display:flex; align-items:center; gap:9px; font-family:var(--display); font-weight:600; font-size:13px; }
.crumb a{ color:var(--ink-2); transition:color .25s; }
.crumb a:hover{ color:var(--blue); }
.crumb .sep{ width:15px; height:15px; color:var(--muted); }
.crumb .cur{ color:var(--soil); font-weight:700; }

.msticky{ position:fixed; left:0; right:0; bottom:0; z-index:8000; display:none; gap:10px; padding:12px 16px;
  background:rgba(255,255,255,.92); backdrop-filter:blur(14px); border-top:1px solid var(--panel-bd);
  box-shadow:0 -16px 40px -24px rgba(20,30,70,.4); }
.msticky .btn{ flex:1; --pad:14px; }
@media (max-width:760px){ .msticky{ display:flex; } .page{ padding-bottom:84px; } }
