/* ===== VARIABLES ===== */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --danger: #dc2626;
  --success: #25D366;
  --bg: #f7fafc;
  --white: #ffffff;
  --text: #1a202c;
  --text-light: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.5;
    transform: scale(1.2);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(10px); opacity: 1; }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ===== NAVIGATION ===== */
.navbar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-accent {
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.burger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.burger-label span {
  width: 24px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: #94a3b8;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-phone-nav {
  background: var(--white);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-phone-nav:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-whatsapp-nav {
  background: var(--success);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-whatsapp-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
  background: linear-gradient(90deg, var(--danger), #b91c1c);
  color: var(--white);
  padding: 12px 24px;
  text-align: center;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.urgency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85)),
              url('https://images.unsplash.com/photo-1523987355523-c7b5b0dd90a7?auto=format&fit=crop&w=1920&q=80') center/cover;
  color: var(--white);
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 20px;
  font-weight: 900;
}

.highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero > p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator {
  display: flex;
  gap: 6px;
}

.scroll-indicator span {
  width: 6px;
  height: 24px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  animation: scrollBounce 1.5s infinite;
}

.scroll-indicator span:nth-child(2) { animation-delay: 0.2s; }
.scroll-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--primary-light);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-whatsapp-full {
  background: var(--success);
  color: var(--white);
  width: 100%;
  justify-content: center;
  padding: 16px;
}

.btn-whatsapp-full:hover {
  background: #12b76a;
  transform: translateY(-2px);
}

.btn-outline-full {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
  width: 100%;
  justify-content: center;
  padding: 16px;
}

.btn-outline-full:hover {
  background: var(--bg);
  border-color: var(--primary);
}

/* ===== SECTIONS ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
  color: var(--primary);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ===== FILTERS ===== */
.filter-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  position: relative;
  z-index: 100;
  box-shadow: var(--shadow);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filter-header h3 {
  font-size: 1.1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reset {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-reset:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-group input,
.filter-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* ===== CATEGORIES ===== */
.categories-section {
  padding: 80px 0;
  background: var(--white);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.cat-card:hover,
.cat-card.active {
  border-color: var(--accent);
  background: #fffbeb;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cat-card.active::before {
  transform: scaleX(1);
}

.cat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.cat-card:hover .cat-icon,
.cat-card.active .cat-icon {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: rotate(360deg);
}

.cat-card span {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.cat-count {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== LISTINGS ===== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 12px;
}

/* ===== LISTING CARD ===== */
.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.listing-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.listing-card:hover .listing-image img {
  transform: scale(1.05);
}

.image-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}

.listing-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.listing-type {
  font-size: 0.75rem;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.listing-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

.listing-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.spec-tag {
  background: var(--bg);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.listing-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.listing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  gap: 12px;
}

.listing-price-block {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-new {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--danger);
  font-family: 'Playfair Display', serif;
}

.price-discount {
  background: #fef3c7;
  color: #92400e;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 8px;
  display: inline-block;
}

.deposit-info {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 4px;
}

.listing-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-whatsapp-icon {
  background: var(--success);
  color: var(--white);
}

.btn-whatsapp-icon:hover {
  background: #12b76a;
  transform: translateY(-2px);
}

.btn-email-icon {
  background: var(--primary);
  color: var(--white);
}

.btn-email-icon:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ===== SLIDER IMAGES ===== */
.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-slider img.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--primary);
  z-index: 3;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0;
}

.listing-card:hover .slider-btn {
  opacity: 1;
}

.slider-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }

.slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 3;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--white);
  width: 18px;
  border-radius: 3px;
}

.image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: var(--text-light);
  font-size: 3rem;
}

.image-fallback span {
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 600;
}

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-light);
  display: none;
  grid-column: 1 / -1;
}

.no-results i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text);
}

/* ===== HOW SECTION ===== */
.how-section {
  background: var(--primary);
  color: var(--white);
  padding: 100px 0;
}

.how-section .section-header h2 {
  color: var(--white);
}

.how-section .section-header p {
  color: #94a3b8;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.how-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.how-step:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(245, 158, 11, 0.1);
  font-family: 'Playfair Display', serif;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
}

.how-step h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.how-step p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== REVIEWS ===== */
.reviews-section {
  background: var(--white);
  padding: 100px 0;
}

.reviews-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.reviews-summary {
  text-align: center;
  padding: 40px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.reviews-summary h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.stars {
  color: #fbbf24;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.summary-text {
  color: var(--text-light);
  margin-bottom: 24px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--success);
  font-weight: 600;
}

