/* JAD Pipes & Fittings — Base Styles */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-navy);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--text-5xl); font-weight: 800; }
h2 { font-size: var(--text-3xl); font-weight: 800; }
h3 { font-size: var(--text-xl); font-weight: 700; }
h4 { font-size: var(--text-lg); font-weight: 700; }
p { margin: 0 0 var(--space-4); color: var(--text-body); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

section { padding: var(--space-12) 0; }
@media (max-width: 768px) {
  section { padding: var(--space-8) 0; }
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jad-blue);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--jad-blue-soft);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: var(--space-8); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: var(--text-lg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:focus-visible { outline: 2px solid var(--jad-blue-soft); outline-offset: 3px; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--jad-blue); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ink-navy); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--ink-navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--jad-blue); color: var(--jad-blue); }

.btn-ghost-light { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }

.btn-whatsapp { background: #22c55e; color: var(--white); }
.btn-whatsapp:hover { background: #16a34a; }

.btn-call, .btn-call:hover, .btn-call:visited, .btn-call:active { color: var(--white) !important; }
.btn-call { background: var(--jad-blue); border-color: var(--jad-blue); box-shadow: var(--shadow-sm); }
.btn-call:hover { background: var(--ink-navy); border-color: var(--ink-navy); box-shadow: var(--shadow-md); }

.btn-block { width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: var(--text-base); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img { height: 46px; width: auto; }

/* Tagline bar */
.tagline-bar {
  background: var(--ink-navy);
  color: var(--white);
  text-align: center;
  padding: 0.65rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: 0.03em;
}
.tagline-bar em { font-style: normal; color: #ffd166; }
@media (max-width: 560px) {
  .tagline-bar { font-size: var(--text-sm); padding: 0.55rem 0.75rem; }
}

.main-nav { display: flex; align-items: center; gap: var(--space-6); }
.main-nav ul { display: flex; gap: var(--space-5); flex-wrap: nowrap; }
.main-nav a {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-body);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--jad-blue); border-color: var(--jad-blue); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-actions .btn { padding: 0.65rem 1.2rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--border); color: var(--jad-blue);
  transition: border-color var(--dur-base), color var(--dur-base), background var(--dur-base);
}
.icon-btn:hover { border-color: var(--jad-blue); background: var(--blue-50); }
.icon-btn svg { width: 20px; height: 20px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; cursor: pointer; color: var(--ink-navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1140px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); background: var(--white); flex-direction: column; align-items: stretch; padding: var(--space-6) var(--space-5); gap: var(--space-6); transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out); overflow-y: auto; z-index: 99; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: var(--space-5); }
  .main-nav a { font-size: var(--text-lg); display: block; }
  .header-actions .btn-label { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { gap: var(--space-2); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--ink-navy);
  color: var(--white);
  overflow: hidden;
  padding: var(--space-12) 0 var(--space-10);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(160deg, rgba(14,21,66,0.93) 0%, rgba(37,47,168,0.87) 50%, rgba(37,47,168,0.74) 100%),
    url('../assets/img/warehouse/warehouse-hero-bg.jpg') center 42% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle at 82% 18%, rgba(255,255,255,0.16), transparent 45%),
                     radial-gradient(circle at 95% 85%, rgba(85,96,196,0.5), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--kothari-orange); border: 1px solid rgba(255,255,255,0.3);
  padding: 0.6rem 1.2rem; border-radius: var(--radius-pill);
  font-size: var(--text-sm); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white); white-space: nowrap; box-shadow: var(--shadow-md);
  margin-bottom: var(--space-5);
}
.hero-badge svg { width: 17px; height: 17px; flex-shrink: 0; }
@media (max-width: 560px) { .hero-badge { white-space: normal; font-size: var(--text-xs); } }
.hero h1 { color: var(--white); margin-bottom: var(--space-5); }
.hero h1 em { font-style: normal; color: #ffd166; }
.hero p.lead { color: rgba(255,255,255,0.82); font-size: var(--text-lg); max-width: 46ch; }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-6); }
.hero-stats { display: flex; gap: var(--space-8); margin-top: var(--space-10); flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 800; }
.hero-stats .stat span { font-size: var(--text-xs); color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.1;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-visual .cap {
  position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-4);
  background: rgba(14,21,66,0.72); backdrop-filter: blur(6px);
  color: var(--white); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  font-size: var(--text-xs); font-weight: 600;
}

