/* ============================================================
   DigiERP — Design system
   Palette: cool corporate light — navy authority + teal signal
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (data)
   ============================================================ */

:root{
  /* -- color -- */
  --bg:            #F6F8FC;
  --surface:       #FFFFFF;
  --surface-alt:   #EDF1F8;
  --surface-dark:  #0E1F42;
  --navy:          #10254D;
  --navy-deep:     #0A1730;
  --teal:          #F0C33D;
  --teal-deep:     #93700D;
  --gold:          #FFDE59;
  --gold-soft:     #FFF6DC;
  --blue:          #2F6FED;
  --amber:         #C98A2A;
  --text:          #101828;
  --text-muted:    #5B6472;
  --text-soft:     #8993A3;
  --text-on-dark:  #E8EDF7;
  --text-on-dark-muted: #9FB0CC;
  --border:        #E1E7F1;
  --border-dark:   rgba(255,255,255,0.12);
  --success:       #17845A;

  /* -- type -- */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body:    'Inter', sans-serif;
  --f-mono:    'IBM Plex Mono', monospace;

  /* -- layout -- */
  --maxw: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,37,77,0.06), 0 1px 1px rgba(16,37,77,0.04);
  --shadow-md: 0 8px 24px rgba(16,37,77,0.08);
  --shadow-lg: 0 20px 48px rgba(16,37,77,0.14);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--f-display); color: var(--navy); margin:0; line-height:1.12; letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }

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

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

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--teal-deep); font-weight:600;
}
.eyebrow::before{
  content:""; width:6px; height:6px; border-radius:50%; background: var(--teal);
  box-shadow: 0 0 0 3px rgba(240,195,61,0.24);
}

