:root{
  --blue:#1F3A5F;
  --blue2:#142C4C;
  --orange:#F5A623;
  --orange2:#E5941E;
  --bg:#F5F6F8;
  --white:#fff;
  --text:#0f172a;
  --muted:#64748b;
  --shadow: 0 18px 40px rgba(20,44,76,.18);
  --radius:16px;
}

*{box-sizing:border-box}
html{
  width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
  width:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}
.page{
  flex:1 0 auto;
}
a{color:inherit; text-decoration:none}
.container{max-width:1360px; margin:0 auto; padding:0 18px}

/* topbar */
.topbar{
  background: linear-gradient(180deg, var(--blue2), var(--blue));
  color:var(--white);
  position:relative;
  z-index:400;
  overflow:visible;
}
.topbar__inner{
  min-height:80px;
  display:flex;
  align-items:center;
  gap:18px;
  overflow:visible;
}
.brand{display:flex; align-items:center; gap:14px; font-weight:700; font-size:18px; flex:0 0 auto}
.brand__logo{
  width:78px;height:78px;border-radius:18px;
  background:transparent;
  display:block;
  object-fit:cover;
}
.brand__name{opacity:.95}

.nav{margin-left:10px; display:flex; gap:22px; flex:1; justify-content:center}
.nav a{opacity:.9; font-size:16px}
.nav .btn{
  white-space:nowrap;
  min-width:120px;
}
.nav a:hover{opacity:1; text-decoration:underline}

.topbar__right{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:520px;
  text-align:right;
  flex:0 0 auto;
  position:relative;
  z-index:500;
}
.phone__num{font-weight:700; white-space:nowrap}
.phone-menu{
  position:relative;
  z-index:300;
}
.phone-menu summary{
  list-style:none;
}
.phone-menu summary::-webkit-details-marker{display:none}
.phone-menu__list{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  display:grid;
  gap:8px;
  min-width:180px;
  background:#fff;
  border:1px solid rgba(20,44,76,.12);
  border-radius:12px;
  padding:10px;
  box-shadow: 0 12px 26px rgba(20,44,76,.16);
  z-index:600;
}
.footer .phone-menu__list{
  top:auto;
  bottom:calc(100% + 8px);
}
@media (max-width: 520px){
  .hero-cta .phone-menu__list{
    top:auto;
    bottom:calc(100% + 8px);
  }
}
.phone-menu__list a{
  font-size:14px;
  font-weight:700;
  color:var(--blue2);
  padding:6px 8px;
  border-radius:8px;
  text-align:center;
}
.phone-menu__list a:hover{
  background:rgba(245,166,35,.18);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  cursor:pointer;
  font-weight:700;
  border-radius:12px;
  padding:12px 16px;
  transition:.15s;
  user-select:none;
}
.btn--small{padding:16px 20px; border-radius:12px; font-size:16px}
.topbar__address{
  font-size:17px;
  font-weight:800;
  opacity:.98;
  text-align:center;
  flex:1 1 auto;
  max-width:700px;
  margin:0 24px;
}
.btn--wa{
  background: rgba(245,166,35,.95);
  color:#1a1a1a;
}
.btn--wa:hover{transform:translateY(-1px); background:var(--orange)}
.btn--accent{
  background: var(--orange);
  color:#1a1a1a;
  box-shadow: 0 14px 26px rgba(245,166,35,.32);
}
.btn--accent:hover{background:var(--orange2); transform:translateY(-1px)}
.btn--wide{width:100%}
.btn--ghost{
  background:transparent;
  border:1px solid rgba(20,44,76,.35);
  color:var(--blue2);
}
.btn--ghost:hover{transform:translateY(-1px); background:rgba(20,44,76,.06)}
.btn--ig{
  background: linear-gradient(45deg, #f58529, #feda77, #dd2a7b, #8134af, #515bd4);
  color:#fff;
}


/* hero */
.hero{
  position:relative;
  padding:40px 0 0;
  overflow:hidden;
  background: #eef2f7;
}
.hero__bg{
  position:absolute; inset:0;
  background:
    url("../img/vin-btn-bg.png");
  background-size: cover;
  background-position: right center;;
  background-repeat: no-repeat;
}
.hero__grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:26px;
  align-items:center;
}

