/* ECode FX - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --blue-primary: #1a4fd6;
  --blue-dark: #0f2f8a;
  --blue-deeper: #0d1f5c;
  --blue-light: #e8effd;
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --text-dark: #000000;
  --text-body: #000000;
  --text-light: #222222;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --red-light: #fef2f2;
  --red: #dc2626;
  --green-light: #f0fdf4;
  --green: #16a34a;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #000000;
  line-height: 1.6;
  font-size: 16px;
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: var(--text-dark);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-links > li > a:hover { background: var(--gray-100); color: var(--blue-primary); }
.nav-links > li > a.active { background: var(--blue-light); color: var(--blue-primary); }

.nav-links > li > a svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-links > li:hover > a svg { transform: rotate(180deg); }

.nav-cta {
  background: var(--blue-primary);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; color: var(--white) !important; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  min-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 24px;
}

.nav-links > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.dropdown-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-body);
  transition: color 0.15s;
}

.dropdown-col a:hover { color: var(--blue-primary); }

.dropdown-promo {
  background: var(--blue-primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  min-width: 200px;
}

.dropdown-promo h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.dropdown-promo p { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 16px; line-height: 1.5; }
.dropdown-promo a {
  display: block;
  background: var(--white);
  color: var(--blue-primary) !important;
  text-align: center;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.dropdown-simple {
  min-width: 200px;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px;
}

.dropdown-simple a {
  padding: 10px 14px !important;
  border-radius: 6px;
  display: block !important;
  color: var(--text-dark) !important;
}

.dropdown-simple a:hover { background: var(--gray-100) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,79,214,0.3); }

.btn-outline {
  background: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
}
.btn-outline:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-white {
  background: var(--white);
  color: var(--blue-primary);
  border: 2px solid var(--white);
}
.btn-white:hover { background: var(--gray-100); }

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--white);
  padding: 64px 40px 56px;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.page-hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero-label-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-label-icon svg { width: 18px; height: 18px; color: var(--blue-primary); }

.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.1;
}

.page-hero h1 span { color: var(--blue-primary); }

.page-hero-sub {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.page-hero-visual {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mock-titlebar {
  background: #1e293b;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mock-url {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

.mock-body {
  padding: 20px;
  background: var(--white);
}

/* ===== SECTION ===== */
.section {
  padding: 80px 40px;
}

.section-gray { background: var(--gray-50); }
.section-blue { background: var(--blue-primary); color: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-blue .section-label,
.section-navy .section-label { color: rgba(255,255,255,0.7); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-blue .section-header h2,
.section-navy .section-header h2 { color: var(--white); }

.section-header p {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
}

.section-blue .section-header p,
.section-navy .section-header p { color: rgba(255,255,255,0.8); }

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg { width: 22px; height: 22px; color: var(--blue-primary); }

.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-primary);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* Problem cards */
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.problem-icon {
  width: 28px;
  height: 28px;
  background: #fef2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-icon svg { width: 14px; height: 14px; color: var(--red); }

.problem-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.step-item {}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--blue-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 16px;
}

.step-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars span {
  color: #f59e0b;
  font-size: 18px;
}

.testimonial blockquote {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: normal;
}

.testimonial-author strong { font-size: 14px; font-weight: 700; display: block; }
.testimonial-author span { font-size: 13px; color: var(--text-light); }

/* ===== INTEGRATIONS ===== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.integration-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.integration-card:hover { box-shadow: var(--shadow-md); }

.integration-check {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.integration-check svg { width: 18px; height: 18px; color: var(--blue-primary); }
.integration-card span { font-size: 13px; color: var(--text-body); font-weight: 500; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--blue-primary);
  padding: 72px 40px;
  text-align: center;
}

.cta-band h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.cta-band-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 64px 40px 32px;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p { font-size: 14px; line-height: 1.7; }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  text-align: center;
  font-size: 13px;
}

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
  gap: 16px;
}

.faq-q svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: transform 0.3s;
}

.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a { max-height: 300px; }

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0 24px;
  margin-bottom: 20px;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(26,79,214,0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.reverse { }
.two-col.reverse .col-visual { order: -1; }

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.stat-card .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

/* Stat card for light sections */
.stat-card-light {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card-light .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-primary);
  display: block;
  margin-bottom: 8px;
}

.stat-card-light .stat-label {
  font-size: 14px;
  color: var(--text-body);
}

/* ===== BEFORE/AFTER ===== */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.before-card, .after-card {
  border-radius: var(--radius);
  padding: 28px;
}

.before-card {
  background: var(--red-light);
  border: 1px solid #fecaca;
}

.after-card {
  background: var(--green-light);
  border: 1px solid #bbf7d0;
}

.before-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}

.after-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
}

.before-card p { font-size: 14px; color: #7f1d1d; line-height: 1.7; }
.after-card p { font-size: 14px; color: #14532d; line-height: 1.7; }

/* ===== CHECK LIST ===== */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-body);
}

