/* ===== GOOGLE FONTS DEPLACÉ DANS LE HTML ===== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1a6b5a;
  --primary-light: #2a9d8f;
  --primary-dark: #0f4f43;
  --secondary: #e8c468;
  --secondary-light: #f0d78a;
  --accent: #264653;
  --bg-light: #faf8f5;
  --bg-white: #ffffff;
  --bg-cream: #f5f0e8;
  --text-dark: #1a1a2e;
  --text-body: #4a4a5a;
  --text-light: #7a7a8a;
  --text-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(26, 107, 90, 0.08);
  --shadow-md: 0 8px 30px rgba(26, 107, 90, 0.12);
  --shadow-lg: 0 20px 60px rgba(26, 107, 90, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --primary: #2a9d8f;
  --primary-light: #3dbdad;
  --primary-dark: #1a6b5a;
  --secondary: #e8c468;
  --secondary-light: #f0d78a;
  --accent: #1a1a2e;
  --bg-light: #0f1923;
  --bg-white: #162231;
  --bg-cream: #0f1923;
  --text-dark: #e8e8f0;
  --text-body: #b0b8c8;
  --text-light: #8090a8;
  --text-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 25, 35, 0.95);
}

[data-theme="dark"] .nav-links.active {
  background: #162231;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-info-card {
  border-color: rgba(42, 157, 143, 0.1);
}

[data-theme="dark"] .hero-floating-card {
  background: #1e2d3d;
}

[data-theme="dark"] .trust-bar {
  background: #0a1018;
}

[data-theme="dark"] .footer {
  background: #0a1018;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: #0f1923;
  color: #e8e8f0;
  border-color: rgba(42, 157, 143, 0.15);
}

[data-theme="dark"] .contact-form-card {
  background: #162231;
}

[data-theme="dark"] .mobile-toggle span {
  background: #b0b8c8;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(26, 107, 90, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26, 107, 90, 0.4);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-white);
}

.btn-cta {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(232, 196, 104, 0.4);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 196, 104, 0.5);
}

.section-label {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  background: rgba(26, 107, 90, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 650px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
}

.nav-logo-text h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-family: 'Playfair Display', serif;
}

.nav-logo-text span {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 107, 90, 0.3);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
  margin: 5px 0;
}

/* Theme Toggle */
.theme-toggle {
  width: 52px;
  height: 28px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #e8c468, #f0d78a);
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  padding: 0 6px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, #1a1a3e, #2a2a5e);
}

.theme-toggle-knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  position: absolute;
  left: 3px;
  top: 3px;
  transition: all 0.4s cubic-bezier(0.68, -0.15, 0.27, 1.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .theme-toggle-knob {
  left: 27px;
  background: #1a1a3e;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  transition: all 0.3s ease;
  position: absolute;
}

.theme-toggle .icon-sun {
  left: 7px;
  font-size: 0.75rem;
  color: #f59e0b;
}

.theme-toggle .icon-moon {
  right: 7px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  color: rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  color: #e8e8f0;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 50%, rgba(42, 157, 143, 0.05) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.08) 0%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 107, 90, 0.08);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero-badge .stars {
  color: var(--secondary);
  font-size: 0.9rem;
}

.hero-badge span {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(26, 107, 90, 0.1);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat h3 {
  font-size: 2rem;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
  animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  bottom: 40px;
  left: -30px;
}

.hero-floating-card.card-2 {
  top: 40px;
  right: -20px;
}

.floating-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.floating-icon.green {
  background: rgba(42, 157, 143, 0.12);
}

.floating-icon.gold {
  background: rgba(232, 196, 104, 0.2);
}

.floating-card-content h4 {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.floating-card-content p {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--accent);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(42, 157, 143, 0.1), transparent);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.trust-item i {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 107, 90, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(42, 157, 143, 0.05));
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-link:hover {
  gap: 14px;
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  background: var(--bg-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 50px;
}

.why-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  height: 480px;
  object-fit: cover;
  width: 100%;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-item-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(42, 157, 143, 0.05));
  color: var(--primary);
}

.why-item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(26, 107, 90, 0.06);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--secondary);
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author h5 {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-phone {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--secondary);
}

.footer-col li i {
  margin-right: 8px;
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== CONTACT PAGE ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
  border: 1px solid rgba(26, 107, 90, 0.06);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.contact-info-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 600;
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-card>p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(26, 107, 90, 0.1);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(26, 107, 90, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.map-container {
  margin-top: 60px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== SERVICES PAGE DETAIL ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even)>* {
  direction: ltr;
}

.service-detail-img img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  height: 400px;
  object-fit: cover;
  width: 100%;
}

.service-detail-content .section-label {
  margin-bottom: 12px;
}

.service-detail-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-detail-content p {
  margin-bottom: 20px;
}

.service-detail-content ul {
  margin-bottom: 24px;
}

.service-detail-content ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-body);
}

