/* ============================================================
   SPNG GROUP — MASTER STYLESHEET v2.0
   Design System: Navy #0A1628 | Gold #C9A84C | Orange #D4520A
   Fonts: Playfair Display | Inter | Rajdhani
   All pages share this file.
============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --navy:        #0A1628;
  --navy-mid:    #0D1F3C;
  --navy-light:  #132952;
  --gold:        #C9A84C;
  --gold-lt:     #E4C76B;
  --gold-dk:     #A8882A;
  --orange:      #D4520A;
  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --gray:        #64748B;
  --gray-lt:     #94A3B8;
  --light-gray:  #E2E8F0;
  --green:       #16A34A;

  --ff-sans:  'Inter', sans-serif;
  --ff-disp:  'Playfair Display', serif;
  --ff-head:  'Rajdhani', sans-serif;

  --ease:      cubic-bezier(0.4,0,0.2,1);
  --trans:     all 0.35s var(--ease);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.16);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.10);
  --shadow-sm: 0 3px 12px rgba(0,0,0,0.06);
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:var(--ff-sans); background:var(--white); color:var(--navy); overflow-x:hidden; -webkit-font-smoothing:antialiased; }
img  { max-width:100%; display:block; }
a    { text-decoration:none; color:inherit; }
ul   { list-style:none; }
button { font-family:var(--ff-sans); }

/* ── GLOBAL MOBILE SAFETY ───────────────────────────────────── */
html { overflow-x:hidden; }
body { overflow-x:hidden; -webkit-text-size-adjust:100%; }
img  { max-width:100%; height:auto; }
* { -webkit-tap-highlight-color:transparent; }
/* All buttons min touch target */
button, a.btn-primary, a.btn-outline, a.btn-ghost, a.btn-navy, .nav-cta {
  min-height:44px;
}

/* ── LAYOUT HELPERS ─────────────────────────────────────────── */
.container { max-width:1360px; margin:0 auto; padding:0 5%; }
.section    { padding:6rem 0; }
.section.bg-off { background:var(--off-white); }
.section.bg-navy { background:var(--navy); }
.two-col, .grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; min-width:0; }
.two-col > *, .grid-2 > * { min-width:0; overflow-wrap:break-word; }
.three-col,.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.four-col,.grid-4  { display:grid; grid-template-columns:repeat(4,1fr); gap:1.8rem; }

/* ── TYPOGRAPHY HELPERS ─────────────────────────────────────── */
.section-badge {
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--ff-head); font-size:0.75rem; font-weight:700;
  letter-spacing:3px; text-transform:uppercase;
  color:var(--gold); margin-bottom:0.9rem;
}
.section-badge::before {
  content:''; display:block; width:26px; height:2px;
  background:var(--gold); border-radius:2px; flex-shrink:0;
}
.section-badge.orange { color:var(--orange); }
.section-badge.orange::before { background:var(--orange); }
.section-badge.white  { color:rgba(255,255,255,0.6); }
.section-badge.white::before { background:rgba(255,255,255,0.35); }
/* also .section-tag alias */
.section-tag { display:inline-flex; align-items:center; gap:10px; color:var(--gold); font-family:var(--ff-head); font-size:0.75rem; font-weight:700; letter-spacing:3px; text-transform:uppercase; margin-bottom:0.9rem; }
.section-tag::before { content:''; display:block; width:26px; height:2px; background:var(--gold); border-radius:2px; }
.section-tag.center,.section-badge.center { justify-content:center; }

.section-h2, .section-title {
  font-family:var(--ff-disp);
  font-size:clamp(1.9rem,3.8vw,3rem);
  font-weight:900; color:var(--navy); line-height:1.15;
  margin-bottom:1.1rem;
}
.section-h2 .accent, .section-title .accent { color:var(--gold); }
.section-h2.light, .section-title.light { color:var(--white); }

.section-h3 {
  font-family:var(--ff-disp); font-size:1.5rem; font-weight:700;
  color:var(--navy); margin-bottom:1rem; line-height:1.25;
}
.section-h3.light { color:#fff; }

.section-desc {
  font-size:1rem; color:var(--gray); line-height:1.85; max-width:620px;
}
.section-desc.light { color:rgba(255,255,255,0.62); }
.section-desc.center { margin:0 auto; }

.section-header { text-align:center; margin-bottom:1rem; }
.section-header .section-badge { justify-content:center; }
.section-header .section-h2, .section-header .section-title { max-width:700px; margin-left:auto; margin-right:auto; }
.section-header .section-desc { margin:0 auto; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display:inline-flex; align-items:center; gap:10px;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  color:var(--navy); padding:0.9rem 2rem; border-radius:50px;
  font-weight:700; font-size:0.92rem; transition:var(--trans);
  box-shadow:0 6px 24px rgba(201,168,76,0.35); border:none; cursor:pointer;
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 12px 36px rgba(201,168,76,0.5); }

.btn-outline {
  display:inline-flex; align-items:center; gap:10px;
  background:transparent; color:var(--navy); padding:0.85rem 1.9rem;
  border-radius:50px; font-weight:600; font-size:0.9rem;
  border:2px solid var(--navy); transition:var(--trans);
}
.btn-outline:hover { background:var(--navy); color:var(--white); }
.btn-outline.light { color:#fff; border-color:rgba(255,255,255,0.4); }
.btn-outline.light:hover { background:rgba(255,255,255,0.1); border-color:#fff; }

.btn-ghost {
  display:inline-flex; align-items:center; gap:10px;
  background:transparent; color:var(--white); padding:0.9rem 2rem;
  border-radius:50px; font-weight:600; font-size:0.9rem;
  border:2px solid rgba(255,255,255,0.3); transition:var(--trans);
}
.btn-ghost:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-3px); }

.btn-navy {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--navy); color:var(--white); padding:0.9rem 2rem;
  border-radius:50px; font-weight:700; font-size:0.92rem;
  transition:var(--trans); border:none; cursor:pointer;
}
.btn-navy:hover { background:var(--navy-light); transform:translateY(-2px); box-shadow:var(--shadow-md); }

