/* =========================================================
   ANCHOR BARQZAAR — DESIGN SYSTEM
   Black / Gold luxury enterprise theme
   ========================================================= */

:root{
  --navy-950:#08080a;
  --navy-900:#101114;
  --navy-850:#16171c;
  --navy-800:#1c1e24;
  --navy-700:#262832;
  --navy-600:#333642;
  --gold-300:#f7e3ab;
  --gold-400:#f3d27a;
  --gold-500:#d4af37;
  --gold-600:#c9a227;
  --gold-700:#8a6a14;
  --cream:#f6f2e8;
  --white:#ffffff;
  --text-light:#dfe4f0;
  --text-muted:#93a0bd;
  --text-dark:#1a2338;

  --font-display:'Cormorant Garamond', serif;
  --font-brand:'Marcellus', serif;
  --font-body:'Jost', sans-serif;

  --radius:18px;
  --radius-sm:10px;
  --ease:cubic-bezier(.22,1,.36,1);
  --shadow-gold: 0 20px 60px -20px rgba(201,162,39,.45);
  --shadow-navy: 0 30px 80px -30px rgba(3,10,25,.7);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--navy-950);
  color:var(--text-light);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; }
svg{ display:block; }

.container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 28px;
}
.section{ position:relative; padding:130px 0; }
.eyebrow{
  display:block;
  font-family:var(--font-body);
  font-size:12.5px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--gold-500);
  margin:0 0 18px;
  font-weight:500;
}
.section-title{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(2.1rem, 3.6vw, 3.4rem);
  color:var(--white);
  line-height:1.12;
  margin:0 0 22px;
}
.section-lead{
  font-size:1.1rem;
  color:var(--text-muted);
  max-width:640px;
}
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:17px 34px;
  border-radius:100px;
  font-size:14.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:600;
  border:1px solid transparent;
  overflow:hidden;
  isolation:isolate;
  transition:transform .45s var(--ease), box-shadow .45s var(--ease);
}
.btn span{ position:relative; z-index:2; }
.btn-gold{
  background:linear-gradient(135deg,var(--gold-300),var(--gold-600) 60%,var(--gold-700));
  color:var(--navy-950);
  box-shadow:var(--shadow-gold);
}
.btn-gold:hover{ transform:translateY(-3px) scale(1.02); box-shadow:0 26px 70px -18px rgba(201,162,39,.65); }
.btn-outline{
  border-color:rgba(255,255,255,.28);
  color:var(--white);
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(6px);
}
.btn-outline:hover{ background:rgba(255,255,255,.1); transform:translateY(-3px); }
.btn-block{ width:100%; }

/* =========================================================
   PRELOADER
   ========================================================= */
#preloader{
  position:fixed; inset:0; z-index:9999;
  background:radial-gradient(circle at 50% 40%, var(--navy-850), var(--navy-950) 70%);
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  transition:opacity .8s var(--ease), visibility .8s;
}
#preloader.done{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-inner{ text-align:center; }
.preloader-anchor{ width:90px; height:90px; margin:0 auto; }
.preloader-anchor .anchor-ring, .preloader-anchor .anchor-line{
  fill:none;
  stroke:var(--gold-500);
  stroke-width:5;
  stroke-linecap:round;
  stroke-dasharray:340;
  stroke-dashoffset:340;
  animation:drawAnchor 1.8s var(--ease) forwards infinite;
}
@keyframes drawAnchor{
  0%{ stroke-dashoffset:340; }
  55%{ stroke-dashoffset:0; }
  100%{ stroke-dashoffset:-340; }
}
.preloader-inner p{
  margin-top:22px; color:var(--gold-400); letter-spacing:.4em; font-size:12px; font-weight:600;
}

/* =========================================================
   CUSTOM CURSOR (desktop only)
   ========================================================= */
.cursor-dot,.cursor-ring{
  position:fixed; top:0; left:0; pointer-events:none; z-index:9998;
  border-radius:50%;
  transform:translate(-50%,-50%);
  transition:opacity .3s;
}
.cursor-dot{ width:6px; height:6px; background:var(--gold-500); }
.cursor-ring{ width:34px; height:34px; border:1px solid rgba(212,175,55,.55); transition:transform .18s var(--ease), opacity .3s; }
@media (hover:none), (pointer:coarse){
  .cursor-dot,.cursor-ring{ display:none; }
}

/* =========================================================
   PARTICLE CANVAS
   ========================================================= */
