/* Dallas Texas SEO Company - Design System */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Design Tokens */
:root {
  --texas-blue: #002868;
  --texas-red: #BF0A30;
  --white: #FFFFFF;
  --light-bg: #F8FAFC;
  --body-text: #374151;
  --dark-text: #1A1A1A;
  --heading-text: #002868;
  --success-green: #16A34A;
  --muted-text: #888888;
  --border-color: #E5E5E5;
  --border-light: #D8DEE8;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.07);
  --card-shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
  --card-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-2xl: 12px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --max-width-narrow: 780px;
  --max-width-table: 900px;
}

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--texas-red); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }
ul, ol { list-style: none; }

/* Container */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--max-width-narrow); }
.container--table { max-width: var(--max-width-table); }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
}
.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
}
.nav-logo {
  justify-self: start;
  font-size: 17px;
  font-weight: 700;
  color: var(--texas-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-logo span { color: var(--texas-red); }
.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--body-text);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--texas-blue); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--texas-red);
}

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-toggle svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow-lg);
  padding: 16px 0;
  min-width: 260px;
  z-index: 100;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--body-text);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--light-bg); color: var(--texas-blue); }
.nav-dropdown-section-title {
  padding: 8px 20px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--texas-red);
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #a00828; opacity: 1; }
/* Drawer-only phone CTA: hidden on desktop (shown inside the mobile drawer via the 1150px query) */
.nav-cta--drawer { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle svg { width: 28px; height: 28px; color: var(--texas-blue); }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section--light { background: var(--light-bg); }
.section--dark { background: var(--texas-blue); color: var(--white); }
.section--charcoal { background: #1F2937; color: var(--white); }
.section--hero { padding: 80px 0; min-height: 90vh; display: flex; align-items: center; }

/* Section headers */
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }

/* ============ TYPOGRAPHY ============ */
h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading-text);
  margin-bottom: 20px;
}
h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-text);
  margin-bottom: 16px;
}
h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading-text);
  margin-bottom: 12px;
}
.section--dark h1,
.section--dark h2,
.section--charcoal h1,
.section--charcoal h2 { color: var(--white); }

.subheadline {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body-text);
  margin-bottom: 24px;
  max-width: 600px;
}
.body-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--body-text);
}
.body-text p + p { margin-top: 20px; }

/* ============ HERO SECTION ============ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; }

/* Trust bullets */
.trust-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.trust-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--body-text);
}
.trust-bullet svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--texas-red);
}

/* CTA buttons */
.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--texas-red);
  color: var(--white);
  border-color: var(--texas-red);
}
.btn--primary:hover { background: #a00828; border-color: #a00828; opacity: 1; }
.btn--outline {
  background: transparent;
  color: var(--texas-red);
  border-color: var(--texas-red);
}
.btn--outline:hover { background: var(--texas-red); color: var(--white); opacity: 1; }
.btn--white {
  background: var(--white);
  color: var(--texas-blue);
  border-color: var(--white);
}
.btn--white:hover { background: #f0f0f0; opacity: 1; }
.btn--white-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--white-outline:hover { background: rgba(255,255,255,0.1); opacity: 1; }
.btn--lg { padding: 14px 32px; font-size: 17px; }

/* Social proof bar */
.proof-bar {
  background: var(--light-bg);
  padding: 16px 0;
  text-align: center;
  font-size: 16px;
  color: var(--body-text);
  font-weight: 500;
}
.proof-bar .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.proof-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Hero image */
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #E2E8F0;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-text);
  font-size: 14px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============ PROBLEM / SOLUTION SECTION ============ */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.problem-card, .solution-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow-sm);
}
.column-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.column-heading--problem { color: var(--texas-red); }
.column-heading--solution { color: var(--success-green); }

.bullet-list { display: flex; flex-direction: column; gap: 16px; }
.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.bullet-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.bullet-icon--problem { color: var(--texas-red); }
.bullet-icon--solution { color: var(--success-green); }

/* ============ 3-CARD SECTION ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--texas-red);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(191, 10, 48, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--texas-red); }
.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-text);
  margin-bottom: 12px;
}
.card p { font-size: 15px; line-height: 1.6; color: var(--body-text); }

/* ============ TWO-COLUMN CONTENT ============ */
.two-col {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 48px;
  align-items: start;
}
.two-col--reverse { grid-template-columns: 45fr 55fr; }
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.image-placeholder {
  background: #E2E8F0;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted-text);
}
.image-placeholder--full { grid-column: 1 / -1; aspect-ratio: 8/3; }
.image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.inline-cta {
  margin-top: 24px;
  font-size: 17px;
}
.inline-cta a { text-decoration: underline; color: var(--texas-red); font-weight: 500; }