.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== MOTION DESIGN INTRO ===== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(135deg, #0b2e27 0%, #0f4f43 40%, #1a6b5a 70%, #264653 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-overlay.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.intro-overlay canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Icon ring */
.intro-icon-ring {
  width: 220px;
  height: 220px;
  position: relative;
  animation: introRingSpin 8s linear infinite;
}

.intro-icon-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  transform: rotate(calc(var(--i) * 60deg)) translateY(-100px) rotate(calc(var(--i) * -60deg));
  opacity: 0;
  animation: introIconAppear 0.5s ease calc(var(--i) * 0.12s + 0.3s) forwards;
}

@keyframes introIconAppear {
  from {
    opacity: 0;
    transform: rotate(calc(var(--i) * 60deg)) translateY(-60px) rotate(calc(var(--i) * -60deg)) scale(0);
  }

  to {
    opacity: 1;
    transform: rotate(calc(var(--i) * 60deg)) translateY(-100px) rotate(calc(var(--i) * -60deg)) scale(1);
  }
}

@keyframes introRingSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Logo */
.intro-logo {
  text-align: center;
  opacity: 0;
  transform: scale(0.6);
  animation: introLogoReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
}

.intro-logo-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 20px rgba(42, 157, 143, 0.5));
}

.intro-logo h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: white;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #e8c468 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: introShimmer 3s ease-in-out infinite 1.5s;
}

.intro-logo p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

@keyframes introLogoReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introShimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

/* Tagline */
.intro-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: introTagFade 0.6s ease 1.6s forwards;
}

.intro-tagline span {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
}

.intro-sep {
  opacity: 0.3;
}

@keyframes introTagFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heartbeat */
.intro-heartbeat {
  width: 400px;
  max-width: 80vw;
  opacity: 0;
  animation: introHBFade 0.5s ease 2s forwards;
}

.intro-heartbeat svg {
  width: 100%;
  height: 60px;
}

.heartbeat-line {
  fill: none;
  stroke: #2a9d8f;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: introHBDraw 2s ease 2.2s forwards;
  filter: drop-shadow(0 0 8px rgba(42, 157, 143, 0.6));
}

@keyframes introHBFade {
  to {
    opacity: 1;
  }
}

@keyframes introHBDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Skip button */
.intro-skip {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: introTagFade 0.5s ease 1s forwards;
}

.intro-skip:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
  transition: var(--transition);
}

.whatsapp-float-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  position: relative;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  animation: none;
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: whatsappRing 2s ease-in-out infinite;
}

.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: var(--text-dark);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: white;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6);
  }
}

@keyframes whatsappRing {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 0;
    transform: scale(1.3);
  }
}

/* ===== URGENCY BANNER ===== */
.urgency-banner {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.urgency-banner i {
  animation: urgencyPulse 1.5s ease-in-out infinite;
}

.urgency-banner a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline;
}

.urgency-banner .close-banner {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 8px;
  transition: var(--transition);
}

.urgency-banner .close-banner:hover {
  color: white;
}

@keyframes urgencyPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.has-banner .navbar {
  top: 38px;
}

.has-banner .hero {
  padding-top: 118px;
}

.has-banner .page-hero {
  padding-top: 198px;
}

/* ===== HOW IT WORKS ===== */
.steps-section {
  background: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 20px rgba(26, 107, 90, 0.3);
  transition: var(--transition);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(26, 107, 90, 0.4);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 280px;
  margin: 0 auto;
}

/* ===== COUNTERS ===== */
.counters-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.counters-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(42, 157, 143, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(232, 196, 104, 0.08) 0%, transparent 50%);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.counter-item {
  text-align: center;
  color: white;
}

.counter-value {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-value span {
  font-size: 1.8rem;
}

.counter-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ===== FAQ ===== */
.faq-grid {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(26, 107, 90, 0.06);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  font-size: 0.8rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 107, 90, 0.3);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition);
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 107, 90, 0.4);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: var(--accent);
  color: rgba(255, 255, 255, 0.85);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

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

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.cookie-accept {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 107, 90, 0.3);
}

.cookie-decline {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* ===== ABOUT PAGE ===== */
.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-mission-img img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  height: 450px;
  object-fit: cover;
  width: 100%;
}

.about-mission-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-mission-content p {
  margin-bottom: 16px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.about-value-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(26, 107, 90, 0.06);
}

.about-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.about-value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(42, 157, 143, 0.05));
  color: var(--primary);
}

.about-value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.about-value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.about-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.about-team-img img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  height: 400px;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 992px) {
  .about-mission {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .counters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .counter-value {
    font-size: 2.2rem;
  }

  .urgency-banner {
    font-size: 0.75rem;
    padding: 8px 40px 8px 16px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-floating-card {
    display: none;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: var(--shadow-md);
    gap: 16px;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-items {
    gap: 20px;
  }
}