@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #0A1128;
  --secondary: #D4AF37;
  --secondary-hover: #E8C355;
  --secondary-light: rgba(212, 175, 55, 0.12);
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --white: #FFFFFF;
  --transition: all 0.3s ease;
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

/* ─── Scroll Progress Bar ─── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-hover));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ─── Header & Nav ─── */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 65px;
  object-fit: contain;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.03);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

nav a:hover {
  color: var(--secondary);
}

.contact-btn {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.contact-btn:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ─── Hamburger Menu ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  display: flex;
}

.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  transition: color 0.3s;
  position: relative;
}

.mobile-nav a:hover {
  color: var(--secondary);
}

.mobile-nav .close-nav {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.mobile-nav .close-nav:hover {
  color: var(--secondary);
}

/* ─── Hero Slider ─── */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease, transform 7s ease;
  transform: scale(1.06);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,17,40,0.82) 0%, rgba(10,17,40,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Geometric decorations */
.hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

/* Slide contents wrapper */
.hero-contents {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: clamp(260px, 38vh, 400px);
}

/* Slider nav buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 2rem; }
.slider-next { right: 2rem; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 4;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.25);
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle var(--duration, 8s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20px) scale(1.5); }
}

.hero-content {
  color: var(--white);
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-badge i {
  font-size: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 800px;
  font-weight: 800;
}

.hero h1 .word-highlight {
  color: var(--secondary);
}

.hero p {
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  color: var(--primary);
  padding: 1rem 2.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(212,175,55,0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}

.hero-scroll i {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── Sections Common ─── */
section {
  padding: 6rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title .subtitle {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
}

/* ─── About Section ─── */
.about {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  background: url('./assets/hero.png') center/cover;
  height: 520px;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--secondary);
  border-radius: 20px;
  opacity: 0.3;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--secondary);
  border-radius: 12px;
  opacity: 0.15;
  z-index: -1;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.feature:hover {
  border-left-color: var(--secondary);
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.feature i {
  color: var(--secondary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature span {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

/* ─── Services ─── */
#services {
  background: var(--white);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10,17,40,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.services-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition-slow);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
  border-color: rgba(212,175,55,0.15);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: var(--secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 1.75rem;
  color: var(--secondary);
  font-size: 1.8rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  color: var(--primary);
  transform: rotate(-5deg) scale(1.05);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ─── Stats ─── */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, #111d3e 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212,175,55,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.stat-item {
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.2);
  transform: translateY(-5px);
}

.stat-item h4 {
  font-size: 3.2rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, rgba(10,17,40,0.93) 0%, rgba(10,17,40,0.85) 100%),
              url('./assets/hero.png') center/cover fixed;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-section p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
  line-height: 1.8;
}

/* ─── Map & Contact Section ─── */
.map-section {
  padding: 0 !important;
  background: var(--bg-light);
}

.map-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

/* Left — Map */
.map-col {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.map-frame-wrapper {
  position: absolute;
  inset: 0;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Right — Contact Info panel */
.contact-col {
  background: var(--white);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 1px solid rgba(0,0,0,0.06);
}

.contact-col-header .subtitle {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-col-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

.contact-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-rating .stars {
  color: var(--secondary);
  font-size: 0.82rem;
  letter-spacing: 2px;
}

.contact-rating > span:nth-child(2) {
  font-size: 0.85rem;
  color: var(--text-light);
}

.status-badge {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(16,185,129,0.25);
}

/* Info list */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.055);
  transition: var(--transition);
}

.contact-info-item:first-child { padding-top: 0; }
.contact-info-item:last-child  { border-bottom: none; }

.ci-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-item:hover .ci-icon {
  background: var(--secondary);
  color: var(--primary);
}

.ci-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}

.ci-content p {
  font-size: 0.93rem;
  color: var(--text-dark);
  line-height: 1.55;
}

.ci-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s;
}

.ci-content a:hover { color: var(--secondary); }

/* Hours table */
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1.5rem;
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.hours-grid span:nth-child(odd) {
  color: var(--text-light);
  font-size: 0.85rem;
}

.hours-grid .closed {
  color: #EF4444;
  font-weight: 500;
}

/* Action buttons */
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: auto;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
}