.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--blue-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 24 24' stroke='%231a4fd6' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ===== WHO USES GRID ===== */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.who-item {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 20px 20px 20px 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.who-item-check {
  color: var(--blue-primary);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== CASE STUDY ===== */
.case-study {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.case-study h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.case-section {
  padding: 16px 0 16px 20px;
  border-left: 3px solid;
  margin-bottom: 20px;
}

.case-section.situation { border-color: var(--red); }
.case-section.solution { border-color: var(--blue-primary); }
.case-section.result { border-color: var(--green); }

.case-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.situation .case-section-label { color: var(--red); }
.solution .case-section-label { color: var(--blue-primary); }
.result .case-section-label { color: var(--green); }

.case-section p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ===== PAGE BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 40px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a { color: var(--text-body); }
.breadcrumb a:hover { color: var(--blue-primary); }

/* ===== INLINE VISUAL MOCK ===== */
.visual-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.visual-mock-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.visual-mock-body { padding: 16px; }

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 3px solid;
}

.mock-row.red { background: #fef2f2; border-color: var(--red); }
.mock-row.blue { background: var(--blue-light); border-color: var(--blue-primary); }
.mock-row.gray { background: var(--gray-50); border-color: var(--gray-300); }

.mock-row-info { }
.mock-row-name { font-size: 14px; font-weight: 600; }
.mock-row-meta { font-size: 12px; color: var(--text-light); }
.mock-row-badges { display: flex; gap: 6px; align-items: center; }

.badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.badge-red { background: #fef2f2; color: var(--red); }
.badge-blue { background: var(--blue-light); color: var(--blue-primary); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-gray { background: var(--gray-100); color: var(--text-body); }
.badge-orange { background: #fff7ed; color: #ea580c; }

/* ===== INDUSTRY GRID ===== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.industry-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-primary);
}

.industry-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.industry-icon svg { width: 24px; height: 24px; color: var(--blue-primary); }
.industry-card span { font-size: 14px; font-weight: 600; }

/* ===== DEMO PAGE ===== */
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px;
}

.demo-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 80px;
}

.demo-form-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.demo-form-card p {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 28px;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; color: var(--blue-primary); }

.contact-info-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-text span, .contact-info-text a {
  display: block;
  font-size: 14px;
  color: var(--text-body);
}

.contact-info-box {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
}

.contact-info-box h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info-box p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 10px;
}

.contact-info-box strong { color: var(--text-dark); }

/* ===== TEMPLATES PAGE ===== */
.template-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.template-card:hover { box-shadow: var(--shadow-md); }

.template-card-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.template-card-icon svg { width: 18px; height: 18px; color: var(--blue-primary); }

.template-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.template-card p { font-size: 13px; color: var(--text-body); line-height: 1.6; }

/* ===== WHAT HAPPENS NEXT ===== */
.what-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.what-next-item {}
.what-next-num {
  width: 52px;
  height: 52px;
  background: var(--blue-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 16px;
}

.what-next-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.what-next-item p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* ===== CONTACT STRIP ===== */
.contact-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px;
}

.contact-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-strip p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}

.contact-strip-item svg { width: 18px; height: 18px; color: var(--blue-primary); }

/* ===== BLOG ===== */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.blog-card-img {
  height: 200px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-light);
}

.blog-card-body { padding: 24px; }

.blog-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; margin-bottom: 16px; }