#particles-canvas{
  position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.55;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar{
  position:fixed; top:0; left:0; right:0; z-index:500;
  padding:22px 0;
  transition:padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.navbar.scrolled{
  padding:12px 0;
  background:rgba(6,14,28,.78);
  backdrop-filter:blur(18px) saturate(140%);
  box-shadow:0 10px 40px -20px rgba(0,0,0,.6);
  border-bottom:1px solid rgba(212,175,55,.14);
}
.nav-inner{
  max-width:1240px; margin:0 auto; padding:0 28px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo-img{ height:44px; width:auto; transition:height .4s var(--ease); }
.navbar.scrolled .nav-logo-img{ height:36px; }
.nav-links{ display:flex; align-items:center; gap:38px; }
.nav-link{
  font-size:13.5px; letter-spacing:.05em; text-transform:uppercase; font-weight:500;
  color:var(--text-light); position:relative; padding:6px 0;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--gold-500);
  transition:width .35s var(--ease);
}
.nav-link:hover::after{ width:100%; }
.nav-cta{
  padding:11px 24px; border-radius:100px; border:1px solid rgba(212,175,55,.5);
  color:var(--gold-400);
}
.nav-cta::after{ display:none; }
.nav-cta:hover{ background:rgba(212,175,55,.12); }
.nav-link.active{ color:var(--gold-400); }
.nav-link.active::after{ width:100%; }
.nav-cta.active{ background:rgba(212,175,55,.16); }
.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px; z-index:600;
}
.nav-toggle span{ width:24px; height:2px; background:var(--gold-400); transition:transform .3s var(--ease), opacity .3s; }
.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); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height:100vh;
  min-height:100dvh;
  display:flex; align-items:center; justify-content:center;
  padding:170px 24px 90px;
  overflow:hidden;
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.05), transparent 45%),
    radial-gradient(circle at 84% 82%, rgba(201,162,39,.26), transparent 45%),
    linear-gradient(180deg, rgba(8,8,10,0.75) 0%, rgba(16,17,20,0.9) 55%, var(--navy-950) 100%);
  z-index: 1;
}

.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(212,175,55,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,.06) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse at center, black 10%, transparent 72%);
  animation:gridDrift 40s linear infinite;
}
@keyframes gridDrift{ to{ background-position:640px 640px; } }
.hero-glow{ position:absolute; border-radius:50%; filter:blur(90px); pointer-events:none; }
.hero-glow-a{ width:520px; height:520px; background:rgba(212,175,55,.14); top:-180px; left:-160px; animation:floatGlow 12s ease-in-out infinite; }
.hero-glow-b{ width:460px; height:460px; background:rgba(201,162,39,.22); bottom:-160px; right:-120px; animation:floatGlow 14s ease-in-out infinite reverse; }
@keyframes floatGlow{ 0%,100%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(30px,-30px) scale(1.08); } }

.hero-content{ position:relative; z-index:2; max-width:920px; margin:0 auto; text-align:center; }
.hero-emblem{ display:flex; justify-content:center; margin-bottom:22px; }
.hero-anchor-svg{ width:74px; height:74px; overflow:visible; animation:emblemFloat 5s ease-in-out infinite; filter:drop-shadow(0 10px 24px rgba(201,162,39,.35)); }
@keyframes emblemFloat{ 0%,100%{ transform:translateY(0) rotate(0); } 50%{ transform:translateY(-10px) rotate(3deg); } }

.hero-title{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(2.6rem, 7vw, 5.4rem);
  line-height:1.05; margin:0 0 26px; color:var(--white);
}
.hero-title span{ display:block; }
.hero-title span:last-child{
  background:linear-gradient(120deg,var(--gold-300),var(--gold-600) 55%,var(--gold-400));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-sub{
  font-size:1.15rem; color:var(--text-muted); max-width:660px; margin:0 auto 42px;
}
.hero-actions{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; margin-bottom:70px; }

.hero-stats{
  display:grid; grid-template-columns:repeat(3,1fr); gap:0;
  border-top:1px solid rgba(255,255,255,.1); padding-top:34px;
}
.hero-stat{ text-align:center; border-left:1px solid rgba(255,255,255,.08); }
.hero-stat:first-child{ border-left:none; }
.hero-stat .counter{
  display:block; font-family:var(--font-display); font-weight:700;
  font-size:clamp(1.6rem,3vw,2.3rem); color:var(--gold-400);
}
.hero-stat small{ display:block; margin-top:6px; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); }

.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  width:26px; height:42px; border:1px solid rgba(255,255,255,.3); border-radius:20px;
  display:flex; justify-content:center; padding-top:8px; z-index:2;
}
.scroll-cue span{ width:4px; height:8px; border-radius:4px; background:var(--gold-400); animation:cueMove 1.8s ease-in-out infinite; }
@keyframes cueMove{ 0%{ transform:translateY(0); opacity:1; } 70%{ transform:translateY(14px); opacity:0; } 100%{ opacity:0; } }

