/* ============================================================
   TADEEM GENERAL TRADING — Bold Modern 2026
   Asymmetric layouts, image-driven, editorial feel
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --teal: #0FA9B5;
  --teal-dark: #0B8A94;
  --teal-light: #e8f8f9;
  --teal-glow: rgba(15,169,181,.12);
  --dark: #0c0c0c;
  --ink: #111;
  --text: #555;
  --subtle: #777;
  --muted: #aaa;
  --line: #eaeaea;
  --bg: #fff;
  --bg2: #f5f5f5;
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --max-w: 1240px;
  --ease: cubic-bezier(.16,1,.3,1);
  --radius: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all .3s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; font-weight: 700; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ═══════════════════════════════════════════
   NAV — Transparent overlay, centered links
   ═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px; z-index: 9999;
  background: transparent;
  transition: all .4s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; height: 100%; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; transition: all .3s ease; }
/* On dark hero, logo is fine. When scrolled, stays normal */

.nav-links {
  display: flex; align-items: center; gap: 8px;
  margin: 0 auto; /* center the links */
}
.nav-links > a, .nav-dropdown > .nav-drop-trigger {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.7); padding: 7px 16px;
  border-radius: 8px; transition: all .25s var(--ease);
  cursor: pointer; background: none; border: none;
  display: inline-flex; align-items: center; gap: 4px;
  letter-spacing: .01em;
}
.nav-links > a:hover, .nav-dropdown:hover .nav-drop-trigger { color: #fff; background: rgba(255,255,255,.1); }
.nav-links > a.active { color: #fff; background: var(--teal); }
.nav-dropdown.active .nav-drop-trigger { color: #fff; background: var(--teal); }

/* Scrolled state */
.nav.scrolled .nav-links > a, .nav.scrolled .nav-dropdown > .nav-drop-trigger { color: var(--text); }
.nav.scrolled .nav-links > a:hover, .nav.scrolled .nav-dropdown:hover .nav-drop-trigger { color: var(--ink); background: var(--bg2); }
.nav.scrolled .nav-links > a.active, .nav.scrolled .nav-dropdown.active .nav-drop-trigger { color: #fff; background: var(--teal); }

.nav-drop-trigger .arrow { font-size: 8px; opacity: .5; transition: transform .25s var(--ease); }
.nav-dropdown:hover .arrow { transform: rotate(180deg); }
/* Mega menu dropdown — full width, JS controlled */
.nav-dropdown { position: static; }
.nav-drop-panel {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--teal);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
  padding: 32px 0;
  display: flex; justify-content: center; gap: 0;
  z-index: 100;
}
.nav-dropdown.open > .nav-drop-panel,
.nav-dropdown:hover > .nav-drop-panel { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-drop-panel a {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 24px 32px;
  border-radius: 0; position: relative;
  min-width: 200px;
  transition: all .25s ease;
}
.nav-drop-panel a:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; height: 60%;
  width: 1px; background: var(--line);
}
.nav-drop-panel a:hover { background: var(--bg2); }
.nav-drop-panel a:hover .drop-label { color: var(--teal); }
.drop-label {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  color: var(--ink); margin-bottom: 6px;
  transition: color .2s ease;
}
.drop-label::before {
  content: ''; display: block; width: 24px; height: 3px;
  border-radius: 3px; background: var(--teal);
  margin: 0 auto 10px; transition: width .25s ease;
}
.nav-drop-panel a:hover .drop-label::before { width: 40px; }
.drop-desc { font-size: 12px; color: var(--subtle); line-height: 1.5; max-width: 180px; }

.btn-nav {
  padding: 9px 22px; border-radius: 10px;
  background: var(--teal); color: #fff;
  font-size: 13px; font-weight: 600;
  transition: all .3s var(--ease); flex-shrink: 0;
}
.btn-nav:hover { background: var(--teal-dark); transform: scale(1.02); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease; }
.nav.scrolled .hamburger span { background: var(--ink); }

/* Mobile */
.mobile-menu {
  display: none; position: fixed; top: 0; right: -100%; width: 320px; height: 100vh;
  background: #fff; z-index: 10000; padding: 80px 28px 40px;
  transition: right .4s var(--ease); overflow-y: auto;
  box-shadow: -12px 0 40px rgba(0,0,0,.1);
}
.mobile-menu.open { right: 0; }
.mobile-menu-close { position: absolute; top: 20px; right: 20px; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; background: var(--bg2); display: flex; align-items: center; justify-content: center; }
.mobile-menu-close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu a:hover { color: var(--teal); }
.mob-title { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-top: 20px; }
.mob-sub a { padding-left: 16px; font-size: 14px; color: var(--subtle); }

/* ═══════════════════════════════════════════
   HERO — Full-bleed image with overlay
   ═══════════════════════════════════════════ */
.hero {
  min-height: 80vh; display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  padding: 120px 0 60px;
  background: var(--dark);
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .35;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.7) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-label {
  display: inline-block; padding: 6px 18px; border-radius: 99px;
  background: var(--teal); color: #fff;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800; color: #fff;
  letter-spacing: -.04em; line-height: 1.0;
  margin-bottom: 20px;
}
.hero .lead {
  font-size: 18px; color: rgba(255,255,255,.55);
  line-height: 1.7; margin-bottom: 36px; max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px;
  background: var(--teal); color: #fff;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  transition: all .3s var(--ease);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(15,169,181,.35); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  transition: all .3s var(--ease);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.25); }

/* Hero counters — floating on right */
.hero-counters {
  position: absolute; right: 48px; bottom: 80px; z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
}
.hero-counter {
  background: rgba(255,255,255,.06); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
  padding: 20px 28px; min-width: 180px;
}
.hero-counter:first-child { border-radius: 14px 14px 4px 4px; }
.hero-counter:last-child { border-radius: 4px 4px 14px 14px; }
.hero-counter:not(:first-child):not(:last-child) { border-radius: 4px; }
.hc-num { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--teal); line-height: 1; }
.hc-lbl { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* ═══════════════════════════════════════════
   PAGE HERO — With colored accent
   ═══════════════════════════════════════════ */
/* Page hero — gradient mesh with animated shapes */
.page-hero {
  padding: 120px 0 56px;
  background: linear-gradient(135deg, #0c1220 0%, #0a2a2e 35%, #0FA9B5 70%, #06d6a0 100%);
  color: #fff; position: relative; overflow: hidden;
  border-bottom: none;
}
.page-hero::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  animation: float-hero 8s ease-in-out infinite;
}
.page-hero::after {
  content: ''; position: absolute;
  bottom: -60px; left: 10%;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  animation: float-hero 10s ease-in-out infinite reverse;
}
@keyframes float-hero {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}
/* Extra decorative shapes */
.page-hero-shapes {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.page-hero-shapes .sh1 {
  position: absolute; top: 20%; right: 15%;
  width: 60px; height: 60px; border: 3px solid rgba(255,255,255,.1);
  border-radius: 12px; transform: rotate(45deg);
  animation: spin-slow 20s linear infinite;
}
.page-hero-shapes .sh2 {
  position: absolute; bottom: 25%; right: 30%;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  animation: pulse-dot 3s ease-in-out infinite;
}
.page-hero-shapes .sh3 {
  position: absolute; top: 40%; right: 8%;
  width: 100px; height: 3px; background: rgba(255,255,255,.08);
  border-radius: 3px; transform: rotate(-20deg);
}
.page-hero-shapes .sh4 {
  position: absolute; bottom: 15%; left: 60%;
  width: 40px; height: 40px; border: 2px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
@keyframes spin-slow { from { transform: rotate(45deg); } to { transform: rotate(405deg); } }
@keyframes pulse-dot { 0%, 100% { opacity: .3; transform: scale(1); } 50% { opacity: .8; transform: scale(1.4); } }

.page-hero .container { position: relative; z-index: 2; }
.page-hero-left { }
.page-hero-right { display: none; }
.page-hero h1 {
  font-size: clamp(34px, 4.5vw, 52px); font-weight: 800;
  color: #fff; margin-bottom: 14px; letter-spacing: -.03em;
}
.page-hero .lead { font-size: 16px; color: rgba(255,255,255,.55); max-width: 500px; line-height: 1.7; display: block; }
.page-hero .eyebrow { display: block; color: rgba(255,255,255,.5); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.45); }
.breadcrumb a:hover { color: #fff; }

.page-hero-bar { display: none; }

/* Nav links — white on gradient hero, dark when scrolled */
.nav .nav-links > a, .nav .nav-dropdown > .nav-drop-trigger { color: rgba(255,255,255,.7); }
.nav .nav-links > a:hover, .nav .nav-dropdown:hover .nav-drop-trigger { color: #fff; background: rgba(255,255,255,.1); }
.nav .nav-links > a.active, .nav .nav-dropdown.active .nav-drop-trigger { color: #fff; background: var(--teal); }
.nav.scrolled .nav-links > a, .nav.scrolled .nav-dropdown > .nav-drop-trigger { color: var(--text); }
.nav.scrolled .nav-links > a:hover, .nav.scrolled .nav-dropdown:hover .nav-drop-trigger { color: var(--ink); background: var(--bg2); }
.nav.scrolled .nav-links > a.active, .nav.scrolled .nav-dropdown.active .nav-drop-trigger { color: #fff; background: var(--teal); }

@media(max-width:768px) {
  .page-hero { padding: 110px 0 40px; }
  .page-hero-shapes .sh1, .page-hero-shapes .sh3 { display: none; }
}
.eyebrow {
  display: inline-block; font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--dark); color: #fff; }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 16px; letter-spacing: -.03em; }
.section-head .text { font-size: 16px; color: var(--subtle); max-width: 520px; line-height: 1.8; }
.section-head.center .text { margin: 0 auto; }

/* ═══════════════════════════════════════════
   SECTOR CARDS — Image-driven, full bleed
   ═══════════════════════════════════════════ */
.sector-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; cursor: pointer;
  transition: all .4s var(--ease);
}
.sector-card:hover { transform: translateY(-6px); }
.sector-card img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s var(--ease);
}
.sector-card:hover img { transform: scale(1.06); }
.sector-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.1) 60%);
  transition: background .3s ease;
}
.sector-card:hover::after { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%); }
.sector-card-content { position: relative; z-index: 2; }
.sector-card h3 { font-size: 22px; color: #fff; margin-bottom: 8px; }
.sector-card p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 12px; }
.sector-card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sector-card .chip {
  padding: 3px 10px; font-size: 11px; font-weight: 500;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  border-radius: 99px; border: 1px solid rgba(255,255,255,.12);
}

/* ═══════════════════════════════════════════
   GRIDS
   ═══════════════════════════════════════════ */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.grid-offset { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.grid-offset-r { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }

/* ═══════════════════════════════════════════
   CARDS — Minimal, no border, shadow on hover
   ═══════════════════════════════════════════ */
.card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line);
  transition: all .35s var(--ease);
}
.card:hover { border-color: transparent; box-shadow: 0 20px 60px rgba(0,0,0,.06); transform: translateY(-4px); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--subtle); line-height: 1.7; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 22px;
}

/* Card dark */
.card-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.06); }
.card-dark:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); box-shadow: none; }
.card-dark h3, .card-dark h4 { color: #fff; }
.card-dark p { color: rgba(255,255,255,.4); }

/* Product card - large */
.product-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: all .35s var(--ease);
}
.product-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,.06); transform: translateY(-4px); border-color: transparent; }
.product-card-img { height: 220px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 28px; }
.product-card-body h3 { font-size: 20px; margin-bottom: 8px; }
.product-card-body p { font-size: 14px; color: var(--subtle); line-height: 1.7; margin-bottom: 14px; }