.btn-send {
  width:100%; padding:1.1rem; border:none; border-radius:12px;
  cursor:pointer; font-family:var(--ff-sans); font-size:1rem; font-weight:700;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  color:var(--white); position:relative; overflow:hidden; transition:var(--trans);
}
.btn-send::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  transform:scaleX(0); transform-origin:left; transition:transform 0.4s ease;
}
.btn-send:hover::before { transform:scaleX(1); }
.btn-send span { position:relative; z-index:1; }

/* ── PRELOADER ───────────────────────────────────────────────── */
#preloader {
  position:fixed; inset:0; background:var(--navy); z-index:9999;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  transition:opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.gone {
  opacity:0; visibility:hidden; pointer-events:none;
}
/* When JS kills it instantly (repeat visits), no flash of navy overlay */
#preloader[style*="transition: none"].gone {
  display:none;
}
.pre-logo { height:70px; width:auto; object-fit:contain; margin-bottom:2rem; animation:preFloat 1.8s ease-in-out infinite; }
.pre-tagline { color:rgba(255,255,255,0.35); font-size:0.7rem; letter-spacing:4px; text-transform:uppercase; margin-bottom:2.5rem; font-family:var(--ff-head); }
.pre-bar  { width:200px; height:3px; background:rgba(255,255,255,0.08); border-radius:3px; overflow:hidden; }
.pre-fill { height:100%; background:linear-gradient(90deg,var(--gold),var(--orange)); border-radius:3px; animation:preLoad 2.2s ease forwards; }
@keyframes preLoad  { from{width:0} to{width:100%} }
@keyframes preFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:0 5%; display:flex; align-items:center; justify-content:space-between;
  transition:var(--trans); height:80px;
}
body.home #navbar { background:transparent; }
#navbar.scrolled, #navbar.solid {
  background:rgba(10,22,40,0.96); backdrop-filter:blur(20px);
  box-shadow:0 4px 32px rgba(0,0,0,0.3); height:68px;
}
.nav-logo-img { height:50px; width:auto; object-fit:contain; }

.nav-menu { display:flex; align-items:center; list-style:none; gap:0; }
.nav-menu>li { position:relative; }
.nav-menu>li>a {
  display:flex; align-items:center; gap:5px;
  color:rgba(255,255,255,0.82); font-size:0.85rem; font-weight:500;
  padding:0.55rem 0.9rem; transition:var(--trans); white-space:nowrap;
}
.nav-menu>li>a:hover { color:var(--gold); }
.nav-menu>li>a .arr { font-size:0.58rem; opacity:0.7; transition:transform 0.3s ease; }
.nav-menu>li:hover>a .arr { transform:rotate(180deg); }

/* Dropdown */
.dropdown {
  position:absolute; top:calc(100% + 6px); left:0;
  background:#0b1d38; border:1px solid rgba(255,255,255,0.08);
  border-radius:14px; min-width:240px; padding:0.6rem 0;
  box-shadow:0 20px 60px rgba(0,0,0,0.55);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:all 0.3s ease; z-index:200;
}
.nav-menu>li:hover .dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a {
  display:flex; align-items:center; gap:10px; padding:0.55rem 1.3rem;
  color:rgba(255,255,255,0.65); font-size:0.83rem; font-weight:500;
  transition:var(--trans);
}
.dropdown a:hover { color:var(--gold); background:rgba(201,168,76,0.08); padding-left:1.7rem; }
.dd-label { padding:0.6rem 1.3rem 0.15rem; font-size:0.65rem; font-weight:700; color:rgba(255,255,255,0.28); letter-spacing:2.5px; text-transform:uppercase; }
.dd-divider { height:1px; background:rgba(255,255,255,0.06); margin:0.35rem 0; }

.nav-cta {
  background:linear-gradient(135deg,var(--gold),var(--orange)) !important;
  color:var(--navy) !important; padding:0.5rem 1.4rem !important;
  border-radius:30px; font-weight:700 !important; margin-left:0.5rem;
}
.nav-cta:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(201,168,76,0.4); }

/* Hamburger (both .nav-hamburger and .hamburger work) */
.nav-hamburger, .hamburger {
  display:none; align-items:center; justify-content:center;
  flex-direction:column; gap:5px;
  cursor:pointer; padding:8px; background:none; border:none;
  color:var(--white); font-size:1.3rem;
}
.hamburger span {
  display:block; width:26px; height:2.5px;
  background:var(--white); border-radius:3px; transition:var(--trans);
}

