/* =========================================================
   AXVO Consultants — Core Stylesheet
   ========================================================= */

:root{
  --navy:#0b223d;
  --navy-2:#1f354f;
  --teal:#00567A;
  --teal-dark:#0b3b56;
  --gold:#e0a83e;
  --cream:#FAF9F6;
  --ink:#1f2937;
  --muted:#5b6672;
  --border:#e6e2d8;
  --radius:14px;
  --shadow-sm:0 6px 18px rgba(11,34,61,.08);
  --shadow-md:0 18px 40px rgba(11,34,61,.12);
  --shadow-lg:0 30px 60px rgba(11,34,61,.14);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;}
h1,h2,h3,h4{font-family:inherit;font-weight:800;line-height:1.2;margin:0 0 14px;color:var(--navy);}
h2{font-size:clamp(26px,3.2vw,38px);}
h3{font-size:20px;}
h4{font-size:16px;margin-bottom:6px;}
p{margin:0 0 12px;color:var(--muted);}
ul{margin:0;padding:0;}

.container{max-width:1180px;margin:0 auto;padding:0 24px;}

section{padding:88px 0;}
.section-alt{background:#f2f0ea;}

.section-head{max-width:640px;margin-bottom:48px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--teal);margin-bottom:14px;
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--gold);display:inline-block;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 28px;border-radius:999px;font-weight:700;font-size:14.5px;
  text-decoration:none;white-space:nowrap;
}
.btn-primary{background:var(--gold);color:var(--navy);}
.btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.6);}
.contact-form-panel .btn-primary,
section:not(.hero):not(.cta-banner) .btn-outline{color:var(--navy);border-color:var(--teal);}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:1180px;margin:0 auto;padding:10px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand img{height:145.6px;width:auto;}
.main-nav ul{display:flex;gap:34px;list-style:none;}
.main-nav a{
  text-decoration:none;color:var(--navy);font-weight:600;font-size:15px;
  position:relative;padding:6px 0;
}
.main-nav a::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:0;
  background:var(--gold);transition:width .25s ease;
}
.main-nav a:hover::after,.main-nav a.active::after{width:100%;}
.main-nav a.active{color:var(--teal);}
.header-cta{display:flex;align-items:center;gap:16px;}
.header-cta .btn-primary{padding:11px 24px;}
.nav-toggle{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:38px;height:38px;border:none;background:transparent;cursor:pointer;
}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--navy);border-radius:2px;}

@media (max-width:900px){
  .main-nav{
    position:absolute;top:100%;left:0;right:0;background:#fff;
    border-bottom:1px solid var(--border);
    max-height:0;overflow:hidden;transition:max-height .3s ease;
  }
  .main-nav.open{max-height:400px;}
  .main-nav ul{flex-direction:column;gap:0;padding:8px 24px 18px;}
  .main-nav a{display:block;padding:12px 0;}
  .header-cta .btn-primary{display:none;}
  .nav-toggle{display:flex;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:82vh;display:flex;align-items:center;
  overflow:hidden;color:#fff;padding:0;
}
.hero-bg{position:absolute;inset:0;z-index:0;}
.hero-bg video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;}
.hero-fallback-bg{
  position:absolute;inset:0;z-index:0;
  background:linear-gradient(120deg,var(--navy),var(--navy-2) 60%,var(--teal-dark));
}
.hero-fallback-wave{position:absolute;inset:0;opacity:.15;z-index:0;}
.hero-overlay{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(120deg,rgba(11,34,61,.82),rgba(11,34,61,.55));
}
.hero-motif{position:absolute;inset:0;z-index:1;opacity:.12;pointer-events:none;}
.hero-inner{position:relative;z-index:2;padding:120px 0 90px;max-width:760px;}
.hero-inner h1{color:#fff;font-size:clamp(32px,4.6vw,52px);margin-bottom:20px;}
.hero-inner .lead{color:rgba(255,255,255,.85);font-size:18px;max-width:56ch;margin-bottom:34px;}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;}
.scroll-cue{
  position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:6px;color:rgba(255,255,255,.7);
  font-size:12px;letter-spacing:.08em;text-transform:uppercase;
}
.scroll-cue .chevron{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);}

