/* =============================================================
   FARIZON — CMS layer
   Styles for dynamic bits the static template didn't ship with:
   menu sub-dropdowns (admin mega/parent menus) + notice banner.
   Loaded after core/style/pages.
   ============================================================= */

.nav__sub { list-style: none; margin: 0; padding: 0; }

/* ---- Desktop (>860px): hover dropdown ---- */
@media (min-width: 861px) {
  .has-sub { position: relative; }
  .nav__sub {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    min-width: 210px;
    background: #0b121f;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: .6rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
    z-index: 60;
  }
  .has-sub:hover .nav__sub,
  .has-sub:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__sub .nav__link { white-space: nowrap; padding: .35rem .6rem; border-radius: 8px; }
  .nav__sub .nav__link:hover { background: rgba(255, 255, 255, .08); }
  .nav__sub .nav__link::after { display: none; }
}

/* ---- Mobile (<=860px): stacked, indented under parent ---- */
@media (max-width: 860px) {
  .nav__sub {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding-inline-start: 1.1rem;
    margin-top: .7rem;
    border-inline-start: 2px solid rgba(255, 255, 255, .14);
  }
}

/* ---- Newsletter / flash banner ---- */
.alert-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, .15), rgba(37, 99, 235, .05));
  border: 1px solid rgba(37, 99, 235, .35);
  color: #fff;
  border-radius: 14px;
  padding: 1rem 1.4rem;
  font-weight: 600;
  text-align: center;
}

/* Footer contact column: align icon + text */
.footer__col--contact ul { list-style: none; margin: 0; padding: 0; }
.footer__col--contact li { display: flex; align-items: center; gap: .55rem; margin-bottom: .7rem; }
.footer__col--contact a { color: inherit; }

