/* ==========================================================================
   SNP Infraventures — Main Stylesheet
   Theme: Premium Navy & Gold
   ========================================================================== */

:root {
  --navy-950: #060b18;
  --navy-900: #0a1128;
  --navy-800: #0f1c3f;
  --navy-700: #16295a;
  --navy-600: #1e3a72;
  --navy-500: #2b4d8f;
  --gold-600: #a67c1e;
  --gold-500: #c99a3b;
  --gold-400: #dfb85e;
  --gold-300: #eecd85;
  --cream-50: #fbf8f2;
  --cream-100: #f4ede0;
  --ink-900: #12141c;
  --ink-700: #3a3f4d;
  --ink-500: #676d7d;
  --ink-300: #9aa0ae;
  --line-200: #e6e2d8;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(10, 17, 40, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 17, 40, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 17, 40, 0.18);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--cream-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); margin: 0 0 0.5em; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-head p { color: var(--ink-500); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(166, 124, 30, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(166, 124, 30, 0.45); }
.btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(201, 154, 59, 0.12);
  color: var(--gold-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  gap: 16px;
}
.topbar-links { display: flex; gap: 22px; }
.topbar a:hover { color: var(--gold-400); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: var(--transition);
}
.topbar-social a:hover { background: var(--gold-500); color: var(--navy-950); }
.topbar-social svg { width: 13px; height: 13px; }

@media (max-width: 640px) {
  .topbar .topbar-item.hide-mobile { display: none; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 11, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-950);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-text .name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--white); letter-spacing: 0.01em; }
.brand-text .sub { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; font-size: 0.92rem; }
.header-phone svg { width: 17px; height: 17px; color: var(--gold-400); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: none;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .main-nav { display: none; position: absolute; top: 86px; left: 0; right: 0; background: var(--navy-950); flex-direction: column; align-items: stretch; padding: 10px 18px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-950);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(115deg, rgba(6,11,24,0.94) 20%, rgba(10,17,40,0.72) 55%, rgba(10,17,40,0.5) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(223,184,94,0.18) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
}
.hero .container { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 40px; }
.hero-inner { max-width: 720px; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 780px;
}
.hero-stats .stat-num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gold-400); font-weight: 700; }
.hero-stats .stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
@media (max-width: 900px) { .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 24px; } }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  z-index: 2;
}
.hero-scroll .line { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,0.7), transparent); animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  color: var(--white);
  padding: 150px 0 90px;
  background: var(--navy-950);
  overflow: hidden;
}
.page-hero .hero-bg { opacity: 1; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 12px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.breadcrumb a:hover { color: var(--gold-400); }
.page-hero p.lead { color: rgba(255,255,255,0.78); max-width: 640px; margin-top: 14px; font-size: 1.05rem; }

/* ---------- Marquee / logos ---------- */
.logos-strip { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--line-200); }
.logos-strip .marquee-track { display: flex; gap: 64px; align-items: center; overflow: hidden; }
.logos-strip .marquee-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-300); white-space: nowrap; font-weight: 700; }
.logo-list { display: flex; gap: 56px; flex-wrap: wrap; align-items: center; }
.logo-list span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink-300); letter-spacing: 0.02em; }

