/*
Theme Name: Proconnect Digital
Theme URI: https://proconnectdigital.com
Author: Proconnect Digital
Author URI: https://proconnectdigital.com
Description: Custom WordPress theme for Proconnect Digital — B2B Lead Generation & Demand Generation Agency
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proconnect
Tags: business, marketing, b2b, custom
*/

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --red: #D0021B;
  --red-dark: #A80016;
  --red-light: #FF1A30;
  --black: #0A0A0A;
  --off-black: #111111;
  --charcoal: #1C1C1C;
  --white: #FFFFFF;
  --off-white: #F8F7F5;
  --cream: #F3F1ED;
  --light-gray: #EFEFEF;
  --mid-gray: #888888;
  --body-gray: #3D3D3D;
  --border: rgba(0,0,0,0.09);
  --font-heading: 'Garet', sans-serif;
  --font-body: 'Garet', sans-serif;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
============================================================ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0 6%; display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.nav-logo { font-family: var(--font-heading); font-size: 20px; font-weight: 800; color: var(--black); text-decoration: none; letter-spacing: -0.1px; }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; list-style: none; gap: 36px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--body-gray); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--black); }
.nav-cta {
  background: var(--red); color: var(--white) !important;
  padding: 10px 22px; border-radius: 4px; font-weight: 500 !important;
  font-size: 14px !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 38px; height: 38px; background: none; border: none; cursor: pointer; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--black);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SHARED UTILITIES
============================================================ */
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px;
}
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 6%; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--red); color: var(--white);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 15px 28px; border-radius: 4px; text-decoration: none;
  transition: background 0.2s, transform 0.15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--black);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 14px 26px; border-radius: 4px; text-decoration: none;
  border: 1.5px solid rgba(0,0,0,0.18); transition: border-color 0.2s, color 0.2s;
}
.btn-outline-dark:hover { border-color: var(--black); }

.btn-outline-light {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: rgba(255,255,255,0.8);
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  padding: 14px 26px; border-radius: 4px; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2); transition: border-color 0.2s, color 0.2s;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

.btn-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); color: var(--red);
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  padding: 17px 36px; border-radius: 4px; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-white:hover { opacity: 0.93; transform: translateY(-1px); }

/* ============================================================
   HERO (Homepage)
============================================================ */
.hero {
  background: var(--off-black); color: var(--white);
  padding: 104px 6% 92px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -120px;
  width: 560px; height: 560px; background: var(--red);
  border-radius: 50%; opacity: 0.055; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -160px; left: -60px;
  width: 360px; height: 360px; background: var(--red);
  border-radius: 50%; opacity: 0.035; pointer-events: none;
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(208,2,27,0.14); border: 1px solid rgba(208,2,27,0.32);
  color: #FF7A8A; font-size: 12px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 30px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px;
  background: var(--red-light); border-radius: 50%;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800; line-height: 1.07; letter-spacing: -0.1px;
  max-width: 800px; margin-bottom: 28px;
}
.hero h1 .accent { color: var(--red-light); }
.hero-sub {
  font-size: 18px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.68); max-width: 560px; margin-bottom: 46px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 60px; padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.09);
  display: flex; gap: 52px; flex-wrap: wrap;
}
.trust-stat { display: flex; flex-direction: column; gap: 5px; }
.trust-stat strong { font-size: 28px; font-weight: 800; color: var(--white); }
.trust-stat span { font-size: 13px; color: rgba(255,255,255,0.48); font-weight: 400; }

/* ============================================================
   PROBLEM SECTION
============================================================ */
.problem { padding: 96px 6%; background: var(--cream); }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem h2 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  line-height: 1.14; max-width: 720px; margin-bottom: 18px;
}
.problem-sub { font-size: 17px; color: var(--body-gray); line-height: 1.7; max-width: 580px; margin-bottom: 56px; }
.problem-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.problem-card {
  background: var(--white); border-radius: 10px;
  padding: 30px 28px; border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; background: var(--red);
}
.problem-icon {
  font-size: 26px; margin-bottom: 14px; display: block;
}
.problem-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.problem-card p { font-size: 14px; color: var(--body-gray); line-height: 1.65; }

