/* "Why GCR" page (why-gcr.php). Uses the site's tokens from site.css. */

/* ---------- The answer first ---------- */
.why-intro { padding: 40px 0 88px; position: relative; overflow: hidden; }
.why-intro::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 106, 33, .16), transparent 70%); pointer-events: none; animation: whyGlow 9s ease-in-out infinite alternate; }
.why-intro-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.why-lead { margin: 0; font-size: clamp(18px, 1.6vw, 21px); }
.why-lead strong { color: var(--white); }
.why-chips { list-style: none; margin: 28px 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.why-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--white); }
.why-chips svg { color: var(--accent); flex: none; }

.why-panel { position: relative; padding: 36px; border-radius: 28px; background: linear-gradient(160deg, rgba(242, 106, 33, .22), rgba(242, 106, 33, .04) 55%), var(--card); border: 1px solid rgba(242, 106, 33, .35); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.why-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) 45%, transparent 60%); transform: translateX(-100%); animation: whyShine 5s 1.2s ease-in-out infinite; pointer-events: none; }
.why-panel-year { font: 700 clamp(64px, 8vw, 104px)/1 var(--display); color: var(--white); letter-spacing: -.03em; }
.why-panel-since { margin: 12px 0 0; color: var(--soft); font-weight: 600; font-size: 17px; }
.why-panel-prices { margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 14px; }
.why-panel-prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.why-panel-prices dt { color: var(--muted); font-size: 15px; }
.why-panel-prices dd { margin: 0; font-weight: 700; color: var(--white); text-align: end; }