/* Mobile Nav */
.mob-nav {
  position:fixed; top:0; right:0; bottom:0; width:min(85vw, 320px);
  background:var(--navy); z-index:998;
  display:flex; flex-direction:column; padding:5rem 6% 3rem;
  transform:translateX(100%); transition:transform 0.4s var(--ease); overflow-y:auto;
  box-shadow:-8px 0 40px rgba(0,0,0,0.4);
}
.mob-nav.open { transform:translateX(0); }
/* dim overlay when nav is open */
.mob-nav.open::before {
  content:''; position:fixed; inset:0; right:min(85vw,320px);
  background:rgba(0,0,0,0.5); z-index:-1;
}
.mob-close {
  position:absolute; top:1.4rem; right:5%;
  background:rgba(255,255,255,0.08); border:none; color:var(--white);
  font-size:1.2rem; cursor:pointer; line-height:1;
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.mob-nav>a {
  font-family:var(--ff-disp); font-size:1.35rem; font-weight:700; color:var(--white);
  padding:0.6rem 0; border-bottom:1px solid rgba(255,255,255,0.06); transition:var(--trans);
}
.mob-nav>a:hover { color:var(--gold); }
.mob-section-title { font-size:0.6rem; letter-spacing:3px; text-transform:uppercase; color:var(--gold); margin:1.2rem 0 0.35rem; font-weight:700; font-family:var(--ff-head); }
.mob-link { font-size:0.95rem; color:rgba(255,255,255,0.65); padding:0.4rem 0.8rem; border-radius:8px; transition:var(--trans); display:block; }
.mob-link:hover { background:rgba(255,255,255,0.06); color:var(--gold); }

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  padding:9rem 5% 5rem; position:relative; overflow:hidden;
  min-height:440px; display:flex; align-items:center;
  background-size:cover; background-position:center;
}
.page-hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(10,22,40,0.92) 0%,rgba(13,31,60,0.80) 100%);
  z-index:1;
}
.page-hero-content {
  position:relative; z-index:2;
  max-width:900px;
}
.page-hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(201,168,76,0.15); color:var(--gold);
  border:1px solid rgba(201,168,76,0.3); border-radius:50px;
  padding:0.35rem 1.1rem; font-family:var(--ff-head); font-size:0.72rem;
  font-weight:700; letter-spacing:2.5px; text-transform:uppercase; margin-bottom:1rem;
}
.page-hero-content h1 {
  font-family:var(--ff-disp); font-size:clamp(2.2rem,5vw,4rem);
  font-weight:900; color:var(--white); line-height:1.1; margin-bottom:0.9rem;
}
.page-hero-content p {
  font-size:1.05rem; color:rgba(255,255,255,0.65); max-width:560px; line-height:1.8; margin-bottom:1.3rem;
}
.breadcrumb {
  display:flex; align-items:center; gap:8px;
  font-size:0.73rem; color:rgba(255,255,255,0.45);
  letter-spacing:1px; text-transform:uppercase;
}
.breadcrumb a { color:var(--gold-lt); transition:color 0.2s; }
.breadcrumb a:hover { color:#fff; }
.breadcrumb span { color:rgba(255,255,255,0.3); }

/* ── TICKER ─────────────────────────────────────────────────── */
.ticker-wrap { background:linear-gradient(90deg,var(--gold) 0%,var(--orange) 100%); padding:0.8rem 0; overflow:hidden; }
.ticker { display:flex; animation:tickerMove 40s linear infinite; white-space:nowrap; width:max-content; }
.ticker-item { display:inline-flex; align-items:center; gap:0.7rem; color:var(--navy); font-weight:700; font-size:0.78rem; letter-spacing:1.5px; text-transform:uppercase; padding:0 2.2rem; flex-shrink:0; }
.ticker-item i { font-size:0.6rem; opacity:0.6; }
@keyframes tickerMove { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── STATS ROW (inner pages — light bg) ─────────────────────── */
.stats-row {
  background:var(--white); border-bottom:1px solid var(--light-gray); padding:3rem 5%;
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
}
/* When .stats-row wraps a .container (inner pages), span full width */
.stats-row > .container { grid-column:1/-1; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; max-width:1360px; margin:0 auto; }
.stat-item {
  text-align:center; padding:2rem 1.5rem;
  border-right:1px solid var(--light-gray); position:relative;
}
.stat-item:last-child { border-right:none; }
.stat-item::after {
  content:''; position:absolute; bottom:0; left:20%; right:20%;
  height:2px; background:linear-gradient(90deg,var(--gold),var(--orange));
  transform:scaleX(0); transform-origin:left; transition:transform 0.4s ease;
}
.stat-item:hover::after { transform:scaleX(1); }
.stat-num {
  font-family:var(--ff-disp); font-size:3rem; font-weight:900;
  color:var(--navy); line-height:1; display:inline;
}
.stat-suffix {
  font-family:var(--ff-disp); font-size:1.8rem; font-weight:900;
  color:var(--gold); display:inline;
}
.stat-label {
  font-size:0.75rem; color:var(--gray); text-transform:uppercase;
  letter-spacing:1.5px; margin-top:0.5rem; font-family:var(--ff-head); font-weight:700;
}

/* Dark stats cards (hero area) */
.stat-card {
  text-align:center; padding:2.5rem 1.5rem;
  border:1px solid rgba(201,168,76,0.18); border-radius:18px;
  background:rgba(255,255,255,0.025); transition:var(--trans); position:relative; overflow:hidden;
}
.stat-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--gold),var(--orange)); transform:scaleX(0); transform-origin:left; transition:transform 0.4s ease; }
.stat-card:hover { border-color:rgba(201,168,76,0.45); transform:translateY(-5px); }
.stat-card:hover::after { transform:scaleX(1); }
.stat-card .stat-num { font-family:var(--ff-disp); font-size:3.2rem; font-weight:900; color:var(--gold); line-height:1; margin-bottom:0.4rem; display:block; }
.stat-card .stat-lbl { color:rgba(255,255,255,0.52); font-size:0.76rem; letter-spacing:2px; text-transform:uppercase; }

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background:var(--white); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-sm); border:1px solid transparent; transition:var(--trans);
}
.card:hover { border-color:rgba(201,168,76,0.3); transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.card-img, .card img:first-child { width:100%; height:230px; object-fit:cover; display:block; }
.card-body { padding:1.6rem; }
.card-tag  { font-size:0.7rem; font-weight:700; color:var(--orange); letter-spacing:2px; text-transform:uppercase; margin-bottom:0.5rem; }
.card-title { font-family:var(--ff-disp); font-size:1.15rem; font-weight:700; color:var(--navy); margin-bottom:0.5rem; line-height:1.3; }
.card-desc  { font-size:0.87rem; color:var(--gray); line-height:1.7; }
.card-link  { display:inline-flex; align-items:center; gap:6px; color:var(--orange); font-size:0.84rem; font-weight:600; margin-top:0.9rem; transition:var(--trans); }
.card-link:hover { gap:10px; }

/* Light card alias */
.card-light {
  background:var(--white); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-sm); border:1px solid var(--light-gray); transition:var(--trans);
}
.card-light:hover { border-color:rgba(201,168,76,0.4); transform:translateY(-5px); box-shadow:var(--shadow-md); }

/* Dark card */
.card-dark {
  background:rgba(255,255,255,0.035); border:1px solid rgba(201,168,76,0.12);
  border-radius:20px; overflow:hidden; transition:var(--trans);
}
.card-dark:hover { border-color:rgba(201,168,76,0.5); transform:translateY(-8px); box-shadow:0 28px 70px rgba(0,0,0,0.5); }

