/* =============================================================
   SMS Consulting - Master Stylesheet
   Design System: High-End Luxury Professional / Executive Business
   ============================================================= */

/* Imports - Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

/* =============================================================
   1. CSS VARIABLES
   ============================================================= */
:root {
  /* Primary Colors */
  --navy: #1F4E79;
  --navy-dark: #0D2A47;
  --light-blue: #D6E4F0;
  --light-blue-hover: #C4D8E4;
  --cream: #F8F7F2;
  --charcoal: #2C3E50;

  /* Secondary Colors */
  --gold: #B8860B;
  --green: #4A7C5F;
  --red: #C0392B;

  /* Text Colors */
  --text-primary: #2C3E50;
  --text-secondary: #5A6C7D;

  /* UI Colors */
  --border: #E0E0E0;
  --row-alt: #F5F5F5;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Effects */
  --shadow-sm: 0 4px 12px rgba(31, 78, 121, 0.08);
  --shadow-md: 0 8px 20px rgba(31, 78, 121, 0.12);
  --shadow-lg: 0 8px 24px rgba(31, 78, 121, 0.12);
  --shadow-button: 0 8px 16px rgba(31, 78, 121, 0.2);

  /* Layout */
  --max-width: 1200px;
  --max-content: 900px;
  --max-narrow: 800px;

  /* Transitions */
  --transition: 0.3s ease-out;
  --transition-fast: 0.2s ease-out;
}

/* =============================================================
   2. BASE / RESET
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--cream);
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--navy-dark);
}

/* Skip to content for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* =============================================================
   3. TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  font-size: 48px;
  line-height: 1.2;
}

h2 {
  font-size: 32px;
  line-height: 1.3;
}

h3 {
  font-size: 24px;
  line-height: 1.3;
}

p {
  margin-bottom: 16px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
}

/* =============================================================
   4. LAYOUT
   ============================================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 40px;
}

.container-tight {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 80px 0;
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

.section-light-blue {
  background: var(--light-blue);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

/* =============================================================
   5. HEADER / NAVIGATION
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px;
}

.nav-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.nav-brand:hover {
  color: var(--navy-dark);
}

.nav-brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 2px;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--navy);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* =============================================================
   6. BUTTONS
   ============================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
  box-shadow: var(--shadow-button);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: var(--light-blue);
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--light-blue-hover);
  color: var(--navy-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--light-blue);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.btn-large {
  padding: 18px 40px;
  font-size: 17px;
}

.text-link {
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.text-link:hover {
  color: var(--navy-dark);
  border-bottom-color: var(--navy-dark);
}

/* =============================================================
   7. HERO SECTIONS
   ============================================================= */
.hero {
  padding: 80px 0 100px;
  background: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 52px;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-content .lead {
  margin-bottom: 32px;
  color: var(--charcoal);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img,
.hero-image .placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border: 2px solid var(--navy);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin-left: auto;
}

.hero-image .placeholder {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 18px;
  text-align: center;
  padding: 40px;
}

/* Page hero (smaller, single column) */
.page-hero {
  background: var(--cream);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.page-hero .lead {
  max-width: 800px;
  color: var(--charcoal);
}

/* =============================================================
   8. PROOF STRIP
   ============================================================= */
.proof-strip {
  background: var(--light-blue);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 56px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.4;
}

/* =============================================================
   9. BULLET LISTS (custom navy bullets)
   ============================================================= */
.fancy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.fancy-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--charcoal);
}

.fancy-list li::before {
  content: '•';
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  line-height: 1.7;
  color: var(--charcoal);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
}

.x-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.x-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  line-height: 1.7;
  color: var(--charcoal);
}

.x-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
}

/* =============================================================
   10. TABLES
   ============================================================= */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.styled-table thead {
  background: var(--navy);
  color: var(--white);
}

.styled-table thead th {
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.styled-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
}

.styled-table tbody tr:nth-child(even) {
  background: var(--row-alt);
}

.styled-table tbody tr:last-child td {
  border-bottom: none;
}

.styled-table tbody td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 35%;
}

/* Light-blue header variant for credentials/about */
.styled-table.subtle thead {
  background: var(--light-blue);
  color: var(--navy);
}

/* =============================================================
   11. CARDS - SERVICES
   ============================================================= */
.service-card {
  background: var(--cream);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  padding: 48px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
  transition: all var(--transition);
}

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

