/* =========================================================================
   Geely El Djazair — main stylesheet (light, Geely-global style).
   Plain CSS, no build step. Loaded on every page; page-specific sheets:
   model.css, network.css, forms.css.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --g-bg: #ffffff;
  --g-surface: #f4f6f9;
  --g-surface-2: #e9edf2;
  --g-ink: #0e1218;
  --g-text: #161b22;
  --g-muted: #5f6873;
  --g-line: rgba(14, 18, 24, 0.1);
  --g-line-strong: rgba(14, 18, 24, 0.2);
  --g-accent: #0f5fd6;
  --g-accent-hover: #0b4bb0;
  --g-accent-text: #0f5fd6;
  --g-accent-soft: rgba(15, 95, 214, 0.08);
  --g-dark: #0e1218;
  --g-dark-2: #171c24;
  --g-on-dark: #f5f7fa;
  --g-on-dark-muted: rgba(245, 247, 250, 0.62);
  --g-shadow: 0 10px 30px rgba(14, 18, 24, 0.08);
  --g-shadow-lg: 0 28px 70px rgba(14, 18, 24, 0.16);
  --g-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --g-font-ar: "Cairo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --g-radius: 18px;
  --g-radius-sm: 10px;
  --g-container: 1280px;
  --g-gutter: clamp(18px, 4vw, 56px);
  --g-header-h: 80px;
  --g-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
html[dir="rtl"] { --g-font-sans: var(--g-font-ar); }

/* ---------- Base ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/Inter-Variable.woff2") format("woff2"); }
@font-face { font-family: "Cairo"; font-weight: 200 900; font-display: swap; src: url("../fonts/Cairo-Variable.woff2") format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { margin: 0; background: var(--g-bg); color: var(--g-text); font-family: var(--g-font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--g-accent); }
h1, h2, h3, h4 { line-height: 1.08; font-weight: 600; margin: 0 0 0.5em; letter-spacing: -0.025em; color: var(--g-ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--g-accent); outline-offset: 3px; }
.screen-reader-text, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--g-ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 1000; }
.skip-link:focus { top: 8px; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--g-gutter), var(--g-container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section__head { max-width: 720px; margin-block-end: clamp(32px, 4vw, 56px); }
.section__head h2 { margin-block-end: 0.35em; }
.section__eyebrow { color: var(--g-accent-text); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 600; margin-block-end: 12px; }
.section__lead { color: var(--g-muted); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.site-main { min-height: 60vh; }
.entry-content { max-width: 780px; font-size: 1.05rem; }
.entry-content > * + * { margin-block-start: 1.2em; }
.entry-content img { border-radius: var(--g-radius); }
.entry-content a { color: var(--g-accent); text-decoration: underline; text-underline-offset: 3px; }
.text-muted { color: var(--g-muted); }
.text-center { text-align: center; }
.mt-0 { margin-block-start: 0; }
.hidden { display: none !important; }

/* Page header band (inner pages) */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--g-surface) 0%, #fff 100%); border-block-end: 1px solid var(--g-line); }
.page-hero__title { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 18ch; }
.page-hero__subtitle { margin: 16px 0 0; font-size: 1.15rem; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; line-height: 1.2; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background 0.25s var(--g-ease), color 0.25s, border-color 0.25s, transform 0.25s var(--g-ease), box-shadow 0.25s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--g-ink); color: #fff; }
.btn--primary:hover { background: var(--g-accent); color: #fff; box-shadow: 0 12px 28px rgba(15, 95, 214, 0.28); }
.btn--ghost { border-color: var(--g-line-strong); color: var(--g-ink); background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--g-ink); color: var(--g-ink); background: #fff; }
.btn--light { background: #fff; color: var(--g-ink); }
.btn--light:hover { background: var(--g-accent); color: #fff; }
.btn--sm { padding: 11px 20px; font-size: 0.9rem; }
.btn--accent { background: var(--g-accent); color: #fff; }
.btn--accent:hover { background: var(--g-accent-hover); color: #fff; }
.icon { width: 1em; height: 1em; fill: currentColor; }
.icon--flip { transition: transform 0.25s var(--g-ease); }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }
.card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--g-ink); font-weight: 600; }
.card__more .icon { fill: none; }
.card__more:hover { color: var(--g-accent); }
.card__more:hover .icon--flip { transform: translateX(4px); }
[dir="rtl"] .card__more:hover .icon--flip { transform: scaleX(-1) translateX(4px); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius); overflow: hidden; transition: transform 0.4s var(--g-ease), box-shadow 0.4s var(--g-ease), border-color 0.3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--g-shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--g-surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--g-ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 26px 28px; }
.card__title { font-size: 1.3rem; margin-block-end: 8px; }
.card__title a:hover { color: var(--g-accent); }
.card__meta { color: var(--g-muted); font-size: 0.88rem; margin-block-end: 10px; }
.entry__media img { border-radius: var(--g-radius); margin-block-end: 28px; width: 100%; }
.entry .card__meta { font-size: 0.95rem; }

/* Model cards */
.models-grid { gap: clamp(20px, 2.5vw, 32px); }
.model-card { background: var(--g-surface); border-color: transparent; }
.model-card .card__media { aspect-ratio: 16 / 10; background: linear-gradient(180deg, #eef1f5, #dfe4ea); }
.model-card .card__body { padding: 26px 28px 30px; }
.model-card .card__title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-block-end: 6px; }
.model-card .text-muted { margin-block-end: 20px; font-size: 1.02rem; }
.model-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ---------- Search / pagination ---------- */
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form__input { flex: 1; background: #fff; border: 1px solid var(--g-line-strong); color: var(--g-text); border-radius: 999px; padding: 12px 18px; font: inherit; }
.pagination { margin-block-start: 48px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--g-line); color: var(--g-ink); }
.pagination .page-numbers.current { background: var(--g-ink); color: #fff; border-color: var(--g-ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-block-end: 1px solid var(--g-line); color: var(--g-ink); transition: background 0.35s, border-color 0.35s, box-shadow 0.35s; }
.site-header--overlay { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--overlay.is-scrolled { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--g-line); box-shadow: 0 6px 24px rgba(14, 18, 24, 0.05); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--g-header-h); }
.site-logo { display: inline-flex; align-items: center; color: inherit; }
.site-logo__img { height: 30px; width: auto; }
.site-logo svg { height: 26px; width: auto; fill: currentColor; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.2vw, 32px); }
.nav__list a { position: relative; font-weight: 500; font-size: 0.95rem; color: var(--g-ink); padding-block: 6px; white-space: nowrap; }
.nav__list a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--g-accent); transform: scaleX(0); transform-origin: inline-start; transition: transform 0.3s var(--g-ease); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after, .nav__list .current_page_parent > a::after { transform: scaleX(1); }
.nav__list a:hover { color: var(--g-ink); }
.nav--desktop { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; display: inline-flex; border-radius: 50%; }
.menu-toggle:hover { background: var(--g-accent-soft); }
.menu-toggle .icon { width: 26px; height: 26px; fill: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--g-line-strong); border-radius: 999px; padding: 3px; background: rgba(255, 255, 255, 0.5); }
.lang-switch__link { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding-block: 5px; padding-inline: 9px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; color: var(--g-muted); transition: background 0.25s var(--g-ease), color 0.25s; }
.lang-switch__link:hover { color: var(--g-ink); }
.lang-switch__link.is-current, .lang-switch__link.is-current:hover { background: var(--g-ink); color: #fff; }
@media (min-width: 1100px) {
  .nav--desktop { display: block; }
  .menu-toggle { display: none; }
}
@media (max-width: 1099px) { .site-header__actions .btn { display: none; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: #fff; color: var(--g-ink); display: flex; flex-direction: column; opacity: 0; transform: translateY(-8px); transition: opacity 0.3s var(--g-ease), transform 0.3s var(--g-ease); overflow-y: auto; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; min-height: var(--g-header-h); border-block-end: 1px solid var(--g-line); }
.nav__list--mobile { flex-direction: column; gap: 4px; padding-block: 24px; }
.nav__list--mobile a { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 600; display: block; padding-block: 10px; letter-spacing: -0.02em; }
.nav__list--mobile a::after { display: none; }
.mobile-menu__bottom { margin-block-start: auto; padding-block: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
html.menu-open { overflow: hidden; }
.social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.social a { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--g-line-strong); align-items: center; justify-content: center; color: inherit; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.social a:hover { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.social .icon { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--g-dark); color: var(--g-on-dark); margin-block-start: clamp(64px, 8vw, 120px); }
.site-footer a { color: var(--g-on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 88px) 48px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__brand .site-logo { margin-block-end: 20px; }
.site-footer__brand .site-logo svg { height: 30px; }
.site-footer__brand .text-muted { color: var(--g-on-dark-muted); max-width: 32ch; }
.site-footer__title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--g-on-dark-muted); margin-block-end: 18px; font-weight: 600; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-nav a, .footer-link { color: var(--g-on-dark); opacity: 0.85; }
.footer-nav a:hover, .footer-link:hover { opacity: 1; }
.footer-link { display: block; margin-block-start: 12px; }
.site-footer__contact { display: flex; align-items: center; gap: 10px; margin-block-start: 10px; color: var(--g-on-dark); }
.site-footer__contact .icon { width: 18px; height: 18px; fill: none; color: var(--g-on-dark-muted); }
.site-footer .social a { border-color: rgba(255, 255, 255, 0.2); }
.site-footer .social a:hover { background: #fff; border-color: #fff; color: var(--g-ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-block-start: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; color: var(--g-on-dark-muted); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--g-on-dark); }

/* =========================================================================
   Home
   ========================================================================= */

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; display: grid; min-height: 100vh; min-height: 100svh; background: var(--g-surface); color: var(--g-ink); }
.hero-slider__viewport { display: grid; grid-template-areas: "slide"; min-height: inherit; touch-action: pan-y; }
.hero-slider__slide { grid-area: slide; position: relative; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--g-ease), visibility 0s linear 1s; }
.hero-slider__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--g-ease), visibility 0s; }
.hero-slider__slide:not(.is-active) { pointer-events: none; }
.hero-slider__media { position: absolute; inset: 0; }
.hero-slider__media img, .hero-slider__media video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.06); transition: transform 7s linear; }
.hero-slider__slide.is-active .hero-slider__media img, .hero-slider__slide.is-active .hero-slider__media video { transform: scale(1); }
.hero-slider__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 28%, rgba(255, 255, 255, 0.25) 52%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.85) 100%); }
[dir="rtl"] .hero-slider__media::after { background: linear-gradient(270deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 28%, rgba(255, 255, 255, 0.25) 52%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.85) 100%); }
.hero-slider__content { position: relative; z-index: 2; display: grid; justify-items: start; gap: 18px; padding-block: calc(var(--g-header-h) + 40px) 140px; }
.hero-slider__eyebrow { margin: 0; color: var(--g-accent-text); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 600; }
.hero-slider__title { margin: 0; font-size: clamp(3rem, 9.5vw, 7.5rem); line-height: 0.95; letter-spacing: -0.04em; font-weight: 600; max-width: 12ch; }
html[dir="rtl"] .hero-slider__title { letter-spacing: 0; line-height: 1.15; }
.hero-slider__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 10px; }
.hero-slider__cta { margin: 0; }
.hero-slider__eyebrow, .hero-slider__title, .hero-slider__actions, .hero-slider__cta { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--g-ease), transform 0.8s var(--g-ease); }
.hero-slider__slide.is-active .hero-slider__eyebrow { opacity: 1; transform: none; transition-delay: 0.2s; }
.hero-slider__slide.is-active .hero-slider__title { opacity: 1; transform: none; transition-delay: 0.3s; }
.hero-slider__slide.is-active .hero-slider__actions, .hero-slider__slide.is-active .hero-slider__cta { opacity: 1; transform: none; transition-delay: 0.42s; }
.hero-slider__social { position: absolute; z-index: 3; inset-block-end: 40px; inset-inline-end: var(--g-gutter); }
.hero-slider__social a { border-color: rgba(14, 18, 24, 0.18); background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px); }
.hero-slider__controls { position: absolute; z-index: 3; inset-block-end: 40px; inset-inline-start: 0; inset-inline-end: 0; pointer-events: none; }
.hero-slider__controls .container { display: flex; align-items: center; gap: 20px; }
.hero-slider__controls > .container > * { pointer-events: auto; }
.hero-slider__arrow, .hero-slider__toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid rgba(14, 18, 24, 0.18); background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); color: var(--g-ink); cursor: pointer; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.hero-slider__arrow:hover, .hero-slider__toggle:hover { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.hero-slider__arrow .icon { width: 18px; height: 18px; fill: none; }
.hero-slider__toggle .icon { fill: currentColor; width: 14px; height: 14px; }
.hero-slider__arrow--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .hero-slider__arrow--prev .icon { transform: none; }
[dir="rtl"] .hero-slider__arrow--next .icon { transform: scaleX(-1); }
.hero-slider__dots { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero-slider__dot { position: relative; width: 28px; height: 24px; padding: 0; border: none; background: transparent; cursor: pointer; transition: width 0.3s var(--g-ease); }
.hero-slider__dot::before { content: ""; position: absolute; inset-block-start: 50%; inset-inline: 4px; translate: 0 -50%; height: 3px; border-radius: 999px; background: rgba(14, 18, 24, 0.22); transition: background 0.3s; }
.hero-slider__dot.is-active { width: 52px; }
.hero-slider__dot.is-active::before { background: var(--g-ink); }
@media (max-width: 767px) {
  .hero-slider { min-height: 92svh; }
  .hero-slider__slide { align-items: end; }
  .hero-slider__media img, .hero-slider__media video { object-position: 60% 40%; }
  .hero-slider__media::after, [dir="rtl"] .hero-slider__media::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.96) 78%); }
  .hero-slider__content { padding-block: 120px 110px; gap: 12px; }
  .hero-slider__social { display: none; }
  .hero-slider__controls { inset-block-end: 28px; }
  .hero-slider__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide, .hero-slider__media img { transition: none; transform: none; }
  .hero-slider__eyebrow, .hero-slider__title, .hero-slider__actions, .hero-slider__cta { opacity: 1; transform: none; transition: none; }
}