/* ============================================================
   SERVICES SECTION (Homepage preview)
============================================================ */
.services { padding: 96px 6%; background: var(--white); }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 20px; }
.services-header h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; line-height: 1.14; max-width: 500px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 32px 28px; background: var(--white);
  transition: box-shadow 0.25s, transform 0.25s; cursor: default;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.service-icon {
  width: 48px; height: 48px; background: rgba(208,2,27,0.08);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--body-gray); line-height: 1.65; margin-bottom: 20px; }
.service-card .link-arr {
  font-size: 13px; font-weight: 600; color: var(--red);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.service-card .link-arr:hover { gap: 8px; }

/* ============================================================
   SOCIAL PROOF / TESTIMONIALS
============================================================ */
.social-proof { padding: 96px 6%; background: var(--off-black); }
.social-proof-inner { max-width: 1200px; margin: 0 auto; }
.social-proof .section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 52px; display: block;
}
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 32px; position: relative;
}
.quote-mark {
  font-size: 48px; line-height: 1; color: var(--red); opacity: 0.5;
  font-family: Georgia, serif; margin-bottom: 12px; display: block;
}
.testimonial-card p {
  font-size: 15px; line-height: 1.72; color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--white); }
.author-title { font-size: 12px; color: rgba(255,255,255,0.4); }
.stars { color: #FFB800; font-size: 13px; margin-bottom: 4px; letter-spacing: 1px; }

/* ============================================================
   BLOG PREVIEW
============================================================ */
.blog-preview { padding: 96px 6%; background: var(--white); }
.blog-preview-inner { max-width: 1200px; margin: 0 auto; }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.blog-header h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.blog-card { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--white); transition: box-shadow 0.25s; }
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.07); }
.blog-card-img {
  height: 200px; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); background: rgba(208,2,27,0.08);
  padding: 4px 10px; border-radius: 100px; margin-bottom: 14px;
}
.blog-card h3 { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.blog-card h3 a { color: var(--black); text-decoration: none; }
.blog-card h3 a:hover { color: var(--red); }
.blog-card .meta { font-size: 12px; color: var(--mid-gray); }

/* ============================================================
   WHY US SECTION
============================================================ */
.why { padding: 96px 6%; background: var(--cream); }
.why-inner { max-width: 1200px; margin: 0 auto; }
.why h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.14; margin-bottom: 16px; }
.why-sub { font-size: 17px; color: var(--body-gray); line-height: 1.7; max-width: 560px; margin-bottom: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.why-item { display: flex; flex-direction: column; gap: 14px; }
.why-num {
  font-size: 13px; font-weight: 800; color: var(--red);
  letter-spacing: 1px; font-family: var(--font-heading);
}
.why-item h3 { font-size: 18px; font-weight: 700; }
.why-item p { font-size: 14px; color: var(--body-gray); line-height: 1.65; }

/* ============================================================
   FAQ
============================================================ */
.faq { padding: 96px 6%; background: var(--white); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 48px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  color: var(--black); text-align: left; gap: 16px;
}
.faq-toggle { font-size: 22px; font-weight: 300; color: var(--red); flex-shrink: 0; transition: transform 0.2s; }
.faq-a {
  font-size: 15px; color: var(--body-gray); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 22px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ============================================================
   FINAL CTA BAND
============================================================ */
.final-cta {
  padding: 96px 6%; background: var(--red);
  text-align: center; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; background: rgba(255,255,255,0.06);
  border-radius: 50%; pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800;
  color: var(--white); line-height: 1.12; margin-bottom: 20px;
}
.final-cta p { font-size: 17px; color: rgba(255,255,255,0.78); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.final-cta .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--off-black); padding: 52px 6%;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
}
.footer-logo { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--red); }
footer p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; list-style: none; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }

