/* =========================================================
   UrbanEdge Innovations (Pty) Ltd — Stylesheet
   Design tokens
   ========================================================= */
:root{
  --navy: #0B2E6D;
  --navy-deep: #071c44;
  --steel-black: #0A0E17;
  --blue: #1E90FF;
  --blue-dim: #1673cc;
  --white: #FFFFFF;
  --steel: #E5E7EB;
  --steel-mid: #b9c0cc;
  --green: #2E7D32;
  --green-bright: #3fa246;
  --amber: #E8A932;
  --ink: #0F1620;
  --muted: #5b6472;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 6px;
  --container: 1240px;
  --nav-h: 84px;

  --shadow-soft: 0 20px 50px -20px rgba(11,46,109,0.35);
  --shadow-card: 0 10px 30px -12px rgba(10,14,23,0.25);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  -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); text-transform:uppercase; letter-spacing:.01em; margin:0 0 .5em; line-height:1.08; color:var(--navy); }
p{ margin:0 0 1em; color:var(--muted); line-height:1.7; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
section{ position:relative; }

:focus-visible{ outline:3px solid var(--blue); outline-offset:3px; }

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

/* =============== Eyebrow / labels =============== */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--blue); font-weight:600; margin-bottom:14px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--amber); display:inline-block; }
.on-dark .eyebrow{ color:#7fc4ff; }

/* =============== Buttons =============== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.06em; font-size:.86rem; font-weight:600;
  padding:16px 30px; border-radius:3px; border:2px solid transparent; cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-3px); }
.btn-primary{ background:var(--blue); color:var(--white); box-shadow:0 12px 24px -10px rgba(30,144,255,.6); }
.btn-primary:hover{ background:var(--blue-dim); box-shadow:0 16px 30px -8px rgba(30,144,255,.7); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.5); }
.btn-outline:hover{ border-color:var(--white); background:rgba(255,255,255,.08); }
.btn-outline-navy{ background:transparent; color:var(--navy); border-color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:var(--white); }
.btn-green{ background:var(--green); color:var(--white); box-shadow:0 12px 24px -10px rgba(46,125,50,.55); }
.btn-green:hover{ background:var(--green-bright); }
.btn-sm{ padding:12px 22px; font-size:.78rem; }
.btn-block{ width:100%; }

/* =============== Hazard strip divider (signature motif) =============== */
.hazard-strip{
  height:10px; width:100%;
  background:repeating-linear-gradient(135deg, var(--amber) 0 22px, var(--navy) 22px 44px);
  background-size:200% 100%;
}
.hazard-strip.thin{ height:6px; }

/* =============== Rivet plate card (signature motif) =============== */
.plate-card{
  position:relative;
  background:var(--white);
  border:1px solid var(--steel);
  border-radius:2px;
  box-shadow:var(--shadow-card);
  padding:34px 30px 30px;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.plate-card::before,.plate-card::after{
  content:""; position:absolute; width:8px; height:8px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff, var(--steel-mid) 60%, #8b93a0 100%);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);
  top:10px;
}
.plate-card::before{ left:10px; }
.plate-card::after{ right:10px; }
.plate-card .rivet-b1,.plate-card .rivet-b2{
  content:""; position:absolute; width:8px; height:8px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff, var(--steel-mid) 60%, #8b93a0 100%);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);
  bottom:10px;
}
.plate-card .rivet-b1{ left:10px; }
.plate-card .rivet-b2{ right:10px; }
.plate-card:hover{ transform:translateY(-8px); box-shadow:0 24px 40px -16px rgba(11,46,109,.3); border-color:var(--blue); }

/* glass card */
.glass-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-radius:6px;
}

/* =============== Preloader =============== */
#preloader{
  position:fixed; inset:0; z-index:9999; background:var(--steel-black);
  display:flex; align-items:center; justify-content:center; transition:opacity .5s ease, visibility .5s ease;
}
#preloader.hide{ opacity:0; visibility:hidden; }
.loader-mark{ width:56px; height:56px; border:3px solid rgba(30,144,255,.25); border-top-color:var(--blue); border-radius:50%; animation:spin 0.9s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* =============== Top bar =============== */
.topbar{
  background:var(--steel-black); color:#aab3c2; font-family:var(--font-mono); font-size:.75rem;
  padding:8px 0; letter-spacing:.02em;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.topbar a{ color:#aab3c2; transition:color .2s; }
.topbar a:hover{ color:var(--blue); }
.topbar-item{ display:inline-flex; align-items:center; gap:6px; margin-right:18px; }
.topbar-item svg{ width:13px; height:13px; }

/* =============== Nav =============== */
.navwrap{
  position:sticky; top:0; z-index:1000;
  background:rgba(11,46,109,0.97);
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:box-shadow .3s ease, background .3s ease;
}
.navwrap.scrolled{ box-shadow:0 12px 30px -12px rgba(0,0,0,.5); background:var(--navy-deep); }
.nav{ display:flex; align-items:center; justify-content:space-between; height:var(--nav-h); }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:52px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text strong{ font-family:var(--font-display); color:var(--white); font-size:1.05rem; letter-spacing:.02em; text-transform:uppercase; }
.brand-text span{ font-family:var(--font-mono); color:#8fc2ff; font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; }
.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a{
  color:#dfe7f5; font-family:var(--font-display); text-transform:uppercase; font-size:.86rem; letter-spacing:.05em;
  padding:10px 16px; position:relative;
}
.nav-links a::after{ content:""; position:absolute; left:16px; right:16px; bottom:6px; height:2px; background:var(--blue); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-links a.active{ color:var(--white); }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:26px; height:2px; background:var(--white); margin:6px 0; transition:.3s; }

@media (max-width:1080px){
  .nav-links{
    position:fixed; inset:var(--nav-h) 0 0 0; background:var(--navy-deep); flex-direction:column; justify-content:flex-start;
    padding:24px; gap:2px; transform:translateX(100%); transition:transform .35s ease; overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ width:100%; padding:16px 8px; border-bottom:1px solid rgba(255,255,255,.08); font-size:1rem; }
  .nav-cta .btn-outline{ display:none; }
  .nav-toggle{ display:block; }
  .topbar .topbar-item:nth-child(3){ display:none; }
}

/* =============== Hero slideshow =============== */
.hero-slider{ position:relative; height:100vh; min-height:640px; width:100%; overflow:hidden; background:var(--steel-black); }
.hero-slide{
  position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity 1.2s ease;
  display:flex; align-items:center;
}
.hero-slide.active{ opacity:1; visibility:visible; z-index:2; }
.hero-slide .bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  transform:scale(1.12); transition:transform 7s linear;
}
.hero-slide.active .bg{ transform:scale(1); }
.hero-slide .overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(7,28,68,.92) 0%, rgba(7,28,68,.75) 32%, rgba(7,28,68,.35) 60%, rgba(7,28,68,.55) 100%),
    linear-gradient(0deg, rgba(7,28,68,.55) 0%, transparent 30%, transparent 70%, rgba(7,28,68,.35) 100%);
}
.hero-content{ position:relative; z-index:3; max-width:760px; padding:0 24px; }
.hero-slide .hero-content > *{ opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s ease; }
.hero-slide.active .hero-content > *{ opacity:1; transform:translateY(0); }
.hero-slide.active .hero-content > *:nth-child(1){ transition-delay:.15s; }
.hero-slide.active .hero-content > *:nth-child(2){ transition-delay:.32s; }
.hero-slide.active .hero-content > *:nth-child(3){ transition-delay:.48s; }
.hero-slide.active .hero-content > *:nth-child(4){ transition-delay:.64s; }
.hero-content h1{ color:var(--white); font-size:clamp(2.3rem, 5.4vw, 4.1rem); margin-bottom:.28em; }
.hero-content h1 em{ font-style:normal; color:#4fb2ff; }
.hero-content p{ color:#dbe6f5; font-size:1.14rem; max-width:560px; margin-bottom:1.7em; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-rule{ width:64px; height:3px; background:var(--amber); margin-bottom:22px; }

.hero-arrows button{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:52px; height:52px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.35); color:var(--white); cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .25s ease, border-color .25s ease;
}
.hero-arrows button:hover{ background:rgba(30,144,255,.5); border-color:var(--blue); }
.hero-arrows .prev{ left:24px; } .hero-arrows .next{ right:24px; }
@media (max-width:720px){ .hero-arrows button{ width:42px; height:42px; } .hero-arrows .prev{ left:10px; } .hero-arrows .next{ right:10px; } }

.hero-dots{ position:absolute; left:50%; transform:translateX(-50%); bottom:132px; z-index:5; display:flex; gap:10px; }
.hero-dots button{ width:34px; height:4px; background:rgba(255,255,255,.35); border:0; cursor:pointer; transition:background .25s ease; }
.hero-dots button.active{ background:var(--amber); }

.hero-logo-badge{ position:absolute; top:28px; left:28px; z-index:5; display:flex; align-items:center; gap:10px; }
.hero-logo-badge img{ height:44px; }

/* Stats bar overlapping hero bottom */
.stats-bar{
  position:absolute; left:0; right:0; bottom:0; z-index:6; transform:translateY(50%);
}
.stats-inner{
  max-width:var(--container); margin:0 auto; padding:0 24px;
}
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); background:rgba(7,20,42,.82);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.14); border-radius:6px; overflow:hidden;
}
.stat{ padding:26px 18px; text-align:center; border-right:1px solid rgba(255,255,255,.12); }
.stat:last-child{ border-right:0; }
.stat .num{ font-family:var(--font-mono); font-size:clamp(1.6rem,3vw,2.4rem); color:var(--white); font-weight:600; }
.stat .num::after{ content:attr(data-suffix); color:var(--amber); }
.stat .label{ font-family:var(--font-display); text-transform:uppercase; letter-spacing:.05em; font-size:.72rem; color:#a9bcd8; margin-top:4px; }
@media (max-width:820px){ .stats-grid{ grid-template-columns:repeat(2,1fr);} .stat{ padding:20px 10px; } .stat:nth-child(2){ border-right:0; } .hero-dots{ bottom:auto; top:20px; } }

/* spacer to compensate for overlapping stat bar */
.hero-spacer{ height:90px; }
@media (max-width:820px){ .hero-spacer{ height:150px; } }

/* =============== Page hero (inner pages) =============== */
.page-hero{
  position:relative; padding:calc(var(--nav-h) + 90px) 0 90px; overflow:hidden;
  background:linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, #0e3a86);
}
.page-hero::before{
  content:""; position:absolute; inset:0; opacity:.16; mix-blend-mode:overlay;
  background-image:url('../images/hero-plant-wide.jpg'); background-size:cover; background-position:center;
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero .eyebrow{ color:#7fc4ff; }
.page-hero h1{ color:var(--white); font-size:clamp(2rem,4.6vw,3.3rem); max-width:820px; }
.page-hero p{ color:#c9d7ec; max-width:640px; font-size:1.05rem; }
.breadcrumb{ font-family:var(--font-mono); font-size:.78rem; color:#9db8dc; margin-top:18px; }
.breadcrumb a{ color:#9db8dc; } .breadcrumb a:hover{ color:var(--white); }

/* =============== Section headers =============== */
.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.6vw,2.6rem); }
.section{ padding:100px 0; }
.section.tight{ padding:70px 0; }
.section.bg-steel{ background:var(--steel); }
.section.bg-navy{ background:linear-gradient(160deg,var(--navy-deep),var(--navy)); }
.section.bg-navy h2, .section.bg-navy h3, .section.bg-navy h4{ color:var(--white); }
.section.bg-navy p{ color:#c3d3ea; }
.section.bg-black{ background:var(--steel-black); }
.section.bg-black h2,.section.bg-black h3{ color:var(--white); }
.section.bg-black p{ color:#a9b3c2; }

/* =============== Services overview (home) =============== */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.service-card{ display:flex; flex-direction:column; height:100%; }
.service-card .icon{
  width:58px; height:58px; border-radius:4px; background:linear-gradient(135deg,var(--navy),var(--blue));
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.service-card .icon svg{ width:28px; height:28px; stroke:var(--white); }
.service-card h3{ font-size:1.18rem; margin-bottom:.5em; }
.service-card ul{ margin-top:14px; }
.service-card ul li{ font-size:.9rem; color:var(--muted); padding-left:20px; position:relative; margin-bottom:8px; }
.service-card ul li::before{ content:""; position:absolute; left:0; top:.55em; width:9px; height:2px; background:var(--amber); }
.service-card .more{ margin-top:auto; padding-top:18px; font-family:var(--font-display); text-transform:uppercase; font-size:.78rem; letter-spacing:.06em; color:var(--blue); display:inline-flex; align-items:center; gap:8px; }
.service-card .more svg{ width:16px; height:16px; transition:transform .25s; }
.service-card:hover .more svg{ transform:translateX(5px); }

@media (max-width:980px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .services-grid{ grid-template-columns:1fr; } }

/* =============== About preview (home) =============== */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.split.reverse{ direction:rtl; } .split.reverse > *{ direction:ltr; }
.split-media{ position:relative; }
.split-media img{ border-radius:4px; box-shadow:var(--shadow-soft); }
.split-media .frame{ position:absolute; inset:-16px 16px 16px -16px; border:2px solid var(--blue); border-radius:4px; z-index:-1; }
.check-list{ margin:24px 0; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; font-size:.98rem; color:var(--ink); }
.check-list svg{ flex:0 0 auto; width:20px; height:20px; color:var(--green); margin-top:2px; }

@media (max-width:920px){ .split{ grid-template-columns:1fr; gap:40px; } }

/* =============== Why choose us =============== */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.why-item{ text-align:left; padding:26px 22px; border-left:3px solid var(--blue); background:rgba(255,255,255,.04); }
.why-item .num{ font-family:var(--font-mono); font-size:.8rem; color:var(--amber); display:block; margin-bottom:10px; }
.why-item h4{ color:var(--white); font-size:1.02rem; margin-bottom:.4em; }
.why-item p{ color:#aab8ce; font-size:.9rem; margin:0; }
@media (max-width:980px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }

/* =============== Projects grid =============== */
.filter-bar{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:44px; }
.filter-btn{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.05em; font-size:.8rem;
  padding:10px 20px; border:1px solid var(--steel-mid); background:var(--white); color:var(--navy); cursor:pointer; border-radius:2px;
  transition:.25s;
}
.filter-btn:hover{ border-color:var(--blue); color:var(--blue); }
.filter-btn.active{ background:var(--navy); border-color:var(--navy); color:var(--white); }
.projects-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.project-card{ position:relative; overflow:hidden; border-radius:4px; box-shadow:var(--shadow-card); aspect-ratio:4/3; }
.project-card .thumb{ position:absolute; inset:0; background-size:cover; background-position:center; transition:transform .6s ease; }
.project-card:hover .thumb{ transform:scale(1.08); }
.project-card .grad{ position:absolute; inset:0; background:linear-gradient(0deg, rgba(7,20,42,.94) 0%, rgba(7,20,42,.25) 55%, rgba(7,20,42,.05) 100%); }
.project-card .tag{
  position:absolute; top:16px; left:16px; font-family:var(--font-mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase;
  background:rgba(30,144,255,.9); color:var(--white); padding:6px 12px; border-radius:2px;
}
.project-card .info{ position:absolute; left:0; right:0; bottom:0; padding:20px; }
.project-card h3{ color:var(--white); font-size:1.08rem; margin-bottom:.25em; }
.project-card p{ color:#cbd8ec; font-size:.86rem; margin:0; }
.project-card[hidden]{ display:none; }
@media (max-width:980px){ .projects-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .projects-grid{ grid-template-columns:1fr; } }

/* =============== Safety commitment (home) =============== */
.safety-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.safety-item{ text-align:center; padding:30px 18px; background:var(--white); border-radius:4px; box-shadow:var(--shadow-card); }
.safety-item .icon{ width:54px; height:54px; margin:0 auto 16px; border-radius:50%; background:rgba(46,125,50,.1); display:flex; align-items:center; justify-content:center; }
.safety-item .icon svg{ width:26px; height:26px; color:var(--green); }
.safety-item h4{ font-size:1rem; }
.safety-item p{ font-size:.88rem; margin:0; }
@media (max-width:980px){ .safety-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .safety-grid{ grid-template-columns:1fr; } }

/* =============== CTA band =============== */
.cta-band{
  position:relative; overflow:hidden; padding:80px 0; text-align:center;
  background:linear-gradient(120deg,var(--navy-deep),var(--blue-dim));
}
.cta-band::after{ content:""; position:absolute; inset:0; background:repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 40px); }
.cta-band .container{ position:relative; z-index:2; }
.cta-band h2{ color:var(--white); }
.cta-band p{ color:#dbe6f5; max-width:560px; margin-left:auto; margin-right:auto; }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:26px; }

/* =============== Testimonials =============== */
.testi-slider{ position:relative; max-width:760px; margin:0 auto; text-align:center; }
.testi-slide{ display:none; }
.testi-slide.active{ display:block; animation:fadeIn .6s ease; }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.testi-quote{ font-family:var(--font-display); font-size:clamp(1.15rem,2.4vw,1.5rem); text-transform:none; color:var(--white); line-height:1.5; }
.testi-quote::before{ content:"“"; color:var(--amber); font-size:1.4em; }
.testi-person{ margin-top:22px; font-family:var(--font-mono); font-size:.82rem; color:#9db8dc; }
.testi-dots{ display:flex; justify-content:center; gap:8px; margin-top:30px; }
.testi-dots button{ width:9px; height:9px; border-radius:50%; border:0; background:rgba(255,255,255,.3); cursor:pointer; }
.testi-dots button.active{ background:var(--amber); }

/* =============== FAQ =============== */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--steel-mid); }
.faq-q{
  width:100%; text-align:left; background:none; border:0; padding:22px 4px; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.03em; font-size:1rem; color:var(--navy);
}
.faq-q .plus{ flex:0 0 auto; width:22px; height:22px; position:relative; }
.faq-q .plus::before,.faq-q .plus::after{ content:""; position:absolute; background:var(--blue); transition:transform .3s ease; }
.faq-q .plus::before{ left:0; top:50%; width:100%; height:2px; transform:translateY(-50%); }
.faq-q .plus::after{ top:0; left:50%; width:2px; height:100%; transform:translateX(-50%); }
.faq-item.open .plus::after{ transform:translateX(-50%) rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a p{ padding:0 4px 22px; margin:0; }
.faq-item.open .faq-a{ max-height:300px; }

/* =============== Contact page =============== */
.contact-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:50px; }
.contact-info-card{ background:var(--navy-deep); color:var(--white); padding:40px 34px; border-radius:6px; }
.contact-info-card h3{ color:var(--white); }
.contact-row{ display:flex; gap:16px; padding:16px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.contact-row:last-of-type{ border-bottom:0; }
.contact-row .ic{ width:38px; height:38px; border-radius:4px; background:rgba(30,144,255,.18); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.contact-row .ic svg{ width:18px; height:18px; color:#7fc4ff; }
.contact-row .txt strong{ display:block; font-family:var(--font-display); text-transform:uppercase; font-size:.78rem; letter-spacing:.06em; color:#8fb4dd; }
.contact-row .txt span, .contact-row .txt a{ font-size:.98rem; color:#e8eefb; }
.hours-table{ margin-top:20px; width:100%; border-collapse:collapse; font-size:.9rem; }
.hours-table td{ padding:8px 0; border-bottom:1px dashed rgba(255,255,255,.15); color:#dbe6f5; }
.hours-table td:last-child{ text-align:right; font-family:var(--font-mono); color:#7fc4ff; }

.form-card{ background:var(--white); padding:40px 36px; border-radius:6px; box-shadow:var(--shadow-card); border:1px solid var(--steel); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:20px; }
.field label{ display:block; font-family:var(--font-display); text-transform:uppercase; font-size:.76rem; letter-spacing:.06em; color:var(--navy); margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; border:1.5px solid var(--steel-mid); border-radius:3px; font-family:var(--font-body); font-size:.95rem;
  background:var(--white); color:var(--ink); transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--blue); box-shadow:0 0 0 4px rgba(30,144,255,.14); outline:none; }
.field textarea{ resize:vertical; min-height:130px; }
.form-note{ font-size:.8rem; color:var(--muted); margin-top:14px; }
.form-status{ margin-top:16px; font-size:.9rem; font-weight:600; display:none; }
.form-status.show{ display:block; }
.form-status.ok{ color:var(--green); } .form-status.err{ color:#c0392b; }

.map-frame{ margin-top:60px; border-radius:6px; overflow:hidden; border:1px solid var(--steel); box-shadow:var(--shadow-card); }
.map-placeholder{
  height:380px; width:100%; position:relative; background:
    linear-gradient(rgba(11,46,109,.9), rgba(11,46,109,.9)),
    repeating-linear-gradient(0deg, #17356f 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, #17356f 0 1px, transparent 1px 40px);
  display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; text-align:center; gap:10px;
}
.map-placeholder svg{ width:38px; height:38px; color:var(--amber); }
.map-placeholder strong{ font-family:var(--font-display); text-transform:uppercase; letter-spacing:.05em; }
.map-placeholder span{ font-family:var(--font-mono); font-size:.82rem; color:#bcd0ec; }

@media (max-width:920px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }

/* =============== About page specifics =============== */
.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.value-card{ padding:30px 26px; }
.value-card .num{ font-family:var(--font-mono); color:var(--amber); font-size:.8rem; display:block; margin-bottom:12px; }
@media (max-width:900px){ .value-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .value-grid{ grid-template-columns:1fr; } }

.mv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.mv-card{ padding:36px 32px; border-radius:6px; }
.mv-card.mission{ background:var(--navy-deep); }
.mv-card.vision{ background:linear-gradient(135deg,var(--blue-dim),var(--navy)); }
.mv-card h3{ color:var(--white); }
.mv-card p{ color:#d6e2f4; }
@media (max-width:800px){ .mv-grid{ grid-template-columns:1fr; } }

.timeline{ position:relative; padding-left:34px; }
.timeline::before{ content:""; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:var(--steel-mid); }
.timeline-item{ position:relative; padding-bottom:34px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{ content:""; position:absolute; left:-34px; top:4px; width:14px; height:14px; border-radius:50%; background:var(--blue); border:3px solid var(--white); box-shadow:0 0 0 2px var(--blue); }
.timeline-item h4{ margin-bottom:.3em; font-size:1rem; }

.team-feature{ position:relative; border-radius:8px; overflow:hidden; margin-bottom:36px; box-shadow:var(--shadow-card); }
.team-feature img{ width:100%; height:clamp(260px,42vw,460px); object-fit:cover; object-position:center 18%; }
.team-feature-caption{
  position:absolute; left:0; right:0; bottom:0; padding:26px 30px;
  background:linear-gradient(0deg, rgba(7,28,68,.92) 0%, rgba(7,28,68,.55) 55%, transparent 100%);
  display:flex; flex-direction:column; gap:4px;
}
.team-feature-caption strong{ font-family:var(--font-display); text-transform:uppercase; letter-spacing:.03em; color:#fff; font-size:1.2rem; }
.team-feature-caption span{ color:#dbe6f5; font-size:.92rem; }
@media (max-width:600px){ .team-feature-caption{ padding:18px 20px; } }
.team-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.team-card{ text-align:center; }
.team-photo{ aspect-ratio:1; border-radius:6px; background:linear-gradient(150deg,var(--navy),var(--blue-dim)); display:flex; align-items:center; justify-content:center; margin-bottom:14px; position:relative; overflow:hidden; }
.team-photo svg{ width:46%; height:46%; color:rgba(255,255,255,.35); }
.team-card h4{ font-size:.98rem; margin-bottom:.2em; }
.team-card span{ font-family:var(--font-mono); font-size:.76rem; color:var(--blue); text-transform:uppercase; letter-spacing:.04em; }
@media (max-width:900px){ .team-strip{ grid-template-columns:repeat(2,1fr); } }

/* =============== Services page specifics =============== */
.service-block{ display:grid; grid-template-columns:.9fr 1.4fr; gap:56px; padding:70px 0; border-bottom:1px solid var(--steel); align-items:start; }
.service-block:last-child{ border-bottom:0; }
.service-block-icon{ width:70px; height:70px; border-radius:6px; background:linear-gradient(135deg,var(--navy),var(--blue)); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.service-block-icon svg{ width:34px; height:34px; stroke:var(--white); }
.service-block-list{ display:grid; grid-template-columns:1fr 1fr; gap:14px 30px; margin-top:10px; }
.service-block-list li{ display:flex; gap:12px; align-items:flex-start; font-size:.95rem; color:var(--ink); }
.service-block-list svg{ flex:0 0 auto; width:18px; height:18px; color:var(--blue); margin-top:3px; }
.sb-tag{ display:inline-block; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; color:var(--green); background:rgba(46,125,50,.1); padding:5px 12px; border-radius:2px; margin-bottom:14px; }
@media (max-width:860px){ .service-block{ grid-template-columns:1fr; gap:24px; } .service-block-list{ grid-template-columns:1fr; } }

.process-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; counter-reset:step; }
.process-step{ position:relative; padding:0 22px 0 0; }
.process-step:not(:last-child)::after{ content:""; position:absolute; top:22px; right:-2px; width:24px; height:2px; background:var(--steel-mid); display:none; }
@media (min-width:860px){ .process-step:not(:last-child)::after{ display:block; } }
.process-step .step-num{ font-family:var(--font-mono); font-size:.8rem; color:var(--amber); display:block; margin-bottom:12px; }
.process-step h4{ font-size:1rem; }
@media (max-width:860px){ .process-strip{ grid-template-columns:1fr; gap:30px; } }

/* =============== Safety page specifics =============== */
.compliance-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.compliance-card{ display:flex; gap:18px; padding:28px; }
.compliance-card .ic{ flex:0 0 auto; width:50px; height:50px; border-radius:4px; background:rgba(30,144,255,.1); display:flex; align-items:center; justify-content:center; }
.compliance-card .ic svg{ width:24px; height:24px; color:var(--blue); }
@media (max-width:760px){ .compliance-grid{ grid-template-columns:1fr; } }

.ppe-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; text-align:center; }
.ppe-item{ padding:20px 10px; background:var(--white); border-radius:4px; border:1px solid var(--steel); }
.ppe-item svg{ width:30px; height:30px; color:var(--navy); margin:0 auto 10px; }
.ppe-item span{ font-family:var(--font-display); text-transform:uppercase; font-size:.74rem; letter-spacing:.03em; color:var(--ink); }
@media (max-width:900px){ .ppe-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:500px){ .ppe-grid{ grid-template-columns:repeat(2,1fr); } }

.standards-strip{ display:flex; flex-wrap:wrap; gap:14px; }
.standard-chip{ font-family:var(--font-mono); font-size:.82rem; padding:10px 18px; border:1px solid var(--steel-mid); border-radius:2px; color:var(--navy); }

/* =============== Footer =============== */
footer{ background:var(--steel-black); color:#9aa6b8; padding:80px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:44px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand img{ height:48px; margin-bottom:16px; }
.footer-brand p{ color:#8b96a8; font-size:.92rem; max-width:320px; }
.footer-col h5{ font-family:var(--font-display); text-transform:uppercase; letter-spacing:.05em; color:var(--white); font-size:.86rem; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:11px; }
.footer-col ul a{ color:#9aa6b8; font-size:.9rem; transition:color .2s; }
.footer-col ul a:hover{ color:var(--blue); }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; transition:.25s; }
.footer-social a:hover{ background:var(--blue); border-color:var(--blue); }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:26px 0; font-size:.82rem; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:#9aa6b8; } .footer-bottom a:hover{ color:var(--blue); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* =============== Quote choice modal =============== */
.quote-modal-overlay{
  position:fixed; inset:0; z-index:1200; background:rgba(7,14,28,.72); backdrop-filter:blur(2px);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease;
}
.quote-modal-overlay.show{ opacity:1; visibility:visible; }
.quote-modal{
  position:relative; width:100%; max-width:420px; background:var(--white); border-radius:10px;
  padding:34px 30px 28px; box-shadow:0 30px 60px -20px rgba(0,0,0,.5);
  transform:translateY(16px) scale(.97); transition:transform .25s ease;
}
.quote-modal-overlay.show .quote-modal{ transform:translateY(0) scale(1); }
.quote-modal-close{
  position:absolute; top:14px; right:14px; width:32px; height:32px; border-radius:50%; border:none;
  background:var(--steel); display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--muted);
}
.quote-modal-close:hover{ background:var(--steel-mid); }
.quote-modal .eyebrow{ margin-bottom:8px; }
.quote-modal h3{ font-size:1.3rem; margin-bottom:.35em; }
.quote-modal p{ font-size:.92rem; margin-bottom:22px; }
.quote-modal-options{ display:flex; flex-direction:column; gap:12px; }
.quote-option{
  display:flex; align-items:center; gap:14px; width:100%; text-align:left;
  padding:14px 16px; border-radius:8px; border:1.5px solid var(--steel); background:var(--white);
  cursor:pointer; transition:.2s ease; font-family:var(--font-body);
}
.quote-option:hover{ border-color:var(--blue); background:#f4f8ff; transform:translateY(-2px); }
.quote-option .qo-ic{
  width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.quote-option.wa .qo-ic{ background:#e6f8ec; color:#25D366; }
.quote-option.mail .qo-ic{ background:#e8f1ff; color:var(--blue); }
.quote-option .qo-ic svg{ width:22px; height:22px; }
.quote-option .qo-txt strong{ display:block; font-family:var(--font-display); text-transform:uppercase; letter-spacing:.03em; font-size:.92rem; color:var(--ink); }
.quote-option .qo-txt span{ font-size:.8rem; color:var(--muted); }

/* =============== Floating buttons =============== */
.whatsapp-float{
  position:fixed; right:24px; bottom:24px; z-index:900; width:60px; height:60px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px -6px rgba(0,0,0,.4);
  transition:transform .25s ease;
}
.whatsapp-float:hover{ transform:scale(1.08); }
.whatsapp-float svg{ width:30px; height:30px; fill:#fff; }
.whatsapp-float .ping{ position:absolute; inset:0; border-radius:50%; border:2px solid #25D366; animation:ping 2.2s ease-out infinite; }
@keyframes ping{ 0%{ transform:scale(1); opacity:.7;} 100%{ transform:scale(1.6); opacity:0;} }

.backtotop{
  position:fixed; right:24px; bottom:96px; z-index:900; width:44px; height:44px; border-radius:50%;
  background:var(--navy); color:var(--white); border:1px solid rgba(255,255,255,.2); cursor:pointer;
  display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.backtotop.show{ opacity:1; visibility:visible; transform:translateY(0); }
@media (max-width:600px){ .whatsapp-float{ width:52px; height:52px; right:16px; bottom:16px; } .backtotop{ right:16px; bottom:80px; width:40px; height:40px; } }

/* =============== 404 page =============== */
.error-page{ min-height:100vh; display:flex; align-items:center; justify-content:center; text-align:center; background:var(--navy-deep); padding:40px 20px; }
.error-page .code{ font-family:var(--font-mono); font-size:clamp(4rem,14vw,8rem); color:rgba(255,255,255,.12); font-weight:700; line-height:1; }
.error-page h1{ color:var(--white); margin-top:-20px; }
.error-page p{ color:#c3d3ea; max-width:440px; margin:0 auto 26px; }

/* =============== Reveal-on-scroll =============== */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-stagger.in > *{ transition-delay:calc(var(--i,0) * 90ms); }

/* utility */
.mt-0{margin-top:0} .center-text{text-align:center}
.text-white{color:var(--white)}