.action-btn--map {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10,17,40,0.18);
}

.action-btn--map:hover {
  background: #1a2545;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(10,17,40,0.28);
  color: var(--white);
}

.action-btn--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.action-btn--whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
  color: var(--white);
}

/* ─── Footer ─── */
footer {
  background: linear-gradient(135deg, #070e20 0%, var(--primary) 100%);
  color: rgba(255, 255, 255, 0.65);
  padding: 5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  opacity: 0.4;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  max-width: 190px;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.07);
  padding: 10px;
  border-radius: 10px;
  transition: var(--transition);
}

.footer-logo:hover {
  background: rgba(255,255,255,0.12);
}

.footer-brand p {
  margin-bottom: 1.75rem;
  max-width: 300px;
  line-height: 1.8;
  font-size: 0.93rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: var(--transition);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a::before {
  content: '→';
  color: var(--secondary);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
}

.creator-link {
  color: var(--secondary);
  font-weight: 600;
}

/* ─── Animations ─── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.from-left {
  transform: translateX(-40px);
}

.reveal.from-right {
  transform: translateX(40px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0);
}

/* ─── Back to top button ─── */
#back-to-top {
  position: fixed;
  bottom: 7.5rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 900;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.8);
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  transform: translateY(-5px) scale(1.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  color: var(--secondary);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  pointer-events: none;
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.1s;
  stroke: var(--secondary);
  stroke-linecap: round;
}

#back-to-top i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

#back-to-top:hover i {
  transform: translateY(-2px);
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ════════════════════════════════════════ */