.hero__left{
  position:relative;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(20,44,76,.10);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
  display:inline-block;
  text-align:center;
  justify-self:center;
}
.hero h1{
  margin:0;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.02em;
  color:var(--orange);
}
.hero__lead{
  margin:12px 0 18px;
  color:var(--orange);
  font-weight:600;
}
.hero-cta{
  margin-top:16px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(20,44,76,.10);
  border-radius:var(--radius);
  padding:12px;
  box-shadow: var(--shadow);
  display:inline-block;
  position:relative;
  z-index:900;
}
.hero-cta__text{
  font-weight:700;
  color:var(--blue2);
  margin-bottom:12px;
}
.hero-cta__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.vinbox{
  background:rgba(255,255,255,.75);
  border:1px solid rgba(20,44,76,.10);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  text-align:center;
}

.label{display:block; font-size:13px; color:var(--muted); margin-bottom:8px}
.input{
  width:100%;
  border:1px solid rgba(20,44,76,.18);
  border-radius:12px;
  padding:14px 14px;
  font-size:16px;
  outline:none;
  background:#fff;
}
.input:focus{
  border-color: rgba(245,166,35,.9);
  box-shadow: 0 0 0 4px rgba(245,166,35,.18);
}
.hint{margin:10px 0 14px; font-size:13px; color:var(--muted)}
.hint a{color:var(--blue); text-decoration:underline}
.vin-upload{margin-top:12px}
.input--file{
  padding:10px;
  font-size:14px;
}

.hero__right{
  position:relative;
  min-height:360px;
  border-radius: var(--radius);
  padding: 0;
  overflow:hidden;
}
.hero__car{
  width:100%;
  max-width:520px;
  display:block;
  margin-left:auto;
  filter: drop-shadow(0 20px 40px rgba(20,44,76,.25));
}
.hero__parts{
  position:absolute;
  bottom:-10px;
  left:0;
  width:100%;
  opacity:.95;
}
.hero__parts img{width:100%; max-width:520px; display:block}

/* sections */
.section{
  padding:46px 0 140px;
}
#how{
  padding-bottom:70px;
}
#models{
  padding:16px 0;
  background:#fff;
  border-top:2px solid rgba(20,44,76,.25);
  border-bottom:0;
}
.models__inner{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:20px;
}
.models__title{
  font-weight:800;
  color:var(--blue2);
  font-size:26px;
  white-space:nowrap;
}
.models__list{
  display:flex;
  flex-wrap:wrap;
  gap:14px 16px;
}
.model-item{
  display:grid;
  justify-items:center;
  gap:6px;
  min-width:110px;
}
.model-icon{
  width:80px;
  height:60px;
  border-radius:0;
  background:transparent;
  border:0;
  display:grid;
  place-items:center;
  color:var(--blue2);
  font-weight:800;
  font-size:12px;
}
.model-name{
  font-size:16px;
  font-weight:700;
  color:var(--blue);
}
#how{
  background-color:#fff;
  background-image: url("../img/section-bg.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
#how .container{
  max-width:1100px;
}
#benefits{
  background-color:#fff;
  padding-bottom:24px;
}
.section--light{background:#fff}
.h2{
  margin:0 0 18px;
  font-size:26px;
  color:var(--blue2);
}
.center{text-align:center}

/* steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 68px;
}
.step{
  background: rgba(255,255,255,.50);
  border:1px solid rgba(20,44,76,.10);
  border-radius:var(--radius);
  padding:20px;
  box-shadow: 0 12px 26px rgba(20,44,76,.10);
  position:relative;
  overflow:visible;
}
.step:not(:last-child)::after{
  content:"→";
  position:absolute;
  right:-62px;
  top:50%;
  transform:translateY(-50%);
  color:#000;
  font-size:56px;
  font-weight:800;
}
.step__badge{
  width:34px;height:34px;border-radius:999px;
  background:var(--orange);
  display:grid;place-items:center;
  font-weight:800;
  color:#1a1a1a;
}
.step__title{margin-top:10px; font-weight:800; color:var(--blue2)}
.step__text{margin-top:4px; color:var(--muted); font-size:14px}
.step__img{margin-top:14px}
.step__img img{width:100%; height:150px; object-fit:fill; border-radius:14px}
@media (max-width: 520px){
  .step__img img{
    height:165px;
    object-fit:contain;
  }
}

/* cats */
.cats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  margin-top:18px;
}
.cat{
  background:#fff;
  border:1px solid rgba(20,44,76,.10);
  border-radius:var(--radius);
  box-shadow: 0 12px 26px rgba(20,44,76,.10);
  padding:12px;
}
.cat img{width:65%; height:auto; object-fit:contain; border-radius:12px; display:block; margin:0 auto}
.cat__title{margin:10px 0 6px; font-weight:800; color:var(--blue2); font-size:14px; text-align:center}
.cat__price{color:var(--muted); font-weight:700; font-size:12px; text-align:center}

