/* =========================================================
   GEAR COOL — CORPORATE WEBSITE
   Premium Industrial HVAC Design System
   ========================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand Colors */
  --color-primary: #00154A;
  --color-primary-700: #001a5e;
  --color-primary-600: #002a7a;
  --color-secondary: #33A9E1;
  --color-accent: #5FC4F2;

  /* Surfaces */
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-2: #F1F5F9;
  --color-text: #1F2937;
  --color-muted: #64748B;
  --color-border: #DDE5EE;

  /* States */
  --color-success: #16A34A;
  --color-danger: #DC2626;
  --color-warning: #F59E0B;

  /* Typography */
  --font-en: 'Poppins', 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Cairo', system-ui, sans-serif;
  --font-body: var(--font-en);

  /* Type scale */
  --fs-display: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 3.6vw, 3rem);
  --fs-h2: clamp(1.625rem, 2.6vw, 2.25rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 21, 74, 0.06);
  --shadow: 0 4px 14px rgba(0, 21, 74, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 21, 74, 0.10);
  --shadow-lg: 0 20px 50px rgba(0, 21, 74, 0.14);

  /* Layout */
  --container: 1280px;
  --header-h: 90px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
}

/* ---------- DARK MODE ---------- */
[data-theme="dark"] {
  --color-bg: #0A1024;
  --color-surface: #0F1733;
  --color-surface-2: #142046;
  --color-text: #E6ECF5;
  --color-muted: #8FA1BD;
  --color-border: #1F2C55;
  --color-primary: #5FC4F2;
  --color-primary-700: #33A9E1;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
section[id] { scroll-margin-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* Arabic body */
html[lang="ar"] body { font-family: var(--font-ar); }

/* ---------- 3. UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--color-secondary);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 640px;
  margin-bottom: var(--space-7);
}
.section-head { text-align: center; margin-inline: auto; }
.section-head .section-sub { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--t-med) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(51, 169, 225, 0.35);
}
.btn-primary:hover { background: var(--color-accent); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(51, 169, 225, 0.5); }
.btn-dark { background: var(--color-primary); color: #fff; }
.btn-dark:hover { background: var(--color-primary-600); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-secondary); color: var(--color-secondary); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }

/* ---------- 4. HEADER ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: all var(--t-med) var(--ease);
}
[data-theme="dark"] .site-header { background: rgba(15, 23, 51, 0.85); }
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
[data-theme="dark"] .brand { color: #fff; }
.brand-mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--color-primary);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 21, 74, 0.18);
  flex-shrink: 0;
}
.brand-mark img { width: 70%; height: 70%; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name small { font-size: 10px; font-weight: 500; color: var(--color-muted); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; }
[data-theme="dark"] .brand-name small { color: #93A4C2; }

/* Navigation */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 8px;
}
.nav a:hover, .nav a.active { color: var(--color-secondary); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--color-text);
  transition: all var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--color-surface-2); color: var(--color-secondary); }
.icon-btn svg { width: 20px; height: 20px; }

.lang-switch {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  letter-spacing: 0.05em;
}
.lang-switch:hover { border-color: var(--color-secondary); color: var(--color-secondary); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center; justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  position: relative;
  transition: all var(--t-fast) var(--ease);
}
.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  left: 0; width: 22px; height: 2px;
  background: var(--color-text);
  transition: all var(--t-fast) var(--ease);
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger.is-open span { background: transparent; }
.hamburger.is-open span::before { top: 0; transform: rotate(45deg); }
.hamburger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-surface);
  z-index: 99;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
  overflow-y: auto;
}
html[dir="rtl"] .mobile-nav { transform: translateX(-100%); }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav .mobile-cta { margin-top: var(--space-6); display: flex; flex-direction: column; gap: 12px; }

