/* ===================================
   CREATIVE ARTISTIC DESIGN - SilentHollow Immobilien
   Mobile-First Responsive CSS with Flexbox Only
   =================================== */

/* === CSS RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #2a2a2a;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1a4456;
  margin-bottom: 20px;
}

h1 {
  font-size: 42px;
  background: linear-gradient(135deg, #1a4456 0%, #2C5F7D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

h2 {
  font-size: 36px;
  color: #2C5F7D;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #D4A574 0%, #9d6d3a 100%);
  border-radius: 2px;
}

h3 {
  font-size: 26px;
  color: #2C5F7D;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
}

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

a:hover {
  color: #D4A574;
  transform: translateX(3px);
}

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

li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: #4a4a4a;
}

strong {
  color: #1a4456;
  font-weight: 600;
}

/* === CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
header {
  background: linear-gradient(135deg, #1a4456 0%, #2C5F7D 100%);
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(26, 68, 86, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #D4A574;
}

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

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

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

.main-nav {
  display: none;
}

.main-nav a {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  margin: 0 5px;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.1);
}

.main-nav a:hover {
  background: #D4A574;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: block;
  background: #D4A574;
  color: #ffffff;
  border: none;
  font-size: 28px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  background: #9d6d3a;
  transform: scale(1.1) rotate(90deg);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(180deg, #1a4456 0%, #2C5F7D 100%);
  z-index: 2000;
  padding: 80px 30px 30px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -5px 0 30px rgba(0,0,0,0.5);
  overflow-y: auto;
}

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

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

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

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

.mobile-nav a {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 4px solid transparent;
}

.mobile-nav a:hover {
  background: #D4A574;
  transform: translateX(10px);
  border-left-color: #ffffff;
}

/* === HERO SECTIONS === */
.hero {
  background: linear-gradient(135deg, rgba(26,68,86,0.95) 0%, rgba(44,95,125,0.9) 100%), 
              url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iYSIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIj48cGF0aCBkPSJNMCAwaDQwdjQwSDB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTAgMjBoNDBNMjAgMHY0MCIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #D4A574;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,165,116,0.2) 0%, transparent 70%);
  animation: float 20s infinite linear;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-50px, -50px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: #ffffff;
  font-size: 38px;
  margin-bottom: 24px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  background: none;
  -webkit-text-fill-color: #ffffff;
  animation: slideInDown 0.8s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  color: #e9ecef;
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.8;
  animation: fadeIn 1s ease 0.3s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: #D4A574;
  animation: fadeIn 0.6s ease;
}

.breadcrumb a {
  color: #ffffff;
  margin-right: 8px;
}

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

/* === BUTTONS === */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
  align-items: center;
}

.cta-button {
  display: inline-block;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button.primary {
  background: linear-gradient(135deg, #D4A574 0%, #9d6d3a 100%);
  color: #ffffff;
}

.cta-button.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.5);
}

.cta-button.secondary {
  background: transparent;
  color: #ffffff;
  border: 3px solid #D4A574;
}

.cta-button.secondary:hover {
  background: #D4A574;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* === SECTIONS === */
section {
  padding: 60px 20px;
  position: relative;
  margin-bottom: 40px;
}

section:nth-child(even) {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

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

/* === CARDS & GRIDS === */
.card-container,
.benefits-grid,
.services-grid,
.process-steps,
.team-grid,
.stats-grid,
.links-grid,
.info-grid,
.contact-grid,
.tips-grid,
.values-grid,
.expertise-grid,
.categories-grid,
.comparison-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 40px 0;
  justify-content: center;
}

.card,
.benefit-card,
.service-card,
.step,
.team-member,
.stat,
.link-card,
.info-card,
.contact-option,
.tip-card,
.value-card,
.expertise-item,
.category-card,
.comparison-column,
.testimonial-card,
.service-category {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  flex: 1 1 calc(100% - 24px);
  min-width: 280px;
}

.card::before,
.benefit-card::before,
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2C5F7D 0%, #D4A574 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.card:hover::before,
.benefit-card:hover::before,
.service-card:hover::before {
  transform: scaleX(1);
}

.card:hover,
.benefit-card:hover,
.service-card:hover,
.step:hover,
.link-card:hover,
.info-card:hover,
.tip-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 15px 40px rgba(44, 95, 125, 0.2);
  border-color: #D4A574;
}

