/* Baqəme — subpage component layer. Extends landing.css + v4-tokens.css; does not redefine their tokens. */

/* Solid header for subpages (landing.css .site-header is transparent-over-hero; subpages need a page that reads on load) */
.site-header.solid { position: sticky; top: 0; background: rgba(15,15,15,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ink-3); color: var(--white); }
.site-header.solid .nav-links > a:not(.nav-cta) { opacity: .72; }
.site-header.solid .nav-links > a.on { opacity: 1; color: var(--lime); }
.site-header.solid .menu { color: var(--white); }
@media (max-width: 620px) { .site-header.solid .nav-links { background: var(--ink); } }

/* Page hero — photographic backdrop, distinct per page via a data attribute for mood */
.p-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--ink); }
.p-hero-img { position: absolute; inset: -5% 0; background-size: cover; background-position: center; filter: saturate(.78) contrast(1.06); will-change: transform; }
.p-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,.35) 0%, rgba(15,15,15,.55) 60%, rgba(15,15,15,.92) 100%); }
.p-hero-content { position: relative; z-index: 1; padding: 150px 0 56px; }
.p-hero .mono.label { color: var(--lime); }
.p-hero h1 { margin: 14px 0 0; font: 900 clamp(38px, 5.6vw, 68px)/1.02 var(--display), serif; letter-spacing: -.05em; max-width: 760px; }
.p-hero h1 em { font-style: normal; color: var(--lime); }
.p-hero > .shell > p { max-width: 520px; margin: 16px 0 0; color: var(--grey-2); font-size: 15px; line-height: 1.7; }

/* Outcome split — alternating image/copy rows, the core "action + result" building block */
.outcome { padding: 88px 0; overflow: hidden; }
.outcome-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.outcome-row.rev .outcome-copy { order: 2; }
.outcome-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 6/5; background: var(--grey-1); }
.outcome-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.outcome-tag { color: var(--lime-deep); font: 700 10px var(--ui), sans-serif; letter-spacing: .09em; }
.outcome-copy h3 { margin: 12px 0 10px; font: 900 clamp(24px, 3vw, 34px)/1.08 var(--display), serif; letter-spacing: -.03em; }
.outcome-copy p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.75; max-width: 440px; }
.outcome-stat { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--grey-1); }
.outcome-stat b { font: 900 20px var(--display), serif; color: var(--lime-deep); }
.outcome-stat span { font-size: 11px; color: var(--muted); }

/* Horizontal scroll strip — snap-based, no JS required, GSAP enhances it where loaded */
.hscroll { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 22px; margin: 0 -4px; }
.hscroll::-webkit-scrollbar { height: 6px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--grey-2); border-radius: 99px; }
.hscroll-card { scroll-snap-align: start; flex: 0 0 min(340px, 82vw); border: 1px solid var(--grey-2); border-radius: 24px; overflow: hidden; background: var(--white); transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease; }
.hscroll-card:hover { transform: translateY(-8px); box-shadow: 0 22px 42px rgba(15,15,15,.14); }
.hscroll-card .hc-media { aspect-ratio: 4/3; background: var(--grey-1); }
.hscroll-card .hc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.hscroll-card:hover .hc-media img { transform: scale(1.06); }
.hscroll-card .hc-body { padding: 20px; }
.hscroll-card .hc-tag { display: inline-block; font: 700 10px var(--ui), sans-serif; letter-spacing: .07em; padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }
/* Job-type color coding per CLAUDE.md: Aschkay=red, Ketero=amber, Contract=green. V4 has no
   separate "green" token, so Contract keeps a distinct green data-color rather than collapsing
   into lime (which is the brand accent, not a status color) — see task summary. */
