/*
Theme Name: Oakline SR22 Insurance Raleigh
Theme URI: https://oaklinesr22raleigh.com/
Author: Oakline Insurance
Author URI: https://oaklinesr22raleigh.com/
Description: Custom WordPress theme for Oakline SR22 Insurance Raleigh, adopting the Insurx modern agency design system featuring emerald teal and gold accents, chamfered geometric components, dark & light section contrast, modular service matrices, and full responsive SEO support.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oakline-sr22
*/

:root {
  --primary: #00a877;
  --primary-hover: #008f65;
  --primary-dark: #006b4c;
  --primary-light: #e6f7f2;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fef3c7;
  --accent-gold-text: #92400e;
  --dark-bg: #0c0f14;
  --dark-surface: #151a23;
  --dark-border: #262e3d;
  --dark-text: #e2e8f0;
  --dark-muted: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f4f6f8;
  --bg-subtle: #f8fafc;
  --border-color: #e5e7eb;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 14px 32px rgba(0,0,0,0.12);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Micro badges */
.gold-badge {
  background: var(--accent-gold-light);
  color: var(--accent-gold-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
}

.teal-badge {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
}

/* Chamfered corners matching design */
.chamfer-card {
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}

.chamfer-hero {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%);
}

/* Top Utility Bar */
.top-bar {
  background: #080a0e;
  color: #94a3b8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #1a202c;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-bar-item a {
  color: #cbd5e1;
}

.top-bar-item a:hover {
  color: #ffffff;
}

/* Header & Nav */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon-insurx {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
}

.brand-icon-insurx::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  background: var(--accent-gold);
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--primary);
}

.site-nav {
  display: flex;
  align-items: center;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 14.5px;
  color: #334155;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary);
  text-decoration: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 10px 0;
  list-style: none;
  z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
}

.dropdown-item a:hover {
  background-color: var(--bg-subtle);
  color: var(--primary);
  text-decoration: none;
  padding-left: 24px;
}

.btn-emerald {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 168, 119, 0.25);
  transition: all 0.2s ease;
}

.btn-emerald:hover {
  background: var(--primary-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--dark-bg);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-dark:hover {
  background: #1e293b;
  text-decoration: none;
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.4);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* HERO SECTION (Adapted from media_1789716352948.jpg) */
.insurx-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  color: #ffffff;
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 60px) 100%, 0 100%);
}

.insurx-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/hero-umbrella-car.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.insurx-hero .container {
  position: relative;
  z-index: 2;
}

.insurx-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.insurx-hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.insurx-hero-content p {
  font-size: 17.5px;
  color: #f1f5f9;
  line-height: 1.65;
  margin-bottom: 28px;
}

.insurx-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.insurx-hero-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.insurx-hero-card img {
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  width: 100%;
  height: 240px;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

.hero-card-contact {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

/* SECTION: Tailored Solutions 4-Stat Row (from Hero bottom) */
.section-stats-strip {
  background: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.stat-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-item-title {
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
}

.stat-item-sub {
  font-size: 12px;
  color: var(--text-light);
}

/* DARK SECTION: Everyday Needs (from middle of media_1789716352948.jpg) */
.section-dark-showcase {
  background: var(--dark-bg);
  color: #ffffff;
  padding: 80px 0;
}

.section-dark-showcase h2 {
  color: #ffffff;
}

.dark-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.dark-feature-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  padding: 28px 24px;
  color: #ffffff;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dark-feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.dark-card-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.dark-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.dark-feature-card p {
  font-size: 13.5px;
  color: var(--dark-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.dark-feature-card a {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* GREY CALLOUT BANNER (from media_1789716352948.jpg) */
.section-grey-callout {
  background: #64748b;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 40px) 100%, 0 100%);
}

.section-grey-callout h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.section-grey-callout p {
  font-size: 17px;
  color: #e2e8f0;
  max-width: 680px;
  margin: 0 auto 24px;
}

/* METRICS / STATS SECTION (from media_1789716352948.jpg) */
.section-metrics {
  padding: 70px 0;
  background: #ffffff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.metric-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.metric-stat h4 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-stat h4 span {
  color: var(--primary);
}

.metric-stat p {
  font-size: 13.5px;
  color: var(--text-light);
}

/* CARRIER LOGO TICKER / PARTNERS (from both templates) */
.carrier-ticker-strip {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
}

.carrier-logos-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.8;
}

.carrier-logo-item {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
  color: #475569;
  text-transform: uppercase;
}

/* SERVICES MODULAR MATRIX GRID (from media_1789716352947.jpg) */
.section-service-matrix {
  padding: 80px 0;
  background: #ffffff;
}

.service-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.matrix-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
  transition: all 0.2s ease;
}

.matrix-cell:hover {
  background: var(--bg-subtle);
}

.matrix-cell.highlight-emerald {
  background: var(--primary);
  color: #ffffff;
}

.matrix-cell.highlight-emerald h3,
.matrix-cell.highlight-emerald p,
.matrix-cell.highlight-emerald a {
  color: #ffffff;
}

.matrix-cell-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.matrix-cell.highlight-emerald .matrix-cell-icon {
  color: #ffffff;
}

.matrix-cell h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.matrix-cell p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* SECTION: We Guide Your Journey + 95% Circle Ring (from media_1789716352947.jpg) */
.section-guide-journey {
  padding: 80px 0;
  background: var(--bg-light);
}

.journey-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.journey-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.journey-feat-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.journey-feat-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.journey-media-box {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.journey-media-box img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px));
}

.satisfaction-ring-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 110px;
  height: 110px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 6px solid var(--primary);
  text-align: center;
}