/* Hero product collage — big, powerful product showcase */
.hero-collage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.hero-collage .tiles {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.hero-collage .tile {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-collage .tile.main {
  height: 340px;
  padding: var(--space-5) var(--space-7);
}
.hero-collage .tile.sub {
  height: 170px;
  padding: var(--space-4) var(--space-5);
}
.hero-collage .tile img { width: 100%; height: 100%; object-fit: contain; }
.hero-feature-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 560px;
}
.hero-feature-img img { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: center 8%; }
.hero-lineup-badge {
  position: absolute; bottom: var(--space-4); left: var(--space-4); z-index: 2;
  background: var(--kothari-orange); color: var(--white); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) { .hero-feature-img { max-height: 420px; } .hero-feature-img img { max-height: 420px; } }

/* On-site MP4 clip cards (distinct from the YouTube .video-card pattern below) —
   self-contained dark card, safe on light or dark section backgrounds */
.clip-card {
  background: var(--ink-navy); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.clip-card video { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #000; }
.clip-card .video-caption { padding: var(--space-4); font-size: var(--text-sm); color: rgba(255,255,255,0.85); margin: 0; }
.hero-collage .tile-label {
  position: absolute; top: var(--space-4); left: var(--space-4); z-index: 2;
  background: var(--ink-navy); color: var(--white); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.hero-collage .tile.main .tile-label { background: var(--jad-blue); font-size: 0.8rem; padding: 0.5rem 1rem; }
.hero-collage .cap {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(14,21,66,0.55); color: var(--white); border-radius: var(--radius-sm);
  font-size: var(--text-xs); font-weight: 700; border: 1px solid rgba(255,255,255,0.14);
}
.hero-collage .cap svg { width: 22px; height: 22px; color: #ffd166; flex-shrink: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: var(--space-6); }
  .hero-collage .tile.main { height: 260px; }
  .hero-collage .tile.sub { height: 140px; }
}

/* ===== Trust strip ===== */
.trust-strip { background: var(--blue-50); border-bottom: 1px solid var(--border); padding: 0; }
.section-blue-tint { background: var(--blue-50); }

/* Values section */
.values-section { background: var(--ink-navy); color: var(--white); }
.values-section h2 { color: var(--white); }
.values-section p { color: rgba(255,255,255,0.7); }
.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: background var(--dur-base), border-color var(--dur-base), transform var(--dur-base);
}
.value-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.3); transform: translateY(-4px); }
.value-card .num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: var(--jad-blue-soft); margin-bottom: var(--space-3); }
.value-card h3 { color: var(--white); margin-bottom: var(--space-2); }
.value-card p { color: rgba(255,255,255,0.68); margin-bottom: 0; font-size: var(--text-sm); }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-5); padding-top: var(--space-5); padding-bottom: var(--space-5); }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: var(--text-sm); font-weight: 700; color: var(--ink-navy); }
.trust-item svg { width: 22px; height: 22px; color: var(--jad-blue); flex-shrink: 0; }

/* ===== Cards ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.grid { display: grid; gap: var(--space-6); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Category cards */
.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  background: var(--ink-navy);
}
.category-card .cat-photo {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--jad-blue) 0%, var(--ink-navy) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-3);
  position: relative;
  overflow: hidden;
}
.category-card .cat-photo img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.35));
  transition: transform var(--dur-slow) var(--ease-out);
}
.category-card:hover .cat-photo img { transform: scale(1.06); }
.category-card .cat-photo.is-media img { object-fit: contain; filter: none; }
.category-card .cat-body { padding: var(--space-4) var(--space-5) var(--space-5); display: flex; flex-direction: column; flex: 1; }
.category-card h3 { margin-bottom: var(--space-2); font-size: var(--text-base); color: var(--white); }
.category-card p { font-size: var(--text-sm); color: rgba(255,255,255,0.62); margin-bottom: var(--space-3); }
.category-card .count { font-size: var(--text-xs); font-weight: 700; color: #ffd166; text-transform: uppercase; letter-spacing: 0.06em; margin-top: auto; padding-top: var(--space-2); }
.category-card .count.is-placeholder { color: var(--jad-blue-soft); }

/* Value / feature cards */
.feature-card { padding: var(--space-6); }
.feature-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink-navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
}
.feature-card .icon-wrap svg { width: 26px; height: 26px; }
.feature-card .icon-wrap.accent { background: var(--kothari-orange); }