.blog-meta { font-size: 12px; color: var(--text-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .page-hero-inner, .two-col, .demo-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .two-col.reverse .col-visual { order: 0; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .before-after, .who-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .what-next-grid { grid-template-columns: 1fr; }
  .demo-form-card { position: static; }
  .section { padding: 56px 24px; }
  .page-hero { padding: 48px 24px; }
  .navbar { padding: 0 24px; }
  .demo-layout, .contact-layout { padding: 48px 24px; }
}

@media (max-width: 640px) {
  .nav-links, .dropdown { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero h1 { font-size: 36px; }
  .section-header h2 { font-size: 30px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .cta-band-buttons { flex-direction: column; align-items: center; }
  .contact-strip-inner { flex-direction: column; gap: 16px; text-align: center; }
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  border-top: 1px solid var(--border);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .mobile-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 20px 0 8px;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-blue { color: var(--blue-primary); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-gap-16 { gap: 16px; }
.flex-gap-12 { gap: 12px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* ===== WORDPRESS + ELEMENTOR COMPATIBILITY ===== */

/* Remove default WP body margins */
body.wp-singular { margin: 0; }

/* Elementor full-width canvas - hide theme header/footer */
body.elementor-page-template-canvas #efx-navbar,
body.elementor-page-template-canvas #efx-mobile-nav,
body.elementor-page-template-canvas .efx-footer { display: none; }

/* Elementor page builder - don't let our styles break the editor */
.elementor-editor-active .efx-navbar { position: relative; z-index: auto; }

/* WordPress admin bar compensation */
.admin-bar .efx-navbar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .efx-navbar { top: 46px; }
}

/* Elementor column/section wrappers - reset inner margins */
.elementor-section .efx-section-inner { padding-left: 0; padding-right: 0; }

/* WP alignment classes */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.alignwide { max-width: 1400px; }
.alignfull { max-width: 100%; }

/* ===== NAVBAR (WP-PREFIXED) ===== */
.efx-navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0; height: 64px;
}
.efx-navbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 40px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.efx-nav-logo {
  font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--blue-primary); letter-spacing: -0.3px; text-decoration: none;
}
.efx-nav-logo img { height: 40px; width: auto; }
.efx-nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.efx-nav-links > li { position: relative; }
.efx-nav-links > li > a {
  display: flex; align-items: center; gap: 4px; padding: 8px 14px;
  font-size: 14px; font-weight: 500; color: var(--text-dark);
  border-radius: var(--radius-sm); transition: background .15s, color .15s;
  text-decoration: none; white-space: nowrap;
}
.efx-nav-links > li > a:hover { background: var(--gray-100); color: var(--blue-primary); }
.efx-nav-links > li > a.active { background: var(--blue-light); color: var(--blue-primary); }
.efx-nav-links > li > a svg { width: 14px; height: 14px; transition: transform .2s; }
.efx-nav-links > li:hover > a svg { transform: rotate(180deg); }
.efx-nav-cta {
  background: var(--blue-primary) !important; color: var(--white) !important;
  padding: 10px 20px !important; border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}
.efx-nav-cta:hover { background: var(--blue-dark) !important; }

/* EFX Dropdown */
.efx-dropdown {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  padding: 28px; opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  min-width: 900px; display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0;
  z-index: 9999;
}
.efx-has-dropdown:hover .efx-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.efx-dropdown-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-primary); margin-bottom: 12px; }
.efx-dropdown-col-head { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-primary); margin-bottom: 12px; padding: 0 10px; }
.efx-dropdown-col > a { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--text-body); text-decoration: none; transition: background .15s, color .15s; }
.efx-dropdown-col > a:hover { background: var(--gray-50); color: var(--blue-primary); }
.efx-dropdown-promo { background: var(--blue-primary); color: var(--white); border-radius: var(--radius-sm); padding: 20px; min-width: 200px; }
.efx-dropdown-promo h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.efx-dropdown-promo p { font-size: 13px; color: #ffffff; margin-bottom: 16px; line-height: 1.5; }
.efx-dropdown-promo a { display: block; background: var(--white); color: var(--blue-primary) !important; text-align: center; padding: 10px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; }
.efx-dropdown-industries { grid-template-columns: 1fr 1fr; min-width: 560px; }
.efx-dropdown-resources { grid-template-columns: 1fr 1fr; min-width: 500px; }

/* Nav links — HouseCall Pro style: icon left, title+desc stacked right */
.efx-dropdown-col a {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 8px;
  color: var(--text-dark) !important;
  text-decoration: none !important;
  transition: background .15s;
  margin-bottom: 2px;
}
.efx-dropdown-col a:hover { background: var(--gray-50) !important; }
.efx-dropdown-col a:hover strong { color: var(--blue-primary) !important; }

/* The text wrapper — must be display:block so title and desc stack */
.efx-dropdown-col a > span:last-child {
  display: block;
  flex: 1;
  min-width: 0;
}
.efx-dropdown-col a strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 2px;
}
.efx-dropdown-col a em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

/* Icon box */
.efx-nav-icon {
  width: 36px;
  height: 36px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Promo panel */
.efx-dropdown-promo { background: var(--navy); border-radius: 10px; padding: 0; overflow: hidden; min-width: 200px; }
.efx-dropdown-promo-inner { padding: 24px; }
.efx-dropdown-promo h4 { font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 700; color: #ffffff; margin-bottom: 10px; line-height: 1.4; }
.efx-dropdown-promo p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.6; margin-bottom: 16px; }
.efx-promo-btn { display: inline-block; background: var(--blue-primary); color: #ffffff !important; padding: 9px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: background .15s; }
.efx-promo-btn:hover { background: var(--blue-dark) !important; }

/* EFX Hamburger */
.efx-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.efx-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all .3s; }

/* EFX Mobile Nav */
.efx-mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; overflow-y: auto; padding: 24px;
  border-top: 1px solid var(--border);
}
.efx-mobile-nav.open { display: block; }
.efx-mobile-nav a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text-dark); }
.efx-mobile-section { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); padding: 20px 0 8px; }
.efx-mobile-cta { color: var(--blue-primary) !important; font-weight: 700 !important; }