.reviews-carousel-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.reviews-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.review-card {
  min-width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.review-info h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.review-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 5px;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.modal-close:hover {
  background: var(--danger);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.modal-gallery {
  padding: 24px;
  background: var(--bg);
}

.gallery-main {
  position: relative;
  height: 350px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  pointer-events: none;
}

.gallery-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
  pointer-events: all;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.gallery-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
  border-color: var(--accent);
}

.modal-info {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.modal-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-bank-ref {
  background: #fef3c7;
  color: #92400e;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-badge {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.modal-info h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-price-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
}

.modal-price-block .price-old {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.modal-price-block .price-new {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--danger);
  font-family: 'Playfair Display', serif;
}

.modal-price-block .price-discount {
  background: var(--danger);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.modal-desc {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 32px;
  flex: 1;
}

.modal-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-guarantees {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--success);
  font-weight: 600;
}

/* ===== MAP SECTION ===== */
.map-section {
  background: var(--white);
  padding: 100px 0;
}

.map-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.map-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.map-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.map-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item i {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
}

.contact-item p {
  color: var(--text-light);
  margin: 0;
}

.hours-block {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
}

.hours-block h4 {
  margin-bottom: 16px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 12px 0;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.hours-table .closed {
  color: var(--danger);
}

.map-iframe-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 450px;
}

.map-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo i {
  color: var(--accent);
}

.footer-logo span {
  color: var(--accent);
}

.footer-brand p {
  margin-bottom: 24px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-4px);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-col p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col p a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col i {
  color: var(--accent);
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.disclaimer {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1400px) {
  .listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .filter-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .modal-body {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  
  .burger-label {
    display: flex;
  }
  
  .menu-toggle:checked ~ .nav-links,
  .menu-toggle:checked ~ .nav-cta {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
  }
  
  .menu-toggle:checked ~ .nav-links a {
    padding: 16px;
    width: 100%;
  }
  
  .menu-toggle:checked ~ .nav-cta .btn-phone-nav,
  .menu-toggle:checked ~ .nav-cta .btn-whatsapp-nav {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }
  
  .hero {
    min-height: auto;
    padding: 120px 24px 60px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .filter-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .filter-container {
    grid-template-columns: 1fr;
  }
  
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .listings-grid {
    grid-template-columns: 1fr;
  }
  
  .how-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .modal-content {
    max-height: 95vh;
  }
  
  .gallery-main {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .cat-grid {
    grid-template-columns: 1fr;
  }
  
  .listing-image {
    height: 200px;
  }
  
  .listing-title {
    font-size: 1rem;
    min-height: 42px;
  }
  
  .price-new {
    font-size: 1.2rem;
  }
  
  .pagination-btn {
    min-width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  
  .listings-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .listing-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .listing-actions {
    width: 100%;
  }
  
  .listing-actions .btn-icon {
    flex: 1;
  }
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* ===== BADGES DE TYPE DE SAISIE ===== */
.listing-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.badge-bank {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: var(--white);
}

.badge-urgent {
  background: linear-gradient(135deg, var(--danger), #991b1b);
  color: var(--white);
}

.badge-new {
  background: linear-gradient(135deg, #059669, #047857);
  color: var(--white);
}

/* ===== BOUTON FAVORI ===== */
.listing-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-light);
  z-index: 3;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.listing-fav:hover {
  transform: scale(1.1);
  background: var(--white);
}

.listing-fav.active {
  color: var(--danger);
  background: #fee2e2;
}

.listing-fav.active i {
  font-weight: 900;
}

/* ===== INDICATEUR NOMBRE D'IMAGES ===== */
.image-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  z-index: 3;
}

/* ===== SECTION PROMOTIONNELLE ===== */
.promo-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom: 1px solid var(--border);
}

.promo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.promo-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.promo-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.promo-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.2;
  flex: 1;
  min-width: 250px;
}

.promo-intro {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}

.promo-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.promo-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f0fdf4;
  border-radius: var(--radius);
  border-left: 4px solid var(--success);
  transition: var(--transition);
}

.promo-feature:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.promo-feature i {
  color: var(--success);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.promo-feature span {
  color: var(--text);
  line-height: 1.5;
}

.promo-feature strong {
  color: var(--primary);
  font-weight: 700;
}

.promo-note {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  margin-bottom: 24px;
  font-style: italic;
}

.promo-satisfaction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.promo-satisfaction i {
  color: var(--danger);
  font-size: 1.3rem;
  animation: pulse 1.5s infinite;
}

@media (max-width: 768px) {
  .promo-card {
    padding: 32px 20px;
  }
  
  .promo-header {
    flex-direction: column;
    text-align: center;
  }
  
  .promo-features {
    grid-template-columns: 1fr;
  }
}