/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.8;
  color: #2a2a2a;
  background-color: #fdfbf7;
  overflow-x: hidden;
}

/* ========================================
   Typography - Elegant Classic Style
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.3;
  color: #2C5F7C;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 42px;
  margin-bottom: 32px;
  color: #2C5F7C;
}

h2 {
  font-size: 36px;
  margin-bottom: 28px;
}

h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

h4 {
  font-size: 22px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 20px;
  color: #3a3a3a;
}

a {
  color: #2C5F7C;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #8B4513;
}

strong {
  font-weight: 600;
  color: #2C5F7C;
}

ul, ol {
  margin-bottom: 24px;
  padding-left: 32px;
}

li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ========================================
   Container & Layout
   ======================================== */

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

section {
  margin-bottom: 80px;
  padding: 60px 0;
}

/* ========================================
   Header & Navigation - Elegant Classic
   ======================================== */

header {
  background-color: #ffffff;
  border-bottom: 2px solid #E8D5B7;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(44, 95, 124, 0.08);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #2C5F7C;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.main-nav a:hover {
  color: #8B4513;
  border-bottom-color: #8B4513;
}

/* ========================================
   Mobile Menu - Hamburger Navigation
   ======================================== */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background-color: #2C5F7C;
  color: #ffffff;
  border: none;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(44, 95, 124, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #8B4513;
  transform: scale(1.05);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1999;
  padding: 80px 32px 32px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #8B4513;
  color: #ffffff;
  border: none;
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: #2C5F7C;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #2C5F7C;
  padding: 16px 12px;
  border-bottom: 1px solid #E8D5B7;
  transition: all 0.3s ease;
  font-weight: 500;
}

.mobile-nav a:hover {
  color: #8B4513;
  padding-left: 20px;
  background-color: #fdfbf7;
}

/* ========================================
   Hero Section - Elegant Classic
   ======================================== */

.hero {
  background: linear-gradient(135deg, #2C5F7C 0%, #4a7a96 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-bottom: 4px solid #E8D5B7;
}

.hero h1 {
  color: #ffffff;
  font-size: 48px;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 32px;
  color: #E8D5B7;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-highlight {
  background-color: rgba(232, 213, 183, 0.15);
  padding: 20px 32px;
  border-radius: 8px;
  margin-bottom: 32px;
  border: 2px solid #E8D5B7;
}

.hero-highlight p {
  color: #ffffff;
  margin-bottom: 0;
  font-size: 18px;
}

.trust-indicators {
  margin-bottom: 32px;
}

.trust-indicators p,
.trust-element {
  color: #E8D5B7;
  font-size: 16px;
}

/* ========================================
   Breadcrumb Navigation
   ======================================== */

.breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
  color: #E8D5B7;
}

.breadcrumb a {
  color: #E8D5B7;
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: #ffffff;
}

/* ========================================
   Buttons - Elegant Classic Style
   ======================================== */

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: #8B4513;
  color: #ffffff;
  border-color: #8B4513;
}

.btn-primary:hover {
  background-color: #6d340e;
  border-color: #6d340e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
  background-color: #000000a6;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: #2C5F7C;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ========================================
   Card Layouts - Flexbox Only
   ======================================== */

.card-container,
.price-grid,
.services-grid,
.testimonials-grid,
.regions-grid,
.states-grid,
.offices-grid,
.mistakes-grid,
.packages-grid,
.reasons-grid,
.dashboard-stats,
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  justify-content: space-between;
}

.price-card,
.service-card,
.testimonial-card,
.region-card,
.state-card,
.office,
.mistake-card,
.package-card,
.reason,
.stat-card,
.method {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(44, 95, 124, 0.1);
  transition: all 0.3s ease;
  border: 2px solid #E8D5B7;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  margin-bottom: 20px;
}

.price-card:hover,
.service-card:hover,
.region-card:hover,
.state-card:hover,
.mistake-card:hover,
.package-card:hover,
.reason:hover,
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(44, 95, 124, 0.2);
  border-color: #8B4513;
}

