/* ==========================================================================
   HGF INSPECTION SERVICES — Design System
   Palette : Deep Navy / White / Fog Gray / Signal Orange / Seal Teal
   Type    : Poppins (display) · Inter (body) · Space Mono (data/report)
   Signature: the "Verified Seal" — a rotating certification stamp motif
              and torn-ticket inspection checklist used across the site.
   ========================================================================== */

:root{
  /* ---- Color tokens ---- */
  --navy: #0B3D91;
  --navy-deep: #061B45;
  --navy-ink: #071F4D;
  --white: #FFFFFF;
  --fog: #F5F7FA;
  --fog-dark: #E7EBF2;
  --line: #DCE2EC;
  --text: #16223B;
  --text-mute: #5C6B7F;
  --orange: #FF8C00;
  --orange-deep: #E07600;
  --teal: #0FB6A8;
  --teal-deep: #0B8F84;

  /* ---- Type tokens ---- */
  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* ---- Layout tokens ---- */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(11,29,73,0.06);
  --shadow-md: 0 12px 32px rgba(11,29,73,0.10);
  --shadow-lg: 0 24px 60px rgba(11,29,73,0.16);
  --nav-h: 84px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ---- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}
body{
  font-family:var(--font-body);
  color:var(--text);
  background:var(--white);
  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; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input,textarea,select{ font-family:inherit; font-size:1rem; }
h1,h2,h3,h4{ font-family:var(--font-display); color:var(--navy-ink); line-height:1.18; font-weight:600; }
:focus-visible{ outline:3px solid var(--orange); outline-offset:2px; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:110px 0; position:relative; }
.section-tight{ padding:80px 0; }
.section-alt{ background:var(--fog); }
.section-dark{ background:var(--navy-ink); color:rgba(255,255,255,0.86); }
.section-dark h2,.section-dark h3,.section-dark h4{ color:var(--white); }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:0.78rem; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--orange-deep); font-weight:700;
  margin-bottom:16px;
}
.eyebrow::before{
  content:''; width:22px; height:2px; background:var(--orange); display:inline-block;
}
.section-dark .eyebrow{ color:var(--orange); }

