:root {
  --primary-color: #0f172a; /* Deep Navy Blue */
  --secondary-color: #1e293b;
  --accent-color: #d00000; /* Brighter Red */
  --accent-hover: #a30000;
  --text-light: #f8fafc;
  --text-dark: #334155;
  --bg-light: #f1f5f9;
  --bg-dark: #020617;
  --placeholder-color: #ff4d4d;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Responsive Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

.btn-hero {
  font-size: 1.2rem;
  padding: 1rem 2rem;
}

.btn-hero-outline, .hero-actions .btn-hero-outline {
  color: white !important;
  border-color: white !important;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
}

.btn-hero-outline:hover, .hero-actions .btn-hero-outline:hover {
  background: white !important;
  color: var(--primary-color) !important;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: height 0.3s ease;
}

@media (max-width: 992px) {
  header .container {
    height: 70px;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

@media (max-width: 992px) {
  .logo-img {
    height: 45px;
  }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  display: inline-block;
  position: relative;
  font-size: 1rem;
  white-space: nowrap;
  padding-bottom: 4px;
}

/* Orange Underline effect on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.emergency-btn {
  background-color: #ef4444;
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulse 2s infinite;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.emergency-btn::after {
  display: none;
}

.emergency-btn:hover {
  background-color: #dc2626;
  transform: scale(1.05);
  color: white;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1001;
  border-radius: 8px;
  top: 100%;
  left: 0;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
}

.dropdown-content a::after {
  display: none;
}

.dropdown-content a:hover {
  background-color: var(--bg-light);
  color: var(--accent-color);
}

@media (max-width: 992px) {
  .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 0;
    width: 100%;
    border-radius: 0;
    margin-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
  }
  .dropdown.active .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  .dropdown-content a {
    padding: 0.75rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: white !important;
  }
  .dropdown-content a:last-child {
    border-bottom: none;
  }
}

/* Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
}

@media (max-width: 1200px) {
  .nav-links { gap: 1.5rem; }
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 70px; /* Match mobile header height */
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary-color);
    flex-direction: column;
    justify-content: flex-start; /* Start from top instead of center */
    padding: 2rem 0;
    gap: 0; /* Use padding on items instead */
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto; /* Allow scrolling if menu is long */
    z-index: 999;
  }
  .nav-links.active { 
    right: 0; 
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  
  .nav-links a {
    padding: 1.25rem 1.5rem;
    width: 100%;
    font-size: 1.1rem;
    display: block;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
  
  .nav-links > a, .nav-links .dropdown {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .nav-links a::after { display: none; }
  
  .emergency-btn {
    margin: 1.5rem auto;
    width: 90% !important;
    justify-content: center;
    padding: 1rem !important;
    border-radius: 50px !important;
    background-color: #ef4444 !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  }
  
  .hamburger { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-image { width: 100%; height: 100%; object-fit: cover; }
.modal-text {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-image {
    height: 200px;
  }
  .modal-text {
    padding: 2rem;
  }
}

/* Sections */
.section { padding: 5rem 0; scroll-margin-top: 90px; }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: white; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; }

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.85rem; margin-bottom: 2rem; line-height: 1.2; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.4rem; }
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-tag {
  background: var(--accent-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-title a {
  color: inherit;
}

.blog-title a:hover {
  color: var(--accent-color);
}

.blog-excerpt {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Dark background section */
.bg-dark {
  background-color: var(--primary-color);
  color: white;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3 {
  color: white !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.bg-dark p {
  color: rgba(255,255,255,0.8);
}


.blog-date {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.blog-card p {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-read-more {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-read-more:hover {
  color: var(--accent-hover);
}

.blog-article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-article-content p {
  margin-bottom: 1.5rem;
}

.blog-article-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.blog-article-content li {
  margin-bottom: 0.5rem;
}

/* Image styles with depth */
.img-depth {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  height: 100%;
  width: 100%;
}
.img-depth::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.15;
  transition: var(--transition);
}
.img-depth:hover::before {
  top: 20px;
  left: 20px;
  opacity: 0.25;
}
.img-depth img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Specific heights on mobile vs desktop */
.img-hero, .img-tall {
  height: 500px;
}
.img-medium {
  height: 350px;
}
.img-small {
  height: 250px;
}

@media (max-width: 768px) {
  .img-hero, .img-tall { height: 280px; }
  .img-medium { height: 220px; }
  .img-small { height: 180px; }
  .img-depth::before { top: 10px; left: 10px; } /* Slightly smaller offset on mobile */
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 90px;
  background-color: var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero h1, .hero h2, .hero h3 {
  color: white !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero .hero-subtitle, .hero p {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.hero.text-center {
  text-align: center;
}

.hero.text-center .hero-content {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Title to the left */
  text-align: left;
}

.hero.text-center .hero-actions {
  justify-content: flex-start;
}

.hero.text-center .trust-badges {
  justify-content: flex-start;
}

.hero.text-center .hero-content p {
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../Porte3.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content .trust-badges {
  margin-bottom: 1.5rem;
  justify-content: flex-start;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .hero .container { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 2rem;
  }
  .hero-content h1 { 
    font-size: 2.25rem; 
    line-height: 1.1;
  }
  .hero-content p {
    font-size: 1rem;
    margin: 0 auto 1.5rem;
  }
  .hero-actions { 
    flex-direction: column; 
    gap: 0.75rem; 
  }
  .hero-actions .btn { 
    width: 100%; 
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.bg-dark .service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.bg-dark .service-card h3 {
  color: white !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.bg-dark .service-card p {
  color: rgba(255, 255, 255, 0.7);
}
.service-card .icon {
  width: 64px;
  height: 64px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--accent-color);
}

.bg-dark .service-card .icon {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Info Section */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .info-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* FAQ Section with depth */
.faq-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  border: 1px solid #e2e8f0;
  box-shadow: 10px 10px 0px rgba(15, 23, 42, 0.05);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 0px rgba(15, 23, 42, 0.08);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Reason Blocks - Unified Readable Style */
.reason-block {
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.reason-block h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.reason-block p {
  color: var(--text-dark);
  font-size: 1.05rem;
}

/* Carousel Reviews */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.carousel-container {
  display: flex;
  align-items: center;
  position: relative;
}

.carousel-btn {
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: white;
}

.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }

@media (max-width: 1300px) {
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
}

.carousel-viewport { overflow: hidden; width: 100%; padding: 0 1rem; }
.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-out;
  cursor: grab;
}
.carousel-track:active { cursor: grabbing; }

.review-card {
  min-width: 350px;
  max-width: 350px;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: relative;
  user-select: none;
}

@media (max-width: 768px) {
  .review-card {
    min-width: 280px;
    max-width: 280px;
    padding: 1.5rem;
  }
}

.review-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.reviewer-info h4 { margin: 0; font-size: 1.1rem; }
.reviewer-info .stars { color: #fbbf24; }
.google-logo { position: absolute; top: 2rem; right: 2rem; width: 24px; height: 24px; }

/* Contact Form */
.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
  }
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-left.visible { opacity: 1; transform: translateX(0); }

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

/* Map */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 400px;
}
@media (max-width: 768px) {
  .map-container { min-height: 250px; }
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.trust-badges.gap-small {
  gap: 0.5rem;
}
.trust-badges.justify-center {
  justify-content: center;
}
.badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
}
@media (max-width: 768px) {
  .trust-badges {
    justify-content: center;
  }
  .stat-item {
    flex: 1 1 40%; /* Two stats per row on mobile */
    min-width: 140px;
  }
  .stat-value, .stat-text {
    font-size: 2.2rem;
  }
}

/* Stats Banner */
.stats-banner {
  background-color: #050b14;
  padding: 4rem 0;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}
.stat-item {
  flex: 1;
  min-width: 200px;
}
.stat-value {
  color: var(--accent-color);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-text {
  color: var(--accent-color);
  font-size: 3.5rem;
  font-weight: 800;
}
.stat-label {
  color: #94a3b8;
  font-size: 1rem;
  text-transform: lowercase;
  line-height: 1.4;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.pricing-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 1.5rem 1rem;
  }
  .price-amount {
    font-size: 2.5rem;
  }
}
.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.price-amount {
  color: #ef4444;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.pricing-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.pricing-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Floating Phone */
.floating-phone {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5);
  z-index: 1000;
  overflow: hidden;
  max-width: 60px;
  height: 60px;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.phone-icon {
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--accent-color);
  z-index: 2;
  animation: pulse 2s infinite;
}
.phone-text {
  font-weight: bold;
  font-size: 1.2rem;
  white-space: nowrap;
  padding-right: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.floating-phone:hover {
  max-width: 300px;
}
.floating-phone:hover .phone-text {
  opacity: 1;
  transition-delay: 0.2s;
}

@media (max-width: 768px) {
  .floating-phone {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  .phone-icon {
    min-width: 50px;
    height: 50px;
  }
  .phone-icon svg {
    width: 20px;
    height: 20px;
  }
  .floating-phone:hover {
    max-width: 220px;
  }
  .phone-text {
    font-size: 1rem;
    padding-right: 1rem;
  }
}

/* Multi-step Form */
.form-progress {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 10px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--accent-color);
  width: 33.33%;
  transition: width 0.4s ease;
}
.form-step {
  display: none;
  animation: fadeIn 0.4s ease;
}
.form-step.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .radio-cards {
    grid-template-columns: 1fr;
  }
}
.radio-card {
  cursor: pointer;
  position: relative;
}
.radio-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.card-content {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  font-size: 1.1rem;
}
.radio-card input:checked ~ .card-content {
  border-color: var(--accent-color);
  background-color: rgba(245, 158, 11, 0.05);
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .card-content {
    min-height: 60px;
    padding: 0.75rem;
    font-size: 1rem;
  }
}

.radio-card:hover .card-content {
  border-color: #cbd5e1;
}

/* Tarifs Updates */
.tarifs-subtitle {
  color: var(--accent-color);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-align: left;
}
.price-amount {
  color: var(--accent-color);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Form Date Picker */
.hidden {
  display: none !important;
}
.date-picker-container {
  animation: fadeIn 0.3s ease;
}

/* Comparatif Section */
.comparatif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: end;
  margin-top: 4rem; /* Fixes overlap issue with text */
}
.comp-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.comp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.comp-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 1.5rem;
}
.comp-header h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.comp-subtitle {
  color: #64748b;
  font-weight: 500;
}
.comp-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  flex-grow: 1;
  text-align: left;
}
.comp-features li {
  margin-bottom: 1rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.comp-features li.disabled {
  color: #94a3b8;
  text-decoration: line-through;
}
.icon-check { color: #10b981; }
.icon-cross { color: #ef4444; }

/* Premium Card */
.comp-card.premium {
  border: 2px solid var(--accent-color);
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.2);
  z-index: 2;
}
.comp-card.premium:hover {
  transform: scale(1.05) translateY(-10px);
}
.comp-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
}

/* Elite Card */
.comp-card.elite {
  background: #0f172a;
  border: 1px solid #334155;
}
.comp-card.elite .comp-features li { color: #cbd5e1; }
.comp-card.elite .comp-header { border-bottom-color: #1e293b; }
.comp-card.elite:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
  .comp-card.premium { transform: none; }
  .comp-card.premium:hover { transform: translateY(-10px); }
  .comparatif-grid { align-items: stretch; }
}

/* Avis Aesthetic Improvements */
.review-card.premium-card {
  background: linear-gradient(to bottom right, #ffffff, #f8fafc);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Phase 3 Aesthetics */
.badge-small {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}

.door-image-placeholder {
  width: 100%;
  height: 200px;
  background-color: #8b0000; /* Orange placeholder */
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}
.door-image-placeholder::after {
  content: 'Emplacement Image';
  opacity: 0.8;
}

/* Reason block enhancements */
.reason-block {
  display: flex;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reason-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.reason-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 0.2rem;
}
.reason-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}
.reason-content p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

/* Ratings Table */
.ratings-table {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  border: 1px solid #f1f5f9;
}
.ratings-score {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ratings-score .score-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}
.ratings-score .stars {
  color: #8b0000;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
.ratings-score .score-total {
  color: #64748b;
  font-size: 0.9rem;
}
.ratings-bars {
  flex-grow: 1;
  width: 100%;
  max-width: 300px;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #475569;
}
.bar-row:last-child {
  margin-bottom: 0;
}
.bar-row .bar {
  flex-grow: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.bar-row .fill {
  height: 100%;
  background: #8b0000;
  border-radius: 4px;
}

/* FAQ Accordion Styles */
.faq-accordion .faq-item {
  cursor: pointer;
  transition: background-color 0.3s;
}
.faq-accordion .faq-item:hover {
  background-color: #f8fafc;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question h3 {
  margin-bottom: 0;
}
.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color);
  transition: transform 0.3s;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  margin-top: 1rem;
  color: #475569;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .ratings-table {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .reason-block {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem 1rem;
  }
  .reason-icon {
    margin: 0 auto;
  }
  .stats-grid {
    gap: 1.5rem;
  }
  .stat-item {
    min-width: 140px;
  }
  .stat-value, .stat-text {
    font-size: 2.5rem;
  }
  .comparatif-grid {
    margin-top: 2rem;
  }
  .faq-accordion .faq-item {
    padding: 1rem;
  }
  .faq-question h3 {
    font-size: 1rem;
    padding-right: 1rem;
  }
}

/* Floating Phone Swipe Animation */
.floating-phone-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
}

.floating-phone-btn {
  display: flex;
  align-items: center;
  background-color: var(--accent-color);
  color: white;
  padding: 0;
  border-radius: 60px;
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.4);
  text-decoration: none;
  overflow: hidden;
  width: 60px;
  height: 60px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.floating-phone-btn:hover {
  width: 240px;
  background-color: var(--accent-hover);
}

.floating-phone-btn .phone-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  animation: pulse-phone 2s infinite;
}

.floating-phone-btn .phone-text {
  padding-left: 15px;
  padding-right: 25px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-phone-btn:hover .phone-text {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-phone {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