.service-card-content h3 {
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.service-badge {
  display: inline-block;
  background: var(--light-blue);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.service-card-content p {
  color: var(--charcoal);
  line-height: 1.8;
}

.service-info-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  height: fit-content;
}

.service-info-table .row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.service-info-table .row:last-child {
  border-bottom: none;
}

.service-info-table .row:nth-child(even) {
  background: var(--row-alt);
}

.service-info-table .row .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.service-info-table .row .value {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.5;
}

/* =============================================================
   12. CARDS - RESULTS
   ============================================================= */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.result-card {
  background: var(--cream);
  border-left: 5px solid var(--navy);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.result-metric {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.result-card p {
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* =============================================================
   13. TWO-COLUMN LAYOUTS
   ============================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.col-block {
  padding: 32px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.col-block h3 {
  font-size: 22px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.col-block .subhead {
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 20px;
}

/* =============================================================
   14. CALLOUT / HIGHLIGHT BOX
   ============================================================= */
.callout {
  background: var(--light-blue);
  padding: 32px;
  border-radius: 8px;
  margin: 32px 0;
}

.callout p {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
  line-height: 1.7;
}

.callout.dark {
  background: var(--navy);
  color: var(--white);
}

.callout.dark p {
  color: var(--white);
}

/* =============================================================
   15. CONTACT FORM
   ============================================================= */
.contact-form {
  display: grid;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.form-group textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.6;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  padding: 16px;
  border-radius: 6px;
  margin-top: 16px;
  font-weight: 600;
  display: none;
}

.form-status.success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
  display: block;
}

.form-status.error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
  display: block;
}

/* =============================================================
   16. CTA SECTION (full-width navy)
   ============================================================= */
.cta-section {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 36px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* =============================================================
   17. BLOG
   ============================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.blog-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: all var(--transition);
}

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

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--light-blue), var(--navy));
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.blog-card-image.variant-1 {
  background: linear-gradient(135deg, #1F4E79, #4A7C5F);
}
.blog-card-image.variant-2 {
  background: linear-gradient(135deg, #2C3E50, #1F4E79);
}
.blog-card-image.variant-3 {
  background: linear-gradient(135deg, #B8860B, #1F4E79);
}
.blog-card-image.variant-4 {
  background: linear-gradient(135deg, #1F4E79, #0D2A47);
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.blog-card h3 a {
  color: var(--navy);
}

.blog-card h3 a:hover {
  color: var(--navy-dark);
}

.blog-card p {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Blog post body */
.blog-post {
  padding: 60px 0;
}

.blog-post-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.blog-post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

.blog-post-body h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 20px;
}

.blog-post-body h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.blog-post-body p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 22px;
  color: var(--charcoal);
}

.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 24px 24px;
}

.blog-post-body li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.blog-post-body blockquote {
  border-left: 4px solid var(--navy);
  background: var(--cream);
  padding: 20px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--charcoal);
  font-size: 18px;
}

.blog-post-body strong {
  color: var(--navy);
}

.author-box {
  max-width: 760px;
  margin: 60px auto 0;
  padding: 32px;
  background: var(--light-blue);
  border-radius: 8px;
}

.author-box h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
}

.author-box p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}

/* =============================================================
   18. FOOTER
   ============================================================= */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 32px;
}

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

.footer-brand h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color var(--transition-fast);
}

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

.footer-col p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  line-height: 1.6;
}

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

/* =============================================================
   19. UTILITIES
   ============================================================= */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
  border: none;
}

/* =============================================================
   20. RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }

  .container,
  .container-narrow,
  .container-tight {
    padding: 0 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-image img,
  .hero-image .placeholder {
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

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

  .results-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  h1 { font-size: 32px; line-height: 1.2; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .lead { font-size: 16px; }

  .container,
  .container-narrow,
  .container-tight {
    padding: 0 20px;
  }

  section {
    padding: 56px 0;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat-number {
    font-size: 44px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .styled-table {
    font-size: 14px;
  }

  .styled-table thead th,
  .styled-table tbody td {
    padding: 12px 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-post-body {
    padding: 0 20px;
  }

  .service-card {
    padding: 28px;
  }

  .result-card {
    padding: 28px;
  }

  .result-metric {
    font-size: 26px;
  }

  .cta-section h2 {
    font-size: 26px;
  }
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .cta-section {
    display: none;
  }
}
