/*
Theme Name: Safe Chain Solver
Theme URI: https://safechainsol.com
Author: Safe Chain Solver
Description: Custom WordPress theme for Safe Chain Solver — AI-assisted supply chain consulting.
Version: 1.1.0
License: Proprietary
Text Domain: safechainsolver
*/

/* =========================================================
   GOOGLE FONTS IMPORT
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --green: #3DBA4E;
  --green-dark: #2E9A3D;
  --green-light: #EBF9ED;
  --navy: #1B3D8C;
  --navy-dark: #122A63;
  --navy-light: #EEF2FB;
  --slate: #4A5568;
  --light: #F7F9FC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --text: #1A202C;
  --muted: #718096;
  --shadow: 0 4px 24px rgba(27,61,140,0.08);
  --shadow-lg: 0 16px 48px rgba(27,61,140,0.14);
  --radius: 12px;
  --radius-lg: 20px;

  /* ── Aliases for page-tools.php compatibility ── */
  --green-dk: #2E9A3D;
  --green-lt: #EBF9ED;
  --navy-lt:  #EEF2FB;
  --r:        12px;
  --r-lg:     20px;
  --sh:       0 4px 24px rgba(27,61,140,0.08);
  --sh-lg:    0 16px 48px rgba(27,61,140,0.14);
  --amber:    #F59E0B;
  --red:      #EF4444;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* =========================================================
   NAVIGATION
   ========================================================= */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1160px; margin: 0 auto;
}
.nav-logo img, .nav-logo .custom-logo-link img { height: 64px; width: auto; display: block; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text span:first-child {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--green) 0%, var(--navy) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-logo-text span:last-child { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--slate); transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.btn-nav {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  transition: background .2s, transform .15s;
}
.btn-nav:hover { background: var(--green) !important; transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; cursor: pointer;
  background: none; border: none;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--slate); border-radius: 2px; transition: .3s;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: linear-gradient(135deg, #0D1E4A 0%, #1B3D8C 50%, #0F5C24 100%);
  padding: 20px 0 16px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: 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='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(61,186,78,0.15);
  border: 1px solid rgba(61,186,78,0.3);
  color: #7EE89A;
  font-size: 12px; font-weight: 500; letter-spacing: 0.8px;
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 10px; text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); display: block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.3)}
}
.hero h1 {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800; color: var(--white);
  margin-bottom: 10px; line-height: 1.15;
}
.hero h1 span { color: var(--green); }
.hero p {
  font-size: 17px; color: rgba(255,255,255,0.78);
  line-height: 1.6; margin-bottom: 16px; font-weight: 300; font-size:15px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white);
  padding: 10px 20px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  transition: background .2s, transform .15s, box-shadow .2s;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,186,78,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 10px 20px; border-radius: 10px;
  font-size: 13px; font-weight: 500;
  transition: background .2s, border-color .2s;
  font-family: 'DM Sans', sans-serif;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.hero-stats {
  display: flex; gap: 24px; margin-top: 8px;
  padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .num {
  font-family: 'Syne', sans-serif;
  font-size: 32px; font-weight: 700; color: var(--white); line-height: 1;
}
.hero-stat .num span { color: var(--green); }
.hero-stat p { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }
.hero-right { display: flex; flex-direction: column; gap: 8px; }
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 10px 14px;
  display: flex; align-items: flex-start; gap: 12px;
}
.hero-card-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(61,186,78,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.hero-card h4 { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.hero-card p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* =========================================================
   SECTION COMMON
   ========================================================= */
section { padding: 20px 0; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--green); margin-bottom: 6px;
}
.section-title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700; color: var(--navy); margin-bottom: 6px;
}
.section-sub {
  font-size: 14px; color: var(--muted);
  max-width: 620px; line-height: 1.6; font-weight: 300;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--light);
  padding: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: var(--slate);
}
.trust-item .icon { font-size: 16px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 28px; align-items: start;
}
.about-img-wrapper { position: relative; }
.about-img-box {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--green-light) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.founder-card {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
}
.founder-card .name { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); }
.founder-card .title { font-size: 12px; color: var(--muted); margin-top: 2px; }
.founder-card .org { font-size: 12px; color: var(--green); font-weight: 500; margin-top: 6px; }
.experience-badge {
  position: absolute; top: -16px; left: -16px;
  background: var(--navy);
  color: var(--white); border-radius: var(--radius);
  padding: 14px 18px; text-align: center;
  box-shadow: var(--shadow);
}
.experience-badge .num { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; color: var(--green); line-height: 1; }
.experience-badge p { font-size: 11px; opacity: .7; margin-top: 4px; line-height: 1.3; }
.about-features { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.about-feature {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border-radius: var(--radius);
  background: var(--light); border: 1px solid var(--border);
}
.about-feature .af-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.about-feature h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.about-feature p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--light); padding-top: 8px !important; padding-bottom: 20px !important; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px; margin-top: 12px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 8px;
}
.service-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--navy); background: var(--navy-light);
  padding: 4px 10px; border-radius: 20px;
}