/* ---------- 5. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: var(--header-h);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 21, 74, 0.92) 0%, rgba(0, 21, 74, 0.78) 50%, rgba(51, 169, 225, 0.55) 100%),
    url('https://images.unsplash.com/photo-1631193816258-28b44b21e78b?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute; right: -10%; top: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(95, 196, 242, 0.18), transparent 60%);
  z-index: -1;
  animation: float 12s ease-in-out infinite alternate;
}
@keyframes float { to { transform: translate(-4%, 4%); } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  padding-block: var(--space-9);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: var(--space-5);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(95, 196, 242, 0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { transform: scale(1.2); opacity: 0.7; } }

.hero h1 {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  max-width: 18ch;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--color-accent), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 1.15rem;
  max-width: 55ch;
  margin-bottom: var(--space-6);
  opacity: 0.92;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 600px;
}
.hero-stat .num { font-size: 2rem; font-weight: 700; color: var(--color-accent); }
.hero-stat .lbl { font-size: 0.85rem; opacity: 0.85; }

.hero-scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.hero-scroll::before {
  content: '';
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scroll-bounce 1.6s infinite;
}
@keyframes scroll-bounce { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- 6. CARDS ---------- */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border-radius: 14px;
  margin-bottom: var(--space-4);
  box-shadow: 0 8px 22px rgba(51, 169, 225, 0.25);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--space-2); color: var(--color-text); }
.card p { color: var(--color-muted); font-size: 0.94rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--space-4);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}
.card-link svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.card-link:hover svg { transform: translateX(4px); }
html[dir="rtl"] .card-link:hover svg { transform: translateX(-4px) scaleX(-1); }
html[dir="rtl"] .card-link svg { transform: scaleX(-1); }

/* Service card variant */
.service-card {
  padding: 0;
  display: flex; flex-direction: column;
}
.service-card .service-banner {
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  position: relative;
  overflow: hidden;
}
.service-card .service-banner svg.bg-icon {
  position: absolute; right: -20px; bottom: -20px;
  width: 200px; height: 200px;
  color: rgba(255, 255, 255, 0.08);
}
.service-card .service-body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.service-card ul { margin: var(--space-3) 0; }
.service-card ul li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.service-card ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-secondary);
  border-radius: 50%;
}
.service-card .card-link { margin-top: auto; }

/* ---------- 7. PRODUCT CARDS ---------- */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-med) var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card .product-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-border));
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.product-card .product-img svg {
  width: 80px; height: 80px;
  color: var(--color-primary);
  opacity: 0.5;
}
.product-card .product-badge {
  position: absolute; top: 12px;
  inset-inline-start: 12px;
  padding: 4px 10px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.product-card .product-body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.product-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.product-card .product-cat { font-size: var(--fs-xs); color: var(--color-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.product-card p { font-size: 0.88rem; color: var(--color-muted); margin-bottom: var(--space-4); }
.product-card .specs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: var(--space-4);
}
.product-card .specs span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--color-surface-2);
  color: var(--color-muted);
  border-radius: 999px;
}
.product-card .btn { margin-top: auto; }

