/*
Theme Name: ScaleMarketers
Theme URI: https://scalemarketers.com
Author: ScaleMarketers
Author URI: https://scalemarketers.com
Description: A modern, conversion-focused WordPress theme built for ScaleMarketers — a growth marketing and lead generation agency. Includes custom page templates for Home, About Us, Services, and Contact, a customizer-driven contact/social panel, and a working contact form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: scalemarketers
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready

ScaleMarketers WordPress Theme is released under the terms of the GNU General Public License v2 or later.
*/

/* ==========================================================================
   1. Custom properties
   ========================================================================== */
:root {
  --sm-primary: #4338CA;
  --sm-primary-dark: #2E2A87;
  --sm-primary-light: #6D63F0;
  --sm-accent: #10B981;
  --sm-accent-dark: #0B8F63;
  --sm-cta: #F59E0B;
  --sm-cta-dark: #D97F06;
  --sm-ink: #0F172A;
  --sm-body: #334155;
  --sm-muted: #64748B;
  --sm-light: #F6F7FB;
  --sm-light-2: #EEF0FA;
  --sm-border: #E2E5F1;
  --sm-white: #FFFFFF;

  --sm-font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --sm-font-body: 'Inter', 'Segoe UI', sans-serif;

  --sm-radius: 16px;
  --sm-radius-sm: 10px;
  --sm-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --sm-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
  --sm-container: 1180px;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sm-font-body);
  color: var(--sm-body);
  font-size: 16px;
  line-height: 1.7;
  background: var(--sm-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sm-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sm-accent); }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sm-font-heading);
  color: var(--sm-ink);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
}
p { margin: 0 0 1.2em; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
.skip-link.screen-reader-text:focus {
  position: fixed; top: 10px; left: 10px;
  width: auto; height: auto; clip: auto;
  background: var(--sm-ink); color: #fff;
  padding: 12px 18px; z-index: 100000; border-radius: 8px;
}
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container { max-width: var(--sm-container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

section { position: relative; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--sm-light); }
.section-dark { background: var(--sm-ink); color: #CBD5E1; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: var(--sm-primary);
  background: rgba(67,56,202,.08);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow svg { width: 14px; height: 14px; flex-shrink: 0; }
.section-dark .eyebrow { background: rgba(255,255,255,.1); color: #A5B4FC; }

.section-head { max-width: 680px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { color: var(--sm-muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #94A3B8; }

.text-center { text-align: center; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--sm-cta); color: #1A1300; box-shadow: 0 10px 24px rgba(245,158,11,.35); }
.btn-primary:hover { background: var(--sm-cta-dark); color: #1A1300; transform: translateY(-2px); }
.btn-dark { background: var(--sm-ink); color: #fff; }
.btn-dark:hover { background: var(--sm-primary); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-outline-dark { background: transparent; border-color: var(--sm-border); color: var(--sm-ink); }
.btn-outline-dark:hover { border-color: var(--sm-primary); color: var(--sm-primary); background: rgba(67,56,202,.05); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--sm-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 24px; }
.site-branding .site-title-link { display: flex; align-items: center; gap: 10px; }
.site-title {
  font-family: var(--sm-font-heading); font-weight: 800; font-size: 1.5rem; color: var(--sm-ink);
  letter-spacing: -.01em;
}
.site-title span { color: var(--sm-primary); }
.custom-logo { max-height: 46px; width: auto; }

.main-navigation { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a {
  color: var(--sm-ink); font-weight: 600; font-size: .96rem; padding: 8px 0; display: inline-block;
}
.nav-menu li.current-menu-item > a, .nav-menu a:hover { color: var(--sm-primary); }
.nav-menu ul { list-style: none; }

.nav-menu li.menu-item-has-children > a::after { content: '\25BE'; margin-left: 6px; font-size: .7em; }
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--sm-border); border-radius: var(--sm-radius-sm);
  box-shadow: var(--sm-shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s ease; z-index: 20;
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { padding: 8px 12px; border-radius: 8px; }
.nav-menu .sub-menu a:hover { background: var(--sm-light); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sm-ink); font-size: .94rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--sm-accent); }
.header-phone:hover { color: var(--sm-primary); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--sm-ink); border-radius: 2px; transition: all .25s ease; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(16,185,129,.18), transparent 60%),
              linear-gradient(135deg, var(--sm-ink) 0%, #1B1552 55%, var(--sm-primary-dark) 100%);
  color: #fff; padding: 110px 0 90px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); color: #fff; letter-spacing: -.02em; }
.hero h1 mark { background: none; color: var(--sm-accent); }
.hero-lede { font-size: 1.15rem; color: #CBD5E1; max-width: 540px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin: 34px 0 40px; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: #94A3B8; font-size: .88rem; }
.hero-trust strong { color: #fff; }
.hero-visual { position: relative; }

.hero-form-card {
  background: var(--sm-white); border-radius: var(--sm-radius);
  padding: 38px 34px; box-shadow: var(--sm-shadow-lg); color: var(--sm-ink);
}
.hero-form-card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.hero-form-card > p { color: var(--sm-muted); font-size: .92rem; margin-bottom: 24px; }
.hero-form-card .form-group { margin-bottom: 16px; }
.hero-form-card .form-alert { padding: 12px 16px; font-size: .86rem; margin-bottom: 20px; }
.hero-form-trust {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin: 18px 0 0; font-size: .8rem; font-weight: 600; color: var(--sm-muted);
}
.hero-form-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-form-trust svg { width: 14px; height: 14px; color: var(--sm-accent); flex-shrink: 0; }

.stat-strip {
  background: var(--sm-white); border-top: 1px solid var(--sm-border); border-bottom: 1px solid var(--sm-border);
}
.stat-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 24px; }
.stat-item { text-align: center; }
.stat-item .num { font-family: var(--sm-font-heading); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--sm-primary); display: block; }
.stat-item .label { color: var(--sm-muted); font-size: .92rem; font-weight: 600; }

/* ==========================================================================
   6. Cards / Grids
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--sm-border); border-radius: var(--sm-radius);
  padding: 34px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sm-shadow-lg); border-color: transparent; }

.icon-badge {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(67,56,202,.09); color: var(--sm-primary); margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.alt { background: rgba(16,185,129,.12); color: var(--sm-accent-dark); }
.icon-badge.warm { background: rgba(245,158,11,.14); color: var(--sm-cta-dark); }

.service-card h3 { font-size: 1.18rem; }
.service-card p { color: var(--sm-muted); margin-bottom: 14px; }
.service-card .card-link { font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .card-link svg { transform: translateX(4px); }

.service-card.detailed { display: flex; flex-direction: column; }
.service-card .list-check { list-style: none; padding: 0; margin: 14px 0 0; }
.service-card .list-check li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; font-size: .93rem; color: var(--sm-body); }
.service-card .list-check svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sm-accent); margin-top: 2px; }

/* ==========================================================================
   7. About / split sections
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .icon-badge { width: 44px; height: 44px; margin: 0; flex-shrink: 0; border-radius: 12px; }
.feature-list .icon-badge svg { width: 20px; height: 20px; }
.feature-list h4 { margin-bottom: 4px; font-size: 1.02rem; }
.feature-list p { margin: 0; color: var(--sm-muted); font-size: .93rem; }

.illustration { position: relative; border-radius: var(--sm-radius); overflow: hidden; }
.illustration svg, .illustration img { width: 100%; height: auto; display: block; }

/* Floating card decorations for hero/about visuals */
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--sm-shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; color: var(--sm-ink); font-weight: 700; font-size: .88rem;
}
.float-card svg { width: 22px; height: 22px; color: var(--sm-accent); }
.float-card.fc-1 { top: 8%; left: -6%; }
.float-card.fc-2 { bottom: 10%; right: -8%; }

/* ==========================================================================
   8. Process steps
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.process-step { text-align: left; position: relative; padding-top: 8px; }
.process-step .step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--sm-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--sm-font-heading);
  font-weight: 800; font-size: 1.1rem; margin-bottom: 18px;
}
.process-step h3 { font-size: 1.08rem; }
.process-step p { color: var(--sm-muted); font-size: .93rem; margin-bottom: 0; }

/* ==========================================================================
   9. Guarantees / value props
   ========================================================================== */
.value-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item { text-align: center; padding: 30px 18px; border-radius: var(--sm-radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.value-item .icon-badge { margin: 0 auto 18px; background: rgba(16,185,129,.16); color: var(--sm-accent); }
.value-item h4 { color: #fff; font-size: 1rem; }
.value-item p { color: #94A3B8; font-size: .88rem; margin-bottom: 0; }

/* ==========================================================================
   10. Testimonials
   ========================================================================== */
.testimonial-card { background: #fff; border: 1px solid var(--sm-border); border-radius: var(--sm-radius); padding: 32px; position: relative; }
.testimonial-card .quote-mark { color: var(--sm-primary-light); width: 34px; height: 34px; margin-bottom: 14px; }
.testimonial-card .quote-mark svg { width: 100%; height: 100%; display: block; }
.testimonial-card p.quote { font-size: 1.02rem; color: var(--sm-ink); font-style: italic; }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--sm-cta); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--sm-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--sm-font-heading);
}
.author-name { font-weight: 700; color: var(--sm-ink); font-size: .94rem; }
.author-role { color: var(--sm-muted); font-size: .84rem; }

/* ==========================================================================
   11. FAQ accordion
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--sm-border); border-radius: var(--sm-radius-sm); background: #fff; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--sm-font-heading); font-weight: 700; font-size: 1rem; color: var(--sm-ink);
}
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .25s ease; color: var(--sm-primary); }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 24px 22px; color: var(--sm-muted); }
.faq-item.is-open .faq-answer { max-height: 400px; }

/* ==========================================================================
   12. CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--sm-primary) 0%, var(--sm-primary-dark) 100%);
  border-radius: 28px; padding: 64px; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 10%, rgba(16,185,129,.35), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-banner p { color: #C7D2FE; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer { background: var(--sm-ink); color: #94A3B8; padding-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .site-title { color: #fff; }
.footer-brand .site-title span { color: var(--sm-accent); }
.footer-about { margin: 16px 0 22px; font-size: .92rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.footer-social a:hover { background: var(--sm-accent); color: var(--sm-ink); }
.footer-social svg { width: 17px; height: 17px; }
.widget-title, .footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer-col ul, .widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a, .widget a { color: #94A3B8; font-size: .92rem; }
.footer-col a:hover, .widget a:hover { color: var(--sm-accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--sm-accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: .84rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom-menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-bottom-menu a { color: #94A3B8; }
.footer-bottom-menu a:hover { color: var(--sm-accent); }

/* ==========================================================================
   14. Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: .9rem; color: var(--sm-ink); }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 16px; border: 1.5px solid var(--sm-border); border-radius: 10px;
  background: #fcfcfe; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--sm-primary); box-shadow: 0 0 0 4px rgba(67,56,202,.12); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .82rem; color: var(--sm-muted); }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 26px; font-weight: 600; font-size: .94rem; }
.form-alert.success { background: rgba(16,185,129,.12); color: var(--sm-accent-dark); border: 1px solid rgba(16,185,129,.3); }
.form-alert.error { background: rgba(239,68,68,.1); color: #B91C1C; border: 1px solid rgba(239,68,68,.3); }

/* ==========================================================================
   15. Contact page specific
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--sm-ink); color: #CBD5E1; border-radius: var(--sm-radius); padding: 40px; position: sticky; top: 110px;
}
.contact-info-card h3 { color: #fff; }
.contact-method { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-method:last-of-type { border-bottom: none; }
.contact-method .icon-badge { background: rgba(16,185,129,.16); color: var(--sm-accent); margin: 0; width: 46px; height: 46px; flex-shrink: 0; }
.contact-method .icon-badge svg { width: 20px; height: 20px; }
.contact-method strong { display: block; color: #fff; font-size: .95rem; }
.contact-method span, .contact-method a { color: #94A3B8; font-size: .92rem; }
.contact-form-card { background: #fff; border: 1px solid var(--sm-border); border-radius: var(--sm-radius); padding: 44px; box-shadow: var(--sm-shadow); }
.map-embed { border-radius: var(--sm-radius); overflow: hidden; border: 1px solid var(--sm-border); margin-top: 40px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ==========================================================================
   16. Team
   ========================================================================== */
.team-card { text-align: center; }
.team-avatar {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 18px; background: var(--sm-light-2);
  display: flex; align-items: center; justify-content: center; color: var(--sm-primary);
}
.team-avatar svg { width: 46px; height: 46px; }
.team-card h4 { margin-bottom: 2px; }
.team-role { color: var(--sm-accent-dark); font-weight: 700; font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.team-bio { color: var(--sm-muted); font-size: .9rem; }

/* ==========================================================================
   17. Values (About page)
   ========================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 30px 20px; }
.value-card .icon-badge { margin: 0 auto 18px; }

/* ==========================================================================
   18. Blog / archive / single
   ========================================================================== */
.content-area { padding: 70px 0; }
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.post-card { border: 1px solid var(--sm-border); border-radius: var(--sm-radius); overflow: hidden; margin-bottom: 34px; background: #fff; }
.post-card .post-thumb img { width: 100%; height: 240px; object-fit: cover; }
.post-card .post-body { padding: 28px; }
.post-meta { color: var(--sm-muted); font-size: .84rem; display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.post-card h2 { font-size: 1.35rem; }
.post-card h2 a { color: var(--sm-ink); }
.post-card h2 a:hover { color: var(--sm-primary); }
.entry-content { font-size: 1.05rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--sm-radius-sm); }
.entry-content blockquote {
  border-left: 4px solid var(--sm-primary); margin: 24px 0; padding: 10px 24px; background: var(--sm-light);
  font-style: italic; border-radius: 0 10px 10px 0;
}
.single-hero { padding: 60px 0 20px; background: var(--sm-light); }
.single-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.pagination { display: flex; gap: 10px; margin-top: 20px; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--sm-border); border-radius: 8px; font-weight: 600; font-size: .9rem; }
.pagination .current { background: var(--sm-primary); color: #fff; border-color: var(--sm-primary); }
.widget { background: #fff; border: 1px solid var(--sm-border); border-radius: var(--sm-radius); padding: 26px; margin-bottom: 26px; }
.widget input[type="search"] { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--sm-border); }
.search-form { display: flex; gap: 8px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border: 1px solid var(--sm-border); border-radius: var(--sm-radius-sm); padding: 20px; margin-bottom: 16px; }
.not-found-wrap { text-align: center; padding: 100px 0; }

/* ==========================================================================
   19. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  /* Nav collapses to the hamburger menu at the same breakpoint content
     sections reflow at, so the header never has to cram the full desktop
     menu, phone number and CTA into a tablet-width row. */
  .main-navigation, .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .main-navigation.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--sm-border); padding: 20px 24px; box-shadow: var(--sm-shadow-lg);
  }
  .main-navigation.is-open .nav-menu { flex-direction: column; align-items: flex-start; gap: 16px; }
  .main-navigation.is-open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin-top: 8px; }
  .main-navigation.is-open li.menu-item-has-children.is-open .sub-menu { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .value-row { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 520px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .blog-layout { grid-template-columns: 1fr; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
  .section { padding: 64px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .value-row, .values-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding-bottom: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 26px; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none; }
  .contact-form-card { padding: 26px; }
  .hero-form-card { padding: 26px; }
}