/* ============ CASE STUDY CARDS ============ */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow-lg);
}
.case-card-image {
  aspect-ratio: 2/1;
  background: #DDDDDD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted-text);
}
.case-card-image img { width: 100%; height: 100%; object-fit: cover; }
.case-card-body { padding: 24px; }
.case-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
  margin-bottom: 8px;
}
.case-metric {
  font-size: 28px;
  font-weight: 700;
  color: var(--texas-red);
  margin-bottom: 12px;
}
.case-text { font-size: 14px; line-height: 1.6; color: var(--body-text); }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.testimonial-stars svg { width: 18px; height: 18px; color: var(--texas-red); }
.testimonial-quote {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-text);
}

/* ============ COMPARISON TABLE ============ */
.comparison-table-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 15px;
}
.comparison-table thead th {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--texas-blue);
  text-align: center;
  position: relative;
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table thead th.col-highlight {
  background: var(--texas-red);
}
.comparison-table tbody td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
}
.comparison-table tbody tr:nth-child(even) td { background: var(--light-bg); }
.comparison-table tbody td.col-highlight {
  background: rgba(191, 10, 48, 0.08);
  border-left: 3px solid var(--texas-red);
  border-right: 3px solid var(--texas-red);
}
.comparison-table tbody tr:nth-child(even) td.col-highlight {
  background: rgba(191, 10, 48, 0.12);
}
.tick { color: var(--success-green); font-weight: 700; font-size: 18px; }
.cross { color: var(--texas-red); font-weight: 700; font-size: 18px; }
.limited { color: var(--muted-text); font-weight: 500; font-size: 14px; }
.recommended-badge {
  display: inline-block;
  background: var(--white);
  color: var(--texas-red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

/* ============ FAQ ACCORDION ============ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-left: 3px solid var(--texas-red); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  gap: 16px;
}
.faq-question:hover { color: var(--texas-blue); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--texas-red);
  transition: transform 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
}
.faq-item.open .faq-answer { display: block; }

/* ============ FINAL CTA ============ */
.cta-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-section-text { color: #DDDDDD; font-size: 17px; line-height: 1.6; margin-bottom: 28px; }
.staff-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  background: rgba(255,255,255,0.1);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.staff-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SERVICES HUB ============ */
.service-category { margin-bottom: 40px; }
.service-category h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-text);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: block;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-lg);
  opacity: 1;
}
.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-text);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--body-text);
  margin-bottom: 12px;
}
.service-card .learn-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--texas-red);
}

