/* Brend ranglari logotip va ilovadan: oq, qora, to'q sariq.
   Bosh ekranning markazi — ilovadagi buyurtma oynasiga o'xshash narx kartasi. */
:root {
  --bg: #FFFFFF;
  --paper: #F6F3EF;
  --paper-2: #EFEAE4;
  --ink: #141210;
  --ink-2: #2B2824;
  --muted: #6A645D;
  --line: #E9E4DE;
  --line-strong: #DAD3CB;
  --orange: #FF7625;
  --orange-hover: #FF8740;
  --orange-ink: #C24E0A;
  --orange-soft: #FFF0E6;
  --green: #1FA463;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(20, 18, 16, .04), 0 12px 32px -12px rgba(20, 18, 16, .14), 0 40px 80px -40px rgba(20, 18, 16, .18);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; color-scheme: light; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--orange); }
::selection { background: var(--orange); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); max-width: 50ch; text-wrap: pretty; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 16px; font: 600 16px var(--font); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(255, 118, 37, .7); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-line { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav a { text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--paper); }
.langs button { border: 0; background: transparent; color: var(--muted); font: 600 13px var(--font); letter-spacing: .03em; padding: 7px 10px; border-radius: 9px; cursor: pointer; }
.langs button.active { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 18, 16, .12); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 13px; box-shadow: none; }
@media (max-width: 1080px) { .nav { display: none; } }
@media (max-width: 600px) { .top .btn { display: none; } .brand img { height: 28px; } .top .wrap { height: 64px; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(40px, 4.7vw, 64px); letter-spacing: -0.04em; line-height: 1.02; }
.hero h1 .to { color: var(--orange); }
.hero h1 .arr { display: inline-block; width: .7em; height: .7em; margin-right: .12em; vertical-align: -.02em; stroke: var(--orange); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero .lead { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.facts li { display: inline-flex; align-items: center; gap: 9px; }
.facts .icon { width: 18px; height: 18px; color: var(--orange-ink); }
.facts .on { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 164, 99, .16); margin: 0 5px; }

/* Xarita fonidagi narx kartasi */
.stage { position: relative; border-radius: 32px; background: var(--paper); padding: 112px 28px 28px 84px; overflow: hidden; isolation: isolate; }
@media (max-width: 960px) { .stage { padding: 96px clamp(14px, 4vw, 40px) clamp(14px, 4vw, 40px); } }
.stage .map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.map .road { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.map .road-s { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; opacity: .9; }
.map .river { fill: none; stroke: #DCE6EC; stroke-width: 14; stroke-linecap: round; }
.map .route { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map text { font: 600 13px var(--font); fill: var(--ink-2); }

.card { position: relative; background: var(--bg); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 18px; max-width: 440px; margin-left: auto; }
@media (max-width: 960px) { .card { margin-inline: auto; } }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-head h2 { font-size: 20px; letter-spacing: -0.02em; }
.card-head .km { color: var(--muted); font-size: 14px; }

.trip { position: relative; border-radius: 16px; background: var(--paper); }
.trip .row { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 64px 10px 16px; }
.trip .row + .row { border-top: 1px solid var(--line-strong); margin-left: 50px; padding-left: 0; grid-template-columns: minmax(0, 1fr); }
.trip .row + .row .mark { position: absolute; left: -34px; top: 50%; transform: translateY(-50%); }
.trip .mark { width: 12px; height: 12px; justify-self: center; border-radius: 50%; border: 3.5px solid var(--ink); }
.trip .mark.sq { border-radius: 3px; background: var(--orange); border-color: var(--orange); }
.trip::before { content: ""; position: absolute; left: 26.5px; top: 36px; bottom: 36px; border-left: 2px dotted var(--line-strong); }
.trip label { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.trip select { width: 100%; appearance: none; border: 0; background: transparent; padding: 2px 0; color: var(--ink); font: 600 17px var(--font); cursor: pointer; }
.trip select:focus-visible { outline: none; }
.trip .row:has(select:focus-visible) { box-shadow: inset 0 0 0 2px var(--orange); border-radius: 12px; }
.swap { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 18, 16, .14); cursor: pointer; display: grid; place-items: center; transition: transform .35s var(--ease); z-index: 1; }
.swap:hover { transform: translateY(-50%) rotate(180deg); }
.swap .icon { width: 18px; height: 18px; transform: rotate(90deg); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 4px; gap: 4px; border-radius: 14px; background: var(--paper); }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 14.5px var(--font); padding: 10px 6px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 18, 16, .12); }
.opts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.opts .seg { flex: 1; }
.stepper { display: inline-flex; align-items: center; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); }
.stepper button { width: 44px; height: 46px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; border-radius: 14px; }
.stepper button:hover:not(:disabled) { background: var(--paper); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 92px; text-align: center; font-weight: 600; font-size: 15px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--bg); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.check input:checked { background: var(--orange); box-shadow: none; }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }

.total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.total-label { font-size: 14px; color: var(--muted); }
.total-note { font-size: 14px; color: var(--ink-2); font-weight: 500; margin-top: 2px; }
.total-price { font-size: clamp(32px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; text-align: right; }
.total-price small { font-size: .4em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 5px; }
.card .btn { width: 100%; }
.card .alt { text-align: center; font-size: 14.5px; color: var(--muted); margin-top: -6px; }
.card .alt a { color: var(--ink); font-weight: 600; text-decoration: none; }
.card .alt a:hover { color: var(--orange-ink); }
@media (max-width: 440px) { .seg button { font-size: 13.5px; white-space: normal; line-height: 1.2; padding: 9px 4px; } .stepper output { min-width: 80px; } .hero-cta .btn { flex: 1 1 100%; } }
.card .alt a { white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section.tint { background: var(--paper); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { max-width: 44ch; }

/* ---------- Prices ---------- */
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.route-card { background: var(--bg); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: 0 1px 2px rgba(20, 18, 16, .05); }
.route-card .name { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -0.02em; }
.route-card .name .icon { color: var(--orange); width: 22px; height: 22px; }
.route-card .dist { color: var(--muted); font-size: 14px; margin-top: 4px; }
.route-card .big { margin-top: 26px; font-size: clamp(40px, 4.4vw, 54px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.route-card .big small { font-size: .36em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.route-card .per { color: var(--muted); font-size: 15px; margin-top: 8px; }
.route-card dl { margin: 26px 0 0; display: grid; }
.route-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
.route-card dt { color: var(--muted); }
.route-card dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 28px; }
.step:last-child::before { background: var(--orange); color: var(--ink); }
.step h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- App ---------- */
.app { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--orange); border-radius: 36px; padding: clamp(28px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.app::before { content: ""; position: absolute; right: -12%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .14); z-index: -1; }
@media (max-width: 900px) { .app { grid-template-columns: minmax(0, 1fr); } }
.app h2 { color: var(--ink); }
.app .lead { color: rgba(20, 18, 16, .78); margin-top: 16px; }
.features { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
@media (max-width: 520px) { .features { grid-template-columns: minmax(0, 1fr); } }
.features li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; }
.features .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); }
.features b { display: block; font-weight: 600; line-height: 1.3; margin-top: 1px; }
.features span { color: rgba(20, 18, 16, .74); font-size: 15px; line-height: 1.45; display: block; margin-top: 3px; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; margin-top: 36px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.stores a { display: block; border-radius: 10px; transition: transform .2s var(--ease); }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 50px; width: auto; border-radius: 10px; }
.qr { display: flex; align-items: center; gap: 12px; color: rgba(20, 18, 16, .78); font-size: 14px; font-weight: 500; max-width: 24ch; line-height: 1.4; }
.qr img { width: 78px; height: 78px; border-radius: 14px; background: #fff; padding: 6px; }
@media (hover: none) { .qr { display: none; } }
.app-shot { position: relative; align-self: end; margin: 0 -2% calc(-1 * clamp(28px, 5vw, 64px)) 0; padding-top: 12px; }
.app-shot::before { content: ""; position: absolute; left: 50%; top: 46%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.app-shot img { position: relative; width: 100%; margin-bottom: -9%; filter: drop-shadow(0 34px 44px rgba(90, 32, 0, .32)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-1.2deg); } }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(90, 32, 0, .45); animation: float 6s ease-in-out infinite; }
.chip .icon { width: 17px; height: 17px; color: var(--orange-ink); }
.chip .on { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 164, 99, .16); }
.chip-a { top: 14%; left: -4%; animation-delay: -2s; }
.chip-b { top: 52%; right: 2%; animation-delay: -4s; }
@media (max-width: 900px) {
  .app-shot { width: min(560px, 100%); justify-self: center; margin: 20px auto calc(-1 * clamp(28px, 5vw, 64px)); }
  .chip-a { left: 0; } .chip-b { right: 0; }
}
@media (max-width: 420px) { .chip { font-size: 13px; padding: 9px 13px; } }

/* ---------- News ---------- */
.news { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 340px); gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.news article { scroll-snap-align: start; background: var(--bg); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); }
.news img { width: 100%; height: auto; background: var(--paper); }
.news p { padding: 16px 18px 0; color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news a { margin: 12px 18px 18px; color: var(--orange-ink); font-weight: 600; text-decoration: none; font-size: 15px; }

/* ---------- Drivers ---------- */
.drivers { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: center; background: var(--ink); color: #fff; border-radius: 36px; padding: clamp(28px, 5vw, 64px); }
@media (max-width: 800px) { .drivers { grid-template-columns: minmax(0, 1fr); } .drivers .btn { justify-self: start; } }
.drivers h2 em { font-style: normal; color: var(--orange); }
.drivers .lead { color: #B9B1A8; margin-top: 16px; }

/* ---------- Contacts ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact .photo { max-width: 340px; width: 100%; margin-inline: auto; } .contact { text-align: center; } .contact .lead { margin-inline: auto; } .contact .socials { justify-content: center; } }
.contact .photo img { width: 100%; height: auto; }
.contact .lead { margin-top: 14px; }
.phone-big { display: inline-block; margin-top: 28px; font-size: clamp(32px, 4.6vw, 58px); font-weight: 700; letter-spacing: -0.03em; text-decoration: none; line-height: 1; transition: color .2s; }
.phone-big:hover { color: var(--orange-ink); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 14px; background: var(--paper); text-decoration: none; font-weight: 500; font-size: 15.5px; transition: background .2s; }
.socials a:hover { background: var(--paper-2); }

footer { border-top: 1px solid var(--line); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer img { height: 26px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

.dock { display: none; }
@media (max-width: 680px) {
  .dock { display: grid; grid-template-columns: 1fr 54px; gap: 8px; position: fixed; inset: auto 0 0 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .dock .btn { min-height: 52px; box-shadow: none; }
  .dock .call { padding: 0; }
  footer { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .map .route { stroke-dashoffset: 0; }
}

/* ---------- Route links ---------- */
.route-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--orange-ink); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.route-card .more:hover { text-decoration: underline; }
.route-card .more .icon { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--paper); border-radius: 18px; padding: 0 22px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17.5px; line-height: 1.35; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.foot-routes { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Videos ---------- */
.videos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 250px); gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.video { margin: 0; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.video button, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: var(--ink); cursor: pointer; }
.video:not(.short) button, .video:not(.short) iframe { aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 16, 0) 55%, rgba(20, 18, 16, .45)); }
.video button:hover img { transform: scale(1.04); }
.video .play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); transition: transform .25s var(--ease); }
.video .play .icon { width: 26px; height: 26px; margin-left: 3px; }
.video button:hover .play { transform: scale(1.08); }
.video figcaption { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#videos .section-head .btn { align-self: end; }

/* ---------- Announcement bar (admin) ---------- */
.notice { background: var(--orange); color: var(--ink); font-size: 15px; font-weight: 600; }
.notice.tone-dark { background: var(--ink); color: #fff; }
.notice.tone-green { background: var(--green); color: #fff; }
.notice .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding-block: 8px; text-align: center; }
.notice p { line-height: 1.35; }
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.notice-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .22); color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.notice-x:hover { background: rgba(255, 255, 255, .38); }