/* ── FEATURE LIST ───────────────────────────────────────────── */
.feat-list { list-style:none; display:flex; flex-direction:column; gap:0.75rem; }
.feat-list li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:0.93rem; color:var(--gray); line-height:1.65;
}
/* Support both icon patterns */
.feat-list li i.fas { color:var(--gold); font-size:0.9rem; margin-top:3px; flex-shrink:0; }
.feat-list li .check {
  width:20px; height:20px; border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  flex-shrink:0; display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.feat-list li .check i { color:var(--navy); font-size:0.55rem; font-weight:900; }
.feat-list.light li { color:rgba(255,255,255,0.65); }

/* ── SUSTAINABILITY PILL ────────────────────────────────────── */
.sus-pill {
  display:inline-flex; align-items:center; gap:8px;
  padding:0.5rem 1.1rem; border-radius:50px;
  border:1px solid rgba(201,168,76,0.35); background:rgba(201,168,76,0.07);
  color:var(--navy); font-family:var(--ff-head); font-size:0.8rem; font-weight:700;
  letter-spacing:0.5px; transition:var(--trans);
}
.sus-pill:hover { background:rgba(201,168,76,0.15); border-color:var(--gold); }
.sus-pill i { color:var(--gold); }

/* ── TABS ───────────────────────────────────────────────────── */
.tabs-bar, .tabs {
  display:flex; border-bottom:2px solid var(--light-gray);
  margin-bottom:2.5rem; overflow-x:auto; gap:0; -webkit-overflow-scrolling:touch;
}
.tab-btn {
  padding:0.85rem 1.8rem; font-family:var(--ff-head); font-size:0.84rem; font-weight:700;
  letter-spacing:1.5px; text-transform:uppercase; color:var(--gray);
  background:none; border:none; border-bottom:3px solid transparent;
  cursor:pointer; transition:var(--trans); white-space:nowrap; margin-bottom:-2px;
  display:flex; align-items:center; gap:8px;
}
.tab-btn:hover:not(.active) { color:var(--navy); }
.tab-btn.active { color:var(--navy); border-bottom-color:var(--gold); }
.tab-pane { display:none; animation:fadeIn 0.4s ease; }
.tab-pane.active { display:block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

/* ── SPEC TABLE ─────────────────────────────────────────────── */
.spec-table { width:100%; border-collapse:collapse; border-radius:12px; overflow:hidden; box-shadow:var(--shadow-sm); }
.spec-table th { background:var(--navy); color:var(--gold); font-family:var(--ff-head); font-weight:700; letter-spacing:1px; padding:0.9rem 1.2rem; text-align:left; font-size:0.82rem; text-transform:uppercase; }
.spec-table td { padding:0.85rem 1.2rem; font-size:0.88rem; color:var(--navy); border-bottom:1px solid var(--light-gray); }
.spec-table tr:last-child td { border-bottom:none; }
.spec-table tr:nth-child(even) td { background:var(--off-white); }
.spec-table tr:hover td { background:rgba(201,168,76,0.05); }

/* ── PROCESS STEPS ──────────────────────────────────────────── */
.process-step {
  display:flex; gap:1.4rem; align-items:flex-start;
  padding:1.4rem; border-radius:14px; background:var(--off-white);
  margin-bottom:0.9rem; transition:var(--trans); border-left:3px solid transparent;
}
.process-step:hover { background:rgba(201,168,76,0.07); border-left-color:var(--gold); }
.process-num {
  width:46px; height:46px; border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--ff-disp); font-size:1rem; font-weight:900; color:var(--navy); flex-shrink:0;
}
.process-title { font-family:var(--ff-head); font-size:0.95rem; font-weight:700; color:var(--navy); margin-bottom:0.25rem; letter-spacing:0.4px; }
.process-desc  { font-size:0.84rem; color:var(--gray); line-height:1.65; }

/* ── GALLERY ────────────────────────────────────────────────── */
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
.gallery-item {
  border-radius:14px; overflow:hidden; position:relative;
  aspect-ratio:4/3; cursor:pointer; box-shadow:var(--shadow-sm);
  transition:var(--trans);
}
.gallery-item:hover { transform:scale(1.02); box-shadow:var(--shadow-lg); }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; }
.gallery-item:hover img { transform:scale(1.06); }
.gallery-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top,rgba(10,22,40,0.9) 0%,transparent 60%);
  opacity:0; transition:opacity 0.3s ease;
  display:flex; flex-direction:column; justify-content:flex-end; padding:1.2rem;
}
.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-caption { color:var(--white); font-family:var(--ff-head); font-size:0.87rem; font-weight:700; letter-spacing:0.4px; }
.gallery-tag {
  display:inline-block; background:var(--gold); color:var(--navy);
  border-radius:50px; padding:0.2rem 0.65rem; font-size:0.68rem;
  font-weight:700; margin-bottom:0.35rem; letter-spacing:0.5px; font-family:var(--ff-head);
}
.gallery-item.hidden { display:none; }

/* ── LIGHTBOX ────────────────────────────────────────────────── */
#lightbox {
  position:fixed; inset:0; background:rgba(0,0,0,0.93); z-index:9999;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:all 0.3s;
}
#lightbox.open { opacity:1; visibility:visible; }
.lb-inner { position:relative; max-width:90vw; max-height:90vh; }
.lb-inner img { max-width:90vw; max-height:80vh; border-radius:10px; display:block; }
.lb-close {
  position:absolute; top:-40px; right:0;
  background:none; border:none; color:#fff; font-size:1.8rem; cursor:pointer; line-height:1;
}
.lb-caption { color:rgba(255,255,255,0.75); text-align:center; margin-top:0.8rem; font-size:0.88rem; font-family:var(--ff-head); }

/* ── TIMELINE ────────────────────────────────────────────────── */
.timeline { position:relative; padding-left:2.5rem; }
.timeline::before { content:''; position:absolute; left:6px; top:0; bottom:0; width:2px; background:linear-gradient(to bottom,var(--gold),var(--orange)); }
.timeline-item { position:relative; padding:0 0 2.5rem 1.5rem; }
.timeline-dot { position:absolute; left:-2.4rem; top:4px; width:16px; height:16px; border-radius:50%; background:var(--gold); border:3px solid var(--white); box-shadow:0 0 0 3px var(--gold); }
.timeline-year  { font-family:var(--ff-head); font-size:0.82rem; font-weight:700; color:var(--gold); letter-spacing:2px; margin-bottom:0.25rem; }
.timeline-title { font-family:var(--ff-disp); font-size:1.05rem; font-weight:700; color:var(--navy); margin-bottom:0.35rem; }
.timeline-desc  { font-size:0.86rem; color:var(--gray); line-height:1.65; }

