/* ===================================
   IMMOBILIENODYSSEE - VINTAGE RETRO STYLE
   CSS Reset & Base Styles
   =================================== */

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

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

body {
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.7;
  color: #2c2416;
  background-color: #f5f1e8;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   VINTAGE RETRO TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.3;
  color: #2c2416;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
  text-shadow: 2px 2px 0px rgba(200, 168, 130, 0.3);
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
  border-bottom: 3px solid #C8A882;
  padding-bottom: 8px;
  display: inline-block;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #2C5F8D;
}

h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
}

a {
  color: #2C5F8D;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted #2C5F8D;
}

a:hover {
  color: #C8A882;
  border-bottom-color: #C8A882;
}

strong {
  font-weight: 700;
  color: #2c2416;
}

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

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ===================================
   CONTAINER & LAYOUT (FLEXBOX ONLY)
   =================================== */

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

/* ===================================
   HEADER & NAVIGATION - VINTAGE STYLE
   =================================== */

header {
  background: linear-gradient(135deg, #2C5F8D 0%, #3a7aad 100%);
  padding: 20px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid #C8A882;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  color: #f5f1e8;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: none;
  background: rgba(255,255,255,0.1);
}

.nav-menu a:hover {
  background: #C8A882;
  color: #2c2416;
  border-color: #2c2416;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: #2C5F8D;
  color: #f5f1e8;
  border: 3px solid #C8A882;
  padding: 12px 16px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: #C8A882;
  color: #2c2416;
  transform: scale(1.1);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #2C5F8D 0%, #1e4057 100%);
  z-index: 1999;
  padding: 80px 30px 30px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.4);
  transition: right 0.4s ease;
  border-left: 4px solid #C8A882;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  color: #f5f1e8;
  border: 2px solid #C8A882;
  padding: 8px 14px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

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

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

.mobile-nav a {
  color: #f5f1e8;
  padding: 14px 20px;
  border: 2px solid #C8A882;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.1);
  border-bottom: 2px solid #C8A882;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.mobile-nav a:hover {
  background: #C8A882;
  color: #2c2416;
  transform: translateX(8px);
}

/* ===================================
   HERO SECTIONS - VINTAGE AESTHETIC
   =================================== */

.hero {
  background: linear-gradient(135deg, #C8A882 0%, #d4b897 50%, #e8d4bb 100%);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 6px double #2C5F8D;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(44,95,141,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero h1 {
  color: #2c2416;
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: 56px;
  text-shadow: 3px 3px 0px rgba(44,95,141,0.2);
  position: relative;
}

.hero-subtitle {
  font-size: 20px;
  color: #2c2416;
  max-width: 700px;
  margin: 0 auto 32px;
  font-family: 'Georgia', serif;
  font-style: italic;
  position: relative;
}

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

.trust-indicators {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px dashed #2C5F8D;
  position: relative;
}

.trust-indicators span {
  color: #2c2416;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.5);
  border: 2px solid #2C5F8D;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================
   BUTTONS - RETRO STYLE
   =================================== */

.btn,
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid;
  font-family: 'Georgia', serif;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
  border-bottom: 3px solid;
}

.btn-primary {
  background: #2C5F8D;
  color: #f5f1e8;
  border-color: #1e4057;
}

.btn-primary:hover {
  background: #1e4057;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: #C8A882;
  color: #2c2416;
  border-color: #a38866;
}

.btn-secondary:hover {
  background: #d4b897;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

.btn {
  background: #f5f1e8;
  color: #2C5F8D;
  border-color: #2C5F8D;
}

.btn:hover {
  background: #2C5F8D;
  color: #f5f1e8;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

/* ===================================
   SECTIONS - VINTAGE SPACING
   =================================== */

section {
  padding: 60px 20px;
  margin-bottom: 0;
  position: relative;
}

section:nth-child(even) {
  background: #ffffff;
  border-top: 3px solid #C8A882;
  border-bottom: 3px solid #C8A882;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===================================
   CARDS & GRIDS - FLEXBOX LAYOUTS
   =================================== */

.services-grid,
.card-container,
.content-grid,
.testimonial-grid,
.page-grid,
.options-grid,
.contact-grid,
.tools-grid,
.category-grid,
.article-grid,
.districts-grid,
.team-grid,
.steps-grid,
.suggestions-grid,
.faq-list,
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 24px;
}

.service-card,
.card,
.testimonial-card,
.page-card,
.option-card,
.contact-card,
.tool-card,
.category-card,
.article-card,
.district-card,
.team-member,
.step,
.suggestion-card,
.value-card {
  flex: 1 1 300px;
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  border: 3px solid #2C5F8D;
  box-shadow: 6px 6px 0px rgba(44,95,141,0.2);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  position: relative;
}

.service-card:hover,
.card:hover,
.page-card:hover,
.option-card:hover,
.tool-card:hover,
.category-card:hover,
.article-card:hover,
.district-card:hover,
.suggestion-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px rgba(44,95,141,0.3);
  border-color: #C8A882;
}

.service-card.highlight {
  border-color: #C8A882;
  background: linear-gradient(135deg, #ffffff 0%, #f5f1e8 100%);
  border-width: 4px;
}

.service-card.highlight::before {
  content: '⭐ BESTSELLER';
  position: absolute;
  top: -12px;
  right: 20px;
  background: #C8A882;
  color: #2c2416;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  border: 2px solid #2c2416;
}

.service-card h3,
.card h3 {
  color: #2C5F8D;
  margin-bottom: 12px;
  font-size: 22px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: #C8A882;
  margin: 16px 0;
  font-family: 'Georgia', serif;
}

.savings {
  font-size: 14px;
  color: #2C5F8D;
  font-weight: 600;
  margin-left: 8px;
}

/* ===================================
   TESTIMONIALS - READABLE STYLE
   =================================== */

.testimonial-card {
  background: #f5f1e8;
  border: 3px solid #2C5F8D;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-style: italic;
}

.testimonial-card p {
  color: #2c2416;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.testimonial-card .author {
  font-weight: 700;
  color: #2C5F8D;
  font-style: normal;
  margin-top: 8px;
  font-size: 14px;
  text-align: right;
  width: 100%;
}

/* ===================================
   TIMELINE - VINTAGE PROCESS
   =================================== */

.timeline,
.timeline-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
  padding-left: 40px;
  border-left: 4px solid #C8A882;
  position: relative;
}

.timeline-step,
.phase {
  background: #ffffff;
  padding: 24px;
  border: 3px solid #2C5F8D;
  border-radius: 8px;
  position: relative;
  box-shadow: 4px 4px 0px rgba(44,95,141,0.2);
  margin-bottom: 20px;
}

.timeline-step::before,
.phase::before {
  content: '';
  position: absolute;
  left: -52px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #C8A882;
  border: 4px solid #2C5F8D;
  border-radius: 50%;
}

.timeline-step h3,
.phase h3 {
  color: #2C5F8D;
  margin-bottom: 8px;
  font-size: 20px;
}

.phase span {
  display: block;
  color: #C8A882;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}

/* ===================================
   PROBLEM-SOLUTION SECTION
   =================================== */

.problem-solution {
  background: #f5f1e8;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.problem,
.solution {
  flex: 1 1 400px;
  background: #ffffff;
  padding: 32px;
  border: 3px solid #2C5F8D;
  border-radius: 8px;
  box-shadow: 6px 6px 0px rgba(44,95,141,0.2);
}

.problem h3 {
  color: #C8A882;
}

.solution h3 {
  color: #2C5F8D;
}

/* ===================================
   TEXT-IMAGE SECTIONS
   =================================== */

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

.text-content,
.image-content {
  flex: 1 1 400px;
}

/* ===================================
   TABLES - RETRO STYLING
   =================================== */

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 32px 0;
  border: 3px solid #2C5F8D;
  border-radius: 8px;
  overflow: hidden;
}

th {
  background: #2C5F8D;
  color: #f5f1e8;
  padding: 16px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

td {
  padding: 16px;
  border-bottom: 2px solid #E8F1F5;
  color: #2c2416;
}

tr:nth-child(even) td {
  background: #f5f1e8;
}

tr:hover td {
  background: #E8F1F5;
}

/* ===================================
   CTA SECTIONS - VINTAGE EMPHASIS
   =================================== */

.cta-section,
.cta-final,
.contact-support {
  background: linear-gradient(135deg, #2C5F8D 0%, #3a7aad 100%);
  text-align: center;
  padding: 60px 20px;
  border-top: 6px double #C8A882;
  border-bottom: 6px double #C8A882;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.cta-section h2,
.cta-final h2,
.contact-support h2 {
  margin-bottom: 20px;
  border-bottom-color: #C8A882;
}

.cta-section p,
.cta-final p,
.contact-support p {
  font-size: 18px;
  margin-bottom: 24px;
}

.guarantee {
  margin-top: 20px;
  font-size: 14px;
  color: #C8A882;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================
   FOOTER - VINTAGE DESIGN
   =================================== */

footer {
  background: #2c2416;
  color: #f5f1e8;
  padding: 60px 20px 30px;
  border-top: 6px solid #C8A882;
}

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

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3,
.footer-section h4 {
  color: #C8A882;
  margin-bottom: 16px;
  font-size: 20px;
  border-bottom: 2px solid #C8A882;
  padding-bottom: 8px;
}

.footer-section p {
  color: #f5f1e8;
  font-size: 14px;
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #f5f1e8;
  border-bottom: 1px dotted #C8A882;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #C8A882;
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 2px dashed #C8A882;
  color: #C8A882;
  font-size: 14px;
}

/* ===================================
   ERROR & SPECIAL PAGES
   =================================== */

.error-hero {
  background: linear-gradient(135deg, #C8A882 0%, #d4b897 100%);
  padding: 100px 20px;
  text-align: center;
  border-bottom: 6px double #2C5F8D;
}

.error-code {
  font-size: 120px;
  color: #2C5F8D;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.thank-you-hero {
  background: linear-gradient(135deg, #2C5F8D 0%, #3a7aad 100%);
  padding: 100px 20px;
  text-align: center;
  color: #f5f1e8;
  border-bottom: 6px double #C8A882;
}

.thank-you-hero h1 {
  color: #f5f1e8;
}

.thank-you-hero .subtitle {
  color: #C8A882;
  font-size: 20px;
  margin-bottom: 16px;
}

/* ===================================
   LEGAL CONTENT PAGES
   =================================== */

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

.legal-content h1 {
  border-bottom: 4px solid #2C5F8D;
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.legal-content h2 {
  color: #2C5F8D;
  margin-top: 32px;
  font-size: 28px;
}

.legal-content h3 {
  color: #C8A882;
  margin-top: 24px;
  font-size: 20px;
}

/* ===================================
   STATS & INDICATORS
   =================================== */

.stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

.stats span {
  font-size: 24px;
  font-weight: 700;
  color: #C8A882;
  padding: 16px 24px;
  background: rgba(255,255,255,0.1);
  border: 3px solid #C8A882;
  border-radius: 8px;
  font-family: 'Georgia', serif;
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq-item {
  background: #ffffff;
  padding: 24px;
  border: 3px solid #2C5F8D;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 4px 4px 0px rgba(44,95,141,0.2);
  flex: 1 1 100%;
}

.faq-item h3 {
  color: #2C5F8D;
  font-size: 18px;
  margin-bottom: 12px;
}

.faq-item p {
  color: #2c2416;
  line-height: 1.6;
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c2416;
  color: #f5f1e8;
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  z-index: 9999;
  border-top: 4px solid #C8A882;
  display: none;
}

#cookie-banner.show {
  display: block;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-text {
  flex: 1 1 400px;
}

.cookie-text p {
  margin-bottom: 8px;
  font-size: 14px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-buttons button {
  padding: 12px 24px;
  border: 2px solid;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#accept-all {
  background: #C8A882;
  color: #2c2416;
  border-color: #C8A882;
}

#accept-all:hover {
  background: #d4b897;
  transform: translateY(-2px);
}

#reject-all {
  background: transparent;
  color: #f5f1e8;
  border-color: #f5f1e8;
}

#reject-all:hover {
  background: #f5f1e8;
  color: #2c2416;
}

#cookie-settings {
  background: transparent;
  color: #C8A882;
  border-color: #C8A882;
}

#cookie-settings:hover {
  background: #C8A882;
  color: #2c2416;
}

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

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

.cookie-modal-content {
  background: #f5f1e8;
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border: 4px solid #2C5F8D;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

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

.cookie-category {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 16px;
  border: 2px solid #2C5F8D;
  border-radius: 8px;
}

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

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.cookie-toggle label {
  font-weight: 600;
  color: #2c2416;
}

.cookie-toggle input[type="checkbox"] {
  width: 48px;
  height: 24px;
  cursor: pointer;
}

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

.cookie-modal-buttons button {
  flex: 1 1 150px;
  padding: 14px 24px;
  border: 2px solid;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#save-preferences {
  background: #2C5F8D;
  color: #f5f1e8;
  border-color: #2C5F8D;
}

#save-preferences:hover {
  background: #1e4057;
}

#close-modal {
  background: #C8A882;
  color: #2c2416;
  border-color: #C8A882;
}

#close-modal:hover {
  background: #d4b897;
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */

@media (max-width: 768px) {
  /* Mobile Menu */
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .nav-menu {
    display: none;
  }
  
  /* Typography */
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  /* Sections */
  section {
    padding: 40px 20px;
  }
  
  /* Buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  
  /* Cards */
  .service-card,
  .card,
  .testimonial-card,
  .page-card,
  .option-card,
  .contact-card,
  .tool-card,
  .category-card,
  .article-card,
  .district-card,
  .team-member,
  .step,
  .suggestion-card,
  .value-card {
    flex: 1 1 100%;
  }
  
  /* Timeline */
  .timeline,
  .timeline-visual {
    padding-left: 30px;
  }
  
  .timeline-step::before,
  .phase::before {
    left: -42px;
    width: 16px;
    height: 16px;
  }
  
  /* Text-Image Sections */
  .text-image-section {
    flex-direction: column;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* Cookie Banner */
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
  
  /* Stats */
  .stats {
    flex-direction: column;
  }
  
  .stats span {
    width: 100%;
    text-align: center;
  }
  
  /* Trust Indicators */
  .trust-indicators {
    flex-direction: column;
  }
  
  /* Tables */
  table {
    font-size: 14px;
  }
  
  th,
  td {
    padding: 12px 8px;
  }
  
  /* Error Code */
  .error-code {
    font-size: 80px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }
  
  .service-card,
  .card,
  .page-card,
  .option-card,
  .district-card,
  .suggestion-card {
    flex: 1 1 calc(50% - 24px);
  }
}

@media (min-width: 1025px) {
  .service-card,
  .card,
  .page-card,
  .option-card,
  .district-card,
  .suggestion-card {
    flex: 1 1 calc(33.333% - 24px);
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

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

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

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

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

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

.reading-time {
  color: #C8A882;
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-top: 12px;
}

/* ===================================
   ACCESSIBILITY & FOCUS STATES
   =================================== */

*:focus {
  outline: 3px solid #C8A882;
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 3px solid #C8A882;
  outline-offset: 4px;
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  #cookie-banner,
  #cookie-modal,
  .cta-buttons,
  footer {
    display: none;
  }
  
  body {
    background: white;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}