/* =========================================================
   WHY US
   ========================================================= */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: start; margin-top: 20px;
}
.why-list { display: flex; flex-direction: column; gap: 8px; }
.why-item { display: flex; gap: 10px; align-items: flex-start; }
.why-num {
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 800; color: var(--green);
  background: var(--green-light);
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: 0.5px;
}
.why-item h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.why-item p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.why-visual {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--green-light) 100%);
  border-radius: var(--radius-lg); padding: 10px 12px; margin-top: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.framework-step {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: var(--radius);
  padding: 6px 12px;
  box-shadow: var(--shadow);
  margin-bottom: 4px;
}
.step-num {
  font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 800;
  color: var(--navy); width: 26px; flex-shrink: 0;
}
.step-label { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.step-desc { font-size: 11px; color: var(--muted); margin-top: 1px; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industries { background: var(--light); padding-top: 16px !important; padding-bottom: 8px !important; }
.industries-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin-top: 20px;
}
.industry-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px; text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.industry-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ind-icon { font-size: 28px; margin-bottom: 6px; }
.industry-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.industry-item p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* =========================================================
   FRAMEWORK SECTION
   ========================================================= */
.framework { background: linear-gradient(135deg, #0D1E4A 0%, #1B3D8C 100%); color: var(--white); padding: 24px 0 !important; }
.framework-steps {
  display: flex; gap: 0; margin-top: 28px;
  position: relative;
}
.framework-steps::before {
  content: ''; position: absolute; top: 32px; left: 0; right: 0; height: 2px;
  background: rgba(61,186,78,0.3);
}
.fw-step {
  flex: 1; text-align: center; padding: 0 16px; position: relative;
}
.fw-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; position: relative; z-index: 1;
}
.fw-step h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.fw-step p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section { background: var(--light); padding-top: 8px !important; padding-bottom: 20px !important; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 24px; margin-top: 12px;
}
.contact-info h3, .contact-form-box h3 {
  font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 12px;
}
.contact-info p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
}
.cd-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.cd-label { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; }
.cd-val { font-size: 14px; font-weight: 500; color: var(--navy); margin-top: 2px; }
.contact-form-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 20px;
  box-shadow: var(--shadow);
}
.contact-form-box .subtitle { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 10px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 8px 12px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--text); background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--navy);
}
.form-group textarea { min-height: 72px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 14px 24px;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 10px; cursor: pointer;
  font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--green); transform: translateY(-1px); }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: #0D1E4A; color: var(--white);
  padding: 32px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-wrap { margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 12px; }
.footer-brand .tagline { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.7);
  transition: background .2s, color .2s;
}
.social-link:hover { background: var(--green); color: var(--white); }
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: var(--white);
  letter-spacing: 0.8px; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  gap: 6px;
}
.footer-bottom-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-bottom-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}
.footer-bottom-links {
  font-size: 12px;
  margin-top: 4px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--green); }

/* =========================================================
   ASSESSMENT PAGE
   ========================================================= */
.assessment-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1160px; margin: 0 auto;
}
.header-brand img { height: 48px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a { font-size: 14px; font-weight: 500; color: var(--slate); transition: color .2s; }
.header-nav a:hover { color: var(--navy); }
.assessment-hero {
  background: linear-gradient(135deg, #0D1E4A 0%, #1B3D8C 100%);
  padding: 32px 0 24px; text-align: center;
}
.assessment-hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(61,186,78,0.15);
  border: 1px solid rgba(61,186,78,0.3);
  color: #7EE89A;
  font-size: 11px; font-weight: 600; letter-spacing: 0.8px;
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 10px; text-transform: uppercase;
}
.assessment-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; color: var(--white); margin-bottom: 16px;
}
.assessment-hero p {
  font-size: 16px; color: rgba(255,255,255,0.75);
  max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.assessment-body { padding: 32px 0; background: var(--light); }
.assessment-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 48px; align-items: start;
}
.assessment-sidebar h3 {
  font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.assessment-sidebar p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.benefit-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.benefit-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text);
}
.benefit-item::before {
  content: '✓';
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.confidential-box {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px; color: var(--navy);
}
.assessment-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.step-indicator {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
}
.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border); color: var(--muted);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: .3s;
}
.step-dot.active { background: var(--navy); color: var(--white); }
.step-dot.done { background: var(--green); color: var(--white); }
.step-line { flex: 1; height: 2px; background: var(--border); }
.step-line.done { background: var(--green); }
.form-section { display: none; }
.form-section.active { display: block; }
.form-section h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.form-nav { display: flex; gap: 12px; margin-top: 24px; }
.btn-next, .btn-prev {
  padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  border: none; transition: .2s;
}
.btn-next { background: var(--navy); color: var(--white); flex: 1; }
.btn-next:hover { background: var(--green); }
.btn-prev { background: var(--light); color: var(--navy); border: 1px solid var(--border); }
.btn-prev:hover { background: var(--border); }