/* Chip */
.chip {
  display: inline-block; padding: 4px 12px; font-size: 12px;
  font-weight: 500; background: var(--bg2); color: var(--text);
  border-radius: 99px; margin: 3px 2px; border: 1px solid var(--line);
}
.chip-teal { background: var(--teal-light); color: var(--teal-dark); border-color: transparent; }

/* ═══════════════════════════════════════════
   FEATURE SPLIT — Image + content
   ═══════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; }
.split-img img { width: 100%; height: 400px; object-fit: cover; }
.split-content .eyebrow { margin-bottom: 10px; }
.split-content h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; letter-spacing: -.03em; }
.split-content p { font-size: 15px; color: var(--subtle); line-height: 1.8; margin-bottom: 14px; }

/* Feature list */
.feature-list { margin-top: 20px; }
.feature-list-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.feature-list-item:last-child { border-bottom: none; }
.fl-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
}
.fl-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.fl-text p { font-size: 13px; color: var(--subtle); line-height: 1.5; margin: 0; }

/* ═══════════════════════════════════════════
   STATS — Inline counter bar
   ═══════════════════════════════════════════ */
.stats-bar {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
.stat-item { text-align: center; }
.stat-item .num { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--teal); line-height: 1; }
.stat-item .num span { font-size: 22px; }
.stat-item .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Stats dark */
.stats-bar-dark { border-color: rgba(255,255,255,.06); }
.stats-bar-dark .stat-item .lbl { color: rgba(255,255,255,.35); }

