@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #D49A2A;
  --primary-dark: #B8851E;
  --secondary: #E58A17;
  --accent: #B3131B;
  --bg: #FAF7F2;
  --white: #ffffff;
  --text-dark: #222222;
  --text-mid: #3D3328;
  --text-light: #7A6A58;
  --border: #EDE5D8;
  --grad1: linear-gradient(135deg, #7A4A00 0%, #D49A2A 55%, #E58A17 100%);
  --shadow: 0 10px 40px rgba(212,154,42,0.14);
  --shadow-hover: 0 20px 60px rgba(212,154,42,0.26);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text-dark); overflow-x: hidden; }

/* ── NAV — mobile-first ── */
:root { --nav-h: 64px; --pad-x: clamp(1rem, 5vw, 5%); }
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad-x); display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); transition: box-shadow .3s, background .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(212,154,42,0.18); background: rgba(255,255,255,0.99); }
.nav-logo { display: flex; align-items: center; gap: clamp(6px,1.5vw,10px); text-decoration: none; flex-shrink: 0; min-width: 0; max-width: calc(100% - 80px); }
.nav-logo .logo-img {
  height: clamp(30px, 5vw, 42px);
  width: auto; max-width: clamp(90px,15vw,120px);
  object-fit: contain; border-radius: 6px; display: block; flex-shrink: 0;
}
.logo-img-footer { filter: brightness(0) invert(1); opacity: .9; }
.nav-logo span { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(.75rem,2vw,1.05rem); color: var(--text-dark); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-logo span small { display: block; font-size: clamp(.55rem,1vw,.65rem); font-weight: 400; color: var(--text-light); }
.nav-links { display: none; align-items: center; gap: clamp(14px,2vw,32px); list-style: none; }
.nav-links a { text-decoration: none; font-size: clamp(.78rem,1.2vw,.9rem); font-weight: 500; color: var(--text-mid); transition: color .25s; position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: none; background: var(--grad1); color: #fff; border: none; border-radius: 8px; padding: clamp(8px,1.2vw,10px) clamp(14px,2vw,22px); font-size: clamp(.78rem,1.1vw,.88rem); font-weight: 600; cursor: pointer; transition: transform .2s, box-shadow .2s; text-decoration: none; white-space: nowrap; flex-shrink: 0; align-items: center; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,154,42,.40); }
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-right: -8px; background: none; border: none; border-radius: 8px; transition: background .2s; flex-shrink: 0; outline: none; }
.hamburger:hover { background: rgba(212,154,42,0.08); }
.hamburger span { width: 22px; height: 2px; background: var(--text-dark); transition: all .3s ease; border-radius: 2px; display: block; }
nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-drawer { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 10px var(--pad-x) 18px; flex-direction: column; gap: 3px; box-shadow: 0 12px 40px rgba(0,0,0,.10); z-index: 998; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
nav.open .nav-mobile-drawer { display: flex; }
.nav-mobile-drawer li { list-style: none; }
.nav-mobile-drawer a { display: flex; align-items: center; padding: 12px 14px; border-radius: 10px; text-decoration: none; font-size: clamp(.88rem,2.5vw,.95rem); font-weight: 500; color: var(--text-mid); transition: all .2s; min-height: 48px; }
.nav-mobile-drawer a:hover, .nav-mobile-drawer a.active { background: #FFF8EC; color: var(--primary); }
.nav-mobile-drawer .drawer-cta { margin-top: 10px; display: flex; align-items: center; justify-content: center; background: var(--grad1); color: #fff; padding: 14px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: clamp(.88rem,2.5vw,.92rem); min-height: 52px; }

/* PAGE HERO */
.page-hero {
  min-height: clamp(40vh, 52vh, 60vh); background: var(--grad1);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: clamp(5rem, 12vw, 7rem) var(--pad-x) clamp(2.5rem, 6vw, 4rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .2; pointer-events: none; }
.blob-1 { width: 400px; height: 400px; background: #B3131B; top: -80px; right: 5%; }
.blob-2 { width: 300px; height: 300px; background: #E58A17; bottom: -60px; left: 5%; }
.page-hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center;
}
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px; padding: 6px 18px; margin-bottom: 20px;
  color: #FFD97A; font-size: .8rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
}
.page-hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(2rem,4.5vw,3.2rem); font-weight: 800; color: #fff; margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 580px; margin: 0 auto; line-height: 1.75; }

/* HERO BREADCRUMB — force white colors inside gradient hero */
.page-hero .hero-breadcrumb ul { color: rgba(255,255,255,.7) !important; }
.page-hero .hero-breadcrumb li { color: rgba(255,255,255,.7) !important; }
.page-hero .hero-breadcrumb li:last-child { color: #fff !important; font-weight: 700; }
.page-hero .hero-breadcrumb a { color: rgba(255,255,255,.7) !important; text-decoration: none; }
.page-hero .hero-breadcrumb a:hover { color: #fff !important; }

/* SECTIONS */
section { padding: clamp(3.5rem, 8vw, 5.5rem) var(--pad-x); }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-size: clamp(.68rem,1.5vw,.8rem); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--primary); flex-shrink: 0; }
h2.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.5rem, 4.5vw, 2.6rem); font-weight: 800; color: var(--text-dark); line-height: 1.2; margin-bottom: 16px; }
h2.section-title span { color: var(--primary); }
.section-sub { font-size: clamp(.85rem,2vw,1rem); color: var(--text-light); line-height: 1.75; max-width: 580px; }
.section-head { margin-bottom: clamp(2rem,5vw,3.5rem); }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-label::before { display: none; }
.section-head.center .section-sub { margin: 0 auto; }

/* WHO WE ARE */
.who-we-are { background: #fff; }
.two-col { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.who-text p { font-size: .97rem; color: var(--text-light); line-height: 1.85; margin-bottom: 16px; }
.who-highlights { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(212,154,42,0.04);
}
.highlight-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--grad1);
  transform: scaleY(0);
  transition: transform .4s ease;
  transform-origin: top;
}
.highlight-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.highlight-item:hover::before {
  transform: scaleY(1);
}
.hl-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.highlight-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.highlight-item p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Stats Grid for About */
.who-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 20px);
  align-items: stretch;
}

.who-stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(22px, 4vw, 40px) clamp(16px, 3vw, 28px);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: clamp(160px, 22vw, 220px);
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(212,154,42,0.04);
}
.who-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.who-stat-card strong {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  display: block;
}
.who-stat-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.who-stat-card p {
  font-size: clamp(0.75rem, 1.5vw, 0.82rem);
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

/* MISSION / VISION */
.mv-section { background: var(--bg); }
.mv-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem,3vw,2rem); }
.mv-card { background: #fff; border-radius: 20px; border: 1px solid var(--border); transition: all .4s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; display: flex; flex-direction: column; }
.mv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: transparent; }