/* ---------- 8. INDUSTRIES ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}
.industry-tile {
  aspect-ratio: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: var(--space-4);
  transition: all var(--t-med) var(--ease);
  cursor: pointer;
}
.industry-tile:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-tile svg {
  width: 36px; height: 36px;
  margin-bottom: var(--space-2);
  color: var(--color-secondary);
  transition: color var(--t-med) var(--ease);
}
.industry-tile:hover svg { color: var(--color-accent); }
.industry-tile span { font-size: 0.85rem; font-weight: 600; }

/* ---------- 9. WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.why-list { display: grid; gap: var(--space-5); }
.why-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-4);
  align-items: start;
}
.why-item .icon {
  width: 56px; height: 56px;
  background: var(--color-surface-2);
  color: var(--color-secondary);
  border-radius: 14px;
  display: grid; place-items: center;
}
.why-item .icon svg { width: 24px; height: 24px; }
.why-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.why-item p { color: var(--color-muted); font-size: 0.95rem; }

.why-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 21, 74, 0.55), rgba(0, 21, 74, 0.85)),
    url('https://images.unsplash.com/photo-1581094271901-8022df4466f9?w=1200&q=80') center/cover;
  box-shadow: var(--shadow-lg);
}
.why-visual::after {
  content: '';
  position: absolute;
  inset-inline-end: -40px; bottom: -40px;
  width: 180px; height: 180px;
  background: var(--color-secondary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.why-badge {
  position: absolute;
  bottom: var(--space-5);
  inset-inline-start: var(--space-5);
  background: var(--color-surface);
  color: var(--color-text);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: var(--space-3);
  box-shadow: var(--shadow-md);
  max-width: 280px;
}
.why-badge .ic {
  width: 44px; height: 44px;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}
.why-badge strong { display: block; font-size: 0.95rem; }
.why-badge span { font-size: 0.8rem; color: var(--color-muted); }

/* ---------- 10. STATS ---------- */
.stats {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(95, 196, 242, 0.25), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(51, 169, 225, 0.2), transparent 40%);
  z-index: 0;
}
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.stat { text-align: center; }
.stat .num {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(180deg, #fff, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat .label {
  font-size: 0.95rem;
  margin-top: var(--space-2);
  opacity: 0.85;
}
.stat .stat-icon {
  width: 40px; height: 40px;
  display: block;
  margin: 0 auto 12px;
}
.stat .stat-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.stat .stat-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- 11. PROJECT CARDS ---------- */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: var(--space-6);
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { color: var(--color-secondary); border-color: var(--color-secondary); }
.filter-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: var(--color-surface-2);
  box-shadow: var(--shadow-sm);
}
.project-card .ph {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.3);
}
.project-card .ph svg { width: 80px; height: 80px; }
.project-card .ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 21, 74, 0.92));
  padding: var(--space-5);
  display: flex; flex-direction: column; justify-content: end;
  color: #fff;
  transition: background var(--t-med) var(--ease);
}
.project-card:hover .ov { background: linear-gradient(180deg, rgba(0, 21, 74, 0.4), rgba(0, 21, 74, 0.95)); }
.project-card .cat {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-accent); font-weight: 600;
  margin-bottom: 6px;
}
.project-card h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.project-card .meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; opacity: 0.85;
}

/* ---------- 12. BRANDS ---------- */
.brands-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  align-items: center;
}
.brand-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-5);
  text-align: center;
  display: grid; place-items: center;
  aspect-ratio: 3 / 2;
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all var(--t-med) var(--ease);
  filter: grayscale(0.3);
}
.brand-tile:hover {
  color: var(--color-primary);
  border-color: var(--color-secondary);
  transform: translateY(-4px);
  filter: none;
  box-shadow: var(--shadow);
}