.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.9rem,3.2vw,2.6rem); margin-bottom:16px; }
.section-head p{ color:var(--text-mute); font-size:1.05rem; }
.section-dark .section-head p{ color:rgba(255,255,255,0.72); }

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:100px; font-weight:600; font-size:0.95rem;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space:nowrap;
}
.btn-primary{ background:var(--orange); color:var(--white); box-shadow:0 10px 24px rgba(255,140,0,0.32); }
.btn-primary:hover{ background:var(--orange-deep); transform:translateY(-2px); box-shadow:0 14px 30px rgba(255,140,0,0.4); }
.btn-outline{ background:transparent; color:var(--white); border:1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); transform:translateY(-2px); }
.btn-navy{ background:var(--navy); color:var(--white); }
.btn-navy:hover{ background:var(--navy-deep); transform:translateY(-2px); }
.btn-ghost{ color:var(--navy); font-weight:600; display:inline-flex; align-items:center; gap:8px; }
.btn-ghost svg{ transition:transform .25s var(--ease); }
.btn-ghost:hover svg{ transform:translateX(4px); }
.btn-sm{ padding:10px 20px; font-size:0.85rem; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  height:var(--nav-h); display:flex; align-items:center;
  background:transparent; transition:background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.scrolled{
  background:rgba(255,255,255,0.92); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  box-shadow:0 4px 24px rgba(11,29,73,0.08); height:72px;
}
.site-header .nav-row{ display:flex; align-items:center; justify-content:space-between; width:100%; }

.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:1.28rem; color:var(--white); letter-spacing:-0.01em; }
.site-header.scrolled .brand{ color:var(--navy-ink); }
.brand .mark{
  width:40px; height:40px; border-radius:10px; background:var(--white);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.brand .mark svg{ width:20px; height:20px; }
.brand small{ display:block; font-family:var(--font-mono); font-size:0.6rem; font-weight:400; letter-spacing:0.12em; color:var(--orange); text-transform:uppercase; }

.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links > li{ position:relative; }
.nav-links a{
  display:flex; align-items:center; gap:5px; padding:10px 16px; font-size:0.94rem; font-weight:500;
  color:rgba(255,255,255,0.9); border-radius:100px; transition:background .25s var(--ease), color .25s var(--ease);
}
.site-header.scrolled .nav-links a{ color:var(--text); }
.nav-links a:hover, .nav-links a.active{ background:rgba(11,61,145,0.08); color:var(--navy); }
.site-header:not(.scrolled) .nav-links a:hover{ background:rgba(255,255,255,0.14); color:var(--white); }

.has-dropdown{ position:relative; }
.dropdown{
  position:absolute; top:calc(100% + 10px); left:0; min-width:260px;
  background:var(--white); border-radius:var(--radius-sm); box-shadow:var(--shadow-lg);
  padding:10px; opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{ color:var(--text); display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:10px 14px; border-radius:8px; }
.dropdown a:hover{ background:var(--fog); color:var(--navy); }
.dropdown a span{ font-size:0.76rem; color:var(--text-mute); font-weight:400; }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; width:44px; height:44px; border-radius:10px; align-items:center; justify-content:center; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after{ content:''; display:block; width:22px; height:2px; background:var(--white); transition:.3s var(--ease); }
.site-header.scrolled .nav-toggle span, .site-header.scrolled .nav-toggle::before, .site-header.scrolled .nav-toggle::after{ background:var(--navy-ink); }
.nav-toggle{ flex-direction:column; gap:5px; }
.nav-toggle.open span{ opacity:0; }
.nav-toggle.open::before{ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open::after{ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:980px){
  .nav-links, .nav-cta .btn-navy{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-links.mobile-open{
    display:flex; flex-direction:column; position:fixed; top:var(--nav-h); left:0; right:0;
    background:var(--white); padding:14px; gap:2px; box-shadow:var(--shadow-lg); max-height:calc(100vh - var(--nav-h)); overflow-y:auto;
  }
  .nav-links.mobile-open a{ color:var(--text); width:100%; padding:14px 16px; }
  .nav-links.mobile-open .dropdown{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; display:none; padding-left:10px; }
  .nav-links.mobile-open .has-dropdown.open .dropdown{ display:flex; flex-direction:column; }
}

/* progress bar */
#scroll-progress{ position:fixed; top:0; left:0; height:3px; background:var(--orange); z-index:1100; width:0%; transition:width .1s linear; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center;
  background:linear-gradient(155deg, var(--navy-ink) 0%, var(--navy) 55%, #124bb0 100%);
  color:var(--white); overflow:hidden; padding-top:var(--nav-h);
}
.hero-particles{ position:absolute; inset:0; z-index:0; opacity:0.5; }
.hero-particles span{
  position:absolute; border-radius:50%; background:rgba(255,255,255,0.55);
  animation:float-up linear infinite;
}
@keyframes float-up{
  0%{ transform:translateY(0) translateX(0); opacity:0; }
  10%{ opacity:0.7; }
  90%{ opacity:0.4; }
  100%{ transform:translateY(-120vh) translateX(30px); opacity:0; }
}
.hero-grid-overlay{
  position:absolute; inset:0; z-index:0;
  background-image:linear-gradient(rgba(255,255,255,0.045) 1px,transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size:44px 44px; mask-image:radial-gradient(ellipse at 70% 40%, black, transparent 75%);
}
.hero .container{ position:relative; z-index:2; display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; padding-top:60px; padding-bottom:60px; }
.hero-copy .eyebrow{ color:var(--orange); }
.hero-copy h1{
  font-size:clamp(2.3rem,4.4vw,3.5rem); color:var(--white); margin-bottom:22px; letter-spacing:-0.01em;
}
.hero-copy h1 em{ font-style:normal; color:var(--orange); }
.hero-copy p{ font-size:1.1rem; color:rgba(255,255,255,0.78); max-width:540px; margin-bottom:34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:48px; }
.hero-trust{ display:flex; gap:32px; flex-wrap:wrap; }
.hero-trust div strong{ display:block; font-family:var(--font-mono); font-size:1.5rem; color:var(--white); }
.hero-trust div span{ font-size:0.8rem; color:rgba(255,255,255,0.6); }

/* Signature: rotating verified seal */
.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; }
.hero-art{
  position:relative; width:100%; max-width:440px; aspect-ratio:1/1; border-radius:32px; overflow:hidden;
  box-shadow:var(--shadow-lg); border:1px solid rgba(255,255,255,0.15);
}
.hero-art img{ width:100%; height:100%; object-fit:cover; }
.hero-seal{
  position:absolute; bottom:-30px; left:-30px; width:132px; height:132px; border-radius:50%;
  background:var(--white); box-shadow:var(--shadow-lg); display:flex; align-items:center; justify-content:center;
}
.hero-seal .ring{ position:absolute; inset:0; animation:spin-slow 22s linear infinite; }
.hero-seal .core{ position:relative; z-index:1; width:60px; height:60px; border-radius:50%; background:var(--teal); display:flex; align-items:center; justify-content:center; }
.hero-seal .core svg{ width:28px; height:28px; stroke:var(--white); }
@keyframes spin-slow{ to{ transform:rotate(360deg); } }
.hero-report-chip{
  position:absolute; top:26px; right:-18px; background:var(--white); color:var(--navy-ink); border-radius:14px;
  padding:14px 16px; box-shadow:var(--shadow-md); display:flex; align-items:center; gap:10px; max-width:220px;
  animation:chip-float 5s ease-in-out infinite;
}
@keyframes chip-float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-10px);} }
.hero-report-chip .dot{ width:10px; height:10px; border-radius:50%; background:var(--teal); flex-shrink:0; }
.hero-report-chip strong{ font-size:0.82rem; display:block; }
.hero-report-chip span{ font-size:0.72rem; color:var(--text-mute); font-family:var(--font-mono); }

.scroll-cue{ position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:2; display:flex; flex-direction:column; align-items:center; gap:8px; color:rgba(255,255,255,0.6); font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.14em; text-transform:uppercase; }
.scroll-cue .line{ width:1px; height:34px; background:linear-gradient(rgba(255,255,255,0.7), transparent); animation:cue 2s ease-in-out infinite; }
@keyframes cue{ 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;} }