.satisfaction-ring-badge .ring-num {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.satisfaction-ring-badge .ring-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}

/* SECTION: Quote Request Form & Image (from media_1789716352947.jpg) */
.section-quote-form {
  padding: 80px 0;
  background: #ffffff;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.quote-form-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.quote-form-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.quote-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.quote-form-field {
  margin-bottom: 16px;
}

.quote-form-field input, .quote-form-field select, .quote-form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
}

/* GENERAL H2 SECTIONS */
.content-h2-section {
  padding: 55px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.content-h2-section.section-bg-white {
  background-color: #ffffff;
}

.content-h2-section.section-bg-light {
  background-color: var(--bg-light);
}

.content-h2-section.section-bg-dark {
  background-color: var(--dark-bg);
  color: #ffffff;
}

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

.h2-section-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.content-h2-section.section-bg-light .h2-section-card {
  box-shadow: var(--shadow-md);
}

.h2-section-heading {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}

.h2-section-heading::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 24px;
  background: var(--primary);
  border-radius: 3px;
}

.h2-section-body {
  font-size: 16px;
  color: #374151;
  line-height: 1.75;
}

.h2-section-body p {
  margin-bottom: 18px;
}

.h2-section-body ul, .h2-section-body ol {
  margin: 16px 0 20px 24px;
}

.h2-section-body li {
  margin-bottom: 10px;
  color: #374151;
}

.h2-section-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.h2-section-body a:hover {
  color: var(--primary-hover);
}

/* Triangle Locations Grid (from Homepage) */
.section-locations {
  padding: 70px 0;
  background: #ffffff;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.location-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.location-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.location-city {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.location-state {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.location-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* Guides & Blog Cards Grid */
.section-blog {
  padding: 75px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

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

.blog-card-img-placeholder {
  height: 190px;
  position: relative;
  overflow: hidden;
}

.blog-card-keyword {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(12, 15, 20, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-card-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* FOOTER (from media_1789716352948.jpg) */
.site-footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding-top: 75px;
  font-size: 14px;
  border-top: 4px solid var(--primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid #1f2937;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col p {
  line-height: 1.65;
  margin-bottom: 16px;
}

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

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

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact-box {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-top: 16px;
}

.footer-contact-box strong {
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .insurx-hero-grid {
    grid-template-columns: 1fr;
  }
  .dark-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .header-inner {
    height: 70px;
  }
  .site-nav {
    display: none;
  }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
  }
  .insurx-hero-content h1 {
    font-size: 32px;
  }
  .stats-strip-grid {
    grid-template-columns: 1fr;
  }
  .dark-cards-grid {
    grid-template-columns: 1fr;
  }
  .service-matrix-grid {
    grid-template-columns: 1fr;
  }
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .journey-grid, .quote-form-grid, .metrics-grid {
    grid-template-columns: 1fr;
  }
}