/* benefits */
.benefits{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  margin-top:18px;
}
.benefits__map{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(20,44,76,.10);
  background:#fff;
  box-shadow: 0 12px 26px rgba(20,44,76,.10);
  margin-top:18px;
}
.map-tabs{
  display:flex;
  gap:14px;
  padding:16px;
  border-bottom:1px solid rgba(20,44,76,.10);
  background:#f8fafc;
  flex-wrap:wrap;
  justify-content:center;
}
.map-route{
  display:flex;
  justify-content:center;
  padding:4px 12px 0;
  margin-bottom:0;
}
#cats{
  padding-top:4px;
}
.map-tab{
  border:1px solid rgba(20,44,76,.12);
  background:#fff;
  color:var(--blue2);
  font-weight:700;
  padding:12px 16px;
  border-radius:12px;
  cursor:pointer;
  font-size:15px;
}
.map-tab.is-active{
  background:var(--orange);
  border-color:var(--orange2);
  color:#1a1a1a;
}
.map-frames{
  position:relative;
  height:320px;
}
.map-frame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  display:none;
}
.map-frame.is-active{
  display:block;
}
.benefit{
  background:#fff;
  border:1px solid rgba(20,44,76,.10);
  border-radius:var(--radius);
  padding:8px;
  text-align:center;
}
.benefit__label{
  font-weight:800;
  color:var(--blue2);
  margin-bottom:6px;
  font-size:16px;
}
.benefit__img{
  width:110%;
  height:150px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
.schedule{
  margin:60px 0 30px;
  padding:10px 12px;
  border-top:2px solid rgba(20,44,76,.25);
  border-bottom:2px solid rgba(20,44,76,.25);
  text-align:center;
}
.schedule__label{
  font-weight:800;
  color:var(--blue2);
  font-size:24px;
}
.schedule__grid{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
}
.schedule__row{
  display:flex;
  justify-content:flex-start;
  gap:12px;
  font-weight:700;
  color:var(--blue2);
  font-size:18px;
  padding:8px 10px;
  border-radius:999px;
  background:var(--orange);
  flex-wrap:nowrap;
  white-space:nowrap;
  width:auto;
  text-align:left;
}
.schedule__row.is-off{
  color:var(--orange);
  background:var(--blue2);
}
.benefit__icon{
  width:56px;height:56px;border-radius:999px;
  background: rgba(245,166,35,.18);
  margin:0 auto 14px;
  display:grid;place-items:center;
  color:var(--blue2);
  font-weight:900;
  font-size:20px;
}
.benefit__title{font-weight:800; color:var(--blue2); font-size:16px}

/* CTA */
.cta{
  background: linear-gradient(180deg, var(--blue2), var(--blue));
  color:#fff;
  padding:36px 0;
}
.cta__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}
.cta__title{font-size:26px; font-weight:900}
.cta__text{opacity:.9; margin-top:6px}

