/* ══════════════════════════════════════════════
   Ascendant Value Solutions — main.css
   ══════════════════════════════════════════════ */

/* ── Reset & base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a2e3b;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Brand tokens ──────────────────────────── */
:root {
  --navy:      #0b2d47;
  --navy-mid:  #133a56;
  --teal:      #1e8e85;
  --teal-light:#28aaa0;
  --teal-pale: #e6f6f5;
  --accent:    #4dc5bb;
  --white:     #ffffff;
  --gray-50:   #f7f9fb;
  --gray-100:  #edf1f5;
  --gray-400:  #8fa3b1;
  --text:      #1a2e3b;
}

/* ── Utility ───────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  letter-spacing: .02em;
  border: 2px solid transparent;
}
.btn-primary   { background: var(--teal);  color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); }
.btn-outline   { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy      { background: var(--navy);  color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-teal-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-teal-outline:hover { background: var(--teal); color: var(--white); }

.section-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-title span { color: var(--teal); }

/* ── NAVBAR ────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 2px 16px rgba(11,45,71,.07);
  transition: box-shadow .3s;
}
#site-nav.scrolled { box-shadow: 0 4px 24px rgba(11,45,71,.13); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 44px; height: 44px; }
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.logo-text span { font-size: .8rem; font-weight: 500; color: var(--teal); }
.footer-logo .logo-text strong { color: var(--white); }

/* Custom logo (WordPress media upload) */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { height: 44px !important; width: auto !important; max-width: none !important; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.nav-drawer.open { max-height: 420px; }
.nav-drawer-links { list-style: none; padding: 16px 0 4px; }
.nav-drawer-links li a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
}
.nav-drawer-cta { display: inline-block; margin: 20px 0; }

/* ── HERO ──────────────────────────────────── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0d3d5e 55%, #0f4a68 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 80% at 75% 50%, rgba(30,142,133,.18) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e8e85' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(30,142,133,.25);
  border: 1px solid rgba(77,197,187,.4);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero-taglines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.hero-taglines p { font-size: 1.05rem; font-weight: 600; color: var(--accent); }
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 38px;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero right stat cards */
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 24px 20px;
  backdrop-filter: blur(8px);
  transition: transform .25s, background .25s;
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.11); }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: .84rem; color: rgba(255,255,255,.7); font-weight: 500; line-height: 1.35; }

