/* =====================================================================
   ورشة الروابي العالية — Theme v2 (Nov 2026)
   Layered on top of style.css. Deep navy + industrial orange.
   ===================================================================== */

:root {
  --navy-950: #071528;
  --navy-900: #0a1d35;
  --navy-800: #0f2a4a;
  --navy-700: #16467a;
  --navy-100: #e6edf6;
  --orange-600: #e07a0b;
  --orange-500: #f28c18;
  --orange-100: #fff1e0;
  --ink: #0f172a;
  --muted: #5b6678;
  --line: #e3e8ef;
  --surface: #f4f6f9;
  --wa: #1fae55;

  /* remap legacy variables so inline page styles follow the new palette */
  --primary-color: var(--navy-800);
  --secondary-color: var(--orange-500);
  --accent-color: #16a34a;
  --text-dark: var(--ink);
  --text-light: var(--muted);
  --bg-light: var(--surface);
  --border-color: var(--line);
  --border-radius: 10px;
  --border-radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 6px 16px -6px rgba(15, 23, 42, .14);
  --shadow-lg: 0 18px 40px -16px rgba(15, 23, 42, .25);
  --gradient-primary: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 60%, var(--navy-900) 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, var(--orange-500) 45%, var(--orange-600) 100%);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--navy-800); font-weight: 800; letter-spacing: -.2px; }