/* ── Tablet large (≤ 1024px) ── */
@media (max-width: 1024px) {
  nav { display: none; }
  .contact-btn { display: none; }
  .hamburger { display: flex; }

  .hero h1 { font-size: 3rem; }

  .about-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { display: none; }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Map stacks */
  .map-section-inner { grid-template-columns: 1fr; }
  .map-col { min-height: 380px; height: 380px; position: relative; }
  .contact-col { border-left: none; border-top: 3px solid var(--secondary-light); padding: 2.5rem 2rem; }

  /* Clients */
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {
  section { padding: 4.5rem 1.5rem; }

  /* Header */
  .header-container { padding: 0.8rem 1.25rem; }
  .logo img { height: 52px; }

  /* Hero */
  .hero-contents { height: auto; min-height: 300px; padding: 0 1.25rem; }
  .hero h1 { font-size: 2.2rem; line-height: 1.15; }
  .hero p { font-size: 1rem; margin-bottom: 2rem; }
  .hero-badge { font-size: 0.72rem; letter-spacing: 1.5px; padding: 0.35rem 0.85rem; }
  .hero-cta { flex-direction: column; gap: 0.85rem; width: 100%; max-width: 340px; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { width: 100%; justify-content: center; text-align: center; padding: 0.9rem 1.5rem; }
  .slider-btn { width: 40px; height: 40px; font-size: 0.9rem; }
  .slider-prev { left: 0.75rem; }
  .slider-next { right: 0.75rem; }

  /* Section titles */
  .section-title h2 { font-size: 1.9rem; }
  .section-title h2::after { bottom: -10px; }

  /* About */
  .about-features { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .feature { padding: 0.85rem 1rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-card { padding: 2rem 1.5rem; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-item { padding: 2rem 1.25rem; }
  .stat-item h4 { font-size: 2.5rem; }
  .stat-item p { font-size: 0.85rem; }

  /* Clients */
  .clients-grid { grid-template-columns: repeat(2, 1fr); }

  /* References */
  .references-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  /* Map / Contact */
  .contact-col { padding: 2rem 1.25rem; gap: 1.5rem; }
  .contact-col-header h2 { font-size: 1.6rem; }
  .contact-actions { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Footer */
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { max-width: 100%; }

  /* Modal */
  .modal-container { padding: 2rem 1.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .modal-header h2 { font-size: 1.6rem; }

  /* Back to top */
  #back-to-top { bottom: 1.5rem; }
}

/* ── Mobile (≤ 576px) ── */
@media (max-width: 576px) {
  section { padding: 3.5rem 1.1rem; }

  /* Header */
  .header-container { padding: 0.7rem 1rem; }
  .logo img { height: 46px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-contents { padding: 0 1rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 0.95rem; max-width: 100%; }
  .hero-badge { font-size: 0.68rem; padding: 0.3rem 0.75rem; }
  .hero-cta { max-width: 100%; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { font-size: 0.9rem; padding: 0.8rem 1.2rem; }
  .slider-btn { width: 36px; height: 36px; font-size: 0.8rem; }
  .slider-dots { bottom: 4rem; gap: 0.5rem; }
  .dot { width: 8px; height: 8px; }
  .hero-scroll { display: none; } /* trop encombrant sur petit écran */

  /* About */
  .about-features { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item h4 { font-size: 2.2rem; }

  /* Clients */
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .client-logo { height: 110px; }

  /* References */
  .references-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-section h2 { font-size: 1.55rem; }
  .cta-section p { font-size: 1rem; }
  .cta-section .btn-primary { width: 100%; justify-content: center; }

  /* Map / Contact */
  .map-col { height: 300px; }
  .ci-icon { width: 36px; height: 36px; font-size: 0.85rem; }
  .hours-grid { gap: 0.2rem 1rem; font-size: 0.85rem; }

  /* Footer */
  .footer-links h4, .footer-contact h4 { font-size: 1rem; }
  .footer-bottom { font-size: 0.8rem; }

  /* Mobile nav */
  .mobile-nav a { font-size: 1.6rem; gap: 1.75rem; }

  /* Chat — pleine largeur sur mobile */
  .chat-widget { right: 1rem; bottom: 1.25rem; }
  .chat-window {
    width: calc(100vw - 2rem);
    max-height: 75vh;
    border-radius: 18px;
  }
  .chat-toggle { width: 54px; height: 54px; font-size: 1.3rem; }
  .chat-greeting { right: 68px; font-size: 0.82rem; padding: 0.6rem 1rem; white-space: normal; max-width: 200px; }

  /* Back to top */
  #back-to-top { left: 1rem; bottom: 1.25rem; width: 44px; height: 44px; }
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ─── Clients Section ─── */
.clients-section {
  background: var(--white);
  padding: 6rem 2rem;
  text-align: center;
}

.trust-subtitle {
  color: var(--text-light);
  max-width: 700px;
  margin: 0.5rem auto 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 4rem auto 3rem;
}

.client-logo {
  background: var(--bg-light);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.03);
  transition: var(--transition);
  cursor: pointer;
}

.client-logo:hover {
  background: var(--white);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transform: translateY(-5px);
  border-color: var(--secondary-light);
}

.logo-gray {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.5s ease;
}

.client-logo:hover .logo-gray {
  filter: grayscale(0%);
  opacity: 1;
}

.clients-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
  font-weight: 500;
  color: var(--text-dark);
}

.clients-footer i {
  color: #10B981;
  font-size: 1.2rem;
}

.clients-footer span {
  font-size: 1rem;
}

.clients-footer span b {
  color: var(--secondary);
  font-weight: 700;
}


/* ─── References Section ─── */
.references-section {
  background: var(--bg-light);
  position: relative;
}

.references-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10,17,40,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.references-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  position: relative;
}

.ref-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: var(--transition-slow);
  cursor: pointer;
}

.ref-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.13);
}

.ref-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.ref-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.ref-card:hover .ref-img-wrap img {
  transform: scale(1.08);
}

.ref-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,17,40,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ref-overlay i {
  color: var(--white);
  font-size: 2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.ref-card:hover .ref-overlay {
  opacity: 1;
}

.ref-card:hover .ref-overlay i {
  transform: scale(1);
}

.ref-info {
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ref-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
}

.ref-info h4 {
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 88vw;
  max-height: 82vh;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--secondary);
  color: var(--primary);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ─── Chat Widget ─── */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  width: auto;
  pointer-events: none; /* container itself doesn't block clicks */
}

/* Only interactive children capture events */
.chat-widget > * {
  pointer-events: all;
}

/* Toggle button */
.chat-toggle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1a2545);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(10,17,40,0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(10,17,40,0.4);
}

/* Pulse effect */
.chat-toggle-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
  z-index: -1;
  animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Greeting bubble */
.chat-greeting {
  position: absolute;
  right: 80px;
  bottom: 10px;
  background: var(--white);
  color: var(--primary);
  padding: 0.75rem 1.25rem;
  border-radius: 20px 20px 4px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.chat-greeting.visible {
  opacity: 1;
  transform: translateX(0);
}

.chat-greeting::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: 8px;
  border-left: 10px solid var(--white);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.chat-icon-open,
.chat-icon-close {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chat-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

.chat-toggle.active .chat-icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}

.chat-toggle.active .chat-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Notification dot */
.chat-notif {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: #EF4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  transition: opacity 0.2s;
}

.chat-toggle.active .chat-notif {
  opacity: 0;
}

/* Chat window */
.chat-window {
  width: 360px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 520px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255,255,255,0.4);
}

.chat-window.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* Header */
.chat-header {
  background: linear-gradient(135deg, var(--primary), #1a2545);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
}

.chat-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.chat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.chat-header-info strong {
  font-size: 0.92rem;
  font-family: 'Outfit', sans-serif;
}

.chat-header-info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chat-header-info span .fa-circle {
  font-size: 0.5rem;
  color: #10B981;
}

.chat-header-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color 0.2s;
}

.chat-header-close:hover { color: var(--white); }

/* Body */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #f8f9fb;
}

.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.chat-msg.bot { align-items: flex-start; }
.chat-msg.user { align-items: flex-end; }

.msg-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg.bot .msg-bubble {
  background: var(--white);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--primary), #1a2545);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 0.68rem;
  color: var(--text-light);
  padding: 0 0.25rem;
}

/* Quick replies */
.chat-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.25rem;
}

.quick-reply {
  background: var(--white);
  border: 1.5px solid rgba(212,175,55,0.5);
  color: var(--primary);
  padding: 0.55rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.quick-reply:hover {
  background: var(--secondary-light);
  border-color: var(--secondary);
}

/* Typing indicator */
.typing-indicator .msg-bubble {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.7rem 1rem;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%            { transform: translateY(-6px); }
}

/* Footer / Input */
.chat-footer {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  display: flex;
  gap: 0.6rem;
  background: var(--white);
}

.chat-footer input {
  flex: 1;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.25s;
  color: var(--text-dark);
}

.chat-footer input:focus {
  border-color: var(--secondary);
}

#chatSend {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  color: var(--primary);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(212,175,55,0.3);
}

#chatSend:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}


/* ─── Modal Quote ─── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,17,40,0.8);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  padding: 3rem;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow-y: auto;
  max-height: 90vh;
}

.modal.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.modal-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.modal-header p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: #FDFDFD;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
}

.btn-primary.w-full {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

/* Success Message */
.form-success-msg {
  text-align: center;
  padding: 2rem 0;
}

.form-success-msg i {
  font-size: 5rem;
  color: #10B981;
  margin-bottom: 1.5rem;
}

.form-success-msg h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.form-success-msg p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