/* ── INTRO STRIP ───────────────────────────── */
.intro-strip {
  background: var(--teal-pale);
  border-top: 3px solid var(--teal);
  padding: 48px 0;
}
.intro-strip p {
  font-size: 1.18rem;
  color: var(--navy);
  line-height: 1.75;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.intro-strip p strong { color: var(--teal); font-weight: 700; }

/* ── SERVICES ──────────────────────────────── */
.services { padding: 100px 0; background: var(--white); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header p { font-size: 1rem; color: #4a6072; max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 36px 30px;
  background: var(--white);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { box-shadow: 0 16px 48px rgba(11,45,71,.1); transform: translateY(-5px); border-color: var(--teal-pale); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 1.5rem;
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: .93rem; color: #4a6072; line-height: 1.7; }

/* ── HOW IT WORKS ──────────────────────────── */
.how { padding: 90px 0; background: var(--gray-50); }
.how-header { text-align: center; margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--accent));
}
.step { text-align: center; position: relative; }
.step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(30,142,133,.35);
}
.step h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: .875rem; color: #4a6072; line-height: 1.6; }

/* ── ADVANTAGE ─────────────────────────────── */
.advantage {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3d5e 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.advantage::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,142,133,.18) 0%, transparent 70%);
  pointer-events: none;
}
.advantage-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.advantage-left h2 { font-size: 2.6rem; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.advantage-left h2 span { color: var(--accent); }
.advantage-left p { font-size: .98rem; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 32px; }
.advantage-items { display: flex; flex-direction: column; gap: 20px; }
.adv-item {
  display: flex; gap: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 22px;
  transition: background .2s;
}
.adv-item:hover { background: rgba(255,255,255,.1); }
.adv-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(30,142,133,.3);
  border: 1px solid rgba(77,197,187,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.adv-item h4 { font-size: .98rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.adv-item p { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.55; }

/* ── STATS BAR ─────────────────────────────── */
.stats-bar { background: var(--teal); padding: 52px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat-item { padding: 8px; }
.stat-item .num { font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-item .lbl { font-size: .85rem; color: rgba(255,255,255,.82); font-weight: 500; }
.stat-divider { border-left: 1px solid rgba(255,255,255,.25); }

/* ── CTA SECTION ───────────────────────────── */
.cta-section {
  padding: 90px 0;
  background: var(--teal-pale);
  text-align: center;
  border-top: 1px solid rgba(30,142,133,.15);
}
.cta-section h2 { font-size: 2.3rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.cta-section h2 span { color: var(--teal); }
.cta-section p { font-size: 1rem; color: #4a6072; margin-bottom: 38px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT STRIP ─────────────────────────── */
.contact-strip { background: var(--navy); padding: 32px 0; }
.contact-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--white); text-decoration: none;
  font-size: .95rem; font-weight: 500;
  transition: color .2s;
}
.contact-item:hover { color: var(--accent); }
.contact-item .icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* ── FOOTER ────────────────────────────────── */
#site-footer { background: #071e2e; padding: 52px 0 28px; color: rgba(255,255,255,.55); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-top: 14px; max-width: 260px; }
.footer-col h5 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { text-decoration: none; font-size: .88rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: .82rem;
}
.footer-bottom a { color: var(--accent); text-decoration: none; }

/* ── INNER PAGES ───────────────────────────── */
.page-hero {
  padding: 130px 0 70px;
  background: linear-gradient(135deg, var(--navy) 0%, #0d3d5e 100%);
  text-align: center;
}
.page-hero h1 { font-size: 2.6rem; font-weight: 800; color: var(--white); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-top: 14px; max-width: 600px; margin-left: auto; margin-right: auto; }
/* Front page block content wrapper — no padding; each section handles its own */
.front-page-content { padding: 0; margin: 0; }
.front-page-content .wp-block-html { margin: 0; padding: 0; }

.page-content { padding: 80px 0; }
.page-content .entry-content { max-width: 800px; margin: 0 auto; }
.entry-content h2 { font-size: 1.7rem; font-weight: 700; color: var(--navy); margin: 40px 0 14px; }
.entry-content h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.entry-content p { font-size: 1rem; color: #3a5060; line-height: 1.8; margin-bottom: 20px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; color: #3a5060; line-height: 1.8; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--teal); text-decoration: underline; }
.entry-content blockquote {
  border-left: 4px solid var(--teal);
  padding: 16px 24px;
  background: var(--teal-pale);
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--navy);
}

/* Blog archive */
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding: 80px 0; }
.blog-posts article { padding: 32px 0; border-bottom: 1px solid var(--gray-100); }
.blog-posts article:last-child { border-bottom: none; }
.post-meta { font-size: .82rem; color: var(--gray-400); margin-bottom: 8px; }
.post-meta a { color: var(--teal); text-decoration: none; }
article h2 a { text-decoration: none; color: var(--navy); font-size: 1.4rem; font-weight: 700; }
article h2 a:hover { color: var(--teal); }
article .excerpt { color: #4a6072; line-height: 1.7; margin: 12px 0 18px; }
.read-more { color: var(--teal); font-weight: 600; text-decoration: none; font-size: .9rem; }
.read-more:hover { text-decoration: underline; }

/* Sidebar */
.sidebar .widget { margin-bottom: 36px; }
.widget-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--teal-pale); }

/* Pagination */
.pagination { padding: 40px 0; display: flex; gap: 8px; justify-content: center; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 4px;
  font-weight: 600; font-size: .9rem; text-decoration: none;
  border: 1px solid var(--gray-100); color: var(--navy);
  transition: all .2s;
}
.pagination a:hover, .pagination .current { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* 404 */
.error-404 { text-align: center; padding: 120px 0; }
.error-404 .num { font-size: 9rem; font-weight: 900; color: var(--teal-pale); line-height: 1; }
.error-404 h1 { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.error-404 p { color: #4a6072; margin-bottom: 32px; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .advantage-grid { grid-template-columns: 1fr; gap: 40px; }
  .advantage-left h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 120px 0 72px; }
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-divider { border-left: none; border-top: 1px solid rgba(255,255,255,.25); padding-top: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.75rem; }
  .advantage-left h2 { font-size: 1.8rem; }
  .cta-section h2 { font-size: 1.8rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .steps { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-divider { border-left: none; border-top: 1px solid rgba(255,255,255,.25); }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .contact-inner { flex-direction: column; gap: 20px; }
}


/* Footer logo (white-text PNG) */
.footer-logo-link { display: inline-block; line-height: 0; }
.footer-logo-img  { height: 44px; width: auto; display: block; }
/* Footer brand (icon + text two-element layout) */
.footer-brand-link { display: flex; align-items: center; gap: 14px; text-decoration: none; line-height: 0; }
.footer-icon-svg   { width: 52px; height: 52px; flex-shrink: 0; }
.footer-brand-link .logo-text { line-height: 1.3; }