/* CARVEX GO — kuryer bo'lish sahifasi (v3) */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #222F5B; --ink-deep: #182247; --dark: #1B1F2E; --text: #14161F; --soft: #5E6475;
  --mint: #79DDC6; --mint-hover: #9BE8D6; --mint-pale: #E4F7F1;
  --tone: #F4F4F1; --line: #E1E1DC; --err: #C2410C;
  --gutter: clamp(16px, 4vw, 48px); --max: 1180px; --r: 36px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font-family: "Manrope", system-ui, sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 60; }
.skip:focus { left: 8px; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 40px; border-radius: 999px; font-weight: 700; font-size: 18px; text-decoration: none; text-align: center; line-height: 1.2; transition: background-color 200ms ease, transform 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn-mint { background: var(--mint); color: var(--ink-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 22px; font-size: 15px; }
.btn-wide { width: 100%; padding: 0 16px; }
@media (hover: hover) and (pointer: fine) {
  .btn-mint:hover { background: var(--mint-hover); }
  .btn-ink:hover { background: var(--ink-deep); }
}

/* suzuvchi menyu */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; padding: 0 var(--gutter); pointer-events: none; }
.nav { pointer-events: auto; max-width: 960px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 8px 8px 8px 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; box-shadow: 0 8px 30px rgba(24, 34, 71, 0.12); }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; }
.logo { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; color: var(--ink); }
.logo b { color: #2E9C7B; }
.nav-end { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.lang-btn { min-height: 42px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: #2E9C7B; } .lang-btn:hover { background: var(--tone); } }

/* hero */
.hero { position: relative; min-height: min(92svh, 820px); display: grid; align-items: center; border-radius: 0 0 var(--r) var(--r); overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 0%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 34, 71, 0.82) 0%, rgba(24, 34, 71, 0.55) 45%, rgba(24, 34, 71, 0) 75%); }
.hero-text { position: relative; z-index: 2; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 120px var(--gutter) 64px; color: #fff; }
.hero h1 { font-size: clamp(2.5rem, 1.3rem + 4vw, 4.75rem); max-width: 14ch; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--mint); }
.lead { margin-top: 24px; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); max-width: 30ch; color: #E6EAF5; }
.hero .btn { margin-top: 36px; min-width: 240px; }

/* bo'limlar */
.sec { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--gutter) 0; }
.sec h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.75rem); }
.sec-tone, .sec-dark { max-width: none; margin-top: clamp(72px, 9vw, 120px); padding: clamp(64px, 8vw, 110px) var(--gutter); border-radius: var(--r); }
.sec-tone { background: var(--tone); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-tone > *, .sec-dark > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* bento */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 10px; }
.b { position: relative; background: var(--tone); border-radius: 30px; padding: 28px; overflow: hidden; }
.b h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem); max-width: 14ch; position: relative; z-index: 1; }
.b p { margin-top: 12px; font-size: 16px; max-width: 34ch; color: #3A3F4C; position: relative; z-index: 1; }
.b img { position: absolute; z-index: 0; }
.b-fee { grid-row: span 2; background: var(--mint); }
.b-fee img { width: 56%; right: -8%; bottom: -6%; }
.fee-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.fee-list span { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.fee-list b { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink-deep); }
.fee-list small { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.b-wide { grid-column: span 2; }
.b-ico { width: 120px; right: 14px; bottom: 10px; }
.b-bike img { width: 230px; right: 16px; bottom: -16px; }
.b-bike p, .b-shield p { max-width: 28ch; }
.b-shield img { width: 120px; right: 14px; bottom: 6px; }
.b-shield p { max-width: 22ch; }

/* transport */
.tr-grid { list-style: none; margin: 48px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tr-grid button { position: relative; width: 100%; background: #fff; border-radius: 30px; padding: 26px 20px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 290px; text-align: center; transition: transform 200ms ease; }
.tr-grid b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.tr-grid img { width: 78%; margin-top: auto; }
.arrow { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 22px; line-height: 1; padding-bottom: 3px; }
@media (hover: hover) and (pointer: fine) { .tr-grid button:hover { transform: translateY(-4px); } }
.tr-note { margin-top: 20px; text-align: center; color: var(--soft); font-size: 16px; }
.sec-tone .center { margin-top: 28px; }

/* kalkulyator */
.calc { margin-top: 48px; display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; }
.calc-in { background: #fff; color: var(--text); border-radius: 30px; padding: 30px; display: grid; gap: 24px; }
.rng > span { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.rng output { font-size: 20px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.rng input { width: 100%; height: 44px; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.rng input::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--mint) var(--p, 50%), var(--tone) var(--p, 50%)); }
.rng input::-moz-range-track { height: 12px; border-radius: 999px; background: var(--tone); }
.rng input::-moz-range-progress { height: 12px; border-radius: 999px; background: var(--mint); }
.rng input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -9px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.rng input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; }
.calc-note { font-size: 13px; color: var(--soft); }
.calc-out { background: var(--mint); color: var(--ink-deep); border-radius: 30px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.co-label { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.co-row span { display: block; font-size: 15px; font-weight: 600; }
.co-row b { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.co-small b { font-size: 22px; }
.calc-out .btn { margin-top: auto; }

/* qadamlar */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.steps li { background: var(--tone); border-radius: 30px; padding: 24px 24px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 320px; }
.num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.steps b { font-size: 19px; font-weight: 700; line-height: 1.25; margin-top: 8px; }
.steps a { font-size: 14px; color: var(--soft); }
.steps img { width: 62%; margin: auto auto 0; }

/* ariza */
.apply { max-width: calc(var(--max) + 2 * var(--gutter)); margin: clamp(72px, 9vw, 120px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; scroll-margin-top: 90px; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.collage img, .tile { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 26px; }
.tile { display: flex; align-items: flex-end; padding: 22px; }
.tile b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.tile-mint { background: var(--mint); color: var(--ink-deep); }
.tile-ink { background: var(--ink); color: #fff; }
.form { background: var(--tone); border-radius: 30px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; align-content: start; }
.form h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.form-sub { color: #3A3F4C; margin-top: -6px; }
.form label > span:first-child, legend { display: block; font-size: 14px; font-weight: 700; color: #3A3F4C; margin-bottom: 8px; }
.form input:not([type="radio"]):not([type="checkbox"]), .form select { width: 100%; min-height: 56px; border: 2px solid transparent; border-radius: 16px; padding: 0 16px; font-size: 17px; background: #fff; }
.form input:focus, .form select:focus { outline: none; border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: var(--err) !important; }
fieldset { border: 0; margin: 0; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; background: #fff; border-radius: 18px; padding: 5px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid !important; place-items: center; min-height: 46px; padding: 4px; border-radius: 14px; font-size: 14px !important; font-weight: 700; margin: 0 !important; color: #3A3F4C !important; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: #fff !important; }
.seg input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check span { margin: 0 !important; font-weight: 500 !important; color: var(--text) !important; font-size: 15px !important; }
.form-err { color: var(--err); font-weight: 700; font-size: 15px; }
.form-ok { display: grid; gap: 12px; background: var(--mint-pale); border-radius: 20px; padding: 22px; }
.form-ok b { font-size: 22px; }
.form-ok .btn { font-size: 16px; }

/* savollar */
.faq { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 48px; align-items: start; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.faq-tabs button { min-height: 50px; padding: 0 22px; border-radius: 999px; background: var(--tone); font-size: 17px; font-weight: 700; }
.faq-tabs button[aria-selected="true"] { background: var(--mint); color: var(--ink-deep); }
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: var(--tone); border-radius: 26px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-size: 16px; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: translateY(-70%) rotate(45deg); transition: transform 200ms ease; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 24px 22px; color: #3A3F4C; font-size: 16px; }

/* footer */
.foot { margin-top: clamp(72px, 9vw, 120px); background: var(--dark); color: #AEB3C2; border-radius: var(--r) var(--r) 0 0; padding: 56px var(--gutter) 110px; }
.foot-in { max-width: var(--max); margin: 0 auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 30px; color: #fff; font-weight: 600; margin-bottom: 28px; }
.foot-links a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: var(--mint); } }
.foot p { font-size: 13px; margin-top: 10px; max-width: 110ch; }

.sticky-cta { display: none; }

/* paydo bo'lish */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity 600ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto 1fr; padding-left: 18px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-fee { grid-row: span 1; grid-column: span 2; min-height: 300px; }
  .b-fee img { width: 34%; }
  .tr-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc, .apply, .faq { grid-template-columns: 1fr; }
  .faq { gap: 8px; }
  .collage { order: 2; }
}
@media (max-width: 600px) {
  :root { --r: 28px; }
  .nav-wrap { top: 10px; }
  .nav { border-radius: 18px; padding: 6px 6px 6px 16px; }
  .logo { font-size: 19px; }
  .nav-end .btn-sm { display: none; }
  .hero { min-height: 640px; align-items: end; }
  .hero::after { background: linear-gradient(0deg, rgba(24, 34, 71, 0.92) 0%, rgba(24, 34, 71, 0.6) 50%, rgba(24, 34, 71, 0) 80%); }
  .hero-img { object-position: 62% center; }
  .hero-text { padding: 0 var(--gutter) 36px; }
  .hero .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .b-wide, .b-fee { grid-column: span 1; }
  .b { min-height: 200px; border-radius: 24px; }
  .b-bike img { width: 160px; }
  .b-shield img { width: 120px; }
  .b-ico { width: 96px; }
  .b-bike p, .b-shield p { max-width: 20ch; }
  .tr-grid button { min-height: 220px; border-radius: 24px; padding: 18px 12px 14px; }
  .tr-grid b { font-size: 17px; }
  .arrow { width: 30px; height: 30px; right: 12px; bottom: 12px; font-size: 18px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; display: grid; grid-template-columns: auto 1fr 96px; align-items: center; gap: 4px 14px; border-radius: 24px; }
  .steps b { margin: 0; grid-column: 2; font-size: 17px; }
  .steps a { grid-column: 2; }
  .steps img { grid-column: 3; grid-row: 1 / span 2; width: 96px; margin: 0; }
  .steps .num { grid-row: 1 / span 2; }
  .calc-in, .calc-out { padding: 22px; border-radius: 24px; }
  .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-tabs button { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30; box-shadow: 0 10px 30px rgba(24, 34, 71, 0.3); transition: transform 250ms ease, opacity 250ms ease; }
  .sticky-cta.is-hidden { transform: translateY(130%); opacity: 0; pointer-events: none; }
}

.co-row b span { display: inline; font-size: inherit; font-weight: inherit; }
.b:has(.b-ico) p { max-width: 22ch; }
