/* CARVEX GO — carvexgo.uz. Kam so'z, katta rasm, bitta harakat. */
@font-face { font-family: "Manrope"; src: url("fonts/manrope.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }

:root {
  --ground: #FFFFFF;
  --ink: #1F2D5C;
  --ink-deep: #16224A;
  --text: #14161F;
  --soft: #5E6475;
  --mint: #7FE0C2;
  --mint-deep: #3FBF98;
  --foot: #F6F6F4;
  --line: #E4E4E0;
  --radius: 56px;
  --gutter: clamp(16px, 4.2vw, 60px);
  --h1: clamp(2.6rem, 1.4rem + 4vw, 5.25rem);
  --h2: clamp(2.2rem, 1.3rem + 3vw, 4.25rem);
  --lead: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: "Manrope", system-ui, sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--mint-deep); 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: 50; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 40px; border-radius: 999px; font-size: 19px; font-weight: 700; text-decoration: none; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-line { border: 2px solid var(--text); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-mint { background: var(--mint); color: var(--ink-deep); }
@media (hover: hover) and (pointer: fine) {
  .btn-line:hover { background: var(--text); color: #fff; }
  .btn-ink:hover { background: var(--ink-deep); }
  .btn-mint:hover { background: #fff; }
}
.more { display: inline-flex; gap: 12px; align-items: center; margin-top: 40px; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); font-weight: 700; text-decoration: none; }
.more span[aria-hidden] { transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .more:hover span[aria-hidden] { transform: translateX(6px); } }

/* ---------- header (rasm ustida) ---------- */
.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 28px var(--gutter); }
.logo { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, 0.92); border-radius: 999px; padding: 6px 20px 8px; }
.logo b { color: var(--mint-deep); }
.lang { display: flex; background: rgba(255, 255, 255, 0.92); border-radius: 999px; padding: 4px; }
.lang button { min-width: 44px; min-height: 40px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--soft); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; background: #fff; }
.hero-media { overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
.hero-photo { width: 100%; height: clamp(520px, 46vw, 900px); object-fit: cover; object-position: center 60%; }
.hero-card { position: relative; z-index: 2; width: min(780px, 56%); margin: -210px 0 0 var(--gutter); background: #fff; border-radius: var(--radius); padding: clamp(36px, 4.5vw, 64px) clamp(36px, 4.5vw, 64px) 0; }
.hero-card p { margin-top: 28px; font-size: var(--lead); line-height: 1.45; max-width: 30ch; }
.hero-card .btn { margin-top: 44px; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.5rem); }

/* ---------- features ---------- */
.feature { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; margin-top: clamp(80px, 9vw, 140px); }
.feature h2 { font-size: var(--h2); }
.feature p { margin-top: 28px; font-size: var(--lead); line-height: 1.45; max-width: 32ch; }
.feature-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius) 0 0 var(--radius); }

.feature-taxi .feature-field { grid-column: 1 / 8; grid-row: 1; background: var(--mint); border-radius: 0 var(--radius) var(--radius) 0; min-height: 520px; display: flex; align-items: center; padding: 64px calc(29% + 40px) 64px var(--gutter); }
.feature-taxi .feature-photo { grid-column: 6 / 13; grid-row: 1; position: relative; z-index: 2; aspect-ratio: 4 / 3; }

.feature-food { padding-right: var(--gutter); }
.feature-food .feature-media { grid-column: 1 / 7; position: relative; }
.feature-food .feature-photo { position: relative; z-index: 2; border-radius: 0 var(--radius) var(--radius) 0; }
.feature-food .blob { position: absolute; z-index: 1; right: -12%; bottom: -12%; width: 56%; height: 70%; background: var(--mint); border-radius: var(--radius); }
.feature-food .feature-text { grid-column: 8 / 13; padding-left: 24px; }

.feature-drive .feature-field { grid-column: 1 / 8; grid-row: 1; background: var(--ink); color: #fff; border-radius: 0 var(--radius) var(--radius) 0; min-height: 520px; display: flex; align-items: center; padding: 64px calc(29% + 40px) 64px var(--gutter); }
.feature-drive p { color: #D9DEEC; }
.feature-drive .btn { margin-top: 0; }
.drive-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 44px; }
.drive-video { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.drive-video span[aria-hidden] { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 15px; padding-left: 3px; }
@media (hover: hover) and (pointer: fine) { .drive-video:hover { color: var(--mint); } }
.feature-drive .feature-photo { grid-column: 6 / 13; grid-row: 1; position: relative; z-index: 2; aspect-ratio: 4 / 3; }

/* ---------- cars ---------- */
.cars { margin-top: clamp(100px, 11vw, 170px); padding-inline: var(--gutter); }
.cars h2 { font-size: var(--h2); max-width: 14ch; }
.car-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.car-list li { background: var(--foot); border-radius: 36px; padding: 28px 28px 32px; display: flex; flex-direction: column; }
.car-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; margin-bottom: 24px; }
.car-list b { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
.car-list .price { margin-top: 4px; font-size: 18px; color: var(--soft); font-weight: 600; }

/* ---------- get the app ---------- */
.get { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); margin-top: clamp(100px, 11vw, 170px); padding-inline: var(--gutter); min-height: 720px; overflow: hidden; }
.get-text { grid-column: 1 / 6; padding-top: 40px; position: relative; z-index: 3; }
.get h2 { font-size: var(--h2); max-width: 10ch; }
.get p { margin-top: 28px; font-size: var(--lead); max-width: 26ch; }
.qr { margin-top: 36px; width: 150px; height: 150px; }
.get-btn { display: none; }
.get-stage { grid-column: 6 / 13; position: relative; min-height: 720px; }
.shape { position: absolute; bottom: 0; }
.shape-mint { left: -60%; right: 30%; height: 200px; background: var(--mint); border-radius: var(--radius) var(--radius) 0 0; }
.shape-ink { left: 22%; right: 0; height: 300px; background: var(--ink); border-radius: var(--radius) var(--radius) 0 0; }
.phone { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: min(380px, 70%); height: 640px; background: #0B0D14; border-radius: 52px 52px 0 0; padding: 12px 12px 0; overflow: hidden; z-index: 2; }
.phone img { width: 100%; border-radius: 42px 42px 0 0; }

/* ---------- footer ---------- */
.foot { background: var(--foot); padding: 48px var(--gutter) 56px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); font-size: 18px; }
.foot-tg { color: #8A8F9C; display: grid; place-items: center; width: 48px; height: 48px; }
@media (hover: hover) and (pointer: fine) { .foot-tg:hover { color: var(--ink); } }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.foot-cols nav { display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.foot-cols h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.foot-cols a { text-decoration: none; color: #3A3F4C; }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover, .foot-legal a:hover { color: var(--ink); text-decoration: underline; } }
.foot-qr { display: flex; gap: 24px; align-items: flex-start; }
.foot-qr img { width: 110px; height: 110px; flex: none; }
.foot-qr p { color: #6B7080; font-size: 18px; line-height: 1.5; max-width: 22ch; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 16px 48px; padding-top: 32px; font-size: 18px; }
.foot-legal a { text-decoration: none; color: #3A3F4C; }
.foot-note { margin-top: 40px; color: #6B7080; font-size: 16px; max-width: 80ch; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms ease, transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .hero-photo { transform: scale(1.06); transition: transform 1600ms var(--ease); }
  .js .hero.is-in .hero-photo { transform: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .hero-photo { height: 62svh; min-height: 420px; object-position: 72% center; }
  .hero-card { width: auto; margin: -80px var(--gutter) 0; border-radius: 40px; }
  .feature { grid-template-columns: 1fr; }
  .feature-taxi .feature-field, .feature-drive .feature-field { grid-column: 1; grid-row: 2; min-height: 0; padding: 64px var(--gutter) 56px; margin-right: var(--gutter); }
  .feature-taxi .feature-photo, .feature-drive .feature-photo { grid-column: 1; grid-row: 1; width: calc(100% - var(--gutter)); margin-left: auto; margin-bottom: -40px; max-height: none; aspect-ratio: 4 / 3; }
  .feature-food { padding-right: 0; }
  .feature-food .feature-media { grid-column: 1; margin-right: var(--gutter); }
  .feature-food .feature-photo { aspect-ratio: 4 / 3; }
  .feature-food .blob { right: calc(-1 * var(--gutter)); bottom: -8%; }
  .feature-food .feature-text { grid-column: 1; padding: 64px var(--gutter) 0; }
  .car-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .get { grid-template-columns: 1fr; min-height: 0; padding-inline: 0; }
  .get-text { grid-column: 1; padding: 0 var(--gutter); }
  .get-stage { grid-column: 1; min-height: 560px; margin-top: 48px; }
  .shape-mint { left: 0; right: 40%; height: 160px; }
  .shape-ink { left: 45%; height: 240px; }
  .phone { height: 520px; width: min(320px, 72%); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-qr { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 600px) {
  :root { --radius: 32px; }
  .bar { padding-block: 18px; }
  .logo { font-size: 22px; padding: 5px 14px 6px; }
  .lang button { min-width: 40px; min-height: 36px; }
  .hero-photo { height: 60svh; min-height: 380px; object-position: 70% center; }
  .hero-card { margin-top: -56px; padding: 32px 24px; border-radius: 32px; }
  .hero-card p { margin-top: 18px; }
  .hero-card .btn { margin-top: 28px; width: 100%; }
  .btn { min-height: 56px; padding: 0 28px; font-size: 18px; }
  .feature p { margin-top: 18px; }
  .more { margin-top: 28px; }
  .feature-drive .btn { width: 100%; }
  .car-list { gap: 10px; margin-top: 36px; }
  .car-list li { padding: 14px 14px 18px; border-radius: 24px; }
  .car-list img { border-radius: 16px; margin-bottom: 14px; }
  .car-list .price { font-size: 15px; }
  .qr { display: none; }
  .get-btn { display: inline-flex; margin-top: 28px; width: 100%; }
  .get-stage { min-height: 470px; }
  .phone { height: 440px; border-radius: 40px 40px 0 0; padding: 9px 9px 0; }
  .phone img { border-radius: 32px 32px 0 0; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
  .foot-qr { display: none; }
  .foot-legal { gap: 14px 28px; font-size: 16px; }
}