/* EFX Footer */
.efx-footer { background: #000000; padding: 64px 40px 32px; color: #ffffff; }
.efx-footer-inner { max-width: 1200px; margin: 0 auto; }
.efx-footer-top { display: grid; grid-template-columns: 220px 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.efx-footer-logo { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.efx-footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.efx-footer-brand p { font-size: 14px; line-height: 1.7; }
.efx-footer-col h4 { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.efx-footer-col a { display: block; font-size: 14px; padding: 5px 0; color: #ffffff; text-decoration: none; transition: color .15s; }
.efx-footer-col a:hover { color: var(--white); }
/* WP nav menu items in footer */
.efx-footer-col ul { list-style: none; margin: 0; padding: 0; }
.efx-footer-col ul li a { display: block; font-size: 14px; padding: 5px 0; color: #ffffff; text-decoration: none; transition: color .15s; }
.efx-footer-col ul li a:hover { color: var(--white); }
.efx-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; text-align: center; font-size: 13px; }

/* EFX CTA Band */
.efx-cta-band { background: #0f172a; padding: 72px 40px; text-align: center; }
.efx-cta-band-inner { max-width: 640px; margin: 0 auto; }
.efx-cta-band h2 { font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.efx-cta-band p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.efx-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* EFX Buttons */
.efx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s; white-space: nowrap;
  text-decoration: none;
}
.efx-btn-primary { background: var(--blue-primary); color: var(--white); }
.efx-btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); color: var(--white); }
.efx-btn-outline { background: transparent; color: var(--blue-primary); border: 2px solid var(--blue-primary); }
.efx-btn-outline:hover { background: var(--blue-light); color: var(--blue-primary); }
.efx-btn-white { background: var(--white); color: var(--blue-primary); border: 2px solid var(--white); }
.efx-btn-white:hover { background: var(--gray-100); color: var(--blue-primary); }
.efx-btn-white-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.efx-btn-white-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }
.efx-btn-lg { padding: 16px 36px; font-size: 16px; }

/* EFX Sections */
.efx-section { padding: 80px 40px; }
.efx-section-gray { background: var(--gray-50); }
.efx-section-blue { background: var(--blue-primary); color: var(--white); }
.efx-section-inner { max-width: 1200px; margin: 0 auto; }
.efx-section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.efx-section-header h2 { font-size: 40px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 16px; }
.efx-section-header p { font-size: 17px; color: var(--text-body); line-height: 1.7; }
.efx-section-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }

/* Hero */
.efx-hero-section { padding: 72px 40px 64px; border-bottom: 1px solid var(--border); }
.efx-hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.efx-hero-h1 { font-size: 52px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 20px; line-height: 1.08; }
.efx-hero-p { font-size: 18px; color: var(--text-body); line-height: 1.7; margin-bottom: 36px; }
.efx-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.efx-hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.efx-tag { background: var(--gray-100); border-radius: 20px; padding: 6px 14px; font-size: 13px; color: var(--text-body); }

/* EFX Cards */
.efx-cards-grid { display: grid; gap: 20px; }
.efx-cards-2 { grid-template-columns: repeat(2,1fr); }
.efx-cards-3 { grid-template-columns: repeat(3,1fr); }
.efx-cards-4 { grid-template-columns: repeat(4,1fr); }
.efx-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; text-decoration: none; color: inherit; display: block; }
.efx-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.efx-card-icon { width: 48px; height: 48px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--blue-primary); }
.efx-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.efx-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* Problem cards */
.efx-problem-intro { max-width: 780px; margin-bottom: 40px; }
.efx-problem-intro h2 { font-size: 40px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 20px; }
.efx-problem-intro p { font-size: 17px; color: var(--text-body); line-height: 1.8; }
.efx-problem-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 20px 20px 24px; display: flex; gap: 14px; align-items: flex-start; }
.efx-problem-icon { width: 28px; height: 28px; background: #fef2f2; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; color: var(--red); }
.efx-problem-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* Steps */
.efx-steps-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; text-align: center; }
.efx-step-num { width: 52px; height: 52px; background: var(--blue-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); margin: 0 auto 16px; }
.efx-step-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.efx-step-item p { font-size: 13px; color: var(--text-body); line-height: 1.6; }

/* Testimonials */
.efx-testimonial { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.efx-stars { color: #f59e0b; font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.efx-testimonial blockquote { font-size: 14px; color: var(--text-body); line-height: 1.7; margin-bottom: 20px; font-style: normal; }
.efx-testimonial-author strong { font-size: 14px; font-weight: 700; display: block; }
.efx-testimonial-author span { font-size: 13px; color: var(--text-light); }

/* Industry grid */
.efx-industry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.efx-industry-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 16px; text-align: center; transition: box-shadow .2s, border-color .2s; text-decoration: none; color: inherit; display: block; }
.efx-industry-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-primary); }
.efx-industry-icon { width: 52px; height: 52px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--blue-primary); }
.efx-industry-card span { font-size: 14px; font-weight: 600; }