@media (max-width:980px){
  .hero .container{ grid-template-columns:1fr; text-align:left; padding-top:40px; }
  .hero-visual{ order:-1; margin-bottom:10px; }
  .hero-art{ max-width:340px; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center; }
.about-art{ position:relative; }
.about-art img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.about-badge{
  position:absolute; bottom:-24px; right:-24px; background:var(--navy-ink); color:var(--white);
  border-radius:var(--radius-md); padding:20px 24px; box-shadow:var(--shadow-lg); font-family:var(--font-mono);
}
.about-badge strong{ font-size:1.8rem; display:block; color:var(--orange); }
.about-badge span{ font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; opacity:0.75; }

.value-list{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:32px; }
.value-item{ display:flex; gap:14px; align-items:flex-start; }
.value-item .icon{ width:44px; height:44px; border-radius:12px; background:rgba(11,61,145,0.08); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.value-item .icon svg{ width:22px; height:22px; stroke:var(--navy); }
.value-item h4{ font-size:1rem; margin-bottom:4px; }
.value-item p{ font-size:0.9rem; color:var(--text-mute); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:24px; }
.service-card{
  position:relative; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:34px 28px; transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow:hidden;
}
.service-card::after{
  content:''; position:absolute; top:0; right:0; width:0; height:0;
  border-style:solid; border-width:0 34px 34px 0; border-color:transparent var(--fog-dark) transparent transparent;
  transition:border-color .3s var(--ease);
}
.service-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); border-color:transparent; }
.service-card:hover::after{ border-color:transparent var(--orange) transparent transparent; }
.service-card .icon{
  width:54px; height:54px; border-radius:14px; background:var(--navy-ink); display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.service-card .icon svg{ width:26px; height:26px; stroke:var(--white); }
.service-card h3{ font-size:1.12rem; margin-bottom:10px; }
.service-card p{ font-size:0.92rem; color:var(--text-mute); margin-bottom:16px; }
.service-card .tag{ font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--teal-deep); }

/* ==========================================================================
   PROCESS — torn-ticket timeline
   ========================================================================== */