/* ============================================================
   PAGE HERO (Interior pages)
============================================================ */
.page-hero {
  background: var(--off-black); color: var(--white);
  padding: 80px 6% 72px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -60px; right: -100px;
  width: 420px; height: 420px; background: var(--red);
  border-radius: 50%; opacity: 0.055; pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 58px); font-weight: 800;
  line-height: 1.1; max-width: 760px; margin-bottom: 22px;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,0.65);
  max-width: 560px; line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.founder { padding: 96px 6%; background: var(--white); }
.founder-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.founder-text h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.18; margin-bottom: 22px; }
.founder-text p { font-size: 16px; color: var(--body-gray); line-height: 1.75; margin-bottom: 18px; }
.founder-img-wrap {
  aspect-ratio: 4/5; background: var(--cream); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; color: var(--mid-gray);
}

.thesis { padding: 96px 6%; background: var(--cream); }
.thesis-inner { max-width: 1200px; margin: 0 auto; }
.thesis h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.14; max-width: 720px; margin-bottom: 56px; }
.thesis-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pillar { background: var(--white); border-radius: 10px; padding: 30px 28px; border: 1px solid var(--border); }
.pillar-num { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: 1px; margin-bottom: 14px; }
.pillar h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pillar p { font-size: 14px; color: var(--body-gray); line-height: 1.65; }

.icps { padding: 96px 6%; background: var(--white); }
.icps-inner { max-width: 1200px; margin: 0 auto; }
.icps h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.18; margin-bottom: 48px; }
.icp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.icp-card {
  border: 1px solid var(--border); border-radius: 10px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.icp-card .icon { font-size: 28px; }
.icp-card h3 { font-size: 15px; font-weight: 700; }
.icp-card p { font-size: 13px; color: var(--body-gray); line-height: 1.6; }

.model { padding: 96px 6%; background: var(--cream); }
.model-inner { max-width: 1200px; margin: 0 auto; }
.model h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 48px; }
.model-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.model-step { padding: 28px 24px; border-right: 1px solid var(--border); position: relative; }
.model-step:last-child { border-right: none; }
.step-num { font-size: 36px; font-weight: 900; color: rgba(208,2,27,0.12); line-height: 1; margin-bottom: 14px; }
.model-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.model-step p { font-size: 13px; color: var(--body-gray); line-height: 1.65; }

.values { padding: 96px 6%; background: var(--off-black); }
.values-inner { max-width: 1200px; margin: 0 auto; }
.values h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--white); margin-bottom: 48px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.value-item { border-top: 2px solid var(--red); padding-top: 24px; }
.value-item h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.value-item p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ============================================================
   SERVICES PAGE
============================================================ */
.service-block { padding: 80px 6%; }
.service-block:nth-child(even) { background: var(--cream); }
.service-block:nth-child(odd) { background: var(--white); }
.service-block-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.service-block-inner.reverse { direction: rtl; }
.service-block-inner.reverse > * { direction: ltr; }
.service-block-text h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.18; margin-bottom: 18px; }
.service-block-text p { font-size: 16px; color: var(--body-gray); line-height: 1.75; margin-bottom: 22px; }
.service-block-text ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.service-block-text ul li {
  font-size: 14px; color: var(--body-gray); line-height: 1.6;
  padding-left: 20px; position: relative;
}
.service-block-text ul li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: var(--red); border-radius: 50%;
}
.service-visual {
  background: var(--cream); border-radius: 14px;
  aspect-ratio: 4/3; display: flex; align-items: center;
  justify-content: center; font-size: 60px;
}