.hscroll-card .hc-tag.red { background: rgba(255,90,78,.14); color: var(--red); }
.hscroll-card .hc-tag.amber { background: rgba(255,176,32,.16); color: var(--amber); }
.hscroll-card .hc-tag.green { background: rgba(91,158,10,.14); color: #5B9E0A; }
.hscroll-card h4 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.02em; }
.hscroll-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Cards for beliefs/features, image-led instead of emoji-led */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-card { border: 1px solid var(--grey-2); border-radius: 24px; overflow: hidden; background: var(--white); transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease; }
.photo-card:hover { transform: translateY(-8px); box-shadow: 0 22px 42px rgba(15,15,15,.14); }
.photo-card .pc-media { aspect-ratio: 4/3; }
.photo-card .pc-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.photo-card:hover .pc-media img { transform: scale(1.06); }
.photo-card .pc-body { padding: 22px; }
.photo-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; }
.photo-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* Trust / info note */
.note-box { display: flex; gap: 14px; padding: 20px 22px; border: 1px solid var(--grey-2); border-radius: 22px; background: var(--grey-1); }
.note-box b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.note-box p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Pricing cards — membership tiers */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { position: relative; border: 1px solid var(--grey-2); border-radius: 24px; padding: 32px 28px; background: var(--white); }
.price-card.star { border-color: var(--lime); border-width: 2px; }
.price-card .ribbon { position: absolute; top: -13px; left: 28px; background: var(--lime); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 5px 12px; border-radius: 99px; }
.price-card .plan { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.price-card .amount { font: 700 40px/1 var(--display), serif; letter-spacing: -.02em; color: var(--ink); }
.price-card .per { font-size: 12.5px; color: var(--muted); margin: 6px 0 20px; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-card li { font-size: 13.5px; color: var(--ink); padding-left: 22px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--lime-deep); font-weight: 700; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }

/* Reveal system driven by GSAP ScrollTrigger (falls back to visible if JS fails) */
.gs-reveal { opacity: 0; transform: translateY(26px); }
.gs-reveal-x { opacity: 0; transform: translateX(-34px); }
.gs-reveal-x.from-right { transform: translateX(34px); }
.no-js .gs-reveal, .no-js .gs-reveal-x { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gs-reveal, .gs-reveal-x { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) { .p-hero-img, .outcome-media img, .hscroll-card, .photo-card, .hscroll-card .hc-media img, .photo-card .pc-media img { transform: none !important; transition: none !important; } }

/* Section head reused across subpages, echoes landing.css statement typography */
.sub-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.sub-head h2 { margin: 10px 0 0; font: 900 clamp(28px, 3.6vw, 42px)/1.08 var(--display), serif; letter-spacing: -.03em; }
.sub-head p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.sub-head.left { text-align: left; margin: 0 0 44px; }

/* Single-CTA banner reused on every subpage close */
.cta-band { padding: 56px 46px; border-radius: 30px; background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { margin: 0 0 10px; font: 900 clamp(26px, 3.4vw, 38px)/1.06 var(--display), serif; letter-spacing: -.03em; }
.cta-band p { margin: 0 auto 24px; max-width: 440px; color: var(--muted-2); font-size: 14px; line-height: 1.7; }

/* Branded-car scene — real photo + Baqəme badge overlay positioned on the door */
.fleet-scene { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16/10; background: var(--ink-2) url('/images/fleet-yaris.jpg') 26% 38%/180% auto no-repeat; }
.fleet-badge { position: absolute; left: 44%; top: 46%; width: 9%; min-width: 46px; aspect-ratio: 1; transform: rotate(-9deg) translate(-50%,-50%); border-radius: 22%; background: var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,.4), 0 0 0 2px rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fleet-badge svg { width: 78%; height: 78%; }
.fleet-caption { position: absolute; left: 22px; bottom: 20px; color: #fff; }
.fleet-caption span { display: block; font: 700 10px var(--ui), sans-serif; letter-spacing: .09em; color: var(--lime); }
.fleet-caption b { display: block; margin-top: 6px; font: 900 22px var(--display), serif; letter-spacing: -.02em; }
@media (max-width: 620px) { .fleet-badge { width: 13%; min-width: 38px; } }

@media (max-width: 820px) {
  .outcome-row { grid-template-columns: 1fr; gap: 26px; }
  .outcome-row.rev .outcome-copy { order: 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .p-hero-content { padding: 120px 0 44px; }
}