.process-track{ position:relative; display:grid; grid-template-columns:repeat(5,1fr); gap:0; margin-top:20px; }
.process-track::before{
  content:''; position:absolute; top:34px; left:0; right:0; height:2px;
  background-image:linear-gradient(90deg, var(--line) 60%, transparent 40%); background-size:16px 2px;
}
.process-step{ position:relative; padding:0 14px; text-align:left; }
.process-step .num{
  width:68px; height:68px; border-radius:50%; background:var(--white); border:2px solid var(--navy);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; color:var(--navy);
  margin-bottom:22px; position:relative; z-index:1; transition:background .3s var(--ease), color .3s var(--ease);
}
.process-step:hover .num{ background:var(--orange); border-color:var(--orange); color:var(--white); }
.process-step .code{ font-family:var(--font-mono); font-size:0.7rem; color:var(--orange-deep); letter-spacing:0.1em; display:block; margin-bottom:8px; }
.process-step h4{ font-size:1rem; margin-bottom:8px; }
.process-step p{ font-size:0.85rem; color:var(--text-mute); }
@media (max-width:900px){
  .process-track{ grid-template-columns:1fr; gap:34px; }
  .process-track::before{ top:0; bottom:0; left:34px; width:2px; height:auto; right:auto; background-image:linear-gradient(180deg, var(--line) 60%, transparent 40%); background-size:2px 16px; }
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industry-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:18px; }
.industry-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-sm); padding:26px 20px;
  display:flex; flex-direction:column; gap:14px; transition:.3s var(--ease);
}
.industry-card:hover{ border-color:var(--navy); box-shadow:var(--shadow-sm); transform:translateY(-4px); }
.industry-card .icon{ width:42px; height:42px; border-radius:10px; background:rgba(255,140,0,0.1); display:flex; align-items:center; justify-content:center; }
.industry-card .icon svg{ width:22px; height:22px; stroke:var(--orange-deep); }
.industry-card span{ font-weight:600; font-size:0.94rem; }

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */
.why-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:20px; }
.why-card{ background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12); border-radius:var(--radius-md); padding:26px; }
.why-card .check{ width:36px; height:36px; border-radius:50%; background:var(--teal); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.why-card .check svg{ width:18px; height:18px; stroke:var(--white); }
.why-card h4{ font-size:1rem; margin-bottom:6px; }
.why-card p{ font-size:0.85rem; color:rgba(255,255,255,0.65); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.stat-box{ text-align:center; padding:36px 16px; border-radius:var(--radius-md); background:var(--white); box-shadow:var(--shadow-sm); }
.stat-box strong{ font-family:var(--font-mono); font-size:clamp(2rem,4vw,2.6rem); color:var(--navy); display:block; }
.stat-box span{ font-size:0.85rem; color:var(--text-mute); text-transform:uppercase; letter-spacing:0.05em; }
@media (max-width:760px){ .stats-strip{ grid-template-columns:1fr 1fr; } }

/* ==========================================================================
   CERTIFICATIONS
   ========================================================================== */
.cert-strip{ display:flex; flex-wrap:wrap; gap:16px; justify-content:center; }
.cert-badge{
  display:flex; align-items:center; gap:12px; padding:16px 24px; border:1px solid var(--line); border-radius:100px;
  background:var(--white); font-family:var(--font-mono); font-size:0.82rem; font-weight:700; color:var(--navy-ink);
  transition:.3s var(--ease);
}
.cert-badge:hover{ border-color:var(--orange); box-shadow:var(--shadow-sm); transform:translateY(-3px); }
.cert-badge .dot{ width:9px; height:9px; border-radius:50%; background:var(--teal); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-wrap{ position:relative; max-width:760px; margin:0 auto; }
.testi-slide{ display:none; text-align:center; padding:10px 10px 0; }
.testi-slide.active{ display:block; animation:fade-in .5s var(--ease); }
@keyframes fade-in{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:translateY(0);} }
.testi-slide .stars{ color:var(--orange); font-size:1.1rem; margin-bottom:18px; letter-spacing:2px; }
.testi-slide p{ font-size:1.2rem; color:var(--navy-ink); font-family:var(--font-display); font-weight:500; line-height:1.5; margin-bottom:26px; }
.testi-person{ display:flex; align-items:center; justify-content:center; gap:12px; }
.testi-person img{ width:50px; height:50px; border-radius:50%; object-fit:cover; }
.testi-person strong{ display:block; font-size:0.92rem; }
.testi-person span{ font-size:0.8rem; color:var(--text-mute); }
.testi-dots{ display:flex; justify-content:center; gap:10px; margin-top:36px; }
.testi-dots button{ width:9px; height:9px; border-radius:50%; background:var(--line); transition:.3s var(--ease); }
.testi-dots button.active{ background:var(--orange); width:26px; border-radius:6px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ max-width:800px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; background:var(--white); }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:22px 26px; text-align:left; font-weight:600; font-size:1rem; color:var(--navy-ink);
}
.faq-q .plus{ width:26px; height:26px; border-radius:50%; border:1.5px solid var(--navy); position:relative; flex-shrink:0; transition:.3s var(--ease); }
.faq-q .plus::before,.faq-q .plus::after{ content:''; position:absolute; background:var(--navy); top:50%; left:50%; transition:.3s var(--ease); }
.faq-q .plus::before{ width:10px; height:1.5px; transform:translate(-50%,-50%); }
.faq-q .plus::after{ width:1.5px; height:10px; transform:translate(-50%,-50%); }
.faq-item.open .plus{ background:var(--orange); border-color:var(--orange); transform:rotate(180deg); }
.faq-item.open .plus::before,.faq-item.open .plus::after{ background:var(--white); }
.faq-item.open .plus::after{ height:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-a p{ padding:0 26px 22px; color:var(--text-mute); font-size:0.94rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:48px; align-items:start; }
.contact-cards{ display:flex; flex-direction:column; gap:16px; margin-bottom:28px; }
.contact-card{ display:flex; gap:14px; padding:20px; border-radius:var(--radius-sm); background:var(--fog); }
.contact-card .icon{ width:42px; height:42px; border-radius:10px; background:var(--navy); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-card .icon svg{ width:20px; height:20px; stroke:var(--white); }
.contact-card strong{ display:block; font-size:0.92rem; margin-bottom:2px; }
.contact-card span{ font-size:0.86rem; color:var(--text-mute); }
.map-frame{ border-radius:var(--radius-md); overflow:hidden; height:220px; background:var(--fog-dark); display:flex; align-items:center; justify-content:center; color:var(--text-mute); font-size:0.85rem; border:1px dashed var(--line); }

.form-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:40px; box-shadow:var(--shadow-sm); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:0.84rem; font-weight:600; color:var(--navy-ink); }
.field input, .field select, .field textarea{
  padding:13px 16px; border:1px solid var(--line); border-radius:10px; background:var(--fog); transition:border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--navy); background:var(--white); outline:none; }
.field textarea{ resize:vertical; min-height:110px; }
.field .error-msg{ font-size:0.76rem; color:#D64545; min-height:14px; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color:#D64545; }
.form-submit-row{ display:flex; align-items:center; gap:18px; margin-top:6px; flex-wrap:wrap; }
.form-note{ font-size:0.8rem; color:var(--text-mute); }
.form-success{ display:none; align-items:center; gap:12px; background:rgba(15,182,168,0.1); border:1px solid var(--teal); color:var(--teal-deep); padding:16px 20px; border-radius:12px; margin-top:18px; font-size:0.9rem; font-weight:600; }
.form-success.show{ display:flex; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero{
  padding:calc(var(--nav-h) + 70px) 0 70px; background:linear-gradient(155deg,var(--navy-ink),var(--navy));
  color:var(--white); position:relative; overflow:hidden;
}
.page-hero .container{ position:relative; z-index:1; }
.page-hero .crumbs{ font-family:var(--font-mono); font-size:0.78rem; color:rgba(255,255,255,0.6); margin-bottom:18px; letter-spacing:0.04em; }
.page-hero .crumbs a{ color:rgba(255,255,255,0.9); }
.page-hero h1{ color:var(--white); font-size:clamp(2rem,4vw,2.8rem); max-width:720px; }
.page-hero p{ color:rgba(255,255,255,0.75); max-width:600px; margin-top:16px; font-size:1.05rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background:var(--navy-ink); color:rgba(255,255,255,0.72); padding-top:80px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-brand .brand{ color:var(--white); margin-bottom:16px; }
.footer-brand p{ font-size:0.9rem; max-width:280px; margin-bottom:20px; }
.social-row{ display:flex; gap:10px; }
.social-row a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; transition:.3s var(--ease); }
.social-row a:hover{ background:var(--orange); border-color:var(--orange); }
.social-row svg{ width:16px; height:16px; stroke:var(--white); }
.footer-col h5{ color:var(--white); font-size:0.9rem; margin-bottom:20px; letter-spacing:0.04em; text-transform:uppercase; font-family:var(--font-mono); }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:0.9rem; transition:color .25s var(--ease); }
.footer-col a:hover{ color:var(--orange); }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding:26px 0; font-size:0.82rem; flex-wrap:wrap; gap:12px; }
.footer-bottom .legal-links{ display:flex; gap:20px; }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }

/* ---- Back to top ---- */
#back-to-top{
  position:fixed; bottom:28px; right:28px; width:48px; height:48px; border-radius:50%; background:var(--navy);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); z-index:900;
  opacity:0; visibility:hidden; transform:translateY(12px); transition:.3s var(--ease);
}
#back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
#back-to-top:hover{ background:var(--orange); }
#back-to-top svg{ width:18px; height:18px; stroke:var(--white); }

/* ---- Loader ---- */
#page-loader{
  position:fixed; inset:0; z-index:5000; background:var(--navy-ink); display:flex; align-items:center; justify-content:center;
  transition:opacity .5s var(--ease), visibility .5s var(--ease);
}
#page-loader.hidden{ opacity:0; visibility:hidden; }
.loader-seal{ width:60px; height:60px; border-radius:50%; border:3px solid rgba(255,255,255,0.2); border-top-color:var(--orange); animation:spin 0.9s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }

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

/* ---- Generic content blocks (about/privacy/terms pages) ---- */
.prose{ max-width:820px; margin:0 auto; }
.prose h2{ margin-top:44px; margin-bottom:14px; font-size:1.5rem; }
.prose h2:first-child{ margin-top:0; }
.prose p{ color:var(--text-mute); margin-bottom:16px; }
.prose ul{ margin:0 0 16px 0; display:flex; flex-direction:column; gap:8px; }
.prose ul li{ color:var(--text-mute); padding-left:22px; position:relative; }
.prose ul li::before{ content:''; position:absolute; left:0; top:9px; width:8px; height:8px; border-radius:2px; background:var(--orange); }