/* ===== Product cards (catalog) ===== */
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card .thumb {
  aspect-ratio: 1/1; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-4); position: relative;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-card .body { padding: var(--space-4); border-top: 1px solid var(--border); }
.product-card .cat-tag { font-size: var(--text-xs); font-weight: 700; color: var(--jad-blue-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.product-card h4 { margin: 0.3rem 0 0; font-size: var(--text-sm); font-weight: 700; }
.product-card .standard-tag {
  display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.45rem; font-size: 0.7rem; font-weight: 800;
  color: var(--white); background: var(--kothari-orange); border: none;
  border-radius: var(--radius-pill); padding: 0.25rem 0.65rem 0.25rem 0.5rem;
  letter-spacing: 0.02em;
}
.product-card .standard-tag svg { width: 12px; height: 12px; flex-shrink: 0; }
.product-card .sizes-label {
  display: block; margin-top: var(--space-3); font-size: var(--text-xs); font-weight: 700;
  color: var(--ink-navy); text-transform: uppercase; letter-spacing: 0.04em;
}
.product-card .sizes-row, .lightbox-sizes .sizes-row {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem;
}
.size-chip {
  font-size: 0.72rem; font-weight: 600; color: var(--jad-blue);
  background: rgba(37,47,168,0.07); border: 1px solid rgba(37,47,168,0.18);
  border-radius: var(--radius-pill); padding: 0.2rem 0.6rem; white-space: nowrap;
}
.lightbox-sizes { margin-top: var(--space-3); }
.lightbox-sizes .sizes-label { font-size: var(--text-xs); font-weight: 700; color: var(--ink-navy); text-transform: uppercase; letter-spacing: 0.04em; }

.catalog-toolbar {
  display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.search-box {
  flex: 1; min-width: 240px; display: flex; align-items: center; gap: var(--space-3);
  background: var(--white); border: 2.5px solid var(--ink-navy); border-radius: var(--radius-pill);
  padding: 0.9rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.search-box:focus-within { border-color: var(--jad-blue); box-shadow: var(--shadow-md); }
.search-box svg { width: 22px; height: 22px; color: var(--jad-blue); flex-shrink: 0; }
.search-box input { border: none; background: transparent; outline: none; width: 100%; font-size: var(--text-base); font-weight: 600; font-family: inherit; color: var(--ink-navy); }
.search-box input::placeholder { font-weight: 500; color: var(--text-muted); }

.chip-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.chip {
  padding: 0.5rem 1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--border);
  font-size: var(--text-xs); font-weight: 700; cursor: pointer; background: var(--white); color: var(--text-body);
  transition: all var(--dur-fast) var(--ease-out); white-space: nowrap;
}
.chip:hover { border-color: var(--jad-blue-soft); }
.chip.active { background: var(--jad-blue); color: var(--white); border-color: var(--jad-blue); }
.chip.chip-coming-soon { color: var(--kothari-orange); border-color: var(--kothari-orange-soft); }
.chip.chip-coming-soon.active { background: var(--kothari-orange); border-color: var(--kothari-orange); color: var(--white); }

.catalog-meta { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-4); }
.empty-state { text-align: center; padding: var(--space-10) var(--space-4); color: var(--text-muted); }
.empty-state svg { width: 48px; height: 48px; color: var(--border); margin: 0 auto var(--space-4); }

/* Results header (category / search view) */
.results-head { margin-bottom: var(--space-6); }
.back-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--text-sm); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--white); background: var(--jad-blue); border: 2px solid var(--jad-blue);
  padding: 0.7rem 1.3rem; border-radius: var(--radius-pill); margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.back-link svg { width: 16px; height: 16px; }