/* Utility */
.efx-text-center { text-align: center; }
.efx-text-blue { color: var(--blue-primary); }
.efx-mt-32 { margin-top: 32px; }
.efx-mt-48 { margin-top: 48px; }
.efx-page-content { max-width: 1200px; margin: 0 auto; padding: 60px 40px; }

/* FAQ in WP context */
.efx-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.efx-faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.efx-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: none; border: none; cursor: pointer; font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 500; color: var(--text-dark); text-align: left; gap: 16px; }
.efx-faq-q svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--text-light); transition: transform .3s; }
.efx-faq-item.open .efx-faq-q svg { transform: rotate(180deg); }
.efx-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.efx-faq-item.open .efx-faq-a { max-height: 400px; }
.efx-faq-a-inner { padding: 16px 24px 20px; font-size: 15px; color: var(--text-body); line-height: 1.7; border-top: 1px solid var(--border); margin: 0 24px; margin-bottom: 4px; }

/* Responsive WP theme */
@media (max-width: 900px) {
  .efx-hero-grid, .efx-footer-top { grid-template-columns: 1fr; gap: 40px; }
  .efx-cards-3, .efx-cards-2 { grid-template-columns: 1fr; }
  .efx-industry-grid { grid-template-columns: repeat(2,1fr); }
  .efx-steps-grid { grid-template-columns: repeat(2,1fr); }
  .efx-section { padding: 56px 24px; }
  .efx-hero-section { padding: 48px 24px; }
  .efx-footer { padding: 48px 24px 28px; }
  .efx-navbar-inner { padding: 0 24px; }
  .admin-bar .efx-navbar { top: 46px; }
}
@media (max-width: 640px) {
  .efx-nav-links { display: none; }
  .efx-hamburger { display: flex; }
  .efx-hero-h1 { font-size: 36px; }
  .efx-section-header h2 { font-size: 30px; }
  .efx-industry-grid { grid-template-columns: repeat(2,1fr); }
  .efx-footer-top { grid-template-columns: 1fr; }
  .efx-steps-grid { grid-template-columns: 1fr; }
  .efx-cta-buttons { flex-direction: column; align-items: center; }
}

/* ===== PAGE-SPECIFIC LAYOUTS (WP TEMPLATES) ===== */

/* Breadcrumb */
.efx-breadcrumb {
  padding: 14px 40px; background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-light);
  display: flex; align-items: center; gap: 8px;
}
.efx-breadcrumb a { color: var(--text-body); text-decoration: none; }
.efx-breadcrumb a:hover { color: var(--blue-primary); }

/* Page Hero */
.efx-page-hero { padding: 80px 40px 72px; background: #0f172a; position: relative; overflow: hidden; }
.efx-page-hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.efx-page-hero p { color: rgba(255,255,255,0.75); }
.efx-page-hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; line-height: 1.1; color: #ffffff; }
.efx-hero-sub { font-size: 20px; font-weight: 600; color: #60a5fa; margin-bottom: 20px; }
.efx-page-hero-visual { border-radius: 16px; overflow: hidden; }

/* Check list */
.efx-check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.efx-check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-body); }
.efx-check-list li::before {
  content: ''; width: 20px; height: 20px; background: var(--blue-light); border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 24 24' stroke='%231a4fd6' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; margin-top: 2px;
}

/* Demo layout */
.efx-demo-layout {
  display: grid; grid-template-columns: 1fr 480px;
  gap: 64px; align-items: start;
  max-width: 1200px; margin: 0 auto; padding: 72px 40px;
}
.efx-demo-h1 { font-size: 48px; font-weight: 800; letter-spacing: -1px; margin-bottom: 24px; line-height: 1.08; }
.efx-demo-content p { color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }
.efx-demo-checklist { margin: 24px 0 32px; }
.efx-demo-checklist p { font-weight: 700; margin-bottom: 16px; color: var(--text-dark); }
.efx-prefer-box { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-top: 32px; }
.efx-prefer-box p { font-size: 13px; font-weight: 700; color: var(--text-body); margin-bottom: 12px; text-align: center; }
.efx-prefer-row { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; align-items: center; }
.efx-prefer-row span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-body); }
.efx-prefer-row a { color: var(--text-body); text-decoration: none; }
.efx-prefer-row a:hover { color: var(--blue-primary); }
.efx-demo-form-wrap { position: sticky; top: 80px; }

/* Form card */
.efx-form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px; box-shadow: var(--shadow-md);
}
.efx-form-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.efx-form-sub { font-size: 14px; color: var(--text-body); margin-bottom: 28px; }
.efx-form-group { margin-bottom: 16px; }
.efx-form-group input,
.efx-form-group select,
.efx-form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif; font-size: 15px; color: var(--text-dark);
  background: var(--white); transition: border-color .2s, box-shadow .2s; outline: none; appearance: none;
}
.efx-form-group input::placeholder, .efx-form-group textarea::placeholder { color: var(--text-light); }
.efx-form-group input:focus, .efx-form-group select:focus, .efx-form-group textarea:focus {
  border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(26,79,214,.1);
}
.efx-form-group textarea { resize: vertical; min-height: 100px; }
.efx-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer;
}