/* ---------- 13. TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}
.testimonial .quote {
  position: absolute;
  top: -10px; inset-inline-start: var(--space-5);
  width: 40px; height: 40px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}
.testimonial .quote svg { width: 18px; height: 18px; }
.testimonial p { color: var(--color-text); font-size: 0.95rem; line-height: 1.7; margin-bottom: var(--space-5); }
.testimonial .who { display: flex; align-items: center; gap: var(--space-3); }
.testimonial .who .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
}
.testimonial .who strong { display: block; font-size: 0.95rem; }
.testimonial .who span { font-size: 0.82rem; color: var(--color-muted); }
.testimonial .stars { color: var(--color-warning); margin-bottom: var(--space-3); letter-spacing: 2px; }

/* ---------- 14. CTA BANNER ---------- */
.cta-banner {
  background:
    linear-gradient(120deg, rgba(0, 21, 74, 0.95), rgba(0, 21, 74, 0.85)),
    url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=1600&q=80') center/cover;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(95, 196, 242, 0.3), transparent 60%);
}
.cta-banner h2 { font-size: var(--fs-h1); margin-bottom: var(--space-4); position: relative; }
.cta-banner p { max-width: 600px; margin: 0 auto var(--space-6); opacity: 0.9; position: relative; }
.cta-banner .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- 15. FOOTER ---------- */
.site-footer {
  background: var(--color-primary);
  color: #C7D2E5;
  padding-block: var(--space-9) var(--space-5);
  margin-top: var(--space-8);
}
[data-theme="dark"] .site-footer { background: #060c20; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}
.footer-brand { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: var(--space-4); }
.footer-brand .brand-mark { background: rgba(255, 255, 255, 0.12); }
.footer-brand p { color: #93A4C2; font-size: 0.92rem; margin-bottom: var(--space-4); max-width: 36ch; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all var(--t-fast) var(--ease);
  color: #fff;
}
.socials a:hover { background: var(--color-secondary); transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; }

.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #93A4C2; font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--color-accent); }
.footer-contact li {
  display: flex; align-items: start; gap: 10px;
  margin-bottom: var(--space-3);
  color: #93A4C2;
  font-size: 0.9rem;
}
.footer-contact svg { width: 18px; height: 18px; color: var(--color-secondary); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem;
  color: #7D8FB3;
}
.footer-bottom a { color: #93A4C2; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal { display: flex; gap: var(--space-5); flex-wrap: wrap; }

/* ---------- 16. PAGE HEADER (Inner Pages) ---------- */
.page-header {
  padding-top: calc(var(--header-h) + var(--space-7));
  padding-bottom: var(--space-8);
  background:
    linear-gradient(120deg, rgba(0, 21, 74, 0.92), rgba(0, 21, 74, 0.75)),
    url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?w=1920&q=80') center/cover;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset-inline-end: -15%; bottom: -50%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(51, 169, 225, 0.3), transparent 55%);
}
.page-header h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}
.page-header p { font-size: 1.05rem; opacity: 0.9; max-width: 60ch; }
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs span.sep { opacity: 0.5; }

/* ---------- 17. FORMS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--color-text); }
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(51, 169, 225, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: 0.78rem; color: var(--color-muted); }
.field input[type="file"] {
  padding: 10px;
  background: var(--color-surface-2);
  cursor: pointer;
}

/* ---------- 18. ACCORDION (FAQ) ---------- */
.accordion { display: grid; gap: var(--space-3); }
.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease);
}
.accordion-item.is-open { border-color: var(--color-secondary); }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  text-align: start;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}
.accordion-trigger .ic {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--color-surface-2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.accordion-trigger .ic svg { width: 14px; height: 14px; }
.accordion-item.is-open .accordion-trigger .ic {
  background: var(--color-secondary);
  color: #fff;
  transform: rotate(45deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}
.accordion-panel .inner {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- 19. ABOUT — TIMELINE / VALUES ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.value-card { text-align: center; padding: var(--space-6); }
.value-card .icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border-radius: 18px;
  display: grid; place-items: center;
  margin: 0 auto var(--space-4);
}
.value-card .icon svg { width: 30px; height: 30px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.mv-card { padding: var(--space-7); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.mv-card.dark { background: var(--color-primary); color: #fff; border-color: transparent; }
.mv-card.dark p { color: rgba(255, 255, 255, 0.85); }
.mv-card .icon { width: 56px; height: 56px; background: var(--color-secondary); color: #fff; border-radius: 14px; display: grid; place-items: center; margin-bottom: var(--space-4); }

.timeline { position: relative; padding-inline-start: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 11px; top: 0; bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.timeline-item { position: relative; padding-bottom: var(--space-6); }
.timeline-item::before {
  content: '';
  position: absolute;
  inset-inline-start: -36px; top: 8px;
  width: 24px; height: 24px;
  background: var(--color-secondary);
  border: 4px solid var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-border);
  border-radius: 50%;
}
.timeline-item .year {
  font-size: 0.85rem; color: var(--color-secondary); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.timeline-item h4 { font-size: 1.1rem; font-weight: 700; margin: 4px 0 6px; }
.timeline-item p { color: var(--color-muted); font-size: 0.95rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.team-card { text-align: center; padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: all var(--t-med) var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card .av {
  width: 110px; height: 110px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: grid; place-items: center;
  color: #fff;
  font-size: 2.2rem; font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 21, 74, 0.15);
}
.team-card h4 { font-size: 1.05rem; font-weight: 700; }
.team-card span { font-size: 0.85rem; color: var(--color-muted); }
.team-card .ssoc { display: flex; gap: 8px; justify-content: center; margin-top: var(--space-3); }
.team-card .ssoc a {
  width: 32px; height: 32px;
  background: var(--color-surface-2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--color-muted);
  transition: all var(--t-fast) var(--ease);
}
.team-card .ssoc a:hover { background: var(--color-secondary); color: #fff; }
.team-card .ssoc svg { width: 14px; height: 14px; }

/* Certificates */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.cert-card {
  aspect-ratio: 3 / 4;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  transition: all var(--t-med) var(--ease);
}
.cert-card:hover { border-color: var(--color-secondary); transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-card svg { width: 56px; height: 56px; color: var(--color-secondary); margin-bottom: var(--space-3); }
.cert-card strong { font-size: 0.95rem; }
.cert-card span { font-size: 0.8rem; color: var(--color-muted); margin-top: 4px; }

/* ---------- 20. CONTACT PAGE ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-7); }
.contact-info { display: grid; gap: var(--space-5); align-content: start; }
.contact-info-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.contact-info-card > div:last-child { min-width: 0; }
.contact-info-card .ic {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border-radius: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info-card .ic svg { width: 24px; height: 24px; }
.contact-info-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-card a, .contact-info-card span {
  color: var(--color-muted);
  font-size: 0.92rem;
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-info-card a:hover { color: var(--color-secondary); }

.contact-form {
  padding: var(--space-7);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.map-embed {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 21. CAREERS ---------- */
.job-list { display: grid; gap: var(--space-4); }
.job-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: center;
  transition: all var(--t-med) var(--ease);
}
.job-card:hover { border-color: var(--color-secondary); box-shadow: var(--shadow); }
.job-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.job-card .tag {
  font-size: var(--fs-xs);
  padding: 4px 10px;
  background: var(--color-surface-2);
  color: var(--color-muted);
  border-radius: 999px;
}
.job-card h4 { font-size: 1.1rem; font-weight: 700; }
.job-card .loc { color: var(--color-muted); font-size: 0.88rem; }

/* ---------- 22. LEGAL PAGES ---------- */
.legal-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
}
.legal-content h2 { font-size: 1.5rem; margin: var(--space-6) 0 var(--space-3); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--color-muted); margin-bottom: var(--space-4); line-height: 1.8; }
.legal-content ul { padding-inline-start: 1.4rem; margin-bottom: var(--space-4); }
.legal-content ul li { color: var(--color-muted); margin-bottom: 6px; list-style: disc; }

/* ---------- 23. ANIMATIONS ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-aos="fade-in"] { transform: none; }
[data-aos="scale"] { transform: scale(0.95); }
[data-aos].is-visible {
  opacity: 1;
  transform: none;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.6); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.35;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(0.9); opacity: 0.4; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  background: var(--color-success);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--t-med) var(--ease);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--color-danger); }

/* Sectors row — 4 columns on desktop, overridden by mobile media queries below */
.industries-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Prose paragraphs in About section */
.prose { color: var(--color-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.prose--last { margin-bottom: 1.5rem; }

/* "Our Goal" highlight card */
.goal-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-surface-2);
  border-radius: 14px;
  border-inline-start: 4px solid var(--color-secondary);
  align-items: start;
}
.goal-icon {
  width: 56px; height: 56px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.goal-body h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.goal-body p  { color: var(--color-muted); font-size: 0.93rem; line-height: 1.65; }

/* Accordion wrapper centered */
.accordion--centered { max-width: 820px; margin-inline: auto; }

/* Form submit button (full width) */
.form-submit { margin-top: 1.25rem; width: 100%; }

/* Map spacing */
.map-embed--spaced { margin-top: 3rem; }

/* ---------- 24. AFTER-SALES BANNER ---------- */
.after-sales-banner {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}
.after-sales-banner .asb-icon {
  width: 72px; height: 72px;
  background: var(--color-secondary);
  border-radius: 18px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.after-sales-banner .asb-text h3 { font-size: 1.4rem; margin-bottom: 6px; }
.after-sales-banner .asb-text p { color: rgba(255, 255, 255, 0.85); margin: 0; }

/* ---------- 25. RESPONSIVE ---------- */

/* Laptop & below */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6, .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { aspect-ratio: 16/10; max-height: 420px; }
  .brands-strip { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header-actions .lang-switch, .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .grid-3, .projects-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .after-sales-banner {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    text-align: center;
    gap: 1.25rem;
  }
  .after-sales-banner .asb-icon { margin: 0 auto; }
  .map-embed { aspect-ratio: 4 / 3; }
  .hero h1 { max-width: 100%; }
  .hero-stats { gap: var(--space-4); }
}

/* Mobile — 600px and below */
@media (max-width: 600px) {
  :root { --header-h: 66px; }

  /* Typography & spacing */
  body { font-size: 0.95rem; }
  .section { padding-block: clamp(2.25rem, 9vw, 3.5rem); }
  .container { padding-inline: 16px; }

  /* Header — touch-friendly sizes */
  .brand { gap: 8px; font-size: 1rem; }
  .brand-mark { width: 40px; height: 40px; border-radius: 8px; }
  .brand-name small { font-size: 9px; letter-spacing: 0.12em; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 42px; height: 42px; }
  .hamburger { width: 44px; height: 44px; }
  .lang-switch { padding: 10px 12px; min-height: 38px; }
  .site-header { background: rgba(255, 255, 255, 0.96); }
  [data-theme="dark"] .site-header { background: rgba(15, 23, 51, 0.96); }

  /* Mobile drawer fills viewport nicely */
  .mobile-nav { padding: 1.25rem 1rem 2rem; }
  .mobile-nav a { padding: 14px 4px; font-size: 1.05rem; }
  .mobile-nav .mobile-cta { margin-top: 1.25rem; }

  /* Hero */
  .hero { min-height: 100svh; min-height: calc(100dvh - 0px); }
  .hero-grid { padding-block: var(--space-7); gap: var(--space-5); }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.12; }
  .hero p { font-size: 1rem; }
  .hero-eyebrow { font-size: 0.78rem; padding: 6px 12px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-scroll { display: none; }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: var(--space-6);
    padding-top: var(--space-5);
  }
  .hero-stat {
    display: flex; align-items: center; gap: 12px;
    text-align: start;
  }
  .hero-stat svg { margin: 0 !important; flex-shrink: 0; }
  .hero-stat .lbl { font-size: 0.9rem; }

  /* Grids */
  .grid-2, .grid-3, .grid-4, .projects-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .grid-6, .industries-grid, .industries-grid--4, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Section heads */
  .section-title { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .section-sub { font-size: 0.95rem; margin-bottom: var(--space-6); }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.15em; }

  /* Cards & service cards */
  .card { padding: 1.25rem; border-radius: 14px; }
  .service-card .service-banner { height: 140px; }
  .service-card .service-body { padding: 1.25rem; }
  .service-card h3 { font-size: 1.1rem; }

  /* Product cards */
  .product-card .product-img svg { width: 60px; height: 60px; }
  .product-card .product-body { padding: 1rem; }

  /* Industries */
  .industry-tile { padding: 1rem; }
  .industry-tile svg { width: 30px; height: 30px; }
  .industry-tile span { font-size: 0.82rem; }

  /* Why-us stats — horizontal layout: icon on the side, title + desc stacked */
  .stats { padding: 1.5rem 1.1rem; border-radius: 18px; }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: start;
  }
  .stat {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "icon title"
      "icon desc";
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    text-align: start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat:last-child { border-bottom: 0; }
  .stat .stat-icon {
    grid-area: icon;
    width: 36px; height: 36px;
    margin: 0;
    align-self: center;
  }
  .stat .stat-title { grid-area: title; font-size: 0.98rem; margin-bottom: 0; align-self: end; }
  .stat .stat-desc  { grid-area: desc; font-size: 0.82rem; align-self: start; }

  /* About section */
  .why-visual { aspect-ratio: 16 / 11; max-height: 280px; }
  .why-badge { padding: 12px 14px; max-width: 240px; }
  .why-badge .ic { width: 38px; height: 38px; }

  /* Goal card */
  .goal-card { grid-template-columns: 1fr; gap: 0.85rem; padding: 1.1rem; }
  .goal-icon { width: 48px; height: 48px; border-radius: 10px; }
  .goal-body h4 { font-size: 1rem; }
  .goal-body p { font-size: 0.88rem; }

  /* Map: smaller margin */
  .map-embed--spaced { margin-top: 2rem; }
  .map-embed { aspect-ratio: 4 / 5; }

  /* Accordion */
  .accordion-trigger { padding: 1rem 1.1rem; font-size: 0.95rem; }
  .accordion-panel .inner { padding: 0 1.1rem 1.1rem; font-size: 0.9rem; }

  /* Contact */
  .contact-info-card { padding: 14px; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .contact-info-card .ic { width: 44px; height: 44px; border-radius: 10px; }
  .contact-info-card .ic svg { width: 20px; height: 20px; }
  .contact-info-card h4 { font-size: 0.95rem; }
  .contact-info-card a, .contact-info-card span { font-size: 0.86rem; line-height: 1.5; }
  .contact-form { padding: 1.25rem; }

  /* Form fields — 16px min to avoid iOS zoom on focus */
  .field input, .field select, .field textarea { font-size: 16px; padding: 12px 14px; }

  /* CTA banner */
  .cta-banner { padding: 2rem 1.5rem; border-radius: 18px; }
  .cta-banner h2 { font-size: 1.6rem; }
  .cta-banner p { font-size: 0.95rem; }
  .cta-banner .btns { flex-direction: column; align-items: stretch; }
  .cta-banner .btn { width: 100%; }

  /* (Map handled above in the same query block) */

  /* After-sales banner */
  .after-sales-banner { padding: 1.5rem; border-radius: 18px; }
  .after-sales-banner .asb-icon { width: 56px; height: 56px; border-radius: 14px; }
  .after-sales-banner .asb-icon svg { width: 26px; height: 26px; }
  .after-sales-banner .asb-text h3 { font-size: 1.2rem; }
  .after-sales-banner .asb-text p { font-size: 0.9rem; }
  .after-sales-banner .btn { width: 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: start; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
  .footer-bottom .legal { justify-content: center; }
  .site-footer { padding-block: var(--space-7) var(--space-5); }

  /* WhatsApp float */
  .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-float::after { animation-duration: 3s; }

  /* Toast — full-width-ish on mobile */
  .toast {
    inset-inline: 16px;
    inset-inline-end: 16px;
    bottom: 80px; /* above WhatsApp button */
    text-align: center;
  }
}

/* Tiny phones */
@media (max-width: 400px) {
  .brand-name { display: none; }
  .header-actions { gap: 4px; }
  .icon-btn { width: 36px; height: 36px; }
  .lang-switch { padding: 8px 10px; }
  .grid-6, .industries-grid, .industries-grid--4, .cert-grid { grid-template-columns: 1fr; }
  .brands-strip { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .section-title { font-size: 1.4rem; }
}

/* Landscape phone — avoid huge hero */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding-block: calc(var(--header-h) + 1rem) 2rem; }
  .hero-grid { padding-block: 1rem; }
  .hero-scroll { display: none; }
}

/* High-density / reduce-motion users */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- 26. PRINT ---------- */
@media print {
  .site-header, .site-footer, .hamburger, .hero-scroll, .wa-float, .mobile-nav { display: none; }
  .hero { min-height: auto; }
  .hero::before { display: none; }
  body { color: #000; background: #fff; }
}