/* =============================================================
   Inner-page utility classes used by shared views
   (Careers, SiteForms, dynamic forms, Error) — Farizon styling.
   ============================================================= */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.lead { font-size: 1.15rem; line-height: 1.7; color: #475569; max-width: 720px; }
.page-content { line-height: 1.8; color: #334155; }
.page-content h1, .page-content h2, .page-content h3 { color: #0b1220; }

.grid-2 { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

/* Cards / forms */
.form-card {
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 18px;
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .field.full, .field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; color: #1e293b; }
.field input, .field select, .field textarea,
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid #d7dbe7;
  border-radius: 12px;
  background: #f8fafc;
  font: inherit;
  color: #0b1220;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
  background: #fff;
}

.form-note { border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: 1rem; font-weight: 600; }
.form-note.success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #047857; }
.form-note.error { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; }

/* Careers list rows */
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; color: #64748b; font-size: .9rem; margin-bottom: .5rem; }
.blog-meta b { color: #2563eb; }
.list-row {
  display: grid;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
  transition: transform .2s, box-shadow .2s;
}
.list-row:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, .1); }
.list-row .body h3 a { color: #0b1220; text-decoration: none; }
.list-row .body h3 a:hover { color: #2563eb; }

/* =============================================================
   Product-detail page template (admin-pasted custom markup)
   Classes: sv-intro / cost-section / fleet-section / business-section
   / faq-section / notes-section + feature-card / stat-box / etc.
   Styled for the Farizon dark theme — white, readable text.
   ============================================================= */
.sv-intro, .cost-section, .fleet-section, .business-section,
.faq-section, .notes-section {
  padding: clamp(3rem, 2rem + 5vw, 6rem) 0;
  color: #eef2f8;
  position: relative;
}
.sv-intro .container, .cost-section .container, .fleet-section .container,
.business-section .container, .faq-section .container, .notes-section .container {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-inline: clamp(1.1rem, .6rem + 2vw, 2.2rem);
}
.cost-section, .business-section { background: #0F1422; }
.faq-section { background: #0d1220; }

/* Section titles */
.section-title { margin-bottom: clamp(1.8rem, 1rem + 2vw, 3rem); max-width: 780px; }
.section-title.center { margin-inline: auto; text-align: center; }
.section-title h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); line-height: 1.15; color: #fff; font-weight: 800; margin: .3rem 0; }
.section-title h3 { color: #fff; }
.subtitle, .section-label {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #4f8cff; margin-bottom: .3rem;
}
.sv-intro p, .cost-section p, .fleet-section p, .business-section p,
.faq-section p, .notes-section p { color: rgba(255,255,255,.74); line-height: 1.8; }
.sv-intro h1, .sv-intro h2, .sv-intro h3, .sv-intro h4,
.fleet-content h1, .fleet-content h2, .fleet-content h3, .fleet-content h4,
.business-content h1, .business-content h2, .business-content h3, .business-content h4,
.intro-content h3, .notes-section h2, .notes-section h3 { color: #fff; }

/* Two-column grids (intro / fleet / business) */
.intro-grid, .fleet-grid, .business-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
.intro-image img, .fleet-image img, .business-image img { width: 100%; border-radius: 18px; display: block; }
@media (max-width: 820px) { .intro-grid, .fleet-grid, .business-grid { grid-template-columns: 1fr; } }

/* Feature cards */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 820px) { .feature-cards { grid-template-columns: 1fr; } }
.feature-card {
  background: #151C2E; border: 1px solid rgba(255,255,255,.09); border-radius: 18px;
  padding: 1.8rem; color: #eef2f8;
}
.feature-card h3 { color: #fff; margin: .6rem 0 .4rem; font-size: 1.15rem; }
.feature-card p { color: rgba(255,255,255,.7); }
.feature-icon { font-size: 2rem; line-height: 1; }

/* Stat boxes */
.business-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
@media (max-width: 560px) { .business-stats { grid-template-columns: 1fr 1fr; } }
.stat-box {
  background: #151C2E; border: 1px solid rgba(255,255,255,.09); border-radius: 14px;
  padding: 1.2rem; text-align: center;
}
.stat-box strong, .stat-box b, .stat-box h3 { display: block; font-size: 1.7rem; color: #4f8cff; font-weight: 800; }
.stat-box span, .stat-box p { color: rgba(255,255,255,.7); font-size: .9rem; }

/* Feature list (ticks) */
.feature-list { list-style: none; margin: 1.2rem 0; padding: 0; }
.feature-list li { position: relative; padding-inline-start: 1.8rem; margin-bottom: .8rem; color: rgba(255,255,255,.82); }
.feature-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: .7rem; height: .7rem; border-radius: 3px; background: #4f8cff;
}

/* FAQ */
.faq-wrapper { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: #151C2E; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: start; padding: 1.1rem 1.4rem; font-size: 1.05rem; font-weight: 600;
  color: #fff; background: none; border: 0; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-answer { padding: 0 1.4rem 1.2rem; color: rgba(255,255,255,.74); line-height: 1.8; }

/* Notes / callout */
.notes-box {
  background: #151C2E; border: 1px solid rgba(255,255,255,.09); border-inline-start: 4px solid #4f8cff;
  border-radius: 14px; padding: 1.4rem 1.6rem; color: rgba(255,255,255,.8);
}
.fleet-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); pointer-events: none; }

/* =============================================================
   Logo sizing — slightly larger header + tidier footer logo
   (co-branded FARIZON | AKM lockup)
   ============================================================= */
.site-header .brand img { height: 42px; width: auto; }
.site-header.scrolled .brand img { height: 38px; }
.footer__brand img { height: 52px; width: auto; margin-bottom: 1.3rem; }
@media (max-width: 860px) {
  .site-header .brand img { height: 36px; }
  .footer__brand img { height: 46px; }
}

/* =============================================================
   Uniform gallery thumbnails (Page/Category image galleries)
   Every box = same 4:3 size, images cropped to fill — tidy grid.
   Targets only anchors that directly wrap an <img> (galleries),
   never .icard / text cards.
   ============================================================= */
.cards a:has(> img) {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #151C2E;
}
.cards a:has(> img) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.cards a:has(> img):hover img { transform: scale(1.05); }

/* =============================================================
   Page gallery — Swiper carousel (uniform slides, RTL-aware)
   ============================================================= */
.gallery-slider { position: relative; }
.gallery-swiper { overflow: hidden; }
.gallery-swiper .swiper-slide a { display: block; border-radius: 16px; overflow: hidden; background: #151C2E; }
.gallery-swiper .swiper-slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.gallery-slider .sec-nav { inset-block-start: 50%; }

/* Non-clickable icon cards (Technology/Industries listings) — no link affordance */
.icard--static { cursor: default; }
.icard--static:hover { transform: none; box-shadow: var(--shadow-sm); }

/* Impact stat labels: keep on one line on desktop (4-col) */
@media (min-width: 1025px) {
  .impact__stats .stat { min-width: 0; }
  .impact__stats .stat__label { white-space: nowrap; font-size: .9rem; }
}

/* Leading sign before a stat number (e.g. +95%) — accent, same size as number */
.stat__num .stat__lead { color: var(--c-primary-2); margin-inline-end: .02em; }

/* Impact section: photographic background — soften + dark overlay for legibility */
.impact__map { opacity: .34; }
.impact::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,10,18,.55) 0%, rgba(5,10,18,.72) 100%);
}