/* =========================================================
   PAGE HEADER (interior pages)
   ========================================================= */
.page-header{
  position:relative; z-index:2;
  padding:168px 24px 76px;
  text-align:center;
  background:
    radial-gradient(circle at 14% 20%, rgba(255,255,255,.05), transparent 45%),
    radial-gradient(circle at 88% 78%, rgba(201,162,39,.16), transparent 45%),
    linear-gradient(180deg, rgba(8,8,10,0.7) 0%, var(--navy-900) 100%);
  overflow:hidden;
  background-size: cover;
  background-position: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.85);
  z-index: 1;
}
.page-header-inner{ max-width:760px; margin:0 auto; position:relative; z-index:2; }
.page-header .eyebrow{ justify-content:center; display:flex; }
.page-header h1{
  font-family:var(--font-display); font-weight:700; color:var(--white);
  font-size:clamp(2.2rem, 5vw, 3.6rem); line-height:1.1; margin:0 0 20px;
}
.page-header p{ color:var(--text-muted); font-size:1.05rem; max-width:600px; margin:0 auto; }
.page-header-crumb{
  display:flex; align-items:center; justify-content:center; gap:8px; margin-top:30px;
  font-size:12.5px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.08em;
}
.page-header-crumb a{ color:var(--text-muted); }
.page-header-crumb a:hover{ color:var(--gold-400); }
.page-header-crumb span{ color:var(--gold-500); }

/* =========================================================
   DIVISION PREVIEW GRID (home page)
   ========================================================= */
.division-preview-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; margin-top:56px; }
.division-preview-card{
  display:block; padding:30px 22px; border-radius:20px; text-align:center;
  background-color:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  transition:border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.division-preview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,17,20,0.75) 0%, rgba(8,8,10,0.95) 100%);
  z-index: 0;
  transition: opacity .35s var(--ease);
}
.division-preview-card:hover::before {
  opacity: 0.8;
}
.division-preview-card > * {
  position: relative;
  z-index: 2;
}
.division-preview-card:hover{ border-color:rgba(212,175,55,.4); box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform:translateY(-6px); }
.division-preview-icon{
  width:60px; height:60px; margin:0 auto 18px; border-radius:50%;
  background:linear-gradient(160deg, rgba(212,175,55,.16), rgba(212,175,55,.02));
  border:1px solid rgba(212,175,55,.35); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center;
}
.division-preview-icon svg{ width:28px; height:28px; }
.division-preview-card h4{ font-family:var(--font-display); font-size:1.15rem; color:var(--white); margin:0 0 8px; font-weight:700; }
.division-preview-card p{ color:var(--text-muted); font-size:.85rem; margin:0; }
.division-preview-more{ margin-top:44px; text-align:center; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner{
  position:relative; padding:90px 24px; text-align:center; overflow:hidden;
  background:linear-gradient(150deg,var(--navy-900),var(--navy-800));
}
.cta-banner::before{
  content:''; position:absolute; width:520px; height:520px; border-radius:50%;
  background:rgba(212,175,55,.14); filter:blur(100px); top:-220px; left:50%; transform:translateX(-50%);
}
.cta-banner-inner{ position:relative; z-index:2; max-width:640px; margin:0 auto; }
.cta-banner h2{ font-family:var(--font-display); font-weight:700; color:var(--white); font-size:clamp(1.8rem,3.4vw,2.6rem); margin:0 0 18px; }
.cta-banner p{ color:var(--text-muted); margin:0 0 32px; font-size:1.02rem; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee{
  position:relative; z-index:2;
  background:linear-gradient(90deg,var(--gold-600),var(--gold-400) 50%,var(--gold-600));
  padding:16px 0; overflow:hidden;
  border-top:1px solid rgba(0,0,0,.15); border-bottom:1px solid rgba(0,0,0,.15);
}
.marquee-track{
  display:flex; align-items:center; white-space:nowrap;
  animation:marqueeScroll 26s linear infinite;
  width:max-content;
}
.marquee-track span{
  font-family:var(--font-body); font-weight:600; font-size:14px; letter-spacing:.12em;
  color:var(--navy-950); padding:0 18px;
}
.marquee-track .dot{ width:6px; height:6px; border-radius:50%; background:var(--navy-950); opacity:.5; }
@keyframes marqueeScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* =========================================================
   TILT CARD BASE
   ========================================================= */
.tilt-card{ transform-style:preserve-3d; will-change:transform; transition:transform .25s var(--ease), box-shadow .3s var(--ease); }

/* =========================================================
   ABOUT
   ========================================================= */
.about{ background:var(--navy-900); }
.about-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:70px; align-items:start; }
.about-text p{ color:var(--text-muted); font-size:1.02rem; margin:0 0 18px; }
.about-badges{ display:flex; gap:14px; flex-wrap:wrap; margin-top:26px; }
.badge{
  padding:9px 18px; border-radius:100px; border:1px solid rgba(212,175,55,.4);
  font-size:12.5px; letter-spacing:.05em; text-transform:uppercase; color:var(--gold-400);
}
.about-stats{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.stat-card{
  background:linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:26px 22px;
  display:flex; flex-direction:column; gap:8px;
}
.stat-number{ font-family:var(--font-display); font-weight:700; font-size:1.7rem; color:var(--white); }
.stat-label{ font-size:12px; letter-spacing:.04em; color:var(--text-muted); text-transform:uppercase; }

/* =========================================================
   VISION / MISSION
   ========================================================= */
.vm{ background:linear-gradient(180deg,var(--navy-900),var(--navy-850)); }
.vm-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.vm-card{
  position:relative; padding:48px 42px; border-radius:24px; overflow:hidden;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
}
.vm-card-gold{ background:linear-gradient(160deg, rgba(212,175,55,.14), rgba(212,175,55,.02)); border-color:rgba(212,175,55,.3); }
.vm-index{
  display:inline-block; font-family:var(--font-display); font-size:13px; color:var(--gold-500);
  border:1px solid rgba(212,175,55,.4); padding:4px 12px; border-radius:100px; margin-bottom:20px; letter-spacing:.1em;
}
.vm-card h3{ font-family:var(--font-display); font-size:1.9rem; color:var(--white); margin:0 0 16px; }
.vm-card p{ color:var(--text-muted); font-size:1.02rem; }

/* =========================================================
   VALUES
   ========================================================= */
.values{ background:var(--navy-850); }
.values-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; margin-top:56px; }
.value-card{
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); border-radius:20px;
  padding:32px 24px; position:relative;
}
.value-number{ font-family:var(--font-display); font-size:2.2rem; color:rgba(212,175,55,.35); margin-bottom:18px; }
.value-card h4{ margin:0 0 10px; color:var(--white); font-size:1.15rem; font-family:var(--font-display); font-weight:700; }
.value-card p{ margin:0; color:var(--text-muted); font-size:.94rem; }