.testimonial-card {
  background-color: #fdfbf7;
  border-left: 4px solid #8B4513;
}

.testimonial-card p {
  font-style: italic;
  color: #2a2a2a;
  margin-bottom: 16px;
}

.testimonial-card .author {
  text-align: right;
  color: #2C5F7C;
  font-style: normal;
  font-weight: 600;
}

.package-card.featured {
  border: 3px solid #8B4513;
  position: relative;
}

.package-card.featured::before {
  content: 'EMPFOHLEN';
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: #8B4513;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ========================================
   Price & Cost Display
   ======================================== */

.price {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #8B4513;
  font-weight: 700;
  margin: 16px 0;
}

.big-number {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #2C5F7C;
  font-weight: 700;
  margin: 12px 0;
}

.small-text {
  font-size: 14px;
  color: #666;
  margin-top: -8px;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 20px;
  margin-left: 8px;
}

.savings {
  color: #8B4513;
  font-weight: 600;
  font-size: 14px;
}

.included {
  font-size: 14px;
  color: #666;
  margin-top: 16px;
  line-height: 1.6;
}

/* ========================================
   Trend Indicators
   ======================================== */

.trend {
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0;
}

.trend.positive {
  color: #2d7a3e;
}

.trend.neutral {
  color: #666;
}

.trend.negative {
  color: #b83232;
}

.cities {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

/* ========================================
   Problem-Solution Section
   ======================================== */

.problem-solution {
  background-color: #ffffff;
  border-top: 4px solid #E8D5B7;
  border-bottom: 4px solid #E8D5B7;
}

.problem-list ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.problem-list li {
  background-color: #fdfbf7;
  padding: 16px 20px;
  border-left: 4px solid #8B4513;
  font-size: 18px;
  color: #2a2a2a;
}

/* ========================================
   Process Steps
   ======================================== */

.process-steps,
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.step {
  background-color: #ffffff;
  padding: 28px;
  border-left: 5px solid #2C5F7C;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(44, 95, 124, 0.08);
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #8B4513;
  border-radius: 50%;
  border: 3px solid #ffffff;
}

.step h3 {
  color: #2C5F7C;
  margin-bottom: 12px;
}

.step p {
  color: #3a3a3a;
  margin-bottom: 0;
}

/* ========================================
   Additional Costs & Lists
   ======================================== */

.additional-costs {
  background-color: #fdfbf7;
  padding: 32px;
  border-radius: 8px;
  margin-top: 40px;
  border: 2px solid #E8D5B7;
}

.benefit-list,
.pillars-list,
.trends-list,
.stats-list,
.success-metrics,
.cert-list,
.trust-list,
.faq-list,
.benefits {
  list-style: none;
  padding-left: 0;
}

.benefit-list li,
.pillars-list li,
.trends-list li,
.stats-list li,
.success-metrics li,
.cert-list li,
.trust-list li,
.benefits li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.benefit-list li::before,
.pillars-list li::before,
.trends-list li::before,
.stats-list li::before,
.success-metrics li::before,
.cert-list li::before,
.trust-list li::before,
.benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #8B4513;
  font-weight: 700;
  font-size: 18px;
}

/* ========================================
   Text-Image Sections
   ======================================== */

.text-image-section {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.text-image-section img {
  flex: 1 1 45%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(44, 95, 124, 0.15);
}

.text-image-section .content {
  flex: 1 1 45%;
  min-width: 300px;
}

/* ========================================
   Highlights & Special Elements
   ======================================== */

.service-approach,
.results-summary,
.modular-approach,
.certifications,
.roi-highlight,
.social-proof,
.urgency,
.offer-highlight,
.no-pressure,
.appointment-note,
.form-note {
  background-color: #fff9f0;
  padding: 20px 24px;
  border-left: 4px solid #8B4513;
  margin: 24px 0;
  font-size: 16px;
  border-radius: 4px;
}

.solution-highlight {
  background-color: #e8f4f8;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  margin: 32px 0;
  border: 2px solid #2C5F7C;
}

.rating,
.example {
  font-size: 15px;
  color: #666;
  margin-top: 16px;
}

/* ========================================
   Ranking & Comparison Sections
   ======================================== */

.rankings,
.tax-comparison {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ranking-section,
.tax-card {
  flex: 1 1 45%;
  min-width: 280px;
  background-color: #ffffff;
  padding: 28px;
  border-radius: 8px;
  border: 2px solid #E8D5B7;
}

.ranking-section ol {
  padding-left: 24px;
}

.ranking-section li {
  margin-bottom: 12px;
  font-size: 16px;
}

.tax-card .rate {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #8B4513;
  font-weight: 700;
  margin: 12px 0;
}

/* ========================================
   Milestones & Timeline
   ======================================== */

.milestones ul {
  list-style: none;
  padding-left: 0;
}

.milestones li {
  padding: 16px;
  background-color: #fdfbf7;
  border-left: 4px solid #2C5F7C;
  margin-bottom: 12px;
  border-radius: 4px;
}

/* ========================================
   Team & Company Info
   ======================================== */

.team-list {
  list-style: none;
  padding-left: 0;
}

.team-list li {
  padding: 16px 20px;
  background-color: #ffffff;
  border-left: 4px solid #8B4513;
  margin-bottom: 12px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(44, 95, 124, 0.08);
}

.mission-content {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.mission,
.vision {
  flex: 1 1 45%;
  min-width: 280px;
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 2px solid #E8D5B7;
}

/* ========================================
   Contact & Form Section
   ======================================== */

.contact-methods {
  justify-content: space-around;
}

.method {
  text-align: center;
  flex: 1 1 30%;
  min-width: 240px;
}

.form-placeholder {
  background-color: #ffffff;
  padding: 32px;
  border: 2px solid #E8D5B7;
  border-radius: 8px;
  margin-top: 24px;
}

.form-placeholder ul {
  list-style: none;
  padding-left: 0;
}

.form-placeholder li {
  padding: 12px 16px;
  background-color: #fdfbf7;
  margin-bottom: 8px;
  border-left: 3px solid #2C5F7C;
  border-radius: 4px;
}

.form-info {
  background-color: #fff9f0;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 24px;
  border-left: 4px solid #8B4513;
}

/* ========================================
   Thank You Page
   ======================================== */

.thank-you {
  text-align: center;
  padding: 80px 0;
}

.thank-you-content {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(44, 95, 124, 0.15);
  border: 3px solid #E8D5B7;
}

.success-message {
  font-size: 18px;
  color: #2d7a3e;
  margin-bottom: 32px;
  line-height: 1.7;
}

.next-steps {
  text-align: left;
  margin: 32px 0;
  padding: 24px;
  background-color: #fdfbf7;
  border-radius: 8px;
}

.contact-info {
  background-color: #e8f4f8;
  padding: 24px;
  border-radius: 8px;
  margin: 32px 0;
}

.contact-reminder {
  font-size: 16px;
  color: #666;
  margin: 24px 0;
}

/* ========================================
   Legal Content Pages
   ======================================== */

.legal-content {
  background-color: #ffffff;
  padding: 60px 0;
}

.legal-content h1 {
  border-bottom: 3px solid #E8D5B7;
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.legal-content h2 {
  margin-top: 40px;
  border-bottom: 1px solid #E8D5B7;
  padding-bottom: 12px;
}

.legal-content h3 {
  margin-top: 28px;
  color: #8B4513;
}

/* ========================================
   Footer - Elegant Classic
   ======================================== */

footer {
  background-color: #2C5F7C;
  color: #E8D5B7;
  padding: 60px 0 24px;
  border-top: 4px solid #8B4513;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1 1 25%;
  min-width: 220px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.footer-col p,
.footer-col ul {
  font-size: 14px;
  line-height: 1.8;
}

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

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

.footer-col a {
  color: #E8D5B7;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(232, 213, 183, 0.3);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
}

/* ========================================
   Cookie Consent Banner
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #92a4ae;
  color: #ffffff;
  padding: 24px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 1500;
  display: none;
  border-top: 3px solid #8B4513;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 60%;
  min-width: 280px;
  font-size: 14px;
  line-height: 1.6;
  color: #E8D5B7;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1 1 35%;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Georgia', serif;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background-color: #8B4513;
  color: #ffffff;
}

.cookie-btn.accept:hover {
  background-color: #6d340e;
}

.cookie-btn.reject,
.cookie-btn.settings {
  background-color: transparent;
  color: #E8D5B7;
  border: 2px solid #E8D5B7;
}

.cookie-btn.reject:hover,
.cookie-btn.settings:hover {
  background-color: rgba(19, 19, 18, 0.896);
  color: #ffffff;
  border-color: #ffffff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 3px solid #E8D5B7;
}

.cookie-modal h2 {
  color: #2C5F7C;
  margin-bottom: 24px;
}

.cookie-category {
  padding: 16px;
  background-color: #fdfbf7;
  border-left: 4px solid #2C5F7C;
  margin-bottom: 16px;
  border-radius: 4px;
}

.cookie-category h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #2C5F7C;
}

.cookie-category p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

input:checked + .toggle-slider {
  background-color: #8B4513;
}

input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

input:disabled + .toggle-slider {
  background-color: #2C5F7C;
  cursor: not-allowed;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ========================================
   Responsive Design - Mobile First
   ======================================== */

@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu {
    display: block;
  }
  
  /* Hide desktop navigation */
  .main-nav {
    display: none;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 22px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  /* Section padding */
  section {
    padding: 40px 0;
    margin-bottom: 60px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  /* Flexbox cards - stack on mobile */
  .price-card,
  .service-card,
  .testimonial-card,
  .region-card,
  .state-card,
  .office,
  .mistake-card,
  .package-card,
  .reason,
  .stat-card,
  .method {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  /* Button adjustments */
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    padding: 14px 24px;
  }
  
  /* Text-image sections stack */
  .text-image-section {
    flex-direction: column;
  }
  
  .text-image-section img,
  .text-image-section .content {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  /* Rankings stack */
  .rankings,
  .tax-comparison,
  .mission-content {
    flex-direction: column;
  }
  
  .ranking-section,
  .tax-card,
  .mission,
  .vision {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  /* Footer columns stack */
  .footer-col {
    flex: 1 1 100%;
  }
  
  /* Cookie banner adjustments */
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-text,
  .cookie-buttons {
    flex: 1 1 100%;
  }
  
  .cookie-buttons {
    justify-content: stretch;
  }
  
  .cookie-btn {
    flex: 1 1 100%;
  }
  
  /* Header adjustments */
  .header-content {
    justify-content: center;
  }
  
  .logo img {
    height: 48px;
  }
  
  /* Process steps */
  .step {
    padding: 20px;
  }
  
  /* Thank you page */
  .thank-you-content {
    padding: 32px 24px;
  }
  
  /* Container padding */
  .container {
    padding: 0 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .price-card,
  .service-card,
  .region-card,
  .state-card,
  .mistake-card,
  .package-card,
  .reason,
  .stat-card {
    flex: 1 1 calc(50% - 20px);
  }
  
  .testimonial-card,
  .office,
  .method {
    flex: 1 1 calc(50% - 20px);
  }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal,
  header,
  footer,
  .cta-buttons,
  .btn {
    display: none !important;
  }
  
  body {
    background-color: #ffffff;
  }
  
  .hero {
    background: #2C5F7C;
    color: #000000;
  }
  
  .hero h1,
  .hero-subtitle {
    color: #000000;
  }
}

/* ========================================
   Animations & Transitions
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.section {
  animation: fadeIn 0.8s ease;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
  outline: 3px solid #8B4513;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background-color: #E8D5B7;
  color: #2C5F7C;
}

/* ========================================
   Utility Classes
   ======================================== */

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

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* Ensure proper spacing between all elements */
.section > * + * {
  margin-top: 20px;
}

/* Prevent overlapping content */
.price-grid > *,
.services-grid > *,
.testimonials-grid > *,
.regions-grid > *,
.states-grid > * {
  position: relative;
  z-index: 1;
}

/* End of CSS */