/* ============ CONTACT FORM ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--body-text);
  margin-bottom: 6px;
}
.form-group label .required { color: var(--texas-red); }
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 0.2s;
  color: var(--dark-text);
}
.form-input:focus { outline: none; border-color: var(--texas-blue); }
.form-input--textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  background: var(--texas-red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: #a00828; }
.form-privacy { font-size: 13px; color: var(--muted-text); margin-top: 12px; }
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(191, 10, 48, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--texas-red); }
.contact-info-label { font-size: 13px; color: var(--muted-text); margin-bottom: 2px; }
.contact-info-value { font-size: 17px; font-weight: 500; color: var(--dark-text); }
.contact-info-value a { color: var(--texas-blue); text-decoration: none; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 44px;
  height: 44px;
  background: var(--texas-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step p { font-size: 15px; color: var(--body-text); }

/* ============ BLOG ============ */
.category-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.filter-chip {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--body-text);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.filter-chip:hover { border-color: var(--texas-blue); color: var(--texas-blue); opacity: 1; }
.filter-chip.active {
  background: var(--texas-blue);
  color: var(--white);
  border-color: var(--texas-blue);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-lg);
  opacity: 1;
}
.blog-card-image {
  aspect-ratio: 16/9;
  background: #E2E8F0;
  overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--texas-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-text);
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-card-meta {
  font-size: 12px;
  color: var(--muted-text);
  margin-bottom: 8px;
}
.blog-card-excerpt {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured post */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow-lg);
  margin-bottom: 48px;
}
.featured-post-image {
  aspect-ratio: 16/9;
  background: #E2E8F0;
  overflow: hidden;
}
.featured-post-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-post-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 16px;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  padding: 12px 24px;
  background: var(--texas-red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #a00828; }

/* ============ ABOUT PAGE ============ */
.beliefs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.beliefs-grid .card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 600px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.stat-block { text-align: center; }
.stat-number { font-size: 30px; font-weight: 700; color: var(--texas-red); }
.stat-label { font-size: 14px; color: var(--body-text); margin-top: 4px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--texas-blue);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--texas-red); }
.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  padding: 16px 0;
  font-size: 14px;
  color: var(--muted-text);
}
.breadcrumbs a { color: var(--body-text); text-decoration: none; }
.breadcrumbs a:hover { color: var(--texas-blue); }
.breadcrumbs span { margin: 0 8px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .staff-image { margin: 0 auto; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section--hero { min-height: auto; padding: 48px 0; }
  .section--dark.section--cta { padding: 60px 0; }
  .problem-solution-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .case-studies-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 13px; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 10px 12px; }
  .blog-grid { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .subheadline { font-size: 16px; }
  .cta-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* Header: switch to hamburger before the centered desktop menu gets cramped */
@media (max-width: 1150px) {
  .nav-wrap { display: flex; justify-content: space-between; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta--desktop { display: none; }
  .nav-cta--drawer { display: inline-flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    transform: none;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.open .nav-cta { width: 100%; justify-content: center; }
  .mega-panel {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    width: auto;
    max-width: none;
    padding: 0;
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .nav-dropdown.open::after { display: none; }
  .mega-services, .mega-industries { width: auto; grid-template-columns: 1fr; padding: 0; }
  .mega-cols { grid-template-columns: 1fr; padding: 4px 0 4px 14px; gap: 14px; }
  .mega-ind-grid { grid-template-columns: 1fr; }
  .mega-promo { display: none; }
  .mega-viewall { border-top: none; padding-top: 8px; }
  .mega-links a svg { display: none; }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .container { padding: 0 16px; }
}

/* ============ MEGA MENU (Services + Industries) ============ */
.nav-dropdown-toggle .chev { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-toggle .chev { transform: rotate(180deg); }

.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: 0 18px 50px rgba(0, 40, 104, 0.16);
  z-index: 100;
  overflow: hidden;
}
.nav-dropdown.open .mega-panel { display: grid; }
/* invisible hover bridge so the panel doesn't close across the gap */
.nav-dropdown.open::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

/* --- Services mega --- */
.mega-services { width: 940px; max-width: 95vw; grid-template-columns: 1fr 260px; }
.mega-cols {
  padding: 26px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 26px;
}
.mega-group-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mega-group-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #EAF0FA;
  color: var(--texas-blue);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mega-group-icon svg { width: 16px; height: 16px; }
.mega-group-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted-text);
}
.mega-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mega-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 8px; border-radius: 6px;
  font-size: 13px; font-weight: 500; color: var(--body-text);
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.mega-links a:hover { background: #EAF0FA; color: var(--texas-blue); }
.mega-links a svg {
  width: 13px; height: 13px; flex-shrink: 0; color: var(--texas-red);
  opacity: 0; transform: translateX(-4px); transition: opacity 0.15s, transform 0.15s;
}
.mega-links a:hover svg { opacity: 1; transform: translateX(0); }
.mega-viewall {
  grid-column: 1 / -1; margin-top: 2px; padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.mega-viewall a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--texas-blue); text-decoration: none;
}
.mega-viewall a svg { width: 14px; height: 14px; }

/* --- Services promo panel --- */
.mega-promo {
  background: linear-gradient(150deg, var(--texas-blue), #001b47);
  color: #fff; padding: 26px; display: flex; flex-direction: column;
}
.mega-promo .kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #F5B731;
}
.mega-promo h4 { font-size: 18px; font-weight: 700; margin: 8px 0 0; line-height: 1.3; color: #fff; }
.mega-promo p { font-size: 13px; color: rgba(255, 255, 255, 0.85); margin: 8px 0 0; line-height: 1.5; }
.mega-promo .promo-btn {
  margin-top: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--texas-red); color: #fff;
  font-size: 13px; font-weight: 600; text-decoration: none; transition: background 0.2s;
}
.mega-promo .promo-btn:hover { background: #a00828; }
.mega-promo .promo-phone { margin-top: auto; padding-top: 22px; }
.mega-promo .promo-phone span {
  display: block; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.6);
}
.mega-promo .promo-phone a {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-size: 15px; font-weight: 600; color: #fff; text-decoration: none;
}
.mega-promo .promo-phone a:hover { color: #F5B731; }

/* --- Industries mega --- */
.mega-industries { width: 520px; max-width: 95vw; grid-template-columns: 1fr; padding: 18px; }
.mega-ind-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted-text); padding: 0 8px 10px;
}
.mega-ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-ind-grid a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px;
  font-size: 13px; font-weight: 500; color: var(--body-text);
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.mega-ind-grid a:hover { background: #EAF0FA; color: var(--texas-blue); }
.mega-ind-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: #EAF0FA; color: var(--texas-blue);
  display: grid; place-items: center; flex-shrink: 0;
}
.mega-ind-icon svg { width: 16px; height: 16px; }

/* --- Mega menu on mobile: collapse into the drawer --- */
@media (max-width: 768px) {
  .mega-panel {
    position: static; transform: none;
    box-shadow: none; border: none; border-radius: 0;
    width: auto; max-width: none; padding: 0;
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .nav-dropdown.open::after { display: none; }
  .mega-services, .mega-industries { width: auto; grid-template-columns: 1fr; padding: 0; }
  .mega-cols { grid-template-columns: 1fr; padding: 4px 0 4px 14px; gap: 14px; }
  .mega-ind-grid { grid-template-columns: 1fr; }
  .mega-promo { display: none; }
  .mega-viewall { border-top: none; padding-top: 8px; }
  .mega-links a svg { display: none; }
}