p { color: var(--muted); line-height: 1.85; }
::selection { background: var(--orange-500); color: #fff; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 6px; }

section { padding: 5rem 0; }
@media (max-width: 768px) { section { padding: 3.5rem 0; } }

/* ---------- Buttons ---------- */
.btn {
  gap: .5rem;
  border-radius: 12px;
  font-weight: 700;
  padding: .8rem 1.4rem;
  line-height: 1.2;
  box-shadow: none;
}
.btn svg { flex-shrink: 0; }
.btn-primary {
  background: var(--gradient-secondary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(242, 140, 24, .7);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 26px -10px rgba(242, 140, 24, .85); }
.btn-outline { background: transparent; border: 2px solid var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); border: 2px solid #fff; }
.btn-light:hover { background: var(--navy-100); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 2px solid rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; border: 2px solid var(--wa); }
.btn-wa:hover { filter: brightness(1.06); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--navy-950); color: #cbd5e1; font-size: .85rem; padding: .45rem 0; }
.top-bar::after { display: none; }
.top-bar .branch-name { color: #94a3b8; }
.top-bar .phone { background: transparent; color: #fff; font-weight: 700; padding: 0 .25rem; }
.top-bar .whatsapp { background: rgba(31, 174, 85, .18); color: #6ee7a0; border-radius: 999px; padding: .1rem .7rem; }
.top-bar .social-links a { color: #cbd5e1; }
.top-bar .social-links a:hover { color: var(--orange-500); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  padding: 0;
}
.header-content { min-height: 76px; gap: 1rem; }
.logo .logo-text { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-mark { flex-shrink: 0; display: block; }
.logo-words { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 1.2rem; font-weight: 800; color: var(--navy-800); }
.logo-tag { font-size: .74rem; color: var(--muted); font-weight: 600; }

.nav-menu { gap: .15rem; align-items: center; }
.nav-menu > li > a,
.nav-menu .sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .8rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  position: relative;
}
.nav-menu > li > a:hover,
.nav-menu .sub-toggle:hover { background: var(--surface); color: var(--navy-800); }
.nav-menu > li > a.active,
.nav-menu .sub-toggle.active { color: var(--orange-600); background: var(--orange-100); }
.nav-menu a.active::after { display: none; }

.has-sub { position: relative; }
.sub-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 10px);
  right: -120px;
  width: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: .75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 50;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .7rem;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.sub-menu a:hover, .sub-menu a.active { background: var(--surface); }
.sub-menu img { width: 64px; height: 24px; object-fit: contain; flex-shrink: 0; }
.sub-menu strong { display: block; font-size: .95rem; color: var(--navy-800); }
.sub-menu small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.sub-menu .sub-all {
  grid-column: 1 / -1;
  display: flex;
  gap: .5rem;
  border-top: 1px solid var(--line);
  margin-top: .35rem;
  padding-top: .6rem;
}
.sub-menu .sub-all a { justify-content: center; font-weight: 700; color: var(--navy-700); background: var(--surface); flex: 1; }
.sub-menu .sub-all a:hover { background: var(--navy-100); }
.header-cta .btn { padding: .65rem 1.1rem; font-size: .92rem; white-space: nowrap; }

@media (max-width: 1100px) {
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header-content { flex-wrap: wrap; min-height: 66px; }
  .nav { order: 3; width: 100%; display: contents; }
  .nav-toggle { order: 2; margin-inline-start: auto; }
  .nav-menu {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: .5rem;
    margin: 0 0 .9rem;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
  .nav-menu.active { display: flex; }
  .nav-menu > li > a, .nav-menu .sub-toggle { width: 100%; justify-content: space-between; padding: .8rem .9rem; }
  .sub-menu {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    border-radius: 12px;
    background: var(--surface);
    padding: .3rem;
    margin: .2rem 0 .4rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: none; }
  .has-sub.open .sub-menu { display: grid; }
  .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
  .sub-menu a { background: #fff; }
}
@media (max-width: 480px) {
  .logo-tag { display: none; }
  .logo-name { font-size: 1.05rem; }
  .logo-mark { width: 38px; height: 38px; }
}

/* ---------- Generic hero (inner pages) ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(242, 140, 24, .22), transparent 60%),
    radial-gradient(700px 400px at 0% 120%, rgba(22, 70, 122, .9), transparent 60%),
    var(--navy-900);
  color: #fff;
  padding: 4.5rem 0;
}
.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 1;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero h1, .hero .hero-title, .hero h2 { color: #fff; }
.hero p, .hero .hero-description, .hero .tagline { color: #c7d2e0; }
.hero .badge {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #e2e8f0;
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.hero .badge svg { color: var(--orange-500); }
.hero .btn-outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy-800); }
.hero-image img { border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); border: 4px solid rgba(255, 255, 255, .08); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--line); padding: .7rem 0; font-size: .88rem; }
.breadcrumbs a { color: var(--navy-700); }

/* ---------- Section header ---------- */
.section-header { margin-bottom: 3.25rem; }
.section-header h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--navy-800); font-weight: 800; }
.section-header p { font-size: 1.05rem; max-width: 680px; }
.section-header::after { width: 56px; height: 4px; border-radius: 4px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.hero .eyebrow, .dark .eyebrow { background: rgba(242, 140, 24, .15); color: #fdba74; }

/* ---------- Cards (legacy components refreshed) ---------- */
.product-card, .feature-card, .coverage-card, .related-link, .offer-card, .spec-category, .service-item, .step {
  border-radius: 18px;
}
.product-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfd8e3; }
.product-card .product-image img { transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info h3 { color: var(--navy-800); font-size: 1.15rem; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  background: var(--orange-100) !important;
  color: var(--orange-600) !important;
  border-radius: 14px !important;
}
.feature-icon svg { stroke: currentColor; }
.step-number { background: var(--gradient-secondary) !important; box-shadow: 0 8px 18px -8px rgba(242, 140, 24, .8); }
.coverage-card { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.coverage-icon { color: var(--orange-500); }
.related-link { border: 1px solid var(--line); background: #fff; transition: all .2s ease; }
.related-link:hover { border-color: var(--orange-500); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-number { background: var(--gradient-primary); }

/* ---------- CTA band ---------- */
.cta-section {
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(242, 140, 24, .35), transparent 60%),
    var(--navy-800);
  position: relative;
  overflow: hidden;
}
.cta-section h2, .cta-section .cta-content h2 { color: #fff; }
.cta-section p { color: #c7d2e0; }
.cta-section .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-section .btn-outline:hover { background: #fff; color: var(--navy-800); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #94a3b8; padding: 4rem 0 1.5rem; }
.footer-content { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h3, .footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer p { color: #94a3b8; font-size: .93rem; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: .55rem; }
.footer a { color: #cbd5e1; text-decoration: none; }
.footer a:hover { color: var(--orange-500); }
.footer-logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: #fff !important; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-logo .logo-mark rect:first-child { fill: #16467a; }
.footer .social-links { display: flex; gap: .5rem; margin-top: 1rem; }
.footer .social-links a {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.footer .contact-item { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.footer .contact-item strong { color: #fff; }
.footer .contact-item a { display: inline-flex; align-items: center; gap: .45rem; background: none; padding: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; }
.footer-bottom p { margin: 0; font-size: .85rem; }
@media (max-width: 900px) { .footer-content { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-content { grid-template-columns: 1fr; } }

/* ---------- Floating bar ---------- */
@media (max-width: 768px) {
  .floating-branch { border: 1px solid var(--line); border-radius: 16px; }
  .floating-btn.call { background: var(--navy-800); }
  .floating-btn.whatsapp { background: var(--wa); }
}

/* =====================================================================
   NEW COMPONENTS
   ===================================================================== */

/* ---------- Home hero ---------- */
.home-hero { padding: 4.5rem 0 5.5rem; }
.home-hero .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.home-hero h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); line-height: 1.25; margin-bottom: 1.1rem; }
.home-hero h1 .hl { color: var(--orange-500); }
.home-hero .lead { font-size: 1.12rem; color: #c7d2e0; max-width: 560px; margin-bottom: 1.6rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #e2e8f0;
  text-decoration: none;
}
a.chip:hover { background: rgba(242, 140, 24, .18); border-color: rgba(242, 140, 24, .5); color: #fff; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); display: inline-block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-visual { position: relative; }
.hero-visual .photo {
  border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.1;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .12);
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-float {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; color: var(--ink);
}
.hero-float strong { display: block; color: var(--navy-800); font-size: .98rem; }
.hero-float small { color: var(--muted); font-size: .8rem; }
.hero-float .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--orange-100); color: var(--orange-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float.f1 { bottom: -22px; right: -18px; }
.hero-float.f2 { top: 22px; left: -26px; }
@media (max-width: 960px) {
  .home-hero .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-float.f2 { left: 10px; top: 10px; }
  .hero-float.f1 { right: 10px; }
}

/* ---------- Trust strip ---------- */
.trust-strip { padding: 0; margin-top: -2.4rem; position: relative; z-index: 2; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.trust-item { display: flex; gap: .8rem; align-items: center; padding: 1.3rem 1.4rem; }
.trust-item + .trust-item { border-inline-start: 1px solid var(--line); }
.trust-item .ti { width: 46px; height: 46px; border-radius: 14px; background: var(--navy-100); color: var(--navy-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item strong { display: block; color: var(--navy-800); font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-inline-start: 0; border-top: 1px solid var(--line); }
}

/* ---------- Vehicle cards ---------- */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .vehicle-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vehicle-grid { grid-template-columns: 1fr; } }
.v-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.v-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cdd6e2; }
.v-art {
  background:
    radial-gradient(300px 120px at 50% 100%, rgba(15, 42, 74, .08), transparent 70%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  padding: 1.6rem 1.2rem .6rem; border-bottom: 1px solid var(--line);
}
.v-art img { width: 100%; height: auto; display: block; transition: transform .4s ease; }
.v-card:hover .v-art img { transform: translateX(-8px); }
.v-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.v-body h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.v-body p { font-size: .95rem; margin-bottom: .9rem; }
.v-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.v-tags span { font-size: .78rem; font-weight: 600; color: var(--navy-700); background: var(--navy-100); padding: .2rem .6rem; border-radius: 999px; }
.v-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; color: var(--orange-600); font-weight: 700; font-size: .95rem; }
.v-card:hover .v-more svg { transform: translateX(-4px); }
.v-more svg { transition: transform .2s ease; }
.v-badge { position: absolute; top: 14px; left: 14px; background: var(--navy-800); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; }

/* ---------- Service chips ---------- */
.service-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 2.5rem; }
.service-chips a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy-800); font-weight: 600; font-size: .93rem; text-decoration: none;
  transition: all .2s ease;
}
.service-chips a:hover { border-color: var(--orange-500); color: var(--orange-600); }
.service-chips a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); }

/* ---------- Split / why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; margin-top: 2px;
  background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e07a0b' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list strong { color: var(--navy-800); }
.photo-stack { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem; height: 440px; }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; display: block; }
.photo-stack img:first-child { grid-row: 1 / 3; }
@media (max-width: 600px) { .photo-stack { height: 320px; } }

/* ---------- Work showcase ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: .9rem; }
.showcase-grid figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; }
.showcase-grid figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.showcase-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.showcase-grid figure:hover img { transform: scale(1.05); }
.showcase-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .75rem; color: #fff; font-weight: 700; font-size: .92rem;
  background: linear-gradient(to top, rgba(7, 21, 40, .85), transparent);
}
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
}

/* ---------- Timeline process ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; right: 10%; left: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.t-step { text-align: center; position: relative; padding: 0 .5rem; }
.t-step .n {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 18px; background: #fff; border: 2px solid var(--orange-500);
  color: var(--orange-600); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.t-step h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.t-step p { font-size: .9rem; margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 1.2rem; }
  .timeline::before { display: none; }
  .t-step { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; text-align: right; align-items: start; }
  .t-step .n { margin: 0; }
}

/* ---------- Branch cards ---------- */
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px) { .branch-grid { grid-template-columns: 1fr; } }
.branch-grid .branch-card {
  border-radius: 22px; padding: 2rem; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(400px 200px at 100% 0%, rgba(242, 140, 24, .3), transparent 60%), var(--navy-800);
}
.branch-grid .branch-card.alt { background: radial-gradient(400px 200px at 100% 0%, rgba(242, 140, 24, .3), transparent 60%), var(--navy-700); }
.branch-grid .branch-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: .4rem; }
.branch-grid .branch-card p { color: #c7d2e0; margin-bottom: 1.3rem; }
.branch-grid .branch-card .num { font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; direction: ltr; display: inline-block; margin-bottom: 1.2rem; color: #fff; }
.branch-grid .branch-card .actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Social band ---------- */
.social-band { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .social-band { grid-template-columns: 1fr; } }
.social-band a {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 18px; color: #fff; text-decoration: none;
  transition: transform .2s ease;
}
.social-band a:hover { transform: translateY(-3px); color: #fff; }
.social-band .tt { background: linear-gradient(135deg, #111827, #000); }
.social-band .yt { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.social-band .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; }
.social-band strong { display: block; font-size: 1.05rem; }
.social-band small { opacity: .8; }

/* ---------- Product page ---------- */
.p-hero { padding: 4rem 0 4.5rem; }
.p-hero .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
@media (max-width: 960px) { .p-hero .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }
.p-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.p-hero .lead { font-size: 1.08rem; color: #c7d2e0; margin-bottom: 1.4rem; }
.p-art {
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .85) 60%, rgba(255, 255, 255, 0) 100%);
  border-radius: 28px; padding: 2.5rem 1.5rem 1.5rem; position: relative;
}
.p-art img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .18)); }
.p-art .tagpill { position: absolute; top: 14px; right: 18px; background: var(--orange-500); color: #fff; font-weight: 700; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; }

.types-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .types-grid { grid-template-columns: 1fr; } }
.type-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; display: flex; gap: 1rem; transition: box-shadow .2s ease, transform .2s ease; }
.type-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.type-card .tn { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--navy-800); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.type-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.type-card p { font-size: .95rem; margin: 0; }

.spec-table-wrap { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 1rem 1.25rem; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 30%; background: var(--surface); color: var(--navy-800); font-weight: 700; }
.spec-table td { color: var(--ink); }
.spec-note { font-size: .9rem; margin-top: .9rem; color: var(--muted); }
@media (max-width: 560px) { .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table th { border-bottom: 0; padding-bottom: .2rem; } }

.uses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .uses-grid { grid-template-columns: 1fr 1fr; } }
.use { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; text-align: center; }
.use .ui { width: 48px; height: 48px; margin: 0 auto .7rem; border-radius: 14px; background: var(--orange-100); color: var(--orange-600); display: flex; align-items: center; justify-content: center; }
.use strong { color: var(--navy-800); display: block; }
.use span { color: var(--muted); font-size: .88rem; }

.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: .75rem; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--navy-800);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; color: var(--orange-500); line-height: 1; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .a { padding: 0 1.3rem 1.2rem; color: var(--muted); line-height: 1.85; }

.mini-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: var(--gradient-primary); color: #fff; border-radius: 22px; padding: 2rem 2.2rem;
}
.mini-cta h3 { color: #fff; margin: 0 0 .3rem; font-size: 1.35rem; }
.mini-cta p { color: #c7d2e0; margin: 0; }
.mini-cta .actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.bg-surface { background: var(--surface); }
.dark { background: var(--navy-900); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: #c7d2e0; }

/* prose (privacy etc.) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { padding-inline-start: 1.2rem; color: var(--muted); line-height: 1.9; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- polish pass ---------- */
.feature-icon {
  width: 64px !important; height: 64px !important; margin: 0 auto 1.1rem !important;
  display: flex !important; align-items: center; justify-content: center; padding: 0 !important;
}
.p-art {
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
  border-radius: 24px;
}
.p-art img { filter: drop-shadow(0 12px 10px rgba(15, 23, 42, .15)); }
@media (max-width: 768px) {
  .top-bar { display: none; }
  .trust-strip { margin-top: -1.6rem; }
  .trust-grid { grid-template-columns: 1fr 1fr !important; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem; }
  .trust-item + .trust-item { border-top: 0; }
  .trust-item:nth-child(2n) { border-inline-start: 1px solid var(--line) !important; }
  .trust-item:nth-child(odd) { border-inline-start: 0 !important; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line) !important; }
  .trust-item .ti { width: 40px; height: 40px; }
  .home-hero .hero-actions .btn, .p-hero .hero-actions .btn { flex: 1 1 100%; }
  .hero-float { padding: .55rem .75rem; }
  .hero-float .dot { width: 34px; height: 34px; }
}
.sub-menu a { text-align: right; justify-content: flex-start; }
.sub-menu .sub-all a { justify-content: center; }
@media (max-width: 960px) { .nav-menu > li > a { text-align: right; } }
@media (min-width: 1100px) { .pricing-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 1.25rem !important; } }
.pricing-card { border-radius: 18px !important; overflow: hidden; }

/* =====================================================================
   v3 — homepage sections + unified icon system
   ===================================================================== */
:root { --cream: #fff8ef; --cream-line: #f6e5cf; }
.bg-cream { background: var(--cream); border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); }
.eyebrow .ico { width: 15px; height: 15px; }
.btn .ico { width: 18px; height: 18px; }

/* One icon tile style everywhere */
.ic-tile, .ti,
.feature-icon, .coverage-icon, .service-icon, .nav-icon, .factor-icon, .benefit-icon,
.value-icon, .upgrade-icon, .method-icon, .payment-icon, .branch-icon, .mission-icon, .use .ui {
  width: 60px !important; height: 60px !important; min-width: 60px;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #fff3e3, #ffe6c7) !important;
  color: var(--orange-600) !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(224, 122, 11, .14);
  padding: 0 !important;
}
.feature-icon, .coverage-icon, .service-icon, .nav-icon, .factor-icon, .benefit-icon,
.value-icon, .upgrade-icon, .method-icon, .payment-icon, .mission-icon, .use .ui { margin: 0 auto 1rem !important; display: flex !important; }
.ic-tile svg, .ti svg, .feature-icon svg, .coverage-icon svg, .service-icon svg, .nav-icon svg, .factor-icon svg,
.benefit-icon svg, .value-icon svg, .upgrade-icon svg, .method-icon svg, .payment-icon svg, .branch-icon svg, .mission-icon svg, .use .ui svg {
  width: 28px !important; height: 28px !important; stroke: currentColor; fill: none;
}
.ic-tile.light { background: rgba(255, 255, 255, .1) !important; color: #fdba74 !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.trust-item .ti { width: 50px !important; height: 50px !important; min-width: 50px; border-radius: 15px !important; }
.trust-item .ti svg { width: 24px !important; height: 24px !important; }
.detail-item svg { color: var(--orange-600); }
.hero .badge svg { stroke: var(--orange-500); }

/* Product cards: full-bleed swappable image */
.v-art { padding: 0; background: #e9eff6; aspect-ratio: 16 / 9; overflow: hidden; }
.v-art img { width: 100%; height: 100%; object-fit: cover; }
.v-card:hover .v-art img { transform: scale(1.04); }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } }
.ind {
  display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center;
  background: #fff; border: 1px solid var(--cream-line); border-radius: 18px; padding: 1.1rem 1.2rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ind:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ind .ic-tile { grid-row: 1 / 3; }
.ind strong { color: var(--navy-800); font-size: 1.02rem; align-self: end; }
.ind span { color: var(--muted); font-size: .88rem; align-self: start; }

/* Manufacturing stages (dark) */
.stages-section {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(242, 140, 24, .16), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(22, 70, 122, .8), transparent 60%),
    var(--navy-900);
  position: relative; overflow: hidden;
}
.stages-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px;
}
.stages-section .container { position: relative; }
.stages-section .section-header h2 { color: #fff; }
.stages-section .section-header p { color: #c7d2e0; }
.stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; position: relative; }
.stages::before { content: ""; position: absolute; top: 36px; right: 8%; left: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(242, 140, 24, .6), transparent); }
.stage { position: relative; text-align: center; padding: 0 .3rem; }
.stage-ic {
  width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 22px; display: flex; align-items: center; justify-content: center;
  background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .14); color: #fdba74; position: relative; z-index: 1;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
}
.stage:hover .stage-ic { background: var(--orange-500); color: #fff; }
.stage-n { display: block; font-size: .75rem; font-weight: 800; color: var(--orange-500); letter-spacing: 1px; margin-bottom: .2rem; }
.stage h3 { color: #fff; font-size: 1rem; margin-bottom: .35rem; }
.stage p { color: #a9b6c8; font-size: .86rem; margin: 0; line-height: 1.7; }
@media (max-width: 1000px) { .stages { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; } .stages::before { display: none; } }
@media (max-width: 560px) {
  .stages { grid-template-columns: 1fr; }
  .stage { display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; text-align: right; }
  .stage-ic { width: 60px; height: 60px; margin: 0; grid-row: 1 / 4; border-radius: 18px; }
}

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--gradient-secondary); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card:hover::after { transform: scaleX(1); }
.why-card .ic-tile { margin-bottom: 1rem; }
.why-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.why-card p { margin: 0; font-size: .95rem; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem; }
.svc-card h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.svc-card p { font-size: .9rem; margin: 0; line-height: 1.75; }

/* FAQ split */
.faq-split { align-items: start; }
.faq-split .faq-list { margin: 0; max-width: none; }

/* Branch cards */
.branch-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.branch-top .eyebrow { margin: 0; }
.branch-grid .branch-card .num { color: #fff !important; text-decoration: none; }

/* CTA convoy art */
.cta-art { padding-bottom: 0; }
.cta-art .cta-content { position: relative; z-index: 1; padding-bottom: 1rem; }
.convoy { display: flex; justify-content: center; gap: 2rem; opacity: .9; margin-top: 1.5rem; overflow: hidden; }
.convoy img { width: 300px; height: auto; flex-shrink: 0; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); }
@media (max-width: 760px) { .convoy img { width: 220px; } .convoy img:nth-child(3) { display: none; } }
.cta-section .cta-buttons { flex-wrap: wrap; justify-content: center; }
@media (max-width: 560px) {
  .why-card { display: grid; grid-template-columns: 60px 1fr; column-gap: 1rem; padding: 1.2rem; }
  .why-card .ic-tile { grid-row: 1 / 3; margin: 0; }
  .why-card h3 { align-self: end; margin-bottom: .2rem; }
}

/* contact page branch cards (light) */
.branches-grid .branch-card h3 { color: var(--navy-800); }
.branches-grid .detail-item span, .branches-grid .detail-item { color: var(--ink) !important; }
.hero .badge span, .hero .badge { color: #e2e8f0 !important; }

/* ---------- inner hero side panels ---------- */
.hero.has-side .hero-content { grid-template-columns: 1.05fr .95fr; position: relative; z-index: 1; }
.hero-side { position: relative; }
.collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: .7rem; height: 340px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.collage img:first-child { grid-row: 1 / 3; }
.scene-stack { position: relative; height: 340px; }
.scene-stack img { position: absolute; width: 70%; border-radius: 18px; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 24px 48px -20px rgba(0,0,0,.65); }
.scene-stack img:nth-child(1) { top: 0; right: 0; z-index: 2; }
.scene-stack img:nth-child(2) { top: 90px; left: 0; z-index: 3; }
.scene-stack img:nth-child(3) { bottom: 0; right: 12%; width: 55%; z-index: 1; opacity: .9; }
.quick-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 1.4rem; backdrop-filter: blur(6px); }
.qc-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.qc-head strong { display: block; color: #fff; font-size: 1.15rem; }
.qc-head small { color: #a9b6c8; }
.qc-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.qc-row strong { display: block; color: #fff; }
.qc-num { color: #fdba74 !important; font-weight: 800; font-size: 1.2rem; letter-spacing: .5px; direction: ltr; display: inline-block; }
.qc-act { display: flex; gap: .5rem; }
.qc-act .btn { padding: .6rem .9rem; }
.qc-steps { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .8rem; }
.qc-steps li { display: flex; gap: .8rem; align-items: center; }
.qc-steps .sn { width: 34px; height: 34px; border-radius: 10px; background: var(--orange-500); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qc-steps strong { display: block; color: #fff; }
.qc-steps small { color: #a9b6c8; }
@media (max-width: 900px) {
  .hero.has-side .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .collage, .scene-stack { height: 260px; }
}
@media (max-width: 480px) { .qc-row { flex-direction: column; align-items: flex-start; } }