/* =========================================================
   DIVISIONS
   ========================================================= */
.divisions{ background:linear-gradient(180deg,var(--navy-850),var(--navy-900)); }
.division-list{ display:flex; flex-direction:column; gap:26px; margin-top:60px; }
.division-card{
  display:grid; grid-template-columns:280px 1fr; gap:0;
  background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.08); border-radius:26px;
  overflow:hidden;
}
.division-visual{
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px;
  padding:40px 24px;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: center;
  border-right:1px solid rgba(255,255,255,.06);
}
.division-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212,175,55,.24), transparent 70%), rgba(8,8,10,.85);
  z-index: 1;
}
.division-visual > * {
  position: relative;
  z-index: 2;
}
.division-num{
  font-family:var(--font-display); font-size:3.4rem; font-weight:700; color:rgba(255,255,255,.08);
  position:absolute; top:14px; left:20px;
}
.division-icon{
  width:78px; height:78px; border-radius:50%;
  background:linear-gradient(160deg, rgba(212,175,55,.16), rgba(212,175,55,.02));
  border:1px solid rgba(212,175,55,.35);
  display:flex; align-items:center; justify-content:center; color:var(--gold-400);
}
.division-icon svg{ width:38px; height:38px; }
.division-body{ padding:38px 40px; }
.division-body h3{ font-family:var(--font-display); font-size:1.7rem; color:var(--white); margin:0 0 8px; }
.division-tag{ color:var(--gold-400); font-size:.96rem; margin:0 0 14px; font-weight:500; }
.division-desc{ color:var(--text-muted); margin:0 0 20px; }
.division-toggle{
  display:inline-flex; align-items:center; gap:8px; background:none; border:none; color:var(--gold-500);
  font-size:13px; letter-spacing:.08em; text-transform:uppercase; padding:0; font-weight:600;
}
.division-toggle svg{ transition:transform .35s var(--ease); }
.division-toggle[aria-expanded="true"] svg{ transform:rotate(180deg); }
.division-items{
  display:grid; grid-template-columns:1fr 1fr; gap:10px 26px;
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
  margin-top:0;
}
.division-items.open{ max-height:400px; opacity:1; margin-top:20px; }
.division-items li{
  color:var(--text-light); font-size:.92rem; padding-left:18px; position:relative;
}
.division-items li::before{
  content:''; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background:var(--gold-500);
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why{ background:var(--navy-900); }
.why-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center; }
.why-text p{ color:var(--text-muted); margin-top:16px; }
.why-list{ display:grid; grid-template-columns:1fr 1fr; gap:16px 24px; }
.why-item{
  display:flex; align-items:center; gap:14px; padding:16px 18px; border-radius:14px;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); font-size:.95rem;
}
.why-check{
  flex:none; width:26px; height:26px; border-radius:50%; background:var(--gold-400);
  display:flex; align-items:center; justify-content:center;
}