/* ---------- Grid & Cards ---------- */
.grid{display:grid;gap:28px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
@media (max-width:960px){.grid-3{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.grid-3{grid-template-columns:1fr;}}

.card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:34px 28px;box-shadow:var(--shadow-sm);
}
.card .icon{
  width:52px;height:52px;border-radius:12px;background:rgba(0,86,122,.08);
  color:var(--teal);display:flex;align-items:center;justify-content:center;margin-bottom:20px;
}
.card .icon svg{width:26px;height:26px;}
.card h3{margin-bottom:10px;}
.card p{margin-bottom:16px;}
.card-link{
  display:inline-flex;align-items:center;gap:6px;color:var(--teal);
  font-weight:700;font-size:14.5px;text-decoration:none;
}
.card-link svg{width:16px;height:16px;}

/* ---------- Two-column / Why AXVO ---------- */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
@media (max-width:860px){.two-col{grid-template-columns:1fr;}}
.media-ph{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  background:#e7e3d8;border-radius:var(--radius);color:#9a9182;text-align:center;padding:32px;
}
.media-ph svg{width:56px;height:56px;}
.media-ph span{max-width:32ch;font-size:14px;}

.media-photo{
  border-radius:var(--radius);overflow:hidden;min-height:420px;
}
.media-photo img{
  width:100%;height:100%;min-height:420px;object-fit:cover;display:block;
}
.service-photo{
  border-radius:var(--radius);overflow:hidden;height:420px;
}
.service-photo img{
  width:100%;height:100%;object-fit:cover;display:block;
}

.value-item{display:flex;gap:18px;align-items:flex-start;}
.value-item .num{
  flex:none;width:42px;height:42px;border-radius:50%;background:var(--teal);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;
}
.value-item h4{color:var(--navy);}
.value-item p{margin:0;}

/* ---------- CTA banner ---------- */
.cta-banner{
  position:relative;background:linear-gradient(120deg,var(--navy),var(--teal-dark));
  color:#fff;text-align:center;overflow:hidden;
}
.cta-banner h2{color:#fff;margin-bottom:14px;}
.cta-banner p{color:rgba(255,255,255,.82);max-width:56ch;margin:0 auto 30px;}
.cta-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy);color:rgba(255,255,255,.75);padding:70px 0 0;}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:50px;
}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr;}}
.footer-brand img{height:117.6px;margin-bottom:18px;}
.footer-brand p{color:rgba(255,255,255,.6);max-width:34ch;}
.footer-col h5{color:#fff;font-size:14px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:18px;}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:11px;}
.footer-col a{color:rgba(255,255,255,.68);text-decoration:none;font-size:14.5px;}
.footer-col a:hover{color:var(--gold);}
.social-row{display:flex;gap:12px;}
.social-row a{
  width:36px;height:36px;border-radius:50%;border:1.5px solid rgba(255,255,255,.35);
  display:flex;align-items:center;justify-content:center;color:#fff;transition:all .2s ease;
}
.social-row a:hover{background:var(--gold);border-color:var(--gold);}
.social-row svg{width:16px;height:16px;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);padding:22px 0;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
  font-size:13px;color:rgba(255,255,255,.5);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
.reveal.is-visible{opacity:1;transform:translateY(0);}

/* ---------- Generic page banner (About/Services/Insights/Service detail) ---------- */
.page-banner{position:relative;min-height:280px;display:flex;align-items:center;overflow:hidden;color:#fff;}
.page-banner-bg{position:absolute;inset:0;z-index:0;background:linear-gradient(120deg,var(--navy),var(--navy-2));}
.page-banner-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(120deg,rgba(11,34,61,.85),rgba(11,34,61,.6));}
.page-banner-inner{position:relative;z-index:2;padding:80px 0 64px;}
.page-banner-inner h1{color:#fff;margin:10px 0 14px;font-size:clamp(28px,4vw,42px);}
.page-banner-inner .eyebrow{color:#fff;}
.page-banner-inner .crumb{color:rgba(255,255,255,.75);font-size:14px;margin:0;}
.page-banner-inner .crumb a{color:#fff;text-decoration:none;}
.page-banner-inner .crumb a:hover{text-decoration:underline;}
.page-banner-inner .crumb span{margin:0 6px;opacity:.6;}

/* ---------- Checklist ---------- */
.check-list{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:14px;}
.check-list li{display:flex;align-items:flex-start;gap:12px;color:var(--ink);font-weight:500;}
.check-list li svg{flex:none;width:22px;height:22px;color:#fff;background:var(--teal);border-radius:50%;padding:4px;margin-top:1px;}

/* ---------- Simple stat row ---------- */
.stat-row{display:flex;gap:48px;flex-wrap:wrap;margin-top:8px;}
.stat-row .stat-num{font-size:34px;font-weight:800;color:var(--teal);margin-bottom:4px;}
.stat-row .stat-label{font-size:13.5px;color:var(--muted);}

/* ---------- Insight/article cards ---------- */
.article-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;}
.article-thumb{height:170px;background:linear-gradient(135deg,var(--teal),var(--navy));display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.85);}
.article-thumb svg{width:40px;height:40px;}
.article-body{padding:26px 24px;display:flex;flex-direction:column;flex:1;}
.article-tag{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--teal);margin-bottom:10px;}
.article-body h3{margin-bottom:10px;}
.article-body p{flex:1;}

@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none;}
}