.mv-img-wrap { width: 100%; height: 280px; overflow: hidden; position: relative; }
.mv-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; filter: brightness(.95); }
.mv-card:hover .mv-img-wrap img { transform: scale(1.06); filter: brightness(1.05); }

.mv-content { padding: 40px 36px; background: #fff; flex-grow: 1; }
.mv-content h3 { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; color: var(--primary); }
.mv-content p { color: var(--text-light); line-height: 1.85; font-size: .95rem; margin: 0; }

/* CORE VALUES */
.values-section { background: #fff; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: clamp(14px,2.5vw,24px); }
.value-card {
  background: var(--bg); border-radius: 16px; padding: 36px 30px;
  border: 1px solid var(--border); transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden; display: block;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad1); transform: scaleX(0); transition: transform .4s ease; transform-origin: left;
}
.value-card:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow); border-color: transparent; }
.value-card:hover::before { transform: scaleX(1); }
.val-num { 
  font-family: 'Outfit', sans-serif; font-size: .85rem; font-weight: 800; 
  color: var(--primary); margin-bottom: 16px; display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 14px; background: rgba(212,154,42,0.10); border-radius: 8px; letter-spacing: 1px;
}
.value-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; color: var(--text-dark); }
.value-card p { font-size: .9rem; color: var(--text-light); line-height: 1.65; margin: 0; }