/* ── CONTACT FORM ────────────────────────────────────────────── */
.c-card { display:flex; gap:1.1rem; align-items:center; padding:1.2rem 1.5rem; background:var(--off-white); border-radius:14px; border:1px solid var(--light-gray); transition:var(--trans); margin-bottom:0.9rem; }
.c-card:hover { border-color:var(--gold); transform:translateX(5px); }
.c-ico { width:46px; height:46px; flex-shrink:0; border-radius:12px; background:linear-gradient(135deg,var(--navy),var(--navy-light)); display:flex; align-items:center; justify-content:center; color:var(--gold); font-size:1rem; }
.c-lbl { font-size:0.7rem; color:var(--gray); letter-spacing:1px; text-transform:uppercase; margin-bottom:0.2rem; }
.c-val { font-weight:600; color:var(--navy); font-size:0.9rem; }

.c-form { background:var(--off-white); border-radius:22px; padding:2.5rem; border:1px solid var(--light-gray); }
.fg { display:flex; flex-direction:column; gap:0.45rem; }
.fg.full { grid-column:1/-1; }
.fg label { font-size:0.75rem; font-weight:700; color:var(--navy); letter-spacing:0.8px; text-transform:uppercase; }
.fg input,.fg select,.fg textarea {
  border:2px solid var(--light-gray); border-radius:10px;
  padding:0.85rem 1.1rem; font-family:var(--ff-sans); font-size:0.9rem;
  color:var(--navy); outline:none; transition:border-color 0.3s ease; background:var(--white);
}
.fg input:focus,.fg select:focus,.fg textarea:focus { border-color:var(--gold); }
.fg textarea { resize:vertical; min-height:120px; }

/* Career form variant */
.form-group { display:flex; flex-direction:column; gap:0.45rem; margin-bottom:1.1rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.form-group label { font-family:var(--ff-head); font-size:0.78rem; font-weight:700; color:var(--navy); letter-spacing:0.8px; text-transform:uppercase; }
.form-group input, .form-group select, .form-group textarea {
  border:2px solid var(--light-gray); border-radius:10px;
  padding:0.85rem 1.1rem; font-family:var(--ff-sans); font-size:0.9rem;
  color:var(--navy); outline:none; transition:border-color 0.3s ease; background:var(--white);
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--gold); }
.form-group textarea { resize:vertical; min-height:110px; }
.file-input-wrap { position:relative; }
.file-input-wrap input[type=file] { opacity:0; position:absolute; inset:0; cursor:pointer; }
.file-input-label { display:flex; align-items:center; gap:0.8rem; padding:0.85rem 1.1rem; border-radius:10px; border:2px dashed var(--light-gray); cursor:pointer; transition:var(--trans); color:var(--gray); font-size:0.87rem; }
.file-input-label:hover { border-color:var(--gold); color:var(--navy); }

/* ── QUOTE BLOCK ────────────────────────────────────────────── */
.quote-block { padding:2.2rem; border-left:4px solid var(--gold); background:rgba(201,168,76,0.06); border-radius:0 16px 16px 0; margin:2rem 0; }
.quote-text   { font-family:var(--ff-disp); font-size:1.3rem; font-style:italic; color:var(--navy); line-height:1.55; margin-bottom:0.9rem; }
.quote-author { font-size:0.82rem; font-weight:700; color:var(--orange); letter-spacing:1.5px; text-transform:uppercase; }

/* ── HIGHLIGHT NUMBERS ──────────────────────────────────────── */
.hl-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:2rem; }
.hl-box  { text-align:center; padding:1.8rem 1rem; border-radius:14px; border:1px solid rgba(201,168,76,0.18); background:rgba(255,255,255,0.03); }
.hl-num  { font-family:var(--ff-disp); font-size:2.3rem; font-weight:900; color:var(--gold); line-height:1; margin-bottom:0.35rem; }
.hl-lbl  { font-size:0.73rem; color:rgba(255,255,255,0.5); letter-spacing:2px; text-transform:uppercase; }

/* ── WHATSAPP FLOAT ─────────────────────────────────────────── */
.whatsapp-float {
  position:fixed;
  bottom:2rem;
  right:5.5rem;          /* sits left of the back-to-top button */
  width:52px;
  height:52px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  font-size:1.55rem;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:500;
  box-shadow:0 6px 24px rgba(37,211,102,0.45);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  animation:waPulse 2.5s ease-in-out infinite;
  text-decoration:none;
}
.whatsapp-float:hover {
  transform:translateY(-4px) scale(1.08);
  box-shadow:0 12px 36px rgba(37,211,102,0.6);
  animation:none;
}
/* WhatsApp tooltip */
.whatsapp-float::before {
  content:'Chat with us';
  position:absolute;
  right:calc(100% + 12px);
  top:50%;
  transform:translateY(-50%);
  background:#1a1a1a;
  color:#fff;
  font-family:var(--ff-sans);
  font-size:0.72rem;
  font-weight:600;
  white-space:nowrap;
  padding:0.4rem 0.85rem;
  border-radius:20px;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.25s ease;
  letter-spacing:0.3px;
}
.whatsapp-float::after {
  content:'';
  position:absolute;
  right:calc(100% + 5px);
  top:50%;
  transform:translateY(-50%);
  border:5px solid transparent;
  border-left-color:#1a1a1a;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.25s ease;
}
.whatsapp-float:hover::before,
.whatsapp-float:hover::after { opacity:1; }

@keyframes waPulse {
  0%,100% { box-shadow:0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow:0 6px 24px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); }
}