@media (min-width: 768px) {
  .card,
  .benefit-card,
  .service-card,
  .link-card,
  .info-card,
  .contact-option,
  .tip-card,
  .value-card,
  .category-card {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

@media (min-width: 1024px) {
  .benefit-card,
  .link-card,
  .info-card,
  .contact-option,
  .tip-card,
  .value-card {
    flex: 1 1 calc(33.333% - 24px);
    max-width: calc(33.333% - 24px);
  }
}

.card h3,
.benefit-card h3,
.service-card h3 {
  color: #2C5F7D;
  margin-bottom: 16px;
  font-size: 22px;
}

.card img,
.benefit-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

/* === TESTIMONIALS === */
.testimonials {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 20px;
  border-radius: 20px;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
  border-left: 6px solid #D4A574;
  flex: 1 1 100%;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 80px;
  color: rgba(212, 165, 116, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(44, 95, 125, 0.2);
}

.testimonial-card p {
  font-size: 17px;
  line-height: 1.8;
  color: #2a2a2a;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 2px solid #e9ecef;
}

.testimonial-author strong {
  color: #1a4456;
  font-size: 16px;
}

.testimonial-author span {
  color: #6c757d;
  font-size: 14px;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 1 1 calc(50% - 30px);
  }
}

/* === PROCESS TIMELINE === */
.process-overview {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 80px 20px;
  border-radius: 20px;
}

.process-steps,
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 50px 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #2C5F7D 0%, #D4A574 100%);
}

.step,
.timeline-step {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 30px 30px 80px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  position: relative;
  transition: all 0.3s ease;
  border-left: 5px solid #D4A574;
}

.step:hover,
.timeline-step:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(44, 95, 125, 0.2);
}

.step-number {
  position: absolute;
  left: -35px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2C5F7D 0%, #1a4456 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(26, 68, 86, 0.4);
  border: 4px solid #ffffff;
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .step {
    flex: 1 1 calc(50% - 30px);
    padding: 30px;
    border-left: none;
    border-top: 5px solid #D4A574;
  }
  
  .step-number {
    left: 50%;
    top: -35px;
    transform: translateX(-50%);
  }
}

@media (min-width: 1024px) {
  .step {
    flex: 1 1 calc(25% - 30px);
  }
}

/* === STATS === */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 50px 0;
  justify-content: center;
}

.stat {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, #2C5F7D 0%, #1a4456 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(26, 68, 86, 0.3);
  flex: 1 1 calc(50% - 30px);
  min-width: 200px;
  transition: all 0.3s ease;
  border: 3px solid #D4A574;
}

.stat:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(212, 165, 116, 0.4);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #D4A574;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
}

@media (min-width: 768px) {
  .stat {
    flex: 1 1 calc(25% - 30px);
  }
}