/* What Happens Next */
.efx-what-next-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 32px; text-align: center; max-width: 800px; margin: 0 auto;
}
.efx-what-next-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.efx-what-next-item p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* Contact layout */
.efx-contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  max-width: 1200px; margin: 0 auto; padding: 72px 40px;
}
.efx-contact-h1 { font-size: 48px; font-weight: 800; letter-spacing: -1px; margin-bottom: 24px; }
.efx-contact-info p { color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }
.efx-contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.efx-contact-item-icon {
  width: 44px; height: 44px; background: var(--blue-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue-primary);
}
.efx-contact-item strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.efx-contact-item a, .efx-contact-item span { display: block; font-size: 14px; color: var(--text-body); text-decoration: none; }
.efx-contact-info-box { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 32px; }
.efx-contact-info-box h4 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.efx-contact-info-box p { font-size: 14px; color: var(--text-body); line-height: 1.7; margin-bottom: 10px; }

/* Stat cards */
.efx-stat-card { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 28px; text-align: center; }
.efx-stat-card .efx-stat-num { font-family: 'Montserrat', sans-serif; font-size: 32px; font-weight: 800; color: var(--white); display: block; margin-bottom: 8px; }
.efx-stat-card .efx-stat-label { font-size: 14px; color: #ffffff; line-height: 1.5; }
.efx-stat-card-light { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.efx-stat-card-light .efx-stat-num { font-family: 'Montserrat', sans-serif; font-size: 32px; font-weight: 800; color: var(--blue-primary); display: block; margin-bottom: 8px; }
.efx-stat-card-light .efx-stat-label { font-size: 14px; color: var(--text-body); }

/* Templates grid */
.efx-template-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.efx-template-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: box-shadow .2s; }
.efx-template-card:hover { box-shadow: var(--shadow-md); }
.efx-template-icon { width: 40px; height: 40px; background: var(--blue-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue-primary); }
.efx-template-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.efx-template-card p { font-size: 13px; color: var(--text-body); line-height: 1.6; }

/* Blog single */
.efx-single-content { max-width: 860px; margin: 0 auto; padding: 60px 40px; }
.efx-single-content h1 { font-size: 40px; font-weight: 800; margin-bottom: 24px; }
.efx-single-content p { color: var(--text-body); line-height: 1.8; margin-bottom: 20px; font-size: 17px; }
.efx-single-content h2 { font-size: 28px; font-weight: 800; margin: 40px 0 16px; }
.efx-single-content h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.efx-single-content ul, .efx-single-content ol { color: var(--text-body); line-height: 1.8; margin-bottom: 20px; padding-left: 24px; font-size: 17px; }

/* Pagination */
.efx-pagination { display: flex; justify-content: center; }
.efx-pagination .nav-links { display: flex; gap: 8px; }
.efx-pagination a, .efx-pagination span { padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; text-decoration: none; color: var(--text-body); transition: all .2s; }
.efx-pagination a:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.efx-pagination .current { background: var(--blue-primary); color: var(--white); border-color: var(--blue-primary); }

/* Responsive page templates */
@media (max-width: 900px) {
  .efx-page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .efx-demo-layout, .efx-contact-layout { grid-template-columns: 1fr; padding: 48px 24px; }
  .efx-demo-form-wrap { position: static; }
  .efx-what-next-grid { grid-template-columns: 1fr; }
  .efx-template-grid { grid-template-columns: 1fr; }
  .efx-page-hero { padding: 48px 24px; }
}

/* ===== DASHBOARD / MOCK-UP COMPONENTS ===== */
.efx-mock-browser {
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.efx-mock-bar {
  background: #1e293b;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.efx-mock-dot {
  width: 12px; height: 12px;
  border-radius: 50%; display: inline-block;
}
.efx-mock-url {
  flex: 1; background: rgba(255,255,255,.1);
  border-radius: 6px; padding: 4px 12px;
  font-size: 12px; color: rgba(255,255,255,0.85);
  text-align: center; font-family: var(--font-mono, monospace);
}
.efx-mock-body {
  background: #fff; padding: 18px;
}
/* Stats row */
.efx-mock-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px;
}
.efx-mock-stat {
  border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 12px; text-align: center;
}
.efx-mock-stat-icon { display: block; margin-bottom: 6px; }
.efx-mock-stat-label { font-size: 11px; color: #000000; margin-bottom: 4px; }
.efx-mock-stat-val { font-size: 20px; font-weight: 800; color: #0f172a; font-family: 'Montserrat', sans-serif; }
/* Panels */
.efx-mock-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.efx-mock-panel { border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; }
.efx-mock-panel-title { font-size: 12px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.efx-mock-job-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #000000; padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
}
.efx-mock-job-row:last-child { border-bottom: none; }
.efx-mock-dot-blue {
  width: 8px; height: 8px; border-radius: 50%;
  background: #1a4fd6; flex-shrink: 0;
}
/* Pipeline bars */
.efx-mock-pipe-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.efx-mock-pipe-label { font-size: 11px; color: #000000; width: 90px; flex-shrink: 0; }
.efx-mock-pipe-track { flex: 1; height: 6px; background: #f1f5f9; border-radius: 3px; overflow: hidden; }
.efx-mock-pipe-fill { height: 6px; background: #1a4fd6; border-radius: 3px; }
.efx-mock-pipe-num { font-size: 12px; font-weight: 700; color: #0f172a; width: 20px; text-align: right; }
/* Lead rows */
.efx-mock-lead-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; margin-bottom: 8px; border-radius: 8px;
}
.efx-mock-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.efx-mock-lead-info { flex: 1; min-width: 0; }
.efx-mock-lead-name { font-size: 13px; font-weight: 600; color: #0f172a; }
.efx-mock-lead-meta { font-size: 11px; color: #000000; }
/* Badges */
.efx-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 20px; white-space: nowrap;
}
.efx-badge-green  { background: #dcfce7; color: #16a34a; }
.efx-badge-blue   { background: #dbeafe; color: #1a4fd6; }
.efx-badge-red    { background: #fee2e2; color: #ef4444; }
.efx-badge-orange { background: #fff7ed; color: #ea580c; }
.efx-badge-gray   { background: #f1f5f9; color: #000000; }
/* Responsive mocks */
@media (max-width: 640px) {
  .efx-mock-stats { grid-template-columns: repeat(2,1fr); }
  .efx-mock-panels { grid-template-columns: 1fr; }
}

.efx-dropdown-col + .efx-dropdown-col { border-left: 1px solid var(--border); padding-left: 20px; margin-left: 4px; }

.efx-dropdown-solutions { grid-template-columns: 1fr 1fr 1fr 1fr; min-width: 960px; }

/* ══════════════════════════════════════════════
   TEXT COLORS — final authority
   Dark sections: white. Light sections: black.
   All other colors set via inline style attrs.
   ══════════════════════════════════════════════ */

/* Accessibility: skip link & focus */
.skip-to-main {
  position:absolute; top:-100px; left:16px;
  background:#1a4fd6; color:#ffffff;
  padding:12px 20px; border-radius:8px;
  font-weight:700; font-size:15px;
  text-decoration:none; z-index:99999; transition:top .2s;
}
.skip-to-main:focus { top:16px; }
:focus-visible { outline:3px solid #1a4fd6; outline-offset:3px; border-radius:4px; }
:focus:not(:focus-visible) { outline:none; }

/* Reduced motion */
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* Dark testimonial card - white text always */
.dark-card p,
.dark-card div,
.dark-card span,
.dark-card h1,
.dark-card h2,
.dark-card h3 {
  color: #ffffff !important;
}

/* ── BLOG POST BODY ────────────────────────────────────────────────── */
.efx-post-body { font-family: 'Open Sans', sans-serif; font-size: 17px; color: #000000; line-height: 1.85; }
.efx-post-body h2 { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 800; color: #000000; margin: 48px 0 16px; letter-spacing: -.5px; }
.efx-post-body h3 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 700; color: #000000; margin: 36px 0 14px; }
.efx-post-body p { font-size: 17px; color: #000000; line-height: 1.85; margin-bottom: 24px; }
.efx-post-body ul, .efx-post-body ol { padding-left: 28px; margin-bottom: 24px; }
.efx-post-body li { font-size: 17px; color: #000000; line-height: 1.75; margin-bottom: 8px; }
.efx-post-body strong { font-weight: 700; color: #000000; }
.efx-post-body a { color: #1a4fd6; text-decoration: underline; }
.efx-post-body a:hover { color: #0f172a; }
.efx-post-body blockquote { border-left: 4px solid #1a4fd6; padding: 16px 24px; background: #eff6ff; border-radius: 0 8px 8px 0; margin: 32px 0; font-size: 18px; font-style: italic; color: #000000; }
.efx-post-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 32px 0; }
.efx-post-body hr { border: none; border-top: 1px solid #e2e8f0; margin: 40px 0; }

/* ── BLOG ARCHIVE ──────────────────────────────────────────────────── */
.efx-blog-grid a { text-decoration: none; color: inherit; }
.wp-pagenavi a, .wp-pagenavi span { padding: 8px 16px; border: 1px solid #e2e8f0; border-radius: 8px; margin: 0 4px; font-size: 14px; font-weight: 600; color: #000000; display: inline-block; text-decoration: none; }
.wp-pagenavi .current { background: #0f172a; color: #ffffff; border-color: #0f172a; }

/* ══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — overrides inline styles on all page templates
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── NAV ── */
  .efx-nav-links, .efx-nav-right { display: none !important; }
  .efx-hamburger { display: flex !important; }
  .efx-navbar { padding: 0 20px !important; }

  /* ── GLOBAL SECTION PADDING ── */
  section[style*="padding:96px 40px"],
  section[style*="padding:88px 40px"],
  section[style*="padding:80px 40px"],
  section[style*="padding:72px 40px"],
  section[style*="padding:64px 40px"],
  section[style*="padding:56px 40px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 56px !important;
    padding-bottom: 48px !important;
  }

  /* ── HERO HEADINGS ── */
  section[style*="background:#0f172a"] h1 {
    font-size: 32px !important;
    letter-spacing: -0.5px !important;
    line-height: 1.15 !important;
  }
  section[style*="background:#0f172a"] p {
    font-size: 16px !important;
  }

  /* ── ALL 2-COLUMN GRIDS → SINGLE COLUMN ── */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr auto"],
  div[style*="grid-template-columns:1fr 360px"],
  div[style*="grid-template-columns:auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* ── ALL 3-COLUMN GRIDS → SINGLE COLUMN ── */
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ── ALL 4-COLUMN GRIDS → 2 COLUMNS ── */
  div[style*="grid-template-columns:repeat(4,1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  /* ── HERO FEATURED BLOG POST ── */
  a[style*="grid-template-columns:1fr 1fr"][style*="background:#0f172a"] {
    grid-template-columns: 1fr !important;
  }
  a[style*="grid-template-columns:1fr 1fr"][style*="background:#0f172a"] > div:last-child {
    display: none !important;
  }

  /* ── BLOG GRID → SINGLE COLUMN ── */
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="gap:28px"],
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="gap:32px"] {
    grid-template-columns: 1fr !important;
  }

  /* ── HERO BUTTON ROW ── */
  div[style*="display:flex"][style*="gap:14px"],
  div[style*="display:flex"][style*="gap:12px"] {
    flex-wrap: wrap !important;
  }
  div[style*="display:flex"][style*="gap:14px"] a,
  div[style*="display:flex"][style*="gap:12px"] a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* ── STATS BARS ── */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="gap:32px"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  /* ── FEATURE CARDS MAX WIDTH ── */
  .efx-features-grid,
  .efx-cards-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── DARK CARD TOOL GRID → SINGLE COLUMN ── */
  div[style*="background:#0f172a"][style*="border-radius:20px"] div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* ── FOOTER ── */
  .efx-footer-grid,
  div[style*="grid-template-columns:2fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* ── CONTACT PAGE ── */
  .efx-contact-layout {
    grid-template-columns: 1fr !important;
    padding: 40px 20px !important;
  }

  /* ── TEMPLATE CARDS ── */
  .tmpl-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .tmpl-industry-hero-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  /* ── FAQ ── */
  .efx-faq-q { font-size: 15px !important; padding: 16px 0 !important; }

  /* ── SECTION HEADINGS ── */
  h2[style*="font-size:36px"],
  h2[style*="font-size:34px"] {
    font-size: 26px !important;
    letter-spacing: -0.5px !important;
  }
  h2[style*="font-size:40px"],
  h2[style*="font-size:42px"] {
    font-size: 28px !important;
  }

  /* ── CTA SECTIONS ── */
  section[style*="background:#0f172a"][style*="padding:64px 40px"] {
    padding: 48px 20px !important;
  }
  section[style*="background:#0f172a"] h2 {
    font-size: 26px !important;
  }

  /* ── BREADCRUMB ── */
  div[style*="padding:10px 40px"] {
    padding: 10px 20px 0 !important;
  }

  /* ── ABOUT PAGE TIMELINE DOTS ── */
  div[style*="gap:16px"][style*="flex-direction:column"] {
    gap: 16px !important;
  }

  /* ── POST BODY ── */
  .efx-post-body {
    padding: 40px 20px !important;
  }
  .efx-post-body h2 { font-size: 22px !important; }
  .efx-post-body h3 { font-size: 18px !important; }

  /* ── INDUSTRY/SOLUTION PAGE HERO SVG ── */
  .efx-mock-dashboard { display: none !important; }

  /* ── SOLUTION CHECKLIST ── */
  ul[style*="display:flex"][style*="flex-direction:column"] {
    padding-left: 0 !important;
  }
}

@media (max-width: 480px) {

  /* ── EXTRA SMALL: 4-col stats → single column ── */
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* ── HERO H1 even smaller ── */
  section[style*="background:#0f172a"] h1 {
    font-size: 28px !important;
  }

  /* ── BUTTONS full width ── */
  a[style*="background:#1a4fd6"][style*="padding:15px 32px"],
  a[style*="background:#1a4fd6"][style*="padding:14px 28px"] {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