/* =========================================================
   APPROACH TIMELINE
   ========================================================= */
.approach{ background:linear-gradient(180deg,var(--navy-900),var(--navy-850)); }
.timeline{ position:relative; max-width:720px; margin:70px auto 0; padding-left:50px; }
.timeline-svg{ position:absolute; left:9px; top:6px; bottom:6px; width:4px; height:calc(100% - 12px); }
.timeline-track{ stroke:rgba(255,255,255,.12); stroke-width:4; }
.timeline-progress{ stroke:var(--gold-500); stroke-width:4; stroke-dasharray:1000; stroke-dashoffset:1000; }
.timeline-item{ position:relative; padding-bottom:56px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-node{
  position:absolute; left:-50px; top:0; width:38px; height:38px; border-radius:50%;
  background:var(--navy-850); border:2px solid var(--gold-500); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700;
}
.timeline-text h4{ margin:4px 0 0 6px; font-family:var(--font-display); font-size:1.35rem; color:var(--white); font-weight:700; }

/* =========================================================
   CLIENTS
   ========================================================= */
.clients{ background:var(--navy-850); }
.clients-cloud{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:50px; }
.client-chip{
  padding:12px 22px; border-radius:100px; border:1px solid rgba(255,255,255,.12);
  font-size:.9rem; color:var(--text-light); background:rgba(255,255,255,.02);
  transition:border-color .3s, color .3s, transform .3s;
}
.client-chip:hover{ border-color:var(--gold-500); color:var(--gold-400); transform:translateY(-3px); }

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philosophy{
  position:relative; padding:150px 24px;
  background:linear-gradient(160deg,var(--navy-950),var(--navy-800));
  text-align:center;
}
.philosophy-inner{ max-width:820px; margin:0 auto; position:relative; }
.quote-mark{ width:52px; height:36px; color:rgba(212,175,55,.4); margin:0 auto 24px; }
.philosophy p{
  font-family:var(--font-display); font-weight:600; font-size:clamp(1.6rem,3.4vw,2.5rem);
  color:var(--white); line-height:1.35; margin:0 0 26px;
}
.philosophy span{ text-transform:uppercase; letter-spacing:.25em; font-size:12px; color:var(--gold-500); font-weight:600; }

/* =========================================================
   OBJECTIVES
   ========================================================= */
.objectives{ background:var(--navy-900); }
.objectives-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; margin-top:56px; }
.objective-card{
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); border-radius:20px;
  padding:30px 22px; min-height:200px; display:flex; flex-direction:column; gap:16px;
}
.objective-num{ font-family:var(--font-display); font-size:1.8rem; color:var(--gold-500); font-weight:700; }
.objective-card p{ margin:0; color:var(--text-muted); font-size:.92rem; }

/* =========================================================
   LEADERSHIP
   ========================================================= */
.leadership{ background:linear-gradient(180deg,var(--navy-900),var(--navy-950)); }
.chairman-card{
  position:relative; max-width:900px; margin:0 auto 90px; text-align:center;
  padding:60px 50px; border-radius:28px;
  background:radial-gradient(circle at 50% 0%, rgba(212,175,55,.12), transparent 60%), rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
}
.quote-mark-small{ width:40px; height:28px; margin:0 auto 18px; }
.chairman-eyebrow{ text-transform:uppercase; letter-spacing:.25em; font-size:12px; color:var(--gold-500); font-weight:600; margin:0 0 14px; }
.chairman-card h3{ font-family:var(--font-display); font-size:1.9rem; color:var(--white); margin:0 0 26px; }
.chairman-text{ color:var(--text-muted); margin:0 0 16px; font-size:1.02rem; }
.chairman-sign{ margin-top:30px; display:flex; flex-direction:column; gap:4px; }
.sign-name{ font-family:var(--font-display); font-size:1.3rem; color:var(--gold-400); font-weight:700; }
.sign-role{ font-size:.85rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:.08em; }