.why-stats { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-stats li { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.why-stats strong { font: 700 clamp(30px, 3.4vw, 42px)/1.05 var(--display); color: var(--accent); }
.why-stats span { color: var(--soft); font-weight: 600; }

/* ---------- 9 reasons ---------- */
.why-reasons { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-reason { position: relative; overflow: hidden; }
.why-num { position: absolute; top: 18px; inset-inline-end: 22px; font: 700 44px/1 var(--display); color: rgba(255, 255, 255, .05); transition: color .35s; }
.why-reason:hover .why-num { color: rgba(242, 106, 33, .28); }
.why-reason .ic { transition: transform .35s var(--ease); }
.why-reason:hover .ic { transform: rotate(-8deg) scale(1.08); }
.why-reason p strong { color: var(--white); }

/* ---------- Comparison ---------- */
.why-compare-wrap { margin-top: 48px; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; background: var(--card); }
.why-compare { width: 100%; border-collapse: collapse; }
.why-compare th, .why-compare td { padding: 20px 24px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.why-compare tbody tr:last-child > * { border-bottom: 0; }
.why-compare thead th { font: 700 17px var(--display); color: var(--white); }
.why-compare thead th.is-gcr { color: var(--accent); }
.why-compare tbody th { font-weight: 700; color: var(--white); width: 26%; }
.why-compare td { color: var(--muted); }
.why-compare td.is-gcr { background: rgba(242, 106, 33, .08); color: var(--white); font-weight: 600; }
.why-compare tbody tr { transition: background .25s; }
.why-compare tbody tr:hover { background: rgba(255, 255, 255, .03); }
.why-yes, .why-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-inline-end: 10px; vertical-align: -6px; flex: none; }
.why-yes { background: var(--accent); color: var(--accent-ink); }
.why-no { background: rgba(255, 255, 255, .08); color: var(--muted); font-weight: 700; }
.why-note { margin: 18px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Brands ---------- */
.why-brands { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.why-brand { display: flex; flex-direction: column; padding: 24px; border-radius: 24px; background: var(--card-2); border: 1px solid rgba(255, 255, 255, .07); transition: transform .35s var(--ease), border-color .35s; }
.why-brand:hover { transform: translateY(-6px); border-color: rgba(242, 106, 33, .55); }
.why-brand-head { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.why-logo { flex: none; width: 64px; height: 64px; border-radius: 16px; background: #FFFFFF; display: grid; place-items: center; padding: 8px; }
.why-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.why-brand-name { font: 700 21px/1.2 var(--display); display: flex; flex-direction: column; }
.why-brand-name small { font: 600 14px var(--body); color: var(--muted); margin-top: 4px; }
.why-models { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 1; align-content: flex-start; }
.why-models a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--soft); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.why-models a:hover { color: var(--white); border-color: var(--accent); }
.why-brand-all { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; text-decoration: none; }
.why-brand-all .arrow, .why-go .arrow { transition: transform .25s; }
.why-brand-all:hover .arrow, .why-type:hover .arrow { transform: translateX(4px); }

/* ---------- Car types ---------- */
.why-types { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-type { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: var(--card-2); border: 1px solid rgba(255, 255, 255, .07); text-decoration: none; color: var(--text); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.why-type:hover { transform: translateY(-6px); border-color: rgba(242, 106, 33, .55); background: linear-gradient(160deg, rgba(242, 106, 33, .1), transparent 60%), var(--card-2); color: var(--text); }
.why-type .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(242, 106, 33, .14); color: var(--accent); margin-bottom: 18px; }
.why-type h3 { font-size: 20px; color: var(--white); }
.why-type p { color: var(--muted); margin: 8px 0 20px; flex: 1; }
.why-type-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.why-from { font-weight: 700; color: var(--white); }
.why-go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; }

/* ---------- Rental periods ---------- */
.why-periods { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why-periods li { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.why-periods h3 { font-size: 19px; margin-top: 20px; }
.why-periods p { color: var(--muted); margin: 10px 0 0; }
.why-bar { display: block; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.why-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #FFB27A); transition: width 1.2s var(--ease) .2s; }
[dir="rtl"] .why-bar::after { inset: 0 0 0 auto; }
.is-in .why-bar::after, .no-reveal .why-bar::after { width: var(--w); }

/* ---------- Delivery ---------- */
.why-areas h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.why-areas h3 svg { color: var(--accent); }
.why-areas ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.why-areas li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--soft); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease), border-color .2s; transition-delay: calc(var(--i) * 45ms + .15s); }
.why-areas.is-in li, .no-reveal .why-areas li { opacity: 1; transform: none; }
.why-areas li:first-child { border-color: rgba(242, 106, 33, .55); color: var(--white); }

/* ---------- Our story ---------- */
.why-timeline { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 48px 24px; border-radius: 28px; background: radial-gradient(420px 260px at 50% 50%, rgba(242, 106, 33, .14), transparent 70%), var(--card); border: 1px solid var(--line); }
.why-tl-year { font: 700 clamp(48px, 6vw, 76px)/1 var(--display); color: var(--soft); }
.why-tl-year.is-now { color: var(--accent); }
.why-tl-line { width: 4px; height: 120px; border-radius: 4px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.why-tl-line span { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(180deg, var(--soft), var(--accent)); transition: height 1.4s var(--ease) .3s; }
.why-timeline.is-in .why-tl-line span, .no-reveal .why-tl-line span { height: 100%; }
.why-story-p { color: var(--soft); font-size: 17px; line-height: 1.7; margin: 18px 0 0; }

/* ---------- Documents ---------- */
.why-docs { margin-top: 48px; }
.why-docs h3 { margin-bottom: 18px; }
.why-docs .checks { grid-template-columns: 1fr; }

/* ---------- How it works ---------- */
.why-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; position: relative; }
.why-steps li { position: relative; padding: 32px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.why-step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 22px var(--display); margin-bottom: 20px; box-shadow: 0 0 0 8px rgba(242, 106, 33, .15); }
.why-steps h3 { font-size: 20px; }
.why-steps p { color: var(--muted); margin: 10px 0 0; }

/* ---------- Native-language pages ---------- */
.why[lang="ar"] .eyebrow { letter-spacing: 0; }
.why:not([lang="en"]) .section-title { line-height: 1.25; }
.why[lang="ja"] .why-lead, .why[lang="zh-CN"] .why-lead, .why[lang="ko"] .why-lead { line-height: 1.85; }

/* ---------- Motion ---------- */
@keyframes whyGlow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
@keyframes whyShine { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
    .why-intro::before, .why-panel::after { animation: none; }
    .why-bar::after { width: var(--w); transition: none; }
    .why-areas li { opacity: 1; transform: none; transition: none; }
    .why-tl-line span { height: 100%; transition: none; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
    .why-reasons, .why-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-periods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .why-intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .why-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .why-intro { padding: 24px 0 64px; }
    .why-reasons, .why-types, .why-periods { grid-template-columns: 1fr; }
    .why-panel { padding: 28px; }
    .why-stats { gap: 12px; margin-top: 40px; }
    .why-stats li { padding: 18px; }
    .why-chips li { font-size: 14px; padding: 8px 12px; }
    .why-intro .btn-row .btn { flex: 1 1 100%; }
    /* Comparison table becomes one card per row */
    .why-compare thead { display: none; }
    .why-compare, .why-compare tbody, .why-compare tr { display: block; }
    .why-compare tr { padding: 18px; border-bottom: 1px solid var(--line); }
    .why-compare tbody tr:last-child { border-bottom: 0; }
    .why-compare th, .why-compare td { display: block; width: auto; padding: 0; border: 0; }
    .why-compare tbody th { margin-bottom: 12px; font-size: 17px; }
    .why-compare td { padding: 12px 14px; border-radius: 14px; }
    .why-compare td + td { margin-top: 8px; background: rgba(255, 255, 255, .03); }
    .why-compare td::before { content: attr(data-col); display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
    .why-compare td.is-gcr::before { color: var(--accent); }
    .why-tl-line { height: 72px; }
}