/* =========================================================
   TOOLS PAGE
   ========================================================= */
.tools-hero {
  background: linear-gradient(135deg, #0D1E4A 0%, #1B3D8C 50%, #0F5C24 100%);
  padding: 24px 0 18px; text-align: center; position: relative; overflow: hidden;
}
.tools-hero::before {
  content: ''; position: absolute; inset: 0;
  background: 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='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.tools-hero .container { position: relative; }
.tools-hero h1 { font-size: clamp(18px, 1.8vw, 26px); font-weight: 800; color: var(--white); margin-bottom: 8px; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.25; }
.tools-hero p { font-size: 14px; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 12px; }
.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px; margin-top: 0;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0; overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.tool-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tool-card-head {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
}
.tool-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 12px;
}
.tool-badge.free { background: var(--green-light); color: var(--green-dark); }
.tool-badge.excel { background: var(--navy-light); color: var(--navy); }
.tool-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.tool-card .tool-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.tool-card-body { padding: 20px 28px 28px; }
.tool-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.tool-features li {
  font-size: 13px; color: var(--slate);
  display: flex; align-items: center; gap: 8px;
}
.tool-features li::before {
  content: '▸'; color: var(--green); font-size: 12px; flex-shrink: 0;
}
.tool-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  padding: 11px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  width: 100%; justify-content: center;
}
.tool-cta:hover { background: var(--green); transform: translateY(-1px); }
.tool-calculator {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px; margin-bottom: 20px;
}
.calc-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 12px;
}
.calc-row label { font-size: 13px; font-weight: 500; color: var(--navy); flex: 1; }
.calc-row input {
  width: 120px; padding: 8px 12px;
  border: 1.5px solid var(--border); border-radius: 6px;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  text-align: right;
}
.calc-result {
  background: var(--navy);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.calc-result .label { font-size: 13px; color: rgba(255,255,255,0.7); }
.calc-result .value {
  font-family: 'Syne', sans-serif; font-size: 22px;
  font-weight: 800; color: var(--green);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .why-grid,
  .contact-grid,
  .assessment-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .footer-grid { gap: 32px; }
  .hero { padding: 28px 0 24px; }
  .hero-right { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 12px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  nav { position: relative; }
  .nav-inner { position: relative; }
  .contact-grid { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .framework-steps { flex-direction: column; gap: 20px; }
  .framework-steps::before { display: none; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .trust-items { gap: 20px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   BLOG PAGE RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr !important; }
}

/* =========================================================
   SINGLE POST
   ========================================================= */
.single-post-wrap { max-width: 780px; margin: 0 auto; padding: 60px 24px 80px; }
.single-post-wrap h1 { font-family: 'Syne', sans-serif; font-size: clamp(24px, 3.5vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.2; }
.post-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 32px; flex-wrap: wrap; }
.post-meta span { display: flex; align-items: center; gap: 5px; }
.post-content { font-size: 16px; line-height: 1.85; color: var(--slate); }
.post-content h2, .post-content h3 { font-family: 'Syne', sans-serif; color: var(--navy); margin: 32px 0 12px; }
.post-content p { margin-bottom: 20px; }
.post-content img { border-radius: var(--radius); max-width: 100%; margin: 24px 0; }
.post-content ul, .post-content ol { margin: 16px 0 20px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 4px solid var(--green); padding: 16px 24px; background: var(--light); border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; font-style: italic; color: var(--navy); }

/* =========================================================
   LOGO IN NAV — PROPER SIZING
   ========================================================= */
.nav-logo img { height: 70px; width: auto; display: block; max-width: 240px; object-fit: contain; image-rendering: -webkit-optimize-contrast; }
.nav-inner { padding: 4px 24px; }

/* =========================================================
   SCROLL OFFSET FIX — prevents sticky nav hiding section headings
   ========================================================= */
#about, #services, #why, #industries, #contact, #home {
  scroll-margin-top: 72px;
}

/* =========================================================
   LOGO PERFORMANCE FIX
   ========================================================= */
.nav-logo picture { display: flex; align-items: center; }
.nav-logo picture img { height: 70px; width: auto; max-width: 240px; display: block; }

.why-visual h3 { margin: 0 !important; padding: 10px 0 2px 0 !important; line-height:1.2 !important; }
.why-visual > p { margin: 0 0 4px 0 !important; padding: 0 !important; }