/* ---------- Models section ---------- */
.home-models { background: #fff; }
.home-models .section__head { margin-inline: auto; text-align: center; }
.home-models .section__lead { margin-inline: auto; }

/* ---------- Network banner ---------- */
.home-network { position: relative; overflow: hidden; background: var(--g-dark); color: var(--g-on-dark); }
.home-network__media { position: absolute; inset: 0; }
.home-network__media img { width: 100%; height: 100%; object-fit: cover; }
.home-network__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 18, 24, 0.9) 0%, rgba(14, 18, 24, 0.6) 55%, rgba(14, 18, 24, 0.25) 100%); }
.home-network__inner { position: relative; z-index: 2; display: grid; justify-items: start; gap: 14px; padding-block: clamp(80px, 12vw, 160px); }
.home-network__inner .section__eyebrow { margin: 0; color: #9cc0ff; }
.home-network__title { margin: 0; color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; }
.home-network__text { margin: 0 0 8px; color: var(--g-on-dark-muted); max-width: 52ch; font-size: 1.1rem; }
.home-network .btn--primary { background: #fff; color: var(--g-ink); }
.home-network .btn--primary:hover { background: var(--g-accent); color: #fff; }

/* ---------- Technology ---------- */
.home-tech { background: var(--g-surface); }
.home-tech__inner { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-tech__text .section__eyebrow { margin-block-end: 12px; }
.home-tech__text .entry-content { color: var(--g-muted); }
.home-tech__media img, .home-tech__media video { width: 100%; border-radius: var(--g-radius); box-shadow: var(--g-shadow-lg); }
@media (min-width: 900px) { .home-tech__inner { grid-template-columns: 0.9fr 1.1fr; } }

/* ---------- News ---------- */
.home-news__head { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.home-news__head .section__eyebrow { margin-block-end: 6px; }

/* ---------- Warranty strip ---------- */
.home-warranty { position: relative; z-index: 2; }
.home-warranty__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding: 18px 24px; border: 1px solid var(--g-line); border-radius: var(--g-radius); background: #fff; font-weight: 500; color: var(--g-ink); box-shadow: var(--g-shadow); margin-block-start: -36px; }
.home-warranty__inner .icon { width: 22px; height: 22px; fill: none; color: var(--g-accent); }

/* =========================================================================
   History timeline
   ========================================================================= */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 32px; }
.timeline::before { content: ""; position: absolute; inset-block: 8px 8px; inset-inline-start: 11px; inline-size: 2px; background: linear-gradient(var(--g-accent), rgba(15, 95, 214, 0.05)); }
.timeline__item { position: relative; padding-inline-start: 48px; }
.timeline__marker { position: absolute; inset-inline-start: 0; inset-block-start: 22px; inline-size: 24px; block-size: 24px; border-radius: 50%; border: 2px solid var(--g-accent); background: #fff; }
.timeline__card { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--g-shadow); }
.timeline__year { margin: 0 0 6px; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--g-accent-text); font-weight: 700; }
.timeline__title { margin: 0 0 12px; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.timeline__media img { border-radius: var(--g-radius-sm); inline-size: 100%; margin-block-end: 16px; }
.timeline__text { max-width: none; color: var(--g-muted); font-size: 1rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: 1fr 24px 1fr; column-gap: 32px; gap: 40px 32px; }
  .timeline::before { inset-inline-start: calc(50% - 1px); }
  .timeline__item { padding-inline-start: 0; grid-column: 1; grid-row: var(--i); }
  .timeline__item:nth-child(even) { grid-column: 3; }
  .timeline__marker { inset-block-start: 24px; inset-inline-start: auto; inset-inline-end: -56px; }
  .timeline__item:nth-child(even) .timeline__marker { inset-inline-end: auto; inset-inline-start: -56px; }
}
.timeline-ready .timeline [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--g-ease), transform 0.7s var(--g-ease); }
.timeline-ready .timeline [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .timeline-ready .timeline [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Reveal-on-scroll (shared) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--g-ease), transform 0.8s var(--g-ease); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; } }