/* ---------- About / split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 460px; object-fit: cover; }
.split-media .float-card {
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 22px 26px;
  display: flex; align-items: center; gap: 16px;
  max-width: 260px;
}
@media (max-width: 560px) { .split-media .float-card { position: static; margin-top: 20px; max-width: none; } }
.float-card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--navy-900); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card .icon svg { width: 22px; height: 22px; color: var(--gold-400); }
.float-card strong { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: 1.15rem; }
.float-card span { font-size: 0.82rem; color: var(--ink-500); }

.check-list { margin-top: 24px; }
.check-list li { display: flex; gap: 12px; padding: 10px 0; align-items: flex-start; }
.check-list .tick { width: 22px; height: 22px; border-radius: 50%; background: rgba(201,154,59,0.15); color: var(--gold-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-list .tick svg { width: 12px; height: 12px; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-200);
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .num { font-family: var(--font-display); font-size: 0.85rem; color: var(--gold-500); font-weight: 700; margin-bottom: 12px; letter-spacing: 0.05em; }
.card .icon-badge {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card .icon-badge svg { width: 26px; height: 26px; color: var(--gold-400); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 0; }
.card .learn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.85rem; font-weight: 700; color: var(--navy-800); }
.card .learn svg { width: 14px; height: 14px; transition: var(--transition); }
.card:hover .learn svg { transform: translateX(4px); }

/* dark variant */
.card-dark { background: var(--navy-900); border-color: rgba(255,255,255,0.08); }
.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.6); }
.card-dark .icon-badge { background: rgba(223,184,94,0.14); }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 70px 0;
}
.stats-band .grid-4 { text-align: center; }
.stats-band .stat-num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-400); font-weight: 700; }
.stats-band .stat-label { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-top: 6px; }

/* ---------- Process / timeline ---------- */
.process { counter-reset: step; }
.process-item { position: relative; padding-left: 74px; padding-bottom: 44px; border-left: 1px dashed var(--line-200); margin-left: 27px; }
.process-item:last-child { border-color: transparent; padding-bottom: 0; }
.process-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: -27px; top: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold-500);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}
.process-item h4 { margin-bottom: 6px; font-size: 1.1rem; }
.process-item p { color: var(--ink-500); margin: 0; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; max-width: 800px; margin: 0 auto; }
.testi-slide {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-200);
}
.testi-slide .quote-mark { font-family: var(--font-display); font-size: 3.4rem; color: var(--gold-400); line-height: 1; margin-bottom: 6px; }
.testi-slide p.quote { font-size: 1.2rem; color: var(--navy-900); font-family: var(--font-display); font-style: italic; margin-bottom: 26px; }
.testi-author strong { display: block; color: var(--navy-900); }
.testi-author span { font-size: 0.85rem; color: var(--ink-500); }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line-200); padding: 0; }
.testi-dots button.active { background: var(--gold-500); width: 26px; border-radius: 5px; }
@media (max-width: 640px) { .testi-slide { padding: 30px 22px; } .testi-slide p.quote { font-size: 1.05rem; } }

/* ---------- Project / featured card ---------- */
.project-feature {
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .project-feature { grid-template-columns: 1fr; } }
.project-feature .pf-media { position: relative; min-height: 340px; }
.project-feature .pf-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.project-feature .pf-content { padding: 48px; }
.project-feature h3 { color: var(--white); font-size: 1.7rem; }
.project-feature p { color: rgba(255,255,255,0.7); }
.pf-meta { display: flex; flex-wrap: wrap; gap: 24px; margin: 26px 0; }
.pf-meta div span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-400); margin-bottom: 4px; }
.pf-meta div strong { font-size: 1rem; color: var(--white); }

.project-card { border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line-200); transition: var(--transition); }
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.project-card .pc-media { height: 220px; overflow: hidden; position: relative; }
.project-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .pc-media img { transform: scale(1.08); }
.project-card .pc-status { position: absolute; top: 14px; left: 14px; background: var(--gold-500); color: var(--navy-950); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 5px 12px; border-radius: 999px; }
.project-card .pc-body { padding: 24px; }
.project-card .pc-loc { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--ink-500); margin-bottom: 10px; }
.project-card .pc-loc svg { width: 14px; height: 14px; color: var(--gold-500); }
.project-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.project-card p { font-size: 0.9rem; color: var(--ink-500); margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 64px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(223,184,94,0.25), transparent 70%);
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,0.75); margin: 0; max-width: 480px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-band { flex-direction: column; text-align: center; padding: 44px 28px; } .cta-band p { max-width: none; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--navy-900); }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-200);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,154,59,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--ink-300); margin-top: 14px; }
.form-success { display: none; background: rgba(46,125,50,0.08); border: 1px solid rgba(46,125,50,0.3); color: #2e7d32; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 20px; }
.form-success.show { display: block; }

/* Contact info cards */
.contact-card { background: var(--white); border-radius: var(--radius-md); padding: 30px; border: 1px solid var(--line-200); display: flex; gap: 18px; }
.contact-card .icon-badge { width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0; }
.contact-card h4 { margin-bottom: 6px; font-size: 1.05rem; }
.contact-card p { color: var(--ink-500); margin: 0; font-size: 0.92rem; }
.contact-card a { color: var(--navy-800); font-weight: 600; }
.contact-card a:hover { color: var(--gold-600); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line-200); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-filters button {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line-200);
  background: var(--white); font-size: 0.85rem; font-weight: 600; color: var(--ink-500);
  transition: var(--transition);
}
.gallery-filters button.active, .gallery-filters button:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,11,24,0.85), transparent 60%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .g-overlay { opacity: 1; }
.g-overlay span { color: var(--white); font-size: 0.85rem; font-weight: 600; }