.leader-profile{ display:grid; grid-template-columns:300px 1fr; gap:60px; align-items:center; max-width:1000px; margin:0 auto; }
.leader-visual{ position:relative; display:flex; align-items:center; justify-content:center; aspect-ratio:1; }
.leader-monogram{
  width:210px; height:210px; border-radius:50%;
  background:linear-gradient(160deg,var(--navy-800),var(--navy-950));
  border:1px solid rgba(212,175,55,.4);
  display:flex; align-items:center; justify-content:center; position:relative; z-index:2;
  box-shadow:var(--shadow-navy);
}
.leader-monogram span{ font-family:var(--font-display); font-size:4rem; font-weight:700; color:var(--gold-400); }
.leader-ring{
  position:absolute; inset:-18px; border-radius:50%; border:1px dashed rgba(212,175,55,.35);
  animation:spinRing 24s linear infinite;
}
@keyframes spinRing{ to{ transform:rotate(360deg); } }
.leader-role{ color:var(--gold-400); font-weight:600; margin:6px 0 18px; }
.leader-info h3{ font-family:var(--font-display); font-size:2rem; color:var(--white); margin:0; }
.leader-info p{ color:var(--text-muted); }
.leader-tags{ display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 24px; }
.leader-tags span{
  padding:8px 16px; border-radius:100px; border:1px solid rgba(255,255,255,.14); font-size:.82rem; color:var(--text-light);
}
.leader-info blockquote{
  margin:0; padding-left:20px; border-left:2px solid var(--gold-500);
  font-family:var(--font-display); font-size:1.2rem; color:var(--white); font-style:italic;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact{ background:var(--navy-950); }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.contact-info p{ color:var(--text-muted); margin:16px 0 34px; }
.contact-cards{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:30px; }
.contact-card{
  display:flex; align-items:flex-start; gap:14px; padding:18px; border-radius:16px;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  transition:border-color .3s, transform .3s;
}
.contact-card:hover{ border-color:rgba(212,175,55,.4); transform:translateY(-3px); }
.contact-card svg{ width:22px; height:22px; color:var(--gold-500); flex:none; margin-top:2px; }
.contact-card span{ display:block; font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); margin-bottom:4px; }
.contact-card strong{ font-size:.92rem; color:var(--white); font-weight:500; line-height:1.4; }
.map-frame{ border-radius:18px; overflow:hidden; border:1px solid rgba(255,255,255,.1); height:260px; filter:grayscale(.3) invert(.92) contrast(.9); }
.map-frame iframe{ width:100%; height:100%; border:0; }