/* === PACKAGE HIGHLIGHT === */
.package-highlight {
  background: linear-gradient(135deg, #1a4456 0%, #2C5F7D 100%);
  padding: 60px 20px;
  border-radius: 20px;
  margin: 60px 0;
  box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.package-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
  border: 5px solid #D4A574;
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: 'BEST VALUE';
  position: absolute;
  top: 20px;
  right: -30px;
  background: #D4A574;
  color: #ffffff;
  padding: 8px 40px;
  transform: rotate(45deg);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.package-card h2 {
  text-align: center;
  font-size: 36px;
  color: #2C5F7D;
  margin-bottom: 12px;
}

.tagline {
  text-align: center;
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 32px;
}

.pricing {
  text-align: center;
  margin: 32px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
}

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

.package-price {
  font-size: 56px;
  font-weight: 700;
  color: #2C5F7D;
  margin-bottom: 8px;
}

.savings {
  font-size: 22px;
  color: #D4A574;
  font-weight: 700;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: #2C5F7D;
  margin: 20px 0;
}

.included-services {
  list-style: none;
  margin: 30px 0;
}

.included-services li {
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
  color: #2a2a2a;
  font-size: 16px;
}

.included-services li:last-child {
  border-bottom: none;
}

.bonuses {
  background: linear-gradient(135deg, #fff8f0 0%, #ffe8d1 100%);
  padding: 24px;
  border-radius: 12px;
  margin: 24px 0;
  border-left: 5px solid #D4A574;
}

.bonuses p {
  margin-bottom: 12px;
  color: #2a2a2a;
}

.guarantee {
  text-align: center;
  font-weight: 700;
  color: #2C5F7D;
  margin: 24px 0;
  font-size: 18px;
}

/* === FOOTER === */
footer {
  background: linear-gradient(135deg, #1a4456 0%, #2C5F7D 100%);
  color: #ffffff;
  padding: 60px 20px 30px;
  margin-top: 80px;
  border-top: 5px solid #D4A574;
}

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

.footer-section {
  flex: 1 1 100%;
  min-width: 250px;
}

.footer-section h3 {
  color: #D4A574;
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-section p,
.footer-section li {
  color: #e9ecef;
  line-height: 1.8;
  font-size: 15px;
}

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

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

.footer-section a {
  color: #e9ecef;
  transition: all 0.3s ease;
}

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

@media (min-width: 768px) {
  .footer-section {
    flex: 1 1 calc(33.333% - 40px);
  }
}

.footer-bottom {
  border-top: 2px solid rgba(255,255,255,0.2);
  padding-top: 30px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: #e9ecef;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: #D4A574;
  transform: translateY(-2px);
}

.footer-bottom p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-top: 20px;
}

/* === TRUST INDICATORS === */
.trust-indicators,
.trust-badge,
.trust-line,
.trust-indicator {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
  align-items: center;
}

.trust-indicators span,
.trust-badge p,
.trust-line,
.trust-indicator {
  background: rgb(122 122 122 / 36%);
  padding: 12px 24px;
  border-radius: 25px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  text-align: center;
}

.trust-badge {
  background: linear-gradient(135deg, #D4A574 0%, #9d6d3a 100%);
  padding: 20px 40px;
  border-radius: 15px;
  margin: 30px auto;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.trust-badge p {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  margin: 0;
  padding: 0;
}

/* === FORMS === */
.form-note {
  background: #fff8f0;
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid #D4A574;
  margin: 30px 0;
}

.form-note p {
  margin-bottom: 12px;
  color: #2a2a2a;
}

/* === CONTENT GRIDS === */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 40px 0;
  padding: 30px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.text-section {
  flex: 1 1 100%;
  min-width: 300px;
}

@media (min-width: 768px) {
  .text-section {
    flex: 1 1 calc(60% - 30px);
  }
}

/* === LEGAL CONTENT === */
.legal-content {
  padding: 60px 20px;
}

.legal-content h1 {
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-content h3 {
  margin-top: 30px;
  margin-bottom: 16px;
}

/* === ERROR PAGES === */
.error-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #2C5F7D 0%, #1a4456 100%);
}

.error-content h1 {
  color: #ffffff;
  font-size: 72px;
  margin-bottom: 20px;
}

.error-content p {
  color: #e9ecef;
  font-size: 20px;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 768px) {
  .error-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* === THANK YOU PAGES === */
.thank-you-hero {
  background: linear-gradient(135deg, #2C5F7D 0%, #1a4456 100%);
  padding: 80px 20px;
  text-align: center;
  border-radius: 20px;
  margin-bottom: 40px;
}

.thank-you-content h1 {
  color: #ffffff;
  margin-bottom: 24px;
}

.thank-you-content p {
  color: #e9ecef;
  font-size: 18px;
  margin-bottom: 32px;
}

.next-steps {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  text-align: left;
}

.next-steps h2 {
  color: #D4A574;
  margin-bottom: 20px;
}

.next-steps ol {
  color: #ffffff;
  margin-left: 24px;
}

.next-steps li {
  color: #ffffff;
  margin-bottom: 12px;
}

/* === ADDITIONAL ELEMENTS === */
.timeline-info,
.service-note,
.expert-tip,
.tip,
.note,
.certification,
.certifications,
.recommendation,
.accessibility {
  background: #fff8f0;
  padding: 20px;
  border-radius: 12px;
  margin: 24px 0;
  border-left: 5px solid #D4A574;
}

.benefit-list {
  list-style: none;
  margin: 24px 0;
}

.benefit-list li {
  padding: 12px 0 12px 30px;
  position: relative;
  color: #2a2a2a;
}

.benefit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #D4A574;
  font-weight: 700;
  font-size: 20px;
}

.duration {
  color: #6c757d;
  font-size: 14px;
  font-style: italic;
  margin-top: 8px;
}

.role,
.specialty,
.topics {
  color: #6c757d;
  font-size: 14px;
  margin-top: 8px;
}

.badge,
.recommended {
  position: relative;
}

.badge::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #D4A574;
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.comparison-column.recommended {
  border: 3px solid #D4A574;
  transform: scale(1.05);
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #aab1b4 0%, #2C5F7D 100%);
  padding: 24px;
  box-shadow: 0 -5px 30px rgba(0,0,0,0.3);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid #D4A574;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.cookie-text {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.cookie-btn.accept:hover {
  background: #9d6d3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
}

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

.cookie-btn.reject:hover {
  background: rgba(255,255,255,0.1);
}

.cookie-btn.settings {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
}

.cookie-btn.settings:hover {
  background: rgba(255,255,255,0.3);
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .cookie-text {
    text-align: left;
    flex: 1;
  }
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
}

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

.cookie-modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}

.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #6c757d;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background: #f8f9fa;
  color: #2C5F7D;
  transform: rotate(90deg);
}

.cookie-category {
  margin: 24px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #2C5F7D;
}

.cookie-category h3 {
  margin-bottom: 12px;
  color: #2C5F7D;
}

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

.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  background: #ccc;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: #D4A574;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.toggle-switch.active::after {
  transform: translateX(30px);
}

.toggle-switch.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* === UTILITY CLASSES === */
.cta-center {
  text-align: center;
  margin: 40px 0;
}

.total-timeline {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #2C5F7D;
  margin-top: 40px;
  padding: 20px;
  background: #fff8f0;
  border-radius: 12px;
}

.team-note {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  margin-top: 30px;
}

.congratulations {
  background: linear-gradient(135deg, #D4A574 0%, #9d6d3a 100%);
  color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  margin-top: 30px;
  font-size: 18px;
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

/* === RESPONSIVE TYPOGRAPHY === */
@media (min-width: 768px) {
  h1 { font-size: 52px; }
  h2 { font-size: 42px; }
  h3 { font-size: 30px; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 20px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 58px; }
  h2 { font-size: 46px; }
  h3 { font-size: 32px; }
  .hero h1 { font-size: 56px; }
}

/* === ANIMATIONS === */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.cta-button:hover {
  animation: pulse 0.6s ease;
}

/* === ACCESSIBILITY === */
:focus {
  outline: 3px solid #D4A574;
  outline-offset: 3px;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 12px;
  background: #2C5F7D;
  color: #ffffff;
  text-decoration: none;
}

.skip-to-content:focus {
  left: 10px;
  top: 10px;
}

/* === PRINT STYLES === */
@media print {
  header, footer, .mobile-menu-toggle, .cookie-consent { display: none; }
  body { background: #ffffff; }
  a { text-decoration: underline; }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
  body { background: #ffffff; }
  .hero { background: #1a4456; }
  a { text-decoration: underline; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === END OF CSS === */