.back-link:hover { background: var(--ink-navy); border-color: var(--ink-navy); transform: translateX(-3px); box-shadow: var(--shadow-md); }
.results-head h2 { margin-bottom: var(--space-2); }
.results-head .results-desc { color: var(--text-muted); font-size: var(--text-base); max-width: 64ch; margin-bottom: var(--space-2); }
.load-more-wrap { text-align: center; margin-top: var(--space-8); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(14,21,66,0.82); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: var(--space-5);
}
.lightbox.open { display: flex; }
.lightbox-panel {
  background: var(--white); border-radius: var(--radius-lg); max-width: 480px; width: 100%;
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.lightbox-panel .thumb { aspect-ratio: 1/1; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: var(--space-8); }
.lightbox-panel .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-panel .info { padding: var(--space-6); position: relative; }
.lightbox-close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}
.lightbox-close svg { width: 18px; height: 18px; }

/* ===== Dark section (CTA band, testimonial) ===== */
.band-dark { background: var(--ink-navy); color: var(--white); }
.band-dark h2 { color: var(--white); }
.band-dark p { color: rgba(255,255,255,0.75); }
.cta-band { text-align: center; }
.cta-band .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.35); }
.cta-band .btn-outline:hover { border-color: var(--white); }

/* ===== Video cards ===== */
.video-card { overflow: hidden; }
.video-card .frame-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .body { padding: var(--space-4); }

/* ===== Timeline / steps ===== */
.step-row { display: flex; gap: var(--space-5); }
.step-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-50); color: var(--jad-blue); font-weight: 800; font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center; font-size: var(--text-base);
}

/* ===== Footer ===== */
.site-footer { background: var(--ink-navy); color: rgba(255,255,255,0.78); }
.site-footer p { color: rgba(255,255,255,0.78); }
.footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-bar .footer-brand { display: flex; align-items: center; margin-bottom: 0; }
.footer-bar .social-row { margin-top: 0; }
.footer-top { padding: var(--space-10) 0 var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: var(--space-8); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-5); }
.footer-brand img { height: 46px; width: auto; }
.site-footer h4 { color: var(--white); font-size: var(--text-base); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); }
.site-footer ul li { margin-bottom: var(--space-3); }
.site-footer a:hover { color: var(--white); }
.site-footer ul li a { font-size: var(--text-base); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--text-base); }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 0.15rem; color: var(--jad-blue-soft); }
.social-row { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-base), border-color var(--dur-base);
}
.social-row a:hover { background: var(--jad-blue); border-color: var(--jad-blue); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid var(--border-dark); padding: var(--space-5) 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3); font-size: var(--text-xs); color: rgba(255,255,255,0.7); padding-right: 76px; }
@media (max-width: 640px) {
  .footer-bottom .container { padding-right: var(--space-5); }
}
.footer-bottom .partner { display: flex; align-items: center; gap: 0.6rem; }
.footer-bottom .partner img { height: 20px; width: auto; background: var(--white); border-radius: 4px; padding: 3px 6px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* WhatsApp floating button */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base) var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: var(--white); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--jad-blue); color: var(--white);
  padding: 0.8rem 1.2rem; z-index: 300; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Page hero (inner pages) */
.page-hero { position: relative; background: linear-gradient(155deg, var(--ink-navy) 0%, var(--jad-blue) 130%); border-bottom: 1px solid var(--border); padding: var(--space-10) 0; overflow: hidden; }
.page-hero h1, .page-hero .breadcrumb, .page-hero p { color: var(--white); }
.page-hero .breadcrumb { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero p { color: rgba(255,255,255,0.78) !important; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(155deg, rgba(14,21,66,0.93) 0%, rgba(37,47,168,0.88) 60%, rgba(37,47,168,0.78) 130%),
    url('../assets/img/warehouse/warehouse-boxes-aisle.jpg') center 35% / cover no-repeat;
}

.page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-10); align-items: center; }
.page-hero-visual {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: 300px;
  padding: var(--space-6);
  display: flex; align-items: center; justify-content: center;
}
.page-hero-visual img { width: 100%; height: 100%; object-fit: contain; }
.page-hero-visual .tile-label {
  position: absolute; top: var(--space-4); left: var(--space-4); z-index: 2;
  background: var(--jad-blue); color: var(--white); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.45rem 0.9rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-visual { height: 220px; }
}
.breadcrumb { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: var(--space-3); }
.breadcrumb a:hover { color: var(--jad-blue); }