.comparison { padding: 80px 6%; background: var(--off-black); }
.comparison-inner { max-width: 1200px; margin: 0 auto; }
.comparison h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--white); margin-bottom: 40px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th {
  padding: 16px 20px; text-align: left; font-size: 12px;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.compare-table th:first-child { color: rgba(255,255,255,0.45); }
.compare-table th.us { color: var(--red-light); }
.compare-table th.them { color: rgba(255,255,255,0.45); }
.compare-table td { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.compare-table td:first-child { color: rgba(255,255,255,0.6); font-weight: 500; }
.compare-table td.check { color: #4ade80; font-weight: 600; }
.compare-table td.cross { color: rgba(255,255,255,0.25); }
.compare-table tr:last-child td { border-bottom: none; }

.process-strip { padding: 72px 6%; background: var(--cream); }
.process-strip-inner { max-width: 1200px; margin: 0 auto; }
.process-strip h2 { font-size: clamp(24px, 2.5vw, 34px); font-weight: 800; margin-bottom: 40px; }
.process-steps { display: flex; gap: 0; overflow: hidden; border-radius: 10px; border: 1px solid var(--border); }
.process-step {
  flex: 1; padding: 28px 22px; background: var(--white);
  border-right: 1px solid var(--border); position: relative;
}
.process-step:last-child { border-right: none; }
.process-step .p-num { font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: 1.5px; margin-bottom: 10px; }
.process-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--body-gray); line-height: 1.6; }

/* ============================================================
   BLOG PAGE
============================================================ */
.page-header { padding: 72px 6% 60px; background: var(--off-black); color: var(--white); }
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 16px; }
.page-header p { font-size: 18px; color: rgba(255,255,255,0.6); max-width: 520px; line-height: 1.7; }

.blog-listing { padding: 72px 6% 96px; background: var(--white); }
.blog-listing-inner { max-width: 1200px; margin: 0 auto; }
.blog-listing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.blog-listing-card {
  border-radius: 12px; border: 1px solid var(--border);
  overflow: hidden; background: var(--white);
  transition: box-shadow 0.25s, transform 0.25s;
}
.blog-listing-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.08); transform: translateY(-3px); }
.blog-listing-card .card-img {
  height: 220px; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.blog-listing-card .card-body { padding: 28px; }
.blog-listing-card .category {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--red);
  background: rgba(208,2,27,0.08); padding: 4px 10px;
  border-radius: 100px; margin-bottom: 16px;
}
.blog-listing-card h2 { font-size: 19px; font-weight: 700; line-height: 1.38; margin-bottom: 12px; }
.blog-listing-card h2 a { color: var(--black); text-decoration: none; }
.blog-listing-card h2 a:hover { color: var(--red); }
.blog-listing-card .excerpt { font-size: 14px; color: var(--body-gray); line-height: 1.68; margin-bottom: 20px; }
.blog-listing-card .meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--mid-gray); border-top: 1px solid var(--border); padding-top: 16px;
}
.blog-listing-card .read-more { color: var(--red); font-weight: 600; text-decoration: none; font-size: 13px; }

.newsletter-strip { padding: 72px 6%; background: var(--cream); }
.newsletter-strip-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.newsletter-strip h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; }
.newsletter-strip p { font-size: 16px; color: var(--body-gray); line-height: 1.7; margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input[type="email"] {
  flex: 1; padding: 14px 18px; border: 1.5px solid var(--border);
  border-radius: 4px; font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color 0.2s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--red); }