/* ---- 404 ---- */
.error-page{ min-height:100vh; display:flex; align-items:center; justify-content:center; text-align:center; background:var(--fog); padding:120px 24px 60px; }
.error-code{ font-family:var(--font-mono); font-size:clamp(4rem,14vw,8rem); color:var(--navy); font-weight:700; line-height:1; }
.error-page h1{ margin:14px 0 12px; }
.error-page p{ color:var(--text-mute); max-width:440px; margin:0 auto 30px; }

/* ---- Careers / Blog cards ---- */
.job-card{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:26px; border:1px solid var(--line); border-radius:var(--radius-sm); flex-wrap:wrap; }
.job-card h4{ font-size:1.05rem; margin-bottom:6px; }
.job-card .meta{ font-family:var(--font-mono); font-size:0.76rem; color:var(--text-mute); text-transform:uppercase; letter-spacing:0.06em; }
.blog-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:28px; }
.blog-card{ border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; transition:.3s var(--ease); }
.blog-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-6px); }
.blog-card img{ height:190px; width:100%; object-fit:cover; }
.blog-card .body{ padding:22px; }
.blog-card .meta{ font-family:var(--font-mono); font-size:0.72rem; color:var(--orange-deep); text-transform:uppercase; margin-bottom:10px; letter-spacing:0.06em; }
.blog-card h3{ font-size:1.06rem; margin-bottom:10px; }
.blog-card p{ font-size:0.88rem; color:var(--text-mute); }

/* ---- Utility ---- */
.text-center{ text-align:center; }
.mt-lg{ margin-top:56px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:760px){ .grid-2{ grid-template-columns:1fr; } .about-grid, .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } .about-art{ margin-bottom:40px;} }