.contact-form{
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:24px; padding:44px;
}
.contact-form h3{ font-family:var(--font-display); color:var(--white); font-size:1.6rem; margin:0 0 24px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.contact-form label{ display:flex; flex-direction:column; gap:8px; font-size:.85rem; color:var(--text-muted); }
.form-full{ margin-bottom:22px; }
.contact-form input, .contact-form select, .contact-form textarea{
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.14); border-radius:12px;
  padding:13px 16px; color:var(--white); font-size:.95rem; outline:none;
  transition:border-color .3s, background .3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  border-color:var(--gold-500); background:rgba(255,255,255,.06);
}
.contact-form textarea{ resize:vertical; }
.form-status{ margin:16px 0 0; font-size:.88rem; min-height:20px; }
.form-status.success{ color:#10B981; background:rgba(16,185,129,.1); }

/* Embedded Chat Mode */
.embedded-chat-container {
    width: 100%;
    margin: 0 auto;
}
.chat-widget.embedded-mode {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    width: 100%;
    height: 600px;
    max-height: 80vh;
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}
.chat-widget.embedded-mode .chat-body {
    flex: 1;
}
.chat-widget.embedded-mode .chat-close {
    display: none;
}
.form-status.error{ color:#f0897f; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ background:var(--navy-950); border-top:1px solid rgba(255,255,255,.06); padding:80px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:60px; }
.footer-logo{ margin-bottom:16px; }
.footer-brand p{ color:var(--text-muted); font-size:.92rem; max-width:260px; }
.footer-col h5{ color:var(--white); font-family:var(--font-display); font-size:1.05rem; margin:0 0 18px; }
.footer-col ul li{ margin-bottom:12px; color:var(--text-muted); font-size:.9rem; }
.footer-col ul li a{ color:var(--text-muted); transition:color .3s; }
.footer-col ul li a:hover{ color:var(--gold-400); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.06); padding:22px 28px; text-align:center;
}
.footer-bottom p{ margin:0; font-size:.82rem; color:var(--text-muted); }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-top{
  position:fixed; bottom:calc(28px + env(safe-area-inset-bottom, 0px)); left:calc(28px + env(safe-area-inset-left, 0px)); z-index:400;
  width:46px; height:46px; border-radius:50%;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .4s, transform .4s, visibility .4s, background .3s;
  backdrop-filter:blur(10px);
}
.back-top.visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-top:hover{ background:rgba(212,175,55,.16); }

/* =========================================================
   FLOATING ACTIONS
   ========================================================= */
.floating-actions{
  position:fixed; bottom:calc(26px + env(safe-area-inset-bottom, 0px)); right:calc(26px + env(safe-area-inset-right, 0px)); z-index:600;
  display:flex; flex-direction:column; gap:16px; align-items:flex-end;
}
.float-btn{
  position:relative; width:60px; height:60px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:none; color:var(--white);
  box-shadow:0 16px 40px -10px rgba(0,0,0,.5);
  transition:transform .35s var(--ease);
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}
.float-btn:hover{ transform:scale(1.08) translateY(-2px); }
.float-whatsapp{ background:linear-gradient(160deg,#3fdc7f,#1fa855); }
.float-whatsapp svg{ width:28px; height:28px; }
.float-chat{ background:linear-gradient(160deg,var(--gold-300),var(--gold-600)); color:var(--navy-950); }
.float-chat svg{ width:26px; height:26px; }
.float-btn::before{
  content:''; position:absolute; inset:-6px; border-radius:50%;
  border:2px solid currentColor; opacity:.5; animation:pulseRing 2.4s ease-out infinite;
  pointer-events:none;
}
.float-whatsapp::before{ color:#2fbf67; }
.float-chat::before{ color:var(--gold-500); }
@keyframes pulseRing{ 0%{ transform:scale(.9); opacity:.6; } 100%{ transform:scale(1.5); opacity:0; } }
.float-badge{
  position:absolute; top:-4px; right:-4px; width:20px; height:20px; border-radius:50%;
  background:#e0453b; color:#fff; font-size:11px; font-weight:700;
  display:flex; align-items:center; justify-content:center; border:2px solid var(--navy-950);
}
.float-badge.hidden{ display:none; }
.float-tooltip{
  position:absolute; right:72px; top:50%; transform:translateY(-50%) translateX(6px);
  background:var(--navy-900); color:var(--white); padding:8px 14px; border-radius:8px; font-size:12.5px;
  white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .3s, transform .3s;
  border:1px solid rgba(255,255,255,.1);
}
.float-btn:hover .float-tooltip{ opacity:1; transform:translateY(-50%) translateX(0); }

/* =========================================================
   CHAT WIDGET
   ========================================================= */
.chat-widget{
  position:fixed; bottom:104px; right:26px; z-index:650;
  width:370px; max-width:calc(100vw - 32px); height:520px; max-height:calc(100vh - 150px);
  background:var(--navy-900); border:1px solid rgba(212,175,55,.25); border-radius:22px;
  display:flex; flex-direction:column; overflow:hidden;
  box-shadow:0 40px 90px -20px rgba(0,0,0,.7);
  transform:translateY(24px) scale(.96); opacity:0; visibility:hidden; pointer-events:none;
  transition:transform .4s var(--ease), opacity .4s var(--ease), visibility .4s;
}
.chat-widget.open{ transform:translateY(0) scale(1); opacity:1; visibility:visible; pointer-events:auto; }
.chat-header{
  display:flex; align-items:center; gap:12px; padding:18px 18px;
  background:linear-gradient(120deg,var(--navy-850),var(--navy-800));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.chat-header img{ width:34px; height:34px; border-radius:50%; background:#000; padding:3px; }
.chat-header-text{ flex:1; display:flex; flex-direction:column; }
.chat-header-text strong{ color:var(--white); font-size:.92rem; }
.chat-header-text span{ font-size:.76rem; color:var(--text-muted); display:flex; align-items:center; gap:6px; }
.status-dot{ width:7px; height:7px; border-radius:50%; background:#3fdc7f; display:inline-block; }
.chat-close{ background:none; border:none; color:var(--text-muted); padding:6px; }
.chat-close:hover{ color:var(--white); }

.chat-body{
  flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:12px;
  scrollbar-width:thin; scrollbar-color:rgba(212,175,55,.4) transparent;
}
.chat-body::-webkit-scrollbar{ width:6px; }
.chat-body::-webkit-scrollbar-thumb{ background:rgba(212,175,55,.35); border-radius:10px; }

.chat-msg{ max-width:82%; padding:11px 15px; border-radius:16px; font-size:.9rem; line-height:1.5; animation:msgIn .3s var(--ease); }
@keyframes msgIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }
.chat-msg.bot{ align-self:flex-start; background:rgba(255,255,255,.06); color:var(--text-light); border-bottom-left-radius:4px; }
.chat-msg.user{ align-self:flex-end; background:linear-gradient(135deg,var(--gold-400),var(--gold-600)); color:var(--navy-950); border-bottom-right-radius:4px; font-weight:500; }
.chat-msg.typing{ display:flex; gap:4px; align-items:center; padding:14px 16px; }
.chat-msg.typing span{ width:6px; height:6px; border-radius:50%; background:var(--text-muted); animation:typingDot 1.2s infinite; }
.chat-msg.typing span:nth-child(2){ animation-delay:.2s; }
.chat-msg.typing span:nth-child(3){ animation-delay:.4s; }
@keyframes typingDot{ 0%,60%,100%{ transform:translateY(0); opacity:.4; } 30%{ transform:translateY(-4px); opacity:1; } }

.chat-quick-replies{ display:flex; flex-wrap:wrap; gap:8px; padding:0 18px 12px; }
.chat-quick-replies button{
  padding:8px 14px; border-radius:100px; border:1px solid rgba(212,175,55,.35);
  background:rgba(212,175,55,.06); color:var(--gold-400); font-size:.78rem;
  transition:background .25s, transform .25s;
}
.chat-quick-replies button:hover{ background:rgba(212,175,55,.16); transform:translateY(-1px); }

.chat-input{ display:flex; gap:10px; padding:14px 16px; border-top:1px solid rgba(255,255,255,.08); }
.chat-input input{
  flex:1; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:100px;
  padding:12px 18px; color:var(--white); font-size:.88rem; outline:none;
}
.chat-input input:focus{ border-color:var(--gold-500); }
.chat-input button{
  width:42px; height:42px; border-radius:50%; border:none;
  background:linear-gradient(135deg,var(--gold-400),var(--gold-600)); color:var(--navy-950);
  display:flex; align-items:center; justify-content:center; flex:none;
}

/* =========================================================
   RENDER PERFORMANCE
   Skip layout and paint work for offscreen heavy sections until
   the browser is about to scroll them into view.
   ========================================================= */
.division-list{ content-visibility:auto; contain-intrinsic-size:1px 2200px; }
.objectives-grid{ content-visibility:auto; contain-intrinsic-size:1px 260px; }
.clients-cloud{ content-visibility:auto; contain-intrinsic-size:1px 220px; }
.values-grid{ content-visibility:auto; contain-intrinsic-size:1px 320px; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal{
  opacity:0; transform:translateY(36px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity:1; transform:translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px){
  .about-grid{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:repeat(3,1fr); }
  .objectives-grid{ grid-template-columns:repeat(3,1fr); }
  .division-preview-grid{ grid-template-columns:repeat(3,1fr); }
  .division-card{ grid-template-columns:1fr; }
  .division-visual{ border-right:none; border-bottom:1px solid rgba(255,255,255,.06); flex-direction:row; padding:24px; }
  .division-num{ position:static; order:-1; }
  .leader-profile{ grid-template-columns:1fr; text-align:center; }
  .leader-visual{ margin:0 auto; max-width:220px; }
  .leader-tags{ justify-content:center; }
  .leader-info blockquote{ text-align:left; }
}

@media (max-width: 860px){
  .nav-links{
    position:fixed; top:0; right:0; height:100vh; height:100dvh; width:78%; max-width:340px;
    background:var(--navy-950); flex-direction:column; align-items:flex-start; justify-content:center;
    padding:40px; gap:30px;
    transform:translateX(100%); transition:transform .45s var(--ease);
    border-left:1px solid rgba(212,175,55,.15);
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
  .nav-cta{ order:99; }

  .hero-stats{ grid-template-columns:repeat(2,1fr); row-gap:26px; }
  .hero-stat:nth-child(3){ grid-column:1 / -1; border-left:none; }

  .why-grid, .contact-grid{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:repeat(2,1fr); }
  .objectives-grid{ grid-template-columns:repeat(2,1fr); }
  .division-preview-grid{ grid-template-columns:repeat(2,1fr); }
  .vm-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .page-header{ padding:150px 22px 60px; }
}

@media (max-width: 640px){
  .section{ padding:90px 0; }
  .container{ padding:0 20px; }
  .values-grid, .objectives-grid, .division-preview-grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .cta-banner{ padding:70px 20px; }
  .why-list{ grid-template-columns:1fr; }
  .contact-cards{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:34px; text-align:left; }
  .chairman-card{ padding:40px 24px; }
  .chat-widget{ right:16px; left:16px; width:auto; bottom:calc(96px + env(safe-area-inset-bottom, 0px)); }
  .floating-actions{ right:calc(16px + env(safe-area-inset-right, 0px)); bottom:calc(18px + env(safe-area-inset-bottom, 0px)); }
  .float-btn{ width:54px; height:54px; }
  .back-top{ left:calc(16px + env(safe-area-inset-left, 0px)); bottom:calc(18px + env(safe-area-inset-bottom, 0px)); width:42px; height:42px; }
  .division-body{ padding:28px 24px; }
  .division-items{ grid-template-columns:1fr; }
  .hero{ padding-top:150px; }
  .hero-actions{ flex-direction:column; width:100%; }
  .hero-actions .btn{ width:100%; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
