/* =========================================================
   GCR homepage — sections used only on index.php.
   Shared styles (header, footer, cards, booking form…) are in site.css.
   ========================================================= */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 800px; display: flex; flex-direction: column; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; animation: kenburns 9s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 14, 19, .85) 0%, rgba(11, 14, 19, .35) 35%, rgba(11, 14, 19, .55) 65%, var(--bg) 100%); }
.hero-content { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; padding-top: 150px; padding-bottom: 190px; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.hero h1 { font-weight: 700; font-size: clamp(42px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.03em; margin-top: 0; max-width: 900px; }
.hero-top + h1 { margin-top: 28px; }
/* Years-in-business badge (gcr_years(), links to /why-gcr) */
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-top .live-pill { align-self: center; }
.years-badge { display: inline-flex; align-items: center; gap: 14px; padding: 7px 20px 7px 7px; border-radius: 999px; background: rgba(11, 14, 19, .55); border: 1px solid rgba(242, 106, 33, .45); color: var(--white); text-decoration: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .25s var(--ease), border-color .25s; }
.years-badge:hover { color: var(--white); transform: translateY(-2px); border-color: var(--accent); }
.yb-seal { position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #FF9A55, var(--accent) 55%, #C24E10); color: var(--accent-ink); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25); }
.yb-seal::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 200, 150, .95) 85%, transparent 100%); -webkit-mask: radial-gradient(circle, transparent 30px, #000 31px); mask: radial-gradient(circle, transparent 30px, #000 31px); animation: ybSpin 4s linear infinite; }
.yb-num { font: 800 24px/1 var(--display); letter-spacing: -.02em; }
.yb-unit { font: 700 8.5px/1.1 var(--body); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.yb-text { display: flex; flex-direction: column; line-height: 1.25; }
.yb-text strong { font: 700 16px var(--display); }
.yb-text span { font-size: 13px; color: var(--soft); font-weight: 600; }
@keyframes ybSpin { to { transform: rotate(360deg); } }
.hero h1 .hl { color: var(--accent); }
.hero-lead { font-size: 20px; line-height: 1.55; max-width: 640px; margin: 24px 0 0; color: var(--soft); }
.hero-dots { position: absolute; right: 32px; bottom: 210px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 28px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button[aria-current="true"] { background: var(--accent); width: 44px; }

/* ---------- Booking position ---------- */
.booking-wrap { position: relative; z-index: 5; margin-top: -160px; }

/* ---------- Promises ---------- */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-top: 56px; }
.promise { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; border: 1px solid var(--line); }
.promise svg { flex: none; color: var(--accent); }
.promise strong { display: block; color: var(--white); font-size: 16px; }
.promise span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Brands marquee ---------- */
.brands { margin-top: 64px; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { display: flex; width: max-content; gap: 20px; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.brand-tile { flex: none; width: 150px; height: 84px; display: flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 16px; background: #FFFFFF; transition: transform .3s var(--ease), box-shadow .3s; }
.brand-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.brand-tile img { max-height: 56px; max-width: 100%; object-fit: contain; }

/* ---------- Fleet / How / About / Docs / Reviews spacing ---------- */
.fleet { padding-block: 120px 40px; } /* padding-block: keep .wrap's side padding */
.how { padding-block: 120px; }
.how-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; }
.how-media img { width: 100%; height: 100%; object-fit: cover; }
.media-chip { position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: 16px; background: rgba(11, 14, 19, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); line-height: 1.4; }
.media-chip small { display: block; font-size: 13px; color: var(--muted); }
.media-chip strong { color: var(--white); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 20px; }
.step-num { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); }
.step:first-child .step-num { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.step h3 { font-family: var(--body); font-size: 20px; letter-spacing: 0; }
.step p { margin: 6px 0 0; color: var(--muted); }
.about { padding-block: 40px 120px; }
.about-text p { color: var(--soft); margin: 20px 0 0; }
.about-text .checks { margin-top: 28px; }
.about-media { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.docs { background: var(--bg-2); padding: 112px 0; }
.reviews { padding: 120px 0 40px; overflow: hidden; }
.reviews-track { display: flex; gap: 20px; width: max-content; margin-top: 48px; animation: marquee 70s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
.reviews-track.is-static { animation: none; width: auto; flex-wrap: wrap; }
.reviews-track.is-static .review { flex: 1 1 300px; width: auto; }
.review { flex: none; width: 380px; margin: 0; padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; color: var(--soft); line-height: 1.65; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--white); margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 106, 33, .16); color: var(--accent); font-family: var(--display); }
.blog { padding-block: 80px 40px; }

[dir="rtl"] .hero-dots { right: auto; left: 32px; }

@media (max-width: 900px) {
    .hero { min-height: 720px; }
    .hero-dots { bottom: auto; top: 110px; right: 20px; }
    /* the photo is busier behind the text on narrow screens: darker shade + soft text shadow */
    .hero-shade { background: linear-gradient(180deg, rgba(11, 14, 19, .88) 0%, rgba(11, 14, 19, .62) 38%, rgba(11, 14, 19, .72) 68%, var(--bg) 100%); }
    .hero-lead { color: var(--text, #E9ECF1); text-shadow: 0 1px 14px rgba(0, 0, 0, .65); }
}
@media (max-width: 640px) {
    .hero-content { padding-top: 120px; padding-bottom: 170px; }
    .hero-lead { font-size: 17px; }
    .fleet, .reviews { padding-top: 88px; }
    .how, .docs { padding-block: 88px; }
    .review { width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide.is-active, .live-dot, .marquee, .reviews-track, .yb-seal::before { animation: none !important; }
    .brands, .reviews { overflow-x: auto; }
    .reviews-track { padding-inline: 32px; }
    .brand-tile { transition: none; }
}