/* footer (reuses topbar styles) */
.footer{
  margin-top:auto;
  margin-bottom:0;
  padding-bottom:0;
}
@media (max-width: 520px){
  .footer{
    margin-top:0;
  }
}

/* responsive */
@media (max-width: 980px){
  .nav{display:none}
  .hero__grid{grid-template-columns:1fr; }
  .hero__right{order:-1; min-height:auto}
  .hero h1{font-size:34px}
  .steps{grid-template-columns:1fr}
  .cats{grid-template-columns:1fr 1fr}
  .benefits{grid-template-columns:1fr 1fr}
  .cta__inner{flex-direction:column; align-items:flex-start}
  .container{padding:0 14px}
  #how .container{max-width:100%}
  .topbar__inner{
    flex-direction:column;
    align-items:center;
    gap:12px;
    padding:12px 0;
  }
  .topbar__address{
    border-top:1px solid rgba(255,255,255,.25);
    padding-top:10px;
    margin-top:4px;
  }
  .topbar__address{
    max-width:100%;
    margin:0;
    font-size:15px;
  }
  .topbar__right{
    justify-content:center;
    max-width:100%;
    text-align:center;
  }
  .topbar__right{
    flex-direction:row;
    flex-wrap:nowrap;
  }
  .topbar__right .btn{
    width:auto;
    max-width:none;
  }
  .brand__name{font-size:16px}
  .brand__logo{width:64px;height:64px}
  .hero__left{
    padding:14px;
    width:100%;
    max-width:100%;
  }
  .hero-cta__actions{justify-content:center}
  .models__inner{justify-content:center}
  .models__title{white-space:normal; text-align:center}
  .models__list{justify-content:center}
  .benefits__map{margin-top:12px}
  .map-frames{height:260px}
  .schedule__grid{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
  .schedule__row{
    width:100%;
    justify-content:center;
    text-align:center;
  }
}
@media (max-width: 520px){
  .container{width:100%; max-width:100vw}
  .topbar, .hero, .section, .models, .footer{max-width:100vw}
  #how .container{max-width:100%}
  .cats{grid-template-columns:1fr}
  .benefits{grid-template-columns:1fr}
  .steps{gap:36px}
  .step:not(:last-child)::after{
    right:50%;
    top:auto;
    bottom:-34px;
    transform:translateX(50%) rotate(90deg);
    font-size:44px;
  }
  .hero h1{font-size:28px}
  .hero__lead{font-size:14px}
  .btn--small{font-size:14px; padding:12px 14px}
  .btn{font-size:14px}
  .map-tabs{gap:8px; padding:12px}
  .map-tab{padding:10px 12px; font-size:14px}
  .schedule__grid{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
  .schedule__row{
    font-size:14px;
    width:100%;
  }
  .benefit__label{font-size:16px}
  .benefit__img{height:240px; width:100%}
  .cat img{width:72%}
  .topbar__inner{min-height:auto}
  .topbar__right{flex-direction:row; align-items:center; justify-content:center; flex-wrap:nowrap}
  .topbar__right .btn{width:auto; max-width:none; font-size:13px; padding:10px 12px}
  .hero__grid{width:100%}
  .hero__left{display:block; text-align:center; width:100%; justify-self:stretch}
  .hero-cta{display:block; margin-top:8px}
  img, iframe, video, svg{max-width:100%; height:auto}
  .map-frames{width:100%}
  .phone-menu__list{right:50%; transform:translateX(50%)}
  .steps{overflow:visible}
  .step:not(:last-child)::after{right:50%}
  .hero__bg, .map-frames, .benefits__map, .models, .section, .hero, .topbar, .footer{width:100%}
  .footer{margin-top:0}
  body{padding-bottom:0}
}