/* ── BACK TO TOP ────────────────────────────────────────────── */
#btt {
  position:fixed; bottom:2rem; right:2rem; width:48px; height:48px;
  border-radius:50%; background:linear-gradient(135deg,var(--gold),var(--orange));
  color:var(--navy); font-size:1rem; display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:500; opacity:0; transform:translateY(20px);
  transition:var(--trans); box-shadow:0 6px 24px rgba(201,168,76,0.4);
  border:none;
}
#btt.show  { opacity:1; transform:translateY(0); }
#btt:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(201,168,76,0.5); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer, footer {
  background:#060E1E; color:var(--white);
  padding:5rem 5% 2.5rem;
}
.footer-grid, .foot-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1.2fr;
  gap:3.5rem; max-width:1360px; margin:0 auto;
  padding-bottom:3.5rem; border-bottom:1px solid rgba(255,255,255,0.07);
}
.footer-brand { }
.footer-logo, .foot-logo {
  height:52px; width:auto; object-fit:contain;
  margin-bottom:1.2rem;
}
.footer-brand p, .foot-desc {
  color:rgba(255,255,255,0.4); font-size:0.85rem; line-height:1.85; margin-bottom:1.6rem;
}
.footer-socials, .socials { display:flex; gap:0.7rem; margin-top:1rem; }
.footer-socials a, .soc {
  width:38px; height:38px; border-radius:10px;
  background:rgba(255,255,255,0.06); display:flex; align-items:center;
  justify-content:center; color:rgba(255,255,255,0.5); font-size:0.9rem; transition:var(--trans);
}
.footer-socials a:hover, .soc:hover { background:var(--gold); color:var(--navy); transform:translateY(-3px); }

.footer-heading, .foot-col-hd {
  font-family:var(--ff-head); font-size:0.85rem; font-weight:700;
  color:var(--white); letter-spacing:2.5px; text-transform:uppercase;
  margin-bottom:1.4rem; position:relative; padding-bottom:0.7rem;
}
.footer-heading::after, .foot-col-hd::after {
  content:''; position:absolute; bottom:0; left:0; width:26px; height:2px; background:var(--gold);
}
.footer-links, .foot-links { display:flex; flex-direction:column; gap:0.6rem; }
.footer-links a, .foot-links a { color:rgba(255,255,255,0.4); font-size:0.84rem; transition:var(--trans); }
.footer-links a:hover, .foot-links a:hover { color:var(--gold); padding-left:5px; }
.footer-contact { display:flex; flex-direction:column; gap:0.7rem; }
.footer-contact li { display:flex; align-items:flex-start; gap:0.7rem; color:rgba(255,255,255,0.4); font-size:0.84rem; line-height:1.5; }
.footer-contact li i { color:var(--gold); font-size:0.8rem; margin-top:3px; flex-shrink:0; }
.footer-bottom, .foot-bottom {
  max-width:1360px; margin:2rem auto 0;
  display:flex; justify-content:space-between; align-items:center;
  color:rgba(255,255,255,0.25); font-size:0.76rem;
}
.foot-motto { color:var(--gold); font-style:italic; }

/* ── DEFAULT SECTION SPACING (backward compat) ──────────────── */
section { padding:5.5rem 5%; max-width:100%; overflow-x:hidden; }
section.section { padding:6rem 0; }
section.stats-row { padding:3rem 5%; }

/* ── BACKWARD COMPAT — old page hero (about.html) ───────────── */
.page-hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center; z-index:0;
}
.page-hero-title {
  font-family:var(--ff-disp);
  font-size:clamp(2.2rem,5vw,4rem);
  font-weight:900; color:var(--white); line-height:1.1; margin-bottom:0.9rem;
}
.page-hero-title .accent { color:var(--gold); }
.page-hero-desc {
  font-size:1.05rem; color:rgba(255,255,255,0.65);
  max-width:560px; line-height:1.8;
}
/* Old section-tag alias (used in about.html index.html) */
/* Already covered by .section-tag rules above */

/* ── HOME PAGE SECTIONS ─────────────────────────────────────── */
.hero-section { min-height:100vh; position:relative; display:flex; align-items:center; background:var(--navy); overflow:hidden; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(201,168,76,0.12); color:var(--gold); border:1px solid rgba(201,168,76,0.28); border-radius:50px; padding:0.35rem 1rem; font-family:var(--ff-head); font-size:0.7rem; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; margin-bottom:1.2rem; }
.hero-h1 { font-family:var(--ff-disp); font-size:clamp(2.8rem,5.5vw,5rem); font-weight:900; color:var(--white); line-height:1.08; margin-bottom:1rem; }
.hero-h1 .accent { color:var(--gold); }
.hero-sub { font-family:var(--ff-head); font-size:1rem; font-weight:700; color:var(--orange); letter-spacing:3px; text-transform:uppercase; margin-bottom:0.8rem; }
.hero-desc { font-size:1.08rem; color:rgba(255,255,255,0.62); line-height:1.85; max-width:520px; margin-bottom:2rem; }
.hero-ctas { display:flex; gap:1rem; flex-wrap:wrap; }

/* ── SECTION BGs ────────────────────────────────────────────── */
.bg-navy    { background:var(--navy); }
.bg-off     { background:var(--off-white); }
.bg-dark-green { background:linear-gradient(135deg,#050D1A 0%,#0A2016 60%,#081510 100%); }

/* ── FEATURE BOXES ──────────────────────────────────────────── */
.feat-box { padding:2rem; border-radius:16px; border:1px solid var(--light-gray); transition:var(--trans); }
.feat-box:hover { border-color:var(--gold); box-shadow:var(--shadow-md); transform:translateY(-4px); }
.feat-box-icon { width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:1.1rem; }
.feat-box-title { font-family:var(--ff-head); font-size:0.95rem; font-weight:700; color:var(--navy); letter-spacing:0.5px; margin-bottom:0.45rem; }
.feat-box-desc  { font-size:0.86rem; color:var(--gray); line-height:1.65; }

/* ══════════════════════════════════════════════════════════════
   IMPACT SECTION — Light theme
══════════════════════════════════════════════════════════════ */
.impact-section { background:#F7F8FA; padding:5rem 0; }
.impact-header  { text-align:center; margin-bottom:3rem; }
.impact-top-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; margin-bottom:1.5rem; }
.impact-bot-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }

.impact-card {
  background:#fff; border:1px solid #E2E8F0; border-radius:18px;
  padding:2rem 1.5rem; text-align:center; position:relative; overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,0.05); transition:transform 0.3s ease, box-shadow 0.3s ease;
}
.impact-card:hover { transform:translateY(-6px); box-shadow:0 12px 36px rgba(0,0,0,0.1); border-color:var(--gold); }
.impact-card-bar { position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,var(--gold),var(--orange)); }
.impact-emoji  { font-size:2rem; margin-bottom:0.7rem; }
.impact-numrow { display:flex; align-items:flex-end; justify-content:center; gap:3px; line-height:1; }
.impact-numrow .stat-num { font-family:var(--ff-disp); font-size:3rem; font-weight:900; color:var(--navy); line-height:1; }
.impact-suf    { font-family:var(--ff-disp); font-size:1.5rem; font-weight:900; color:var(--orange); margin-bottom:0.25rem; }
.impact-lbl    { font-family:var(--ff-head); font-size:0.75rem; font-weight:700; color:var(--gray); letter-spacing:2px; text-transform:uppercase; margin-top:0.6rem; }
.impact-sub    { font-size:0.72rem; color:var(--gray-lt); margin-top:0.3rem; }