.newsletter-form button { flex-shrink: 0; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-wrap { padding: 80px 6% 96px; background: var(--white); }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; }
.contact-info h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.contact-info p { font-size: 16px; color: var(--body-gray); line-height: 1.75; margin-bottom: 36px; }
.contact-channels { display: flex; flex-direction: column; gap: 20px; }
.channel-item { display: flex; align-items: center; gap: 16px; }
.channel-icon {
  width: 46px; height: 46px; background: rgba(208,2,27,0.08);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.channel-label { font-size: 12px; color: var(--mid-gray); font-weight: 500; margin-bottom: 2px; }
.channel-value { font-size: 15px; font-weight: 600; color: var(--black); text-decoration: none; }
.channel-value:hover { color: var(--red); }

.contact-form-wrap {
  background: var(--cream); border-radius: 16px;
  padding: 44px 40px; border: 1px solid var(--border);
}
.contact-form-wrap h3 { font-size: 22px; font-weight: 700; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--black); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: 6px; font-family: var(--font-body); font-size: 15px;
  background: var(--white); color: var(--black); outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 16px; font-size: 16px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .founder-inner,
  .service-block-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-block-inner.reverse { direction: ltr; }
  .process-steps { flex-direction: column; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .model-steps { grid-template-columns: 1fr 1fr; }
  .model-step { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 28px; margin-bottom: 0; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 68px; left: 0;
    width: 100%; background: var(--white);
    flex-direction: column; gap: 0; padding: 16px 0 24px;
    border-bottom: 1px solid var(--border); z-index: 199;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 6%; font-size: 15px; }
  .nav-cta { border-radius: 0; margin: 8px 6% 0; padding: 13px 22px !important; text-align: center; border-radius: 4px !important; }
  .hero-trust { gap: 28px; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .blog-header { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .model-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .contact-form-wrap { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas a, .hero-ctas button { width: 100%; justify-content: center; }
  .final-cta .cta-btns { flex-direction: column; align-items: center; }
}

/* ============================================================
   SKIP LINK (Accessibility)
============================================================ */
.skip-link {
  position: absolute; top: -100%; left: 6px;
  background: var(--red); color: var(--white);
  padding: 10px 18px; font-size: 14px; font-weight: 600;
  border-radius: 0 0 6px 6px; text-decoration: none;
  z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   CUSTOM LOGO IN NAV
============================================================ */
.nav-logo .custom-logo { height: 38px; width: auto; display: block; }
.nav-logo img { height: 38px; width: auto; }
.footer-logo .custom-logo { height: 32px; width: auto; }

/* ============================================================
   FOOTER — Enhanced Layout
============================================================ */
footer { background: var(--off-black); padding: 56px 6% 32px; }
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.footer-social { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.social-icon {
  display: flex; align-items: center; color: rgba(255,255,255,0.35);
  transition: color 0.2s; text-decoration: none;
}
.social-icon:hover { color: rgba(255,255,255,0.85); }
.footer-nav { display: flex; align-items: flex-start; }
.footer-links { display: flex; list-style: none; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  max-width: 1200px; margin: 28px auto 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

/* ============================================================
   CTA BAND — template part
============================================================ */
.cta-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 16px;
}
.cta-disclaimer { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.45); }

/* ============================================================
   FULL-WIDTH TEMPLATE
============================================================ */
.template-full-width { width: 100%; }
.template-full-width .page-content-wrap { padding: 0; }

/* ============================================================
   ELEMENTOR CANVAS
============================================================ */
body.elementor-canvas nav,
body.elementor-canvas footer { display: none; }

/* ============================================================
   POST LAYOUT (Single)
============================================================ */
.post-layout-wrap { padding: 72px 6% 96px; background: var(--white); }
.post-layout {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 64px;
}
.post-meta { font-size: 14px; color: rgba(255,255,255,0.45); margin-top: 16px; }
.post-featured-img { margin-bottom: 40px; border-radius: 12px; overflow: hidden; }
.post-featured-img img { width: 100%; height: auto; display: block; }
.post-content { font-size: 17px; line-height: 1.8; color: var(--body-gray); }
.post-content h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; }
.post-content h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.post-content p { margin-bottom: 22px; }
.post-content a { color: var(--red); }
.post-content blockquote {
  border-left: 3px solid var(--red); padding: 16px 0 16px 24px;
  margin: 28px 0; font-style: italic; color: var(--off-black);
}
.post-tags { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.tags-label { font-size: 13px; font-weight: 600; color: var(--mid-gray); margin-right: 10px; }
.tag-pill {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600; background: var(--cream); color: var(--body-gray);
  text-decoration: none; margin: 2px;
}
.tag-pill:hover { background: var(--light-gray); }

/* Post Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 32px; }
.author-box {
  background: var(--cream); border-radius: 10px;
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.author-box-avatar img { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; }
.author-box-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.author-box-bio { font-size: 13px; color: var(--body-gray); line-height: 1.6; }
.related-posts { background: var(--cream); border-radius: 10px; padding: 24px; }
.related-posts h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.related-posts ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.related-posts li { border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.related-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.related-posts a { font-size: 14px; font-weight: 600; color: var(--black); text-decoration: none; display: block; margin-bottom: 3px; }
.related-posts a:hover { color: var(--red); }
.related-date { font-size: 11px; color: var(--mid-gray); }

/* Post Navigation */
.post-navigation { background: var(--cream); padding: 40px 6%; }
.post-navigation .nav-wrap { max-width: 1200px; margin: 0 auto; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.post-navigation .nav-previous,
.post-navigation .nav-next { flex: 1; }
.post-navigation a { text-decoration: none; color: var(--black); }
.post-navigation a:hover { color: var(--red); }
.nav-direction { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid-gray); margin-bottom: 4px; }
.nav-title { font-size: 15px; font-weight: 700; }
.comments-wrap { padding: 64px 6%; background: var(--white); }
.comments-inner { max-width: 760px; margin: 0 auto; }

/* ============================================================
   COMMENTS AREA
============================================================ */
.comments-area h2.comments-title { font-size: 22px; font-weight: 700; margin-bottom: 32px; }
.comment-list { list-style: none; }
.comment-body { padding: 24px 0; border-bottom: 1px solid var(--border); }
.comment-author b { font-size: 14px; font-weight: 700; }
.comment-metadata { font-size: 12px; color: var(--mid-gray); margin: 4px 0 12px; }
.comment-content p { font-size: 15px; line-height: 1.7; color: var(--body-gray); }
.reply { margin-top: 10px; }
.reply a { font-size: 13px; color: var(--red); text-decoration: none; font-weight: 600; }

/* Comment Form */
.comment-form input,
.comment-form textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 6px; font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color 0.2s; margin-bottom: 16px;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--red); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit { /* use btn-primary styles */ background: var(--red); color: var(--white); padding: 14px 28px; border: none; border-radius: 4px; font-family: var(--font-body); font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.comment-form .submit:hover { background: var(--red-dark); }

/* ============================================================
   PAGINATION
============================================================ */
.pagination { margin-top: 56px; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 4px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--black); border: 1.5px solid var(--border);
  margin: 0 3px; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.page-numbers:hover,
.page-numbers.current { background: var(--red); color: var(--white); border-color: var(--red); }
.page-numbers.dots { border: none; cursor: default; }
.nav-links.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }

/* ============================================================
   SEARCH FORM
============================================================ */
.search-form { display: flex; gap: 10px; max-width: 480px; }
.search-field {
  flex: 1; padding: 13px 18px; border: 1.5px solid var(--border);
  border-radius: 4px; font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color 0.2s;
}
.search-field:focus { border-color: var(--red); }
.search-submit { flex-shrink: 0; padding: 13px 20px; }

/* ============================================================
   NO RESULTS
============================================================ */
.no-results { padding: 80px 6%; text-align: center; }
.no-results-inner { max-width: 480px; margin: 0 auto; }
.no-results h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.no-results p { font-size: 16px; color: var(--body-gray); margin-bottom: 28px; }

/* ============================================================
   PAGE CONTENT WRAP (default page.php)
============================================================ */
.page-content-wrap { padding: 72px 6% 96px; }
.page-content-wrap .section-wrap { font-size: 16px; line-height: 1.8; color: var(--body-gray); }
.page-content-wrap h2 { font-size: 28px; font-weight: 700; color: var(--black); margin: 32px 0 14px; }
.page-content-wrap a { color: var(--red); }

/* ============================================================
   WIDGET STYLES
============================================================ */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.widget ul { list-style: none; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul a { color: var(--body-gray); text-decoration: none; }
.widget ul a:hover { color: var(--red); }

/* ============================================================
   RESPONSIVE ADDITIONS & MOBILE IMPROVEMENTS
============================================================ */

/* Large screens */
@media (min-width: 1400px) {
  .section-wrap { max-width: 1280px; }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero { padding: 80px 6% 72px; }
  .hero h1 { font-size: clamp(38px, 5vw, 58px); }
  .post-layout { grid-template-columns: 1fr; gap: 48px; }
  .post-sidebar { flex-direction: row; flex-wrap: wrap; }
  .post-sidebar > * { flex: 1 1 280px; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .founder-inner,
  .service-block-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-block-inner.reverse { direction: ltr; }
  .process-steps { flex-direction: column; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .model-steps { grid-template-columns: 1fr 1fr; }
  .model-step { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 28px; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Nav */
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 68px; left: 0;
    width: 100%; background: var(--white);
    flex-direction: column; gap: 0; padding: 12px 0 20px;
    border-bottom: 1px solid var(--border); z-index: 199;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 6%; font-size: 15px; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta { margin: 12px 6% 0 !important; text-align: center; border-radius: 4px !important; padding: 14px 22px !important; }

  /* Hero */
  .hero { padding: 64px 6% 56px; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero-sub { font-size: 16px; }
  .hero-trust { gap: 24px; margin-top: 40px; padding-top: 32px; }
  .trust-stat strong { font-size: 24px; }

  /* Sections */
  .problem, .services, .social-proof,
  .blog-preview, .why, .faq, .final-cta { padding: 64px 6%; }
  .thesis, .icps, .model, .values, .founder,
  .contact-wrap, .service-block { padding: 56px 6%; }

  /* Services header */
  .services-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; }

  /* Blog */
  .blog-header { flex-direction: column; align-items: flex-start; }
  .blog-grid, .blog-listing-grid { grid-template-columns: 1fr; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 48px 6% 28px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-links { justify-content: flex-start; gap: 18px; }

  /* Post layout */
  .post-layout { grid-template-columns: 1fr; }
  .post-layout-wrap { padding: 48px 6% 64px; }
  .post-sidebar { flex-direction: column; }
  .post-navigation { padding: 32px 6%; }
  .post-navigation .nav-links { flex-direction: column; gap: 16px; }

  /* Comments */
  .comments-wrap { padding: 40px 6%; }

  /* Contact form */
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; }

  /* Model steps */
  .model-steps { grid-template-columns: 1fr; }

  /* Process steps */
  .process-steps { border-radius: 0; border: none; }
  .process-step { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; }

  /* Compare table — make scrollable */
  .comparison-inner { overflow-x: auto; }
  .compare-table { min-width: 480px; }
}

/* Small mobile */
@media (max-width: 480px) {
  nav { padding: 0 5%; }
  .hero { padding: 52px 5% 48px; }
  .hero h1 { font-size: clamp(28px, 9vw, 40px); line-height: 1.12; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas a { width: 100%; justify-content: center; text-align: center; }
  .final-cta .cta-btns { flex-direction: column; align-items: center; }
  .btn-white, .btn-primary { width: 100%; justify-content: center; }
  .page-hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .page-header h1 { font-size: clamp(26px, 8vw, 36px); }
  .hero-trust { flex-direction: column; gap: 18px; }
  .trust-stat { flex-direction: row; align-items: center; gap: 12px; }
  .trust-stat strong { font-size: 22px; min-width: 64px; }
  .icp-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .thesis-pillars { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .search-submit { width: 100%; justify-content: center; }
}

/* Touch-friendly targets */
@media (hover: none) and (pointer: coarse) {
  .nav-links a { padding: 16px 6%; min-height: 48px; }
  .btn-primary, .btn-outline-dark, .btn-outline-light, .btn-white { min-height: 48px; }
  .faq-q { min-height: 52px; }
  .social-icon { width: 44px; height: 44px; justify-content: center; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