.lightbox {
  position: fixed; inset: 0; background: rgba(6,11,24,0.94); z-index: 500;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: rgba(255,255,255,0.1); border: none; color: var(--white);
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--gold-500); color: var(--navy-950); }
.lightbox .lb-close { top: 28px; right: 28px; }
.lightbox .lb-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 28px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { width: 38px; height: 38px; } }

/* ---------- Certifications ---------- */
.cert-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--line-200); overflow: hidden; box-shadow: var(--shadow-sm); }
.cert-card .cert-media { background: var(--navy-950); padding: 30px; display: flex; align-items: center; justify-content: center; height: 220px; }
.cert-card .cert-media svg { width: 70px; height: 70px; color: var(--gold-400); }
.cert-card .cert-body { padding: 26px; }
.cert-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.cert-card p { font-size: 0.88rem; color: var(--ink-500); }
.cert-card .cert-id { font-size: 0.78rem; color: var(--gold-600); font-weight: 700; letter-spacing: 0.04em; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item { border-bottom: 1px solid var(--line-200); }
.accordion-item button.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; padding: 22px 4px; text-align: left;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900); font-weight: 700;
}
.acc-trigger .plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-200); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-left: 16px; transition: var(--transition); position: relative; }
.acc-trigger .plus::before, .acc-trigger .plus::after { content:""; position:absolute; background: var(--navy-900); }
.acc-trigger .plus::before { width: 10px; height: 1.5px; }
.acc-trigger .plus::after { width: 1.5px; height: 10px; transition: var(--transition); }
.accordion-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.accordion-item.open .plus { background: var(--gold-500); border-color: var(--gold-500); }
.accordion-item.open .plus::before, .accordion-item.open .plus::after { background: var(--navy-950); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-panel-inner { padding: 0 4px 22px; color: var(--ink-500); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.65); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { color: var(--white); font-family: var(--font-display); font-size: 1rem; margin-bottom: 20px; }
.footer-about p { font-size: 0.9rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-950); }
.footer-social svg { width: 16px; height: 16px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-400); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 18px; font-size: 0.88rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ---------- Floating buttons ---------- */
.float-actions { position: fixed; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 300; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: var(--transition); border: none;
}
.float-btn.whatsapp { background: #25D366; color: var(--white); }
.float-btn.whatsapp svg { width: 26px; height: 26px; }
.float-btn.top { background: var(--white); color: var(--navy-900); opacity: 0; pointer-events: none; transform: translateY(10px); }
.float-btn.top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-btn:hover { transform: scale(1.08); }
.float-btn.top.show:hover { transform: scale(1.08) translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Misc ---------- */
.divider-gold { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); border-radius: 3px; margin: 0 auto 20px; }
.bg-navy { background: var(--navy-950); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.68); }
.bg-cream { background: var(--cream-100); }
.text-center { text-align: center; }

::selection { background: var(--gold-400); color: var(--navy-950); }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream-100); }
::-webkit-scrollbar-thumb { background: var(--gold-500); border-radius: 10px; }