/* INFRASTRUCTURE FEATURES */
.infra-features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px,2vw,20px); margin-bottom: clamp(2rem,4vw,3.5rem); }
.infra-feat { 
  background: #fff; 
  border-radius: 16px; 
  padding: 32px 28px; 
  border: 1px solid var(--border); 
  text-align: left; 
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.infra-feat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.infra-feat:hover { 
  transform: translateY(-6px); 
  box-shadow: var(--shadow); 
  border-color: transparent; 
}
.infra-feat:hover::before {
  transform: scaleX(1);
}
.infra-feat h4 { 
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem; 
  font-weight: 800; 
  margin-bottom: 8px; 
  color: var(--text-dark);
}
.infra-feat p { 
  font-size: .85rem; 
  color: var(--text-light); 
  line-height: 1.6;
}

/* TEAM — Mobile: horizontal scroll carousel */
.team-section { background: #fff; }

.team-grid {
  display: flex;
  flex-direction: row;
  gap: clamp(14px, 3vw, 20px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: var(--pad-x);
  padding-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.team-grid::-webkit-scrollbar { display: none; }

.team-card {
  background: var(--bg);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 36px) clamp(18px, 3vw, 24px);
  text-align: center;
  border: 1.5px solid var(--border);
  transition: all .3s;
  /* Carousel: each card snaps — ~75vw wide, min 220px */
  flex: 0 0 clamp(220px, 72vw, 280px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; border-color: var(--primary); }

.team-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(212,154,42,0.06);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.team-badge::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px dashed var(--primary);
  opacity: 0;
  transform: scale(.8);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover .team-badge {
  background: var(--grad1);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(212,154,42,0.28);
  transform: scale(1.05);
}
.team-card:hover .team-badge::before { opacity: .4; transform: scale(1); }
.team-card h3 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: .8rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: .82rem; color: var(--text-light); line-height: 1.6; }

/* CONTACT BANNER */
.contact-banner { background: var(--grad1); padding: 80px 5%; text-align: center; position: relative; overflow: hidden; }
.contact-banner::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E"); }
.contact-banner h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.contact-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 32px; }
.banner-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.btn-primary { background: #fff; color: var(--primary); border: none; padding: 14px 28px; border-radius: 10px; font-size: .95rem; font-weight: 700; cursor: pointer; transition: all .25s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: #FFF8EC; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); padding: 14px 28px; border-radius: 10px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: all .25s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-3px); }

/* FOOTER */
footer { background: #0D0D0D; color: rgba(255,255,255,.75); padding: clamp(2rem,5vw,2.5rem) var(--pad-x) clamp(1rem,3vw,1.5rem); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem,4vw,2rem); margin-bottom: clamp(1.75rem,4vw,3rem); }
.footer-brand p { font-size: clamp(.78rem,1.5vw,.88rem); line-height: 1.75; margin-top: 14px; max-width: 360px; }
.footer-brand .nav-logo span { color: #fff; }
.footer-col h4 { color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(.82rem,1.5vw,.95rem); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,.65); text-decoration: none; font-size: clamp(.76rem,1.3vw,.85rem); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: clamp(1rem,2.5vw,1.75rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: clamp(.7rem,1.2vw,.82rem); }

/* FACILITY GALLERY — MOBILE FIRST */
.facility-gallery { background: #fff; }

/* ── Mobile base: 1 column, auto heights ── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 12px;
}

/* All items: reset any spanning — full width, fixed height */
.gallery-grid .gal-item {
  grid-column: auto;
  grid-row: auto;
  min-height: 200px;
}

/* ── 480px: 2 columns ── */
@media (min-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-grid .gal-item { min-height: 220px; }
}

.gal-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #0f172a;
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease, filter .4s ease;
  filter: brightness(.82);
}
.gal-item:hover img {
  transform: scale(1.08);
  filter: brightness(.45);
}

/* Bottom-to-top gradient overlay always visible */
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(10,15,40,.9) 0%,
    rgba(10,15,40,.2) 45%,
    rgba(10,15,40,0) 70%);
  display: flex;
  align-items: flex-end;
  padding: 20px 20px;
}
.gal-label {
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(6px);
  opacity: .85;
  transition: transform .35s ease, opacity .35s ease;
}
.gal-item:hover .gal-label {
  transform: translateY(0);
  opacity: 1;
}
.gal-label h4 {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem; font-weight: 700;
  color: #fff; margin-bottom: 2px;
  line-height: 1.2;
}
.gal-label p {
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  line-height: 1.3;
}


/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ══════════════════════════════════════
   ABOUT PAGE — RESPONSIVE BREAKPOINTS
   Mobile-first: 320 → 640 → 768 → 1024 → 1280 → 1440 → 1920 → 2560px
   ══════════════════════════════════════ */

/* ── 320px: tiny mobile ── */
@media (max-width: 374px) {
  .who-visual-grid { grid-template-columns: 1fr; }
  .infra-features  { grid-template-columns: 1fr; }
}

/* ── 640px: 2-col values ── */
@media (min-width: 640px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .mv-grid     { grid-template-columns: 1fr 1fr; }
}

/* ── 768px: tablet — show nav ── */
@media (min-width: 768px) {
  :root { --nav-h: 72px; }
  .nav-logo .logo-img { height: 42px; }
  .nav-links { display: flex; }
  .nav-cta   { display: flex; }
  .hamburger { display: none; }
  .nav-mobile-drawer { display: none !important; }

  .two-col  { grid-template-columns: 1fr 1fr; gap: clamp(3rem,5vw,4.5rem); }
  .infra-features { grid-template-columns: repeat(4, 1fr); }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 260px 260px 220px;
    gap: 14px;
  }
  /* Reset mobile min-height — grid-template-rows controls height now */
  .gallery-grid .gal-item { min-height: 0; }
  .gallery-grid .gal-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .gallery-grid .gal-item:nth-child(2) { grid-column: 3; grid-row: 1; }
  .gallery-grid .gal-item:nth-child(3) { grid-column: 4; grid-row: 1 / 3; }
  .gallery-grid .gal-item:nth-child(4) { grid-column: 3; grid-row: 2; }
  .gallery-grid .gal-item:nth-child(5) { grid-column: 1; grid-row: 3; }
  .gallery-grid .gal-item:nth-child(6) { grid-column: 2 / 4; grid-row: 3; }
  .gallery-grid .gal-item:nth-child(7) { grid-column: 4; grid-row: 3; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  /* Team — reset carousel → 2-col grid on tablet */
  .team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2.5vw, 24px);
    overflow-x: visible;
    padding-bottom: 0;
  }
  .team-card {
    flex: unset;
    scroll-snap-align: unset;
  }
}

/* ── 1024px: laptop ── */
@media (min-width: 1024px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(2rem,3vw,3rem); }
  /* Team — full auto-fit grid on desktop */
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* ── 1440px: large desktop ── */
@media (min-width: 1440px) {
  :root { --pad-x: clamp(4%,6vw,7%); }
}

/* ── 1920px: full HD ── */
@media (min-width: 1920px) {
  :root { --pad-x: clamp(6%,10vw,10%); }
}

/* ── 2560px: ultra-wide ── */
@media (min-width: 2560px) {
  :root { --nav-h: 80px; --pad-x: clamp(10%,15vw,15%); }
  .nav-logo .logo-img { height: 52px; }
}