/* Stat cards floating */
.stat-cards { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: -40px; position: relative; z-index: 2; }
.stat-card-item {
  background: #fff; border-radius: 14px; padding: 24px 28px;
  text-align: center; min-width: 160px;
  box-shadow: 0 8px 32px rgba(0,0,0,.06); border: 1px solid var(--line);
}
.stat-card-item .num { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--teal); }
.stat-card-item .num span { font-size: 18px; }
.stat-card-item .lbl { font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 500; }

/* ═══════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; counter-increment: step; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  margin-bottom: 16px;
}
.step h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--subtle); line-height: 1.6; }
.section-dark .step p { color: rgba(255,255,255,.4); }
.section-dark .step h4 { color: #fff; }

/* ═══════════════════════════════════════════
   MARQUEE — Scrolling brands
   ═══════════════════════════════════════════ */
.marquee-wrap { overflow: hidden; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee {
  display: flex; gap: 48px; animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee span {
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  color: var(--line); letter-spacing: -.02em;
  flex-shrink: 0;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════
   CTA — Full image background
   ═══════════════════════════════════════════ */
.cta {
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
  background: var(--dark);
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,169,181,.2) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(28px, 3.5vw, 40px); color: #fff; margin-bottom: 14px; }
.cta p { font-size: 16px; color: rgba(255,255,255,.5); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px; font-size: 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); outline: none;
  font-family: var(--font-body); transition: all .25s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-glow);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; padding: 15px 28px; border-radius: 12px;
  background: var(--teal); color: #fff; border: none;
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .3s ease;
}
.form-submit:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(15,169,181,.3); }

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; transition: all .3s ease; background: #fff; }
.faq-item.open { border-color: var(--teal); box-shadow: 0 4px 16px var(--teal-glow); }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer; background: none; border: none;
  font-family: var(--font-body); text-align: left; gap: 14px;
}
.faq-trigger span:first-child { font-size: 14px; font-weight: 600; color: var(--ink); }
.faq-item.open .faq-trigger span:first-child { color: var(--teal); }
.faq-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg2); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .3s ease; font-size: 12px; color: var(--subtle);
}
.faq-item.open .faq-arrow { background: var(--teal); color: #fff; transform: rotate(180deg); }
.faq-body { padding: 0 22px 18px; font-size: 14px; color: var(--subtle); line-height: 1.7; display: none; }
.faq-item.open .faq-body { display: block; }

/* ═══════════════════════════════════════════
   FOOTER — Modern stacked
   ═══════════════════════════════════════════ */
.footer { background: var(--dark); padding: 80px 0 0; color: rgba(255,255,255,.4); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand img { height: 38px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer h4 { font-family: var(--font-head); font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { display: block; font-size: 14px; color: rgba(255,255,255,.35); padding: 4px 0; }
.footer a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0; display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.2);
}
.footer-bottom a { display: inline; padding: 0; }

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* ── Tablet landscape / small desktop (1024px) ── */
@media (max-width: 1024px) {
  /* Nav: hide desktop links, show hamburger */
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  /* Mega menu: hide on touch devices — hamburger handles it */
  .nav-drop-panel { display: none !important; }

  /* Hero */
  .hero-counters { display: none; }

  /* Grids */
  .sector-cards { grid-template-columns: 1fr 1fr; }
  .sector-card { height: 320px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-img img { height: 300px; }
  .grid-offset, .grid-offset-r { grid-template-columns: 1fr; gap: 32px; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .g3 { grid-template-columns: 1fr 1fr; }

  /* Steps */
  .steps { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* Section spacing */
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }

  /* CTA */
  .cta { padding: 64px 0; }
}

/* ── Tablet portrait (768px) ── */
@media (max-width: 768px) {
  /* Container */
  .container { padding: 0 24px; }

  /* Page hero */
  .page-hero { padding: 100px 0 36px; }
  .page-hero h1 { font-size: clamp(28px, 5vw, 40px); }
  .page-hero .lead { font-size: 15px; }
  .page-hero::before { width: 200px; height: 200px; top: -40px; right: -40px; }
  .page-hero::after { width: 150px; height: 150px; }
  .page-hero-shapes .sh1, .page-hero-shapes .sh3 { display: none; }

  /* Hero */
  .hero { min-height: auto; padding: 120px 0 48px; }
  .hero h1 { font-size: clamp(34px, 6vw, 48px); }
  .hero .lead { font-size: 16px; }

  /* Grids collapse further */
  .sector-cards { grid-template-columns: 1fr; }
  .sector-card { height: 300px; }
  .g3 { grid-template-columns: 1fr; }

  /* Stats */
  .stats-bar { gap: 28px; padding: 32px 0; }
  .stat-item .num { font-size: 30px; }
  .stat-cards { gap: 12px; margin-top: -28px; }
  .stat-card-item { min-width: 140px; padding: 20px 22px; }
  .stat-card-item .num { font-size: 26px; }

  /* Font scaling */
  .section-head h2 { font-size: clamp(24px, 4vw, 36px); }
  .section-head .text { font-size: 15px; }

  /* Cards */
  .card { padding: 24px; }
  .card h3 { font-size: 16px; }

  /* Product cards */
  .product-card-img { height: 180px; }
  .product-card-body { padding: 22px; }
  .product-card-body h3 { font-size: 18px; }

  /* Split */
  .split-content h2 { font-size: clamp(22px, 4vw, 32px); }
  .split-img img { height: 260px; }

  /* Marquee */
  .marquee { gap: 32px; }
  .marquee span { font-size: 16px; }

  /* Footer */
  .footer { padding: 56px 0 0; }
  .footer-top { gap: 32px; }

  /* FAQ */
  .faq-trigger { padding: 16px 18px; }
  .faq-trigger span:first-child { font-size: 13px; }
  .faq-body { padding: 0 18px 16px; font-size: 13px; }
}

/* ── Mobile (640px and below) ── */
@media (max-width: 640px) {
  /* Container */
  .container { padding: 0 18px; }

  /* Grids: all single column */
  .g2, .g3, .g4 { grid-template-columns: 1fr; }

  /* Forms: single column */
  .form-row { grid-template-columns: 1fr; }

  /* Stats */
  .stats-bar { gap: 20px; flex-direction: column; align-items: center; padding: 28px 0; }
  .stat-item .num { font-size: 28px; }
  .stat-cards { flex-direction: column; align-items: center; gap: 10px; margin-top: -24px; }
  .stat-card-item { width: 100%; max-width: 280px; }

  /* Footer: stack completely */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Hero */
  .hero { min-height: auto; padding: 110px 0 40px; }
  .hero h1 { font-size: 32px; letter-spacing: -.03em; }
  .hero .lead { font-size: 15px; margin-bottom: 28px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { width: 100%; justify-content: center; }

  /* Page hero */
  .page-hero { padding: 96px 0 32px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero .lead { font-size: 14px; }
  .page-hero::before, .page-hero::after { display: none; }
  .page-hero-shapes { display: none; }
  .breadcrumb { font-size: 12px; margin-bottom: 10px; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 24px; margin-bottom: 12px; }
  .section-head .text { font-size: 14px; }

  /* Sector cards */
  .sector-card { height: 260px; padding: 24px; }
  .sector-card h3 { font-size: 18px; }
  .sector-card p { font-size: 12px; }

  /* Split layout */
  .split { gap: 24px; }
  .split-img img { height: 220px; border-radius: 14px; }
  .split-content h2 { font-size: 22px; }
  .split-content p { font-size: 14px; }

  /* Steps */
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step-num { width: 44px; height: 44px; font-size: 18px; }

  /* Cards */
  .card { padding: 22px; border-radius: 16px; }
  .card-icon { width: 42px; height: 42px; font-size: 18px; margin-bottom: 14px; }

  /* Product cards */
  .product-card-img { height: 160px; }
  .product-card-body { padding: 18px; }
  .product-card-body h3 { font-size: 17px; }
  .product-card-body p { font-size: 13px; }

  /* CTA */
  .cta { padding: 52px 0; }
  .cta h2 { font-size: 24px; }
  .cta p { font-size: 14px; margin-bottom: 22px; }

  /* Marquee */
  .marquee-wrap { padding: 18px 0; }
  .marquee { gap: 24px; }
  .marquee span { font-size: 14px; }

  /* Footer */
  .footer { padding: 44px 0 0; }
  .footer-brand p { font-size: 13px; }
  .footer a { font-size: 13px; }
  .footer-bottom { padding: 16px 0; font-size: 11px; }

  /* FAQ */
  .faq-item { border-radius: 12px; margin-bottom: 8px; }
  .faq-trigger { padding: 14px 16px; }
  .faq-body { padding: 0 16px 14px; }

  /* Buttons */
  .btn-primary, .btn-ghost { padding: 12px 24px; font-size: 13px; border-radius: 10px; }
  .btn-nav { padding: 8px 18px; font-size: 12px; }

  /* Feature list */
  .feature-list-item { gap: 10px; padding: 12px 0; }
  .fl-icon { width: 32px; height: 32px; border-radius: 8px; font-size: 14px; }
  .fl-text h4 { font-size: 13px; }
  .fl-text p { font-size: 12px; }

  /* Mobile menu adjustments */
  .mobile-menu { width: 100%; right: -100%; }
}

/* ── Small phones (380px and below) ── */
@media (max-width: 380px) {
  /* Tightest container */
  .container { padding: 0 14px; }

  /* Hero */
  .hero h1 { font-size: 28px; }
  .hero .lead { font-size: 14px; }
  .hero { min-height: auto; padding: 100px 0 36px; }
  .hero h1 { font-size: 28px; }

  /* Page hero */
  .page-hero { padding: 88px 0 28px; }
  .page-hero h1 { font-size: 22px; }

  /* Section */
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 22px; }

  /* Sector cards */
  .sector-card { height: 220px; padding: 20px; }
  .sector-card h3 { font-size: 16px; }

  /* Stats */
  .stat-item .num { font-size: 24px; }
  .stat-card-item .num { font-size: 22px; }

  /* Cards */
  .card { padding: 18px; }
  .card h3 { font-size: 15px; }

  /* CTA */
  .cta h2 { font-size: 22px; }

  /* Buttons */
  .btn-primary, .btn-ghost { padding: 11px 20px; font-size: 12px; }

  /* Nav height reduction */
  .nav { height: 64px; }
  .nav-logo img { height: 34px; }
}

/* ── Touch device: prevent hover-stuck states ── */
@media (hover: none) {
  .nav-dropdown:hover > .nav-drop-panel { opacity: 0; visibility: hidden; pointer-events: none; }
  .sector-card:hover { transform: none; }
  .sector-card:hover img { transform: none; }
  .card:hover { transform: none; box-shadow: none; }
  .product-card:hover { transform: none; box-shadow: none; }
}