/* Map */
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Contact page layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-10); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--paper); border-radius: var(--radius-md); padding: var(--space-6); border: 1px solid var(--border); }
.contact-info-card li { display: flex; gap: var(--space-4); margin-bottom: var(--space-5); }
.contact-info-card .icon-wrap { width: 44px; height: 44px; border-radius: 50%; background: var(--jad-blue); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .icon-wrap svg { width: 20px; height: 20px; }
.contact-info-card .label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; margin-bottom: 0.2rem; }
.contact-info-card .value { font-weight: 700; color: var(--ink-navy); }

/* About page */
.symbol-block { display: flex; gap: var(--space-5); align-items: flex-start; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); }
.symbol-block .num { font-family: var(--font-display); font-weight: 800; color: var(--jad-blue-soft); font-size: var(--text-sm); }

/* Sticky mobile CTA bar (shared across all pages) */
.sticky-cta-bar { display: none; }
@media (max-width: 720px) {
  .sticky-cta-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(14,21,66,0.12);
    padding: var(--space-3); gap: var(--space-3);
  }
  .sticky-cta-bar .btn { flex: 1; padding: 0.9rem; }
  body { padding-bottom: 78px; }
}

/* ===== Certification document links ===== */
.cert-doc-link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: var(--space-3);
  font-size: var(--text-sm); font-weight: 700; color: var(--jad-blue);
  border-bottom: 1.5px solid var(--jad-blue-soft); padding-bottom: 2px;
}
.cert-doc-link:hover { color: var(--ink-navy); border-color: var(--ink-navy); }
.cert-doc-link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ===== Intro splash (first visit only) ===== */
html.intro-active, html.intro-active body { overflow: hidden; height: 100%; }
.intro-splash {
  position: fixed; inset: 0; z-index: 9999; cursor: pointer;
  background: radial-gradient(circle at 50% 42%, var(--jad-blue) 0%, var(--ink-navy) 78%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4);
  animation: introFadeOut 0.6s ease 2.4s forwards;
}
.intro-splash .intro-ring {
  position: absolute; top: 50%; left: 50%; width: 130px; height: 130px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  animation: introRing 1.5s ease-out 0.1s forwards;
}
.intro-splash .intro-ring.ring-2 { animation-delay: 0.4s; }
.intro-splash .intro-icon {
  width: 96px; height: 96px; opacity: 0; transform: scale(0.35) rotate(-10deg);
  animation: introIconIn 0.85s cubic-bezier(.34,1.56,.64,1) 0.15s forwards;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}
.intro-splash .intro-wordmark {
  height: 34px; opacity: 0; transform: translateY(14px);
  animation: introTextIn 0.6s ease 0.75s forwards;
}
.intro-splash .intro-tag {
  opacity: 0; color: rgba(255,255,255,0.82); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; transform: translateY(10px);
  animation: introTextIn 0.6s ease 1.05s forwards;
}
@keyframes introIconIn { to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes introTextIn { to { opacity: 1; transform: translateY(0); } }
@keyframes introRing {
  from { transform: translate(-50%,-50%) scale(0.5); opacity: 0.9; }
  to { transform: translate(-50%,-50%) scale(2.1); opacity: 0; }
}
@keyframes introFadeOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .intro-splash, .intro-splash * { animation: none !important; }
}

/* YouTube fallback card (shown if the embed cannot play) */
.yt-fallback { position: absolute; inset: 0; display: block; background: #000; }
.yt-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.yt-fallback .yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: #ff0000; display: flex; align-items: center; justify-content: center; }
.yt-fallback .yt-play svg { width: 30px; height: 30px; color: #fff; }
.yt-fallback .yt-note { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: var(--text-sm); font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,0.7); }