/* =========================================================
   Mobile optimization pass
   ========================================================= */
@media (max-width:900px){
  .brand img{height:48px;}
  .header-inner{padding:8px 20px;}
}

@media (max-width:640px){
  .container{padding:0 18px;}
  section{padding:56px 0;}
  .section-head{margin-bottom:32px;}
  h2{font-size:clamp(24px,6vw,30px);}

  /* Hero */
  .hero{min-height:auto;}
  .hero-inner{padding:100px 0 56px;}
  .hero-inner h1{font-size:clamp(28px,7vw,34px);}
  .hero-inner .lead{font-size:16px;margin-bottom:26px;}
  .hero-actions{flex-direction:column;align-items:stretch;gap:12px;}
  .hero-actions .btn{width:100%;}
  .scroll-cue{display:none;}

  /* Cards */
  .card{padding:26px 22px;}
  .grid{gap:20px;}

  /* Two-column sections */
  .two-col{gap:32px;}
  .media-photo,.media-photo img{min-height:220px;}
  .service-photo{height:220px;}
  .stat-row{gap:24px 32px;}
  .stat-row .stat-num{font-size:28px;}

  /* CTA banner */
  .cta-actions{flex-direction:column;align-items:stretch;gap:12px;}
  .cta-actions .btn{width:100%;}

  /* Page banner */
  .page-banner{min-height:200px;}
  .page-banner-inner{padding:60px 0 40px;}

  /* Footer */
  .site-footer{padding:48px 0 0;}
  .footer-grid{gap:32px;padding-bottom:32px;}
  .footer-brand img{height:56px;margin-bottom:14px;}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:6px;padding:18px 0;}

  /* Insight cards */
  .article-thumb{height:140px;}
  .article-body{padding:20px 18px;}

  /* WhatsApp button */
  .whatsapp-float{width:48px;height:48px;bottom:16px;right:16px;}
  .whatsapp-float svg{width:24px;height:24px;}
}

@media (max-width:400px){
  .header-inner{padding:6px 16px;}
  .brand img{height:42px;}
  section{padding:44px 0;}
}