.section{ padding: 96px 0; }
.section--tight{ padding: 64px 0; }
.section--alt{ background: var(--surface-alt); }
.section--dark{ background: linear-gradient(180deg,var(--navy-deep),var(--navy) 60%); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3{ color:#fff; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(28px,3.4vw,38px); margin-top:14px; }
.section-head p{ color: var(--text-muted); font-size:17px; margin-top:14px; }
.section--dark .section-head p{ color: var(--text-on-dark-muted); }

.eyebrow-center{ text-align:center; margin:0 auto; }
.section-head--center{ max-width: 620px; margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--f-body); font-weight:600; font-size: 15px;
  padding: 13px 24px; border-radius: 10px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}

@media (max-width: 450px){
  .btn{
    font-size: 13px;
  }
}
@media (max-width: 370px){
  .btn{
    font-size: 10px;
  }
}

.btn:hover{ transform: translateY(-1.5px); }
.btn-primary{ background: var(--navy); color:#fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn-accent{ background: var(--teal); color:#04211f; }
.btn-accent:hover{ background: var(--teal-deep); color:#fff; }
.btn-ghost{ background: transparent; border-color: var(--border); color: var(--navy); }
.btn-ghost:hover{ border-color: var(--navy); background: var(--surface); }
.btn-ghost-light{ background: transparent; border-color: rgba(255,255,255,0.28); color:#fff; }
.btn-ghost-light:hover{ border-color:#fff; background: rgba(255,255,255,0.08); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 16px; font-size:13.5px; border-radius:8px; }
@media (max-width:400px){ .btn-sm { padding: 7px 8px;font-size: 11.5px;border-radius: 8px;} }

/* ---------- utility topbar (language switch) ---------- */
.topbar{
  background: var(--navy-deep); color: rgba(255,255,255,0.82); font-size:12.5px;
}
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; height:38px; gap:16px; }
.topbar-tagline{ font-family: var(--f-mono); letter-spacing:.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lang-switch{ display:flex; align-items:center; gap:6px; flex:0 0 auto; }
.lang-switch-label{ font-size:11px; color: rgba(255,255,255,0.5); margin-right:2px; }
.lang-switch-group{ display:flex; background: rgba(255,255,255,0.08); border-radius:99px; padding:3px; gap:2px; }
.lang-btn{
  border:none; background:transparent; color: rgba(255,255,255,0.7); font-family: var(--f-body); font-weight:600;
  font-size:12px; padding:5px 12px; border-radius:99px; cursor:pointer; transition: all .15s ease;
}
.lang-btn.is-active{ background: var(--gold); color: var(--navy-deep); }
.lang-btn:not(.is-active):hover{ color:#fff; }
@media (max-width:700px){ .topbar-tagline{ display:none; } }

/* ---------- header: dark variant ---------- */
.site-header{
  position: sticky; top:0; z-index:100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* Nav spans 90% of the viewport, independent of the standard 1200px body wrapper */
.site-header .wrap{ max-width:none; width:90%; padding:0; margin:0 auto; }
.site-header .brand{ color:#fff; }
.site-header .brand-tail{ color: var(--gold); }
.site-header .nav-links a{ color: rgba(255,255,255,0.82); }
.site-header .nav-links a:hover{ background: rgba(255,255,255,0.08); color:#fff; }
.site-header .nav-links a.active{ color:#fff; }
.site-header .btn-ghost{ border-color: rgba(255,255,255,0.32); color:#fff; }
.site-header .btn-ghost:hover{ border-color:#fff; background: rgba(255,255,255,0.08); }
.site-header .btn-primary{ background: var(--gold); color: var(--navy-deep); }
.site-header .btn-primary:hover{ background:#fff; color: var(--navy-deep); }
.site-header .nav-toggle{ border-color: rgba(255,255,255,0.32); }
.site-header .nav-toggle span{ background:#fff; }
@media (max-width: 1200px){
  .site-header .nav-links a{ color: var(--text); }
  .site-header .nav-links a:hover{ background: var(--surface-alt); color: var(--navy); }
  .site-header .nav-links a.active{ color: var(--navy); }
}
.nav{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; font-family: var(--f-display); font-weight:700; font-size:21px; color: var(--navy); }
.brand-badge{ display:flex; align-items:center; flex:0 0 auto; height:38px; margin-right: 5px; }
.brand-badge img{ height:100%; width:auto; object-fit:contain; display:block; }
.brand-tail{ color: var(--teal-deep); }

.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links a{
  padding:10px 16px; border-radius:8px; font-size:14.5px; font-weight:500; color: var(--text);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover{ background: var(--surface-alt); color: var(--navy); }
.nav-links a.active{ color: var(--navy); font-weight:700; }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:1.5px solid var(--border); border-radius:8px; padding:8px 10px; position:relative; }
.nav-toggle span{
  display:block; width:20px; height:2px; background: var(--navy); margin:4px 0; border-radius:2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.nav-close{
  display:none; align-items:center; gap:8px; width:100%; text-align:left;
  padding:8px 10px 16px; margin-bottom:8px; border:none; border-bottom:1px solid var(--border);
  background:none; font-family: var(--f-body); font-weight:600; font-size:13.5px; color: var(--text-muted);
}
.nav-close svg{ width:16px; height:16px; flex:0 0 auto; }
.nav-close:hover{ color: var(--navy); }

@media (max-width: 1200px){
  .nav-links{
    position:fixed; inset: 76px 0 0 0; background: var(--surface);
    flex-direction:column; align-items:stretch; padding:14px 20px; gap:2px;
    transform: translateY(-8px); opacity:0; pointer-events:none; transition: all .18s ease;
    border-top:1px solid var(--border); max-height: calc(100vh - 76px); overflow:auto;
  }
  .nav-links.open{ transform:none; opacity:1; pointer-events:auto; }
  .nav-links a{ padding:14px 10px; border-bottom:1px solid var(--border); border-radius:0; }
  .nav-toggle{ display:block; }
  .nav-close{ display:flex; }
  .nav-cta .btn-ghost{ display:none; }
}

/* ---------- hero ---------- */
.hero{ padding: 72px 0 40px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap:56px; align-items:center; }
.hero h1{ font-size: clamp(36px, 3vw, 58px); margin-top:18px; }
@media (max-width: 500px){
  .hero h1{ font-size: clamp(28px, 3vw, 58px);}
}

@media (max-width: 400px){
  .hero h1{ font-size: clamp(24px, 3vw, 58px);}
}

@media (max-width: 360px){
  .hero h1{ font-size: clamp(20px, 3vw, 58px);}
}

.hero-lede{ font-size:18px; color: var(--text-muted); max-width:520px; margin-top:20px; }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.hero-meta{ display:flex; gap:28px; margin-top:44px; flex-wrap:wrap; }
.hero-meta div{ display:flex; flex-direction:column; gap:2px; }
.hero-meta strong{ font-family: var(--f-mono); font-size:22px; color: var(--navy); }
.hero-meta span{ font-size:12.5px; color: var(--text-soft); }
/* removed: .hero-slider:hover{ cursor:grab } — implied drag-to-swipe that didn't exist; replaced by explicit pause button */
.hero-art{ position:relative; }
.hero-art svg{ width:100%; height:auto; }

@media (max-width: 768px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; max-width:440px; margin:0 auto; }
}

/* trust bar */
.trust-bar{ padding: 30px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.trust-bar .wrap{ display:flex; align-items:center; gap:36px; flex-wrap:wrap; justify-content:space-between; }
.trust-label{ font-family: var(--f-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--text-soft); flex: 0 0 auto; }
.trust-logos{ display:flex; gap:34px; flex-wrap:wrap; align-items:center; }
.trust-logos span{ font-family: var(--f-display); font-weight:700; font-size:17px; color: var(--text-soft); letter-spacing:-0.02em; }

/* ---------- cards / grids ---------- */
.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
.grid-2{ grid-template-columns: repeat(2,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px){ .grid-3,.grid-4,.grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }

.icon-tile{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(155deg,#FFF6DC,#FCEBB6); color: var(--teal-deep); flex:0 0 auto;
}
.icon-tile svg{ width:23px; height:23px; }

.value-card h3{ font-size:18px; margin-top:16px; }
.value-card p{ color: var(--text-muted); font-size:14.5px; margin-top:8px; }

/* module cards */
.module-card{ display:flex; flex-direction:column; gap:14px; }
.module-card .module-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.module-num{ font-family: var(--f-mono); font-size:12px; color: var(--text-soft); }
.module-card h3{ font-size:19px; }
.module-card p{ color: var(--text-muted); font-size:14.5px; }
.module-feats{ display:flex; flex-direction:column; gap:8px; margin-top:4px; }
.module-feats li{ font-size:13.5px; color: var(--text); display:flex; gap:8px; align-items:flex-start; }
.module-feats li::before{ content:"—"; color: var(--teal-deep); flex:0 0 auto; }
.module-link{ margin-top:auto; font-size:13.5px; font-weight:600; color: var(--blue); display:inline-flex; align-items:center; gap:6px; padding-top:6px; }

/* stats band */
.stats-band{ background: var(--navy); color:#fff; border-radius: var(--radius-lg); padding:48px; }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:32px; }
.stat strong{ font-family: var(--f-mono); font-size: clamp(28px,3vw,38px); display:block; color:#fff; }
.stat span{ font-size:13.5px; color: var(--text-on-dark-muted); margin-top:6px; display:block; }
@media (max-width:800px){ .stats-grid{ grid-template-columns: repeat(2,1fr); } }

/* process / steps */
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; counter-reset: step; }
.step{ position:relative; padding-top:20px; border-top:2px solid var(--border); }
.step-index{ font-family: var(--f-mono); font-size:13px; color: var(--teal-deep); }
.step h3{ font-size:17px; margin-top:10px; }
.step p{ font-size:14px; color: var(--text-muted); margin-top:8px; }
@media (max-width:900px){ .steps{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .steps{ grid-template-columns: 1fr; } }

/* testimonial */
.testimonial{ background: var(--surface-alt); border-radius: var(--radius-lg); padding:56px; display:grid; grid-template-columns: auto 1fr; gap:36px; align-items:center; }
.testimonial blockquote{ font-family: var(--f-display); font-size: clamp(20px,2.4vw,27px); color: var(--navy); margin:0; line-height:1.4; }
.testimonial cite{ display:block; margin-top:20px; font-style:normal; font-size:14px; color: var(--text-muted); }
.quote-mark{ font-family: var(--f-display); font-size:64px; color: var(--teal); line-height:1; }
@media (max-width:760px){ .testimonial{ grid-template-columns:1fr; padding:36px; } }

/* CTA band */
.cta-band{
  background: radial-gradient(120% 160% at 15% 15%, #123a63, var(--navy-deep));
  border-radius: var(--radius-lg); padding:64px; text-align:center; color:#fff;
  position:relative; overflow:hidden;
}
.cta-band h2{ color:#fff; font-size: clamp(26px,3.2vw,36px); }
.cta-band p{ color: var(--text-on-dark-muted); margin-top:14px; font-size:16.5px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; margin-top:30px; flex-wrap:wrap; }

/* ---------- footer ---------- */
.site-footer{ background: var(--navy-deep); color: var(--text-on-dark); padding: 72px 0 28px; margin-top: 40px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr repeat(4,1fr); gap:36px; padding-bottom:48px; border-bottom:1px solid var(--border-dark); }
.footer-brand p{ color: var(--text-on-dark-muted); font-size:14px; margin-top:14px; max-width:280px; }
.footer-brand .brand{ color:#fff; }
.footer-col h4{ font-family: var(--f-body); font-size:13px; letter-spacing:.05em; text-transform:uppercase; color: var(--text-on-dark-muted); font-weight:600; }
.footer-col ul{ margin-top:16px; display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:14px; color: var(--text-on-dark); opacity:0.85; }
.footer-col a:hover{ opacity:1; color: var(--teal); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; flex-wrap:wrap; gap:14px; }
.footer-bottom p{ font-size:13px; color: var(--text-on-dark-muted); }
.footer-social{ display:flex; gap:14px; }
.footer-social a{ width:34px; height:34px; border-radius:8px; border:1px solid var(--border-dark); display:flex; align-items:center; justify-content:center; }
.footer-social svg{ width:15px; height:15px; }

@media (max-width: 900px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
  .section{ padding:64px 0; }
  .stats-band, .testimonial, .cta-band{ padding:32px; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero{ padding: 60px 20px 56px; }
.page-hero h1{ font-size: clamp(32px,4vw,46px); margin-top:16px; }
.page-hero p{ font-size:17px; color: var(--text-muted); max-width:640px; margin-top:16px; }
.breadcrumb{ font-family: var(--f-mono); font-size:12.5px; color: var(--text-soft); }
.breadcrumb a{ color: var(--text-soft); }
.breadcrumb a:hover{ color: var(--navy); }
.page-numbers{ min-width:40px; text-align:center; padding:9px 14px;}
.btn-pointer{ cursor: pointer;}

/* pricing */
.pricing-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; align-items:stretch; }
.price-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); padding:34px; display:flex; flex-direction:column; }
.price-card.featured{ border-color: var(--navy); box-shadow: var(--shadow-lg); position:relative; transform: translateY(-8px); }
.price-badge{ position:absolute; top:-13px; left:34px; background: var(--teal); color:#04211f; font-size:12px; font-weight:700; padding:5px 12px; border-radius:99px; }
.price-name{ font-family: var(--f-display); font-size:20px; color: var(--navy); }
.price-desc{ font-size:13.5px; color: var(--text-muted); margin-top:8px; min-height:36px; }
.price-amount{ font-family: var(--f-mono); font-size:40px; color: var(--navy); margin-top:20px; }
.price-amount span{ font-size:14px; color: var(--text-soft); font-family: var(--f-body); }
.price-feats{ display:flex; flex-direction:column; gap:12px; margin:26px 0; flex:1; }
.price-feats li{ font-size:14px; display:flex; gap:10px; align-items:flex-start; }
.price-feats li svg{ width:16px; height:16px; flex:0 0 auto; margin-top:3px; color: var(--success); }
@media (max-width:900px){ .pricing-grid{ grid-template-columns:1fr; } .price-card.featured{ transform:none; } }

.compare-table{ width:100%; border-collapse:collapse; background: var(--surface); border-radius: var(--radius-md); overflow:hidden; border:1px solid var(--border); }
.compare-table th,.compare-table td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--border); font-size:14px; }
.compare-table th{ font-family: var(--f-display); color: var(--navy); background: var(--surface-alt); font-weight:600; }
.compare-table td.center, .compare-table th.center{ text-align:center; }
.compare-table tr:last-child td{ border-bottom:none; }

/* about */
.timeline{ display:flex; flex-direction:column; }
.tl-item{ display:grid; grid-template-columns: 110px 1fr; gap:24px; padding:26px 0; border-top:1px solid var(--border); }
.tl-item:last-child{ border-bottom:1px solid var(--border); }
.tl-year{ font-family: var(--f-mono); color: var(--teal-deep); font-weight:600; }
.tl-item h3{ font-size:17px; }
.tl-item p{ font-size:14.5px; color: var(--text-muted); margin-top:6px; }
@media (max-width:560px){
  .tl-item{ grid-template-columns: 1fr; gap:6px; padding:20px 0; }
  .tl-year{ font-size:13px; }
}

.people-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
.person{ text-align:left; }
.person-photo{ aspect-ratio:1; border-radius: var(--radius-md); background: linear-gradient(155deg,#DCE8FB,#EAF7F5); margin-bottom:14px; display:flex; align-items:center; justify-content:center; font-family:var(--f-display); font-size:28px; color:var(--navy); font-weight:700; }
.person h4{ font-size:15.5px; color:var(--navy); font-family:var(--f-body); font-weight:700; }
.person span{ font-size:13px; color: var(--text-muted); }
@media (max-width:900px){ .people-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px){ .people-grid{ grid-template-columns: 1fr; } }

.value-strip{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .value-strip{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px){ .value-strip{ grid-template-columns: 1fr; } }

/* industries */
.industry-card{ display:flex; flex-direction:column; gap:12px; }
.industry-card h3{ font-size:18px; }
.industry-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:6px; }
.industry-tags span{ font-family: var(--f-mono); font-size:11.5px; color: var(--teal-deep); background:#FFF6DC; padding:4px 10px; border-radius:99px; }

/* contact */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:start; }
.form-field{ margin-bottom:20px; }
.form-field label{ display:block; font-size:13.5px; font-weight:600; color: var(--navy); margin-bottom:8px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:13px 14px; border-radius:9px; border:1.5px solid var(--border); font-family: var(--f-body);
  font-size:14.5px; background: var(--surface); color: var(--text); transition: border-color .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color: var(--blue); outline:none; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-info-card{ background: var(--navy); color:#fff; border-radius: var(--radius-lg); padding:36px; }
.contact-info-card h3{ color:#fff; font-size:19px; }
.contact-row{ display:flex; gap:14px; padding:18px 0; border-top:1px solid var(--border-dark); align-items:flex-start; }
.contact-row:first-of-type{ border-top:none; margin-top:20px; }
.contact-row svg{ width:18px; height:18px; color: var(--teal); flex:0 0 auto; margin-top:2px; }
.contact-row strong{ display:block; font-size:14px; }
.contact-row span{ font-size:13.5px; color: var(--text-on-dark-muted); }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }

/* fade-in on scroll */
.reveal{ opacity:0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* faq */
.faq-item{ border-top:1px solid var(--border); padding:22px 0; }
.faq-item:last-child{ border-bottom:1px solid var(--border); }
.faq-q{ display:flex; justify-content:space-between; align-items:center; gap:16px; cursor:pointer; font-family: var(--f-display); font-size:16.5px; color: var(--navy); }
.faq-q .plus{ font-family: var(--f-mono); font-size:20px; color: var(--teal-deep); transition: transform .2s ease; flex:0 0 auto; }
.faq-item.open .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-a p{ padding-top:14px; color: var(--text-muted); font-size:14.5px; max-width:680px; }

/* ============================================================
   Hero slider (text carousel)
   ============================================================ */
.hero-slider{ position:relative; min-height: 300px; }
.hero-slide{
  position:absolute; inset:0; opacity:0; visibility:hidden; transform: translateY(10px);
  min-height: 330px; pointer-events:none;
}
.hero-slide.is-active{
  position:relative; opacity:1; visibility:visible; transform:none; pointer-events:auto;
  transition: opacity .5s ease, transform .5s ease;
}
.hero-slide .eyebrow{ margin-bottom:2px; }

.slider-controls{ display:flex; align-items:center; gap:14px; margin-top:36px; }
.slider-dots{ display:flex; gap:8px; }
.slider-dots button{
  width:28px; height:4px; border-radius:99px; background: var(--border); border:none; padding:0; cursor:pointer;
  transition: background .2s ease, width .2s ease;
}
.slider-dots button.is-active{ background: var(--teal-deep); width:44px; }

.slider-pause{
  display:flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%;
  border:1.5px solid var(--border); background:#fff; color: var(--text-muted); flex:0 0 auto; transition: all .15s ease;
}
.slider-pause:hover{ border-color: var(--navy); color: var(--navy); }
.slider-pause svg{ width:12px; height:12px; }
.slider-pause .icon-play{ display:none; }
.slider-pause.is-paused .icon-pause{ display:none; }
.slider-pause.is-paused .icon-play{ display:block; }

/* problem chip — pairs a real pain point with the solution headline below it */
.problem-chip{
  display:inline-flex; align-items:flex-start; gap:8px; background:#FDECEA; border:1px solid #F6C6BE;
  color:#B3261E; padding:8px 14px; border-radius:14px; font-size:12.5px; font-weight:600; line-height:1.4;
  margin-bottom:16px; max-width:100%;
  display: none;
}
.problem-chip svg{ width:14px; height:14px; flex:0 0 auto; margin-top:2px; color:#C0392B; }

/* ============================================================
   Modal (brochure / pricing request)
   ============================================================ */
.modal-overlay{
  position:fixed; inset:0; background: rgba(10,23,48,0.55); backdrop-filter: blur(2px);
  display:flex; align-items:center; justify-content:center; padding:20px; z-index:1000;
  opacity:0; pointer-events:none; transition: opacity .2s ease;
}
.modal-overlay.is-open{ opacity:1; pointer-events:auto; }
.modal-box{
  background:#fff; border-radius: var(--radius-lg); padding:40px; max-width:520px; width:100%;
  max-height:88vh; overflow-y:auto; box-shadow: var(--shadow-lg); position:relative;
  transform: translateY(14px) scale(0.98); transition: transform .25s ease;
}
.modal-overlay.is-open .modal-box{ transform:none; }
.modal-close{
  position:absolute; top:18px; right:18px; width:34px; height:34px; border-radius:9px; border:1.5px solid var(--border);
  background:#fff; display:flex; align-items:center; justify-content:center; color: var(--text-muted);
}
.modal-close:hover{ border-color: var(--navy); color: var(--navy); }
.modal-eyebrow{ margin-bottom:8px; }
.modal-box h3{ font-size:22px; margin-top:6px; }
.modal-box .modal-sub{ color: var(--text-muted); font-size:14px; margin-top:8px; }
.modal-tags{ display:flex; flex-wrap:wrap; gap:6px; margin: 16px 0 4px; }
.modal-tags span{ font-family: var(--f-mono); font-size:11px; background: var(--gold-soft); color: var(--teal-deep); padding:4px 10px; border-radius:99px; }
.modal-box form{ margin-top:20px; }
.modal-success{ text-align:center; padding:12px 0; }
.modal-success .icon-tile{ margin:0 auto 18px; width:56px; height:56px; border-radius:50%; }
.modal-success .icon-tile svg{ width:26px; height:26px; }

/* ============================================================
   Module selector (pricing page)
   ============================================================ */
.module-select-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
@media (max-width:900px){ .module-select-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px){ .module-select-grid{ grid-template-columns: 1fr; } }
.module-select-card{
  display:block; cursor:pointer; background: var(--surface); border:1.5px solid var(--border); border-radius: var(--radius-md);
  padding:18px; transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.module-select-card:hover{ border-color: var(--teal-deep); transform: translateY(-2px); }
.module-select-card.is-checked{ border-color: var(--navy); background: var(--gold-soft); }
.module-select-card input{ position:absolute; opacity:0; pointer-events:none; }
.msc-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.msc-check{
  width:20px; height:20px; border-radius:6px; border:1.6px solid var(--border); flex:0 0 auto;
  display:flex; align-items:center; justify-content:center; background:#fff; transition: all .15s ease;
}
.module-select-card.is-checked .msc-check{ background: var(--navy); border-color: var(--navy); }
.msc-check svg{ width:13px; height:13px; color:#fff; opacity:0; transition: opacity .1s ease; }
.module-select-card.is-checked .msc-check svg{ opacity:1; }
.module-select-card h4{ font-family: var(--f-display); color: var(--navy); font-size:15.5px; margin-top:12px; }
.module-select-card p{ font-size:13px; color: var(--text-muted); margin-top:6px; }

.selection-bar{
  position:sticky; bottom:20px; margin-top:40px; background: var(--navy); color:#fff; border-radius: var(--radius-lg);
  padding:20px 28px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  box-shadow: var(--shadow-lg);
}
.selection-bar strong{ font-family: var(--f-mono); color: var(--gold); font-size:18px; }
.selection-bar span{ font-size:13.5px; color: var(--text-on-dark-muted); display:block; margin-top:2px; }

/* ============================================================
   News / blog cards
   ============================================================ */
.news-card{ display:flex; flex-direction:column; height:100%; }
.news-thumb{
  aspect-ratio: 16/10; border-radius: var(--radius-md); margin-bottom:18px;
  background: linear-gradient(150deg,#FCEBB6,#FFF6DC); display:flex; align-items:center; justify-content:center;
}
.news-thumb svg{ width:44px; height:44px; color: var(--teal-deep); opacity:0.8; }
.news-meta{ font-family: var(--f-mono); font-size:11.5px; color: var(--text-soft); letter-spacing:.04em; text-transform:uppercase; }
.news-card h3{ font-size:17.5px; margin-top:10px; }
.news-card p{ font-size:14px; color: var(--text-muted); margin-top:8px; }
.news-link{ margin-top:auto; padding-top:16px; font-size:13.5px; font-weight:600; color: var(--blue); display:inline-flex; align-items:center; gap:6px; }
.news-featured{ display:grid; grid-template-columns: 1.1fr 1fr; gap:40px; align-items:center; background: var(--surface-alt); border-radius: var(--radius-lg); padding:40px; }
@media (max-width:800px){ .news-featured{ grid-template-columns:1fr; padding:26px; } }
.news-filters{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:36px; }
.news-filters button{
  border:1.5px solid var(--border); background:#fff; padding:9px 16px; border-radius:99px; font-size:13.5px; font-weight:600; color: var(--text-muted);
}
.news-filters button.is-active{ background: var(--navy); border-color: var(--navy); color:#fff; }

/* ============================================================
   Single post / article content (WordPress the_content() output)
   ============================================================ */
.post-content{ font-size:17px; line-height:1.75; color: var(--text); }

.post-content > *:first-child{ margin-top:0; }

.post-content h1, .post-content h2, .post-content h3,
.post-content h4, .post-content h5, .post-content h6{
  font-family: var(--f-display); color: var(--navy); line-height:1.25; letter-spacing:-0.01em;
  margin: 44px 0 16px;
}
.post-content h1{ font-size:32px; }
.post-content h2{ font-size:26px; padding-top:8px; border-top:1px solid var(--border); padding-top:32px; }
.post-content h3{ font-size:21px; }
.post-content h4{ font-size:18px; }
.post-content h5, .post-content h6{ font-size:15px; text-transform:uppercase; letter-spacing:.04em; color: var(--text-muted); }

.post-content p{ margin: 0 0 22px; }

.post-content a{
  color: var(--blue); text-decoration: underline; text-decoration-color: rgba(47,111,237,0.35);
  text-underline-offset: 3px; transition: text-decoration-color .15s ease;
}
.post-content a:hover{ text-decoration-color: var(--blue); }

.post-content strong{ color: var(--navy); font-weight:700; }
.post-content em{ font-style: italic; }

.post-content ul, .post-content ol{ margin: 0 0 22px; padding-left: 1.4em; }
.post-content ul{ list-style: disc; }
.post-content ol{ list-style: decimal; }
.post-content li{ margin-bottom:10px; padding-left:4px; }
.post-content li > ul, .post-content li > ol{ margin-top:10px; margin-bottom:0; }

.post-content blockquote{
  margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--teal);
  font-family: var(--f-display); font-size:19px; color: var(--navy); font-style: italic; line-height:1.5;
}
.post-content blockquote p{ margin-bottom:10px; }
.post-content blockquote cite{ display:block; font-family: var(--f-body); font-style:normal; font-size:13.5px; color: var(--text-muted); margin-top:4px; }

.post-content pre{
  background: var(--navy-deep); color: var(--text-on-dark); border-radius: var(--radius-md);
  padding:20px 22px; overflow-x:auto; margin: 28px 0; font-size:13.5px; line-height:1.6;
}
.post-content code{
  font-family: var(--f-mono); font-size: 0.88em; background: var(--surface-alt);
  color: var(--teal-deep); padding: 2px 6px; border-radius:5px;
}
.post-content pre code{ background:none; color:inherit; padding:0; border-radius:0; }

.post-content img{
  max-width:100%; height:auto; border-radius: var(--radius-md); display:block; margin: 28px auto;
  box-shadow: var(--shadow-sm);
}
.post-content figure{ margin: 28px 0; }
.post-content figure img{ margin: 0 auto 10px; }
.post-content figcaption{
  text-align:center; font-size:13px; color: var(--text-soft); font-family: var(--f-mono);
}

.post-content hr{ border:none; border-top:1px solid var(--border); margin: 40px 0; }

.post-content table{ width:100%; border-collapse:collapse; margin: 28px 0; font-size:14.5px; }
.post-content th, .post-content td{ padding:12px 16px; border-bottom:1px solid var(--border); text-align:left; }
.post-content th{ font-family: var(--f-display); color: var(--navy); background: var(--surface-alt); font-weight:600; }

.post-content .wp-caption{ max-width:100%; }
.post-content .alignleft{ float:left; margin: 6px 24px 16px 0; }
.post-content .alignright{ float:right; margin: 6px 0 16px 24px; }
.post-content .aligncenter{ display:block; margin-left:auto; margin-right:auto; }

/* WordPress core embed/gallery blocks, kept readable inside the same column width */
.post-content .wp-block-gallery{ margin: 28px 0; }
.post-content iframe{ max-width:100%; border-radius: var(--radius-md); }


/* ============================================================
   Flexible-modules callouts (used on Modules & Pricing pages)
   ============================================================ */
.note-box{
  margin-top:32px; background: var(--gold-soft); border-left:3px solid var(--teal); border-radius:10px;
  padding:20px 24px; display:flex; gap:16px; align-items:flex-start;
}
.note-box svg{ width:22px; height:22px; color: var(--teal-deep); flex:0 0 auto; margin-top:2px; }
.note-box h4{ font-family: var(--f-display); font-size:15px; color: var(--navy); }
.note-box p{ font-size:14px; color: var(--text); margin-top:6px; line-height:1.55; max-width:640px; }

.note-box-small{
  margin-top:28px; background: var(--gold-soft); border-left:3px solid var(--teal); border-radius:10px;
  padding:14px 20px; font-size:13.5px; color: var(--text);
}
.note-box-small strong{ color: var(--navy); }

/* ============================================================
   Simple checklist box (replaces the old 3-tier comparison table)
   ============================================================ */
.checklist-box{ margin-top:28px; border:1px solid var(--border); border-radius: var(--radius-md); padding:28px 32px; background: var(--surface-alt); }
.checklist-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px 32px; }
.check-item{ display:flex; align-items:center; gap:10px; font-size:14.5px; color: var(--text); }
.check-item svg{ width:16px; height:16px; color: var(--teal-deep); flex:0 0 auto; }
@media (max-width:600px){ .checklist-grid{ grid-template-columns:1fr; } }

/* ============================================================
   Locked module card (Admissions & Enrollment on Pricing)
   ============================================================ */
.msc-locked-tag{
  display:inline-block; margin-top:10px; font-family: var(--f-mono); font-size:10.5px; letter-spacing:.04em;
  text-transform:uppercase; color: var(--teal-deep); background: var(--gold-soft); padding:3px 9px; border-radius:99px;
}
.module-select-card.is-locked{ cursor:default; }
.module-select-card.is-locked:hover{ transform:none; }