.impact-mini {
  background:#fff; border:1px solid #E2E8F0; border-radius:14px;
  padding:1.2rem 1.4rem; display:flex; align-items:center; gap:1rem;
  box-shadow:0 2px 8px rgba(0,0,0,0.04); transition:transform 0.3s ease, border-color 0.3s ease;
}
.impact-mini:hover { transform:translateY(-3px); border-color:var(--orange); }
.impact-mini-ico { width:46px; height:46px; border-radius:12px; background:rgba(212,82,10,0.08); display:flex; align-items:center; justify-content:center; font-size:1.3rem; flex-shrink:0; }
.impact-mini-num { font-family:var(--ff-disp); font-size:1.6rem; font-weight:900; color:var(--navy); line-height:1; }
.impact-mini-lbl { font-family:var(--ff-head); font-size:0.65rem; color:var(--gray); letter-spacing:1.5px; text-transform:uppercase; margin-top:0.2rem; }
.impact-tagline  { text-align:center; margin-top:2.5rem; padding-top:2rem; border-top:1px solid #E2E8F0; font-family:var(--ff-head); font-size:0.75rem; color:var(--gray-lt); letter-spacing:2.5px; text-transform:uppercase; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — COMPREHENSIVE MOBILE-FIRST
   Breakpoints: 1200 | 960 | 768 | 600 | 480 | 360
══════════════════════════════════════════════════════════════ */

/* ── 1200px ─────────────────────────────────────────────────── */
@media (max-width:1200px) {
  .four-col,.grid-4         { grid-template-columns:repeat(2,1fr); }
  .stats-row                { grid-template-columns:repeat(2,1fr); }
  .stats-grid               { grid-template-columns:repeat(2,1fr); }
  .footer-grid,.foot-grid   { grid-template-columns:1fr 1fr; gap:2.5rem; }
  .impact-top-grid          { grid-template-columns:repeat(2,1fr); }
  .impact-bot-grid          { grid-template-columns:repeat(2,1fr); }
}

/* ── 1024px — ensure two-col with inline gap still stacks ───── */
@media (max-width:1024px) {
  .two-col[style*="gap"], .grid-2[style*="gap"] { gap:2rem !important; }
}

/* ── 960px — tablets ────────────────────────────────────────── */
@media (max-width:960px) {
  /* Navigation */
  .nav-menu { display:none; }
  .nav-hamburger, .hamburger { display:flex; }
  #navbar { padding:0 4%; height:68px; }
  #navbar.scrolled, #navbar.solid { height:60px; }
  .nav-logo-img { height:42px; }

  /* Section padding */
  section { padding:4rem 4%; }
  section.section { padding:4.5rem 0; }
  .container { padding:0 4%; }

  /* Grid layouts */
  .two-col,.grid-2   { grid-template-columns:1fr; gap:2rem; }
  .three-col,.grid-3 { grid-template-columns:1fr 1fr; gap:1.5rem; }
  .four-col,.grid-4  { grid-template-columns:1fr 1fr; gap:1.2rem; }

  /* Hero */
  .page-hero { padding:8rem 4% 4rem; min-height:340px; }
  .page-hero-content h1 { font-size:clamp(1.8rem,5vw,3rem); }
  .page-hero-content p  { font-size:0.95rem; }

  /* Stats row */
  .stats-row  { grid-template-columns:1fr 1fr; padding:2rem 4%; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stat-item  { border-right:none; border-bottom:1px solid var(--light-gray); }
  .stat-num   { font-size:2.4rem; }

  /* Impact */
  .impact-section { padding:4rem 0; }
  .impact-top-grid { grid-template-columns:1fr 1fr; gap:1rem; }
  .impact-bot-grid { grid-template-columns:1fr 1fr; gap:1rem; }
  .impact-numrow .stat-num { font-size:2.4rem; }

  /* Form rows */
  .form-row { grid-template-columns:1fr; gap:0; }
  .fg { margin-bottom:1rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns:repeat(2,1fr); gap:0.8rem; }

  /* Tabs */
  .tabs-bar, .tabs { overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .tab-btn { padding:0.75rem 1.2rem; font-size:0.78rem; }

  /* Footer */
  .footer-grid,.foot-grid { grid-template-columns:1fr 1fr; gap:2rem; }

  /* Misc */
  .hero-ctas { gap:0.8rem; flex-wrap:wrap; }
  .btn-primary, .btn-outline, .btn-ghost, .btn-navy { font-size:0.88rem; padding:0.8rem 1.7rem; }
}

/* ── 768px — large phones ───────────────────────────────────── */
@media (max-width:768px) {
  /* Section */
  section { padding:3.5rem 4%; }
  section.section { padding:3.5rem 0; }

  /* Typography */
  .section-h2, .section-title { font-size:clamp(1.6rem,5vw,2.4rem); }
  .section-desc { font-size:0.92rem; }

  /* Hero CTA stack */
  .hero-ctas { flex-direction:column; align-items:flex-start; }

  /* Stat items */
  .stat-item { padding:1.2rem 0.8rem; }
  .stat-num  { font-size:2rem; }

  /* Impact */
  .impact-card { padding:1.5rem 1rem; }
  .impact-numrow .stat-num { font-size:2rem; }
  .impact-suf  { font-size:1.2rem; }
  .impact-mini { padding:1rem; gap:0.8rem; }
  .impact-mini-num { font-size:1.3rem; }
  .impact-mini-ico { width:40px; height:40px; font-size:1.1rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns:1fr 1fr; gap:0.7rem; }

  /* WhatsApp + BTT buttons adjust for smaller screens */
  .whatsapp-float { width:46px; height:46px; font-size:1.3rem; right:4.5rem; bottom:1.5rem; }
  #btt { width:42px; height:42px; font-size:0.95rem; right:1.5rem; bottom:1.5rem; }
  .whatsapp-float::before, .whatsapp-float::after { display:none; }

  /* Opening cards in career */
  .opening-card { flex-direction:column; align-items:flex-start; gap:1rem; }
}

/* ── 600px — phones ─────────────────────────────────────────── */
@media (max-width:600px) {
  section { padding:3rem 4%; }
  section.section { padding:3rem 0; }
  .container { padding:0 4%; }

  /* Grid collapses */
  .three-col,.grid-3 { grid-template-columns:1fr; }
  .four-col,.grid-4  { grid-template-columns:1fr 1fr; }
  .stats-row  { grid-template-columns:1fr 1fr; }
  .stats-grid { grid-template-columns:1fr 1fr; }

  /* Impact — 2 cols on phone */
  .impact-top-grid { grid-template-columns:1fr 1fr; gap:0.8rem; }
  .impact-bot-grid { grid-template-columns:1fr 1fr; gap:0.8rem; }
  .impact-card { padding:1.2rem 0.8rem; border-radius:14px; }
  .impact-numrow .stat-num { font-size:1.7rem; }
  .impact-suf { font-size:1rem; }
  .impact-emoji { font-size:1.5rem; margin-bottom:0.4rem; }
  .impact-lbl { font-size:0.65rem; letter-spacing:1px; }
  .impact-mini { padding:0.9rem; }
  .impact-mini-num { font-size:1.2rem; }

  /* Page hero */
  .page-hero { padding:7rem 4% 3.5rem; min-height:300px; }
  .page-hero-content h1 { font-size:1.8rem; }
  .page-hero-content p  { font-size:0.88rem; }
  .page-hero-badge { font-size:0.65rem; padding:0.3rem 0.9rem; }
  .breadcrumb { font-size:0.65rem; }

  /* Footer */
  .footer-grid,.foot-grid { grid-template-columns:1fr; gap:2rem; }
  .footer-bottom,.foot-bottom { flex-direction:column; gap:0.6rem; text-align:center; }
  .footer, footer { padding:3.5rem 4% 2rem; }

  /* Buttons full width on tiny screens */
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width:100%; justify-content:center; }

  /* Gallery */
  .gallery-grid { grid-template-columns:1fr 1fr; gap:0.6rem; }
  .gallery-item { border-radius:10px; }

  /* Tabs — smaller padding */
  .tab-btn { padding:0.65rem 0.9rem; font-size:0.74rem; letter-spacing:0.5px; }

  /* Cards */
  .card-img { height:180px; }

  /* About founders grid */
  .founders-row { grid-template-columns:1fr 1fr !important; gap:1rem !important; }

  /* Recognition grid */
  .recognition-grid { grid-template-columns:1fr 1fr !important; }

  /* Division cards in contact */
  .division-cards { grid-template-columns:1fr !important; }

  /* CSR grid */
  .csr-grid { grid-template-columns:1fr !important; }

  /* Pillar grid in sustainability */
  .pillar-grid { grid-template-columns:1fr !important; }

  /* Culture/yarn grids */
  .culture-grid { grid-template-columns:1fr 1fr !important; }
  .yarn-grid    { grid-template-columns:1fr 1fr !important; }

  /* Produce grid */
  .produce-grid { grid-template-columns:1fr 1fr !important; }

  /* Horticulture dairy grid */
  .dairy-grid { grid-template-columns:1fr !important; }

  /* SDG grid */
  .sdg-grid { grid-template-columns:repeat(3,1fr) !important; }

  /* Impact nums */
  .impact-nums { grid-template-columns:1fr 1fr !important; }

  /* Business cards on homepage */
  .biz-grid { grid-template-columns:1fr !important; }
  .biz-card-img { height:220px; }

  /* Why grid */
  .grid-3.why-grid { grid-template-columns:1fr !important; }

  /* Pillars3 */
  .pillars3 { grid-template-columns:1fr 1fr 1fr; }

  /* Cert band on homepage */
  [style*="grid-template-columns:repeat(5"] { grid-template-columns:repeat(2,1fr) !important; }
}

/* ── 480px — small phones ───────────────────────────────────── */
@media (max-width:480px) {
  /* Single column for all grids */
  .four-col,.grid-4 { grid-template-columns:1fr 1fr; }
  .gallery-grid { grid-template-columns:1fr 1fr; }

  /* Impact — 1 col on smallest phones */
  .impact-top-grid { grid-template-columns:1fr 1fr; }
  .impact-bot-grid { grid-template-columns:1fr 1fr; }

  /* Nav */
  .nav-logo-img { height:36px; }

  /* Hero title */
  .page-hero-content h1 { font-size:1.6rem; line-height:1.2; }

  /* Section headings */
  .section-h2,.section-title { font-size:1.6rem; }

  /* Buttons */
  .btn-primary, .btn-outline, .btn-ghost, .btn-navy { padding:0.75rem 1.4rem; font-size:0.84rem; }

  /* Story cards in CSR */
  .story-card { flex-direction:column; }
  .story-img  { width:100% !important; height:160px !important; }

  /* Founders */
  .founders-row { grid-template-columns:1fr !important; }
  .recognition-grid { grid-template-columns:1fr !important; }

  /* SDG */
  .sdg-grid { grid-template-columns:repeat(2,1fr) !important; }

  /* Culture grid */
  .culture-grid { grid-template-columns:1fr !important; }
  .yarn-grid    { grid-template-columns:1fr 1fr !important; }
}

/* ── 360px — very small phones ──────────────────────────────── */
@media (max-width:360px) {
  section { padding:2.5rem 3%; }
  .container { padding:0 3%; }
  .nav-logo-img { height:32px; }
  .impact-top-grid { grid-template-columns:1fr 1fr; gap:0.6rem; }
  .impact-bot-grid { grid-template-columns:1fr 1fr; gap:0.6rem; }
  .impact-numrow .stat-num { font-size:1.5rem; }
  .pillars3 { grid-template-columns:1fr 1fr; }
  .gallery-grid { grid-template-columns:1fr 1fr; }
  .tab-btn { padding:0.55rem 0.8rem; font-size:0.7rem; }
}
