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

/* --- DESIGN SYSTEM & TOKENS --- */
:root {
  --primary-color: #123C32;
  --primary-hover: #1b5749;
  --primary-soft: rgba(18, 60, 50, 0.08);
  --primary-light: rgba(18, 60, 50, 0.04);
  --secondary-color: #111816;
  --accent-color: #D6A85F;
  --accent-hover: #c59750;
  --accent-soft: rgba(214, 168, 95, 0.12);
  --bg-light: #F7F3EA;
  --bg-white: #FCFCF9;
  --text-primary: #1A2421;
  --text-secondary: #3D4F4A;
  --text-muted: #7E938E;
  --border-color: rgba(18, 60, 50, 0.1);
  --border-color-light: rgba(18, 60, 50, 0.05);
  
  --success: #2E7D32;
  --warning: #F57C00;
  
  --font-main: 'Cairo', 'Tajawal', sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-sm: 0 2px 8px rgba(18, 60, 50, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 60, 50, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 60, 50, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 28px;
  --border-radius-pill: 50px;
}

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

html {
  font-family: var(--font-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  color: var(--text-primary);
  background-color: var(--bg-white);
}

body {
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  background-color: var(--bg-white);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
p {
  color: var(--text-secondary);
  font-weight: 400;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  border: 1px solid var(--accent-color);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  border-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Pulse Animations for CTAs */
@keyframes pulseAccent {
  0% { box-shadow: 0 0 0 0 rgba(214, 168, 95, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(214, 168, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 168, 95, 0); }
}

@keyframes pulseWhatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.pulse-accent {
  animation: pulseAccent 2s infinite;
}

.pulse-whatsapp {
  animation: pulseWhatsapp 2s infinite;
}

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
  padding: 20px 0;
}

.header.scrolled {
  background-color: rgba(18, 24, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(214, 168, 95, 0.1);
}

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

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
}

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

.logo-icon {
  width: 48px;
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
  letter-spacing: 0.5px;
}

.header:not(.scrolled) .logo-title {
  color: var(--primary-color);
}

/* If scrolled or inside secondary page where header is dark, keep logo bright */
.header.scrolled .logo-title {
  color: var(--accent-color);
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.header.scrolled .logo-subtitle {
  color: rgba(252, 252, 249, 0.7);
}

/* Nav Menu */
.nav-bar {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.header.scrolled .nav-link {
  color: rgba(252, 252, 249, 0.9);
}

.header.scrolled .nav-link:hover {
  color: var(--accent-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.6rem;
  transition: var(--transition-fast);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  min-width: 220px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dropdown-menu li a:hover {
  background-color: var(--primary-soft);
  color: var(--primary-color);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-divider {
  border: 0;
  border-top: 1px solid var(--border-color-light);
  margin: 8px 0;
}

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.header.scrolled .hamburger span {
  background-color: var(--accent-color);
}

/* Responsive Header */
@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    width: 320px;
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 30px 40px;
    transition: var(--transition-smooth);
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--bg-white);
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(252, 252, 249, 0.08);
  }
  
  .header.scrolled .nav-link {
    color: var(--bg-white);
    border-bottom-color: rgba(252, 252, 249, 0.08);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(252, 252, 249, 0.04);
    box-shadow: none;
    border: none;
    margin-top: 5px;
    display: none;
  }
  
  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu li a {
    color: rgba(252, 252, 249, 0.8);
  }
  
  .header-ctas {
    display: none; /* Hide on mobile header, integrated in mobile menu and sticky bar */
  }
  
  .mobile-menu-cta {
    display: block !important;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background-color: var(--secondary-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  z-index: 1;
}

/* Najdi geometric element overlay (subtle) */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(214, 168, 95, 0.04) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(214, 168, 95, 0.1);
  border: 1px solid rgba(214, 168, 95, 0.25);
  color: var(--accent-color);
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.hero-title {
  color: var(--bg-white);
  font-size: 3.4rem;
  line-height: 1.25;
  margin-bottom: 20px;
}

.shimmer-text {
  color: var(--accent-color);
  background: linear-gradient(120deg, var(--accent-color) 0%, #FFF5D6 50%, var(--accent-color) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-desc {
  color: rgba(252, 252, 249, 0.75);
  font-size: 1.15rem;
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-ctas-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-indicators {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

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

.hero-trust-item svg {
  color: var(--accent-color);
}

/* Hero Image Column */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(214, 168, 95, 0.2);
  width: 100%;
  aspect-ratio: 16/9;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 20px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(214, 168, 95, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  transition: var(--transition-smooth);
}

.hero-floating-card:hover {
  transform: translateY(-5px);
}

.floating-card-icon {
  background-color: rgba(252, 252, 249, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.5rem;
}

.floating-card-text {
  display: flex;
  flex-direction: column;
}

.floating-card-num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent-color);
}

.floating-card-label {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.8;
}

/* Responsive Hero */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 60px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .hero-floating-card {
    right: 20px;
    bottom: -15px;
  }
}

/* --- TRUST BAR --- */
.trust-bar {
  background-color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
  padding: 24px 0;
  box-shadow: var(--shadow-md);
}

.trust-bar-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.trust-bar-item {
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.trust-bar-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .trust-bar-container {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

/* --- SECTIONS HEADERS --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 40px;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .section-header p {
    font-size: 0.95rem;
  }
}

/* --- SERVICES INTERACTIVE SYSTEM --- */
.services-section {
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(214, 168, 95, 0.3);
}

.service-img-container {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--secondary-color);
}

.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-img-container img {
  transform: scale(1.08);
}

.service-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.service-card:hover .service-content h3 {
  color: var(--accent-color);
}

.service-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* --- MOBILE SPECIFIC SERVICES INTERACTION --- */
/* A vertical expansion rail for services on mobile instead of just standard cards */
.mobile-services-accordion {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.mobile-service-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color-light);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.mobile-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  background-color: var(--bg-white);
}

.mobile-service-title {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-service-arrow {
  font-size: 0.8rem;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.mobile-service-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
  padding: 0 20px;
}

.mobile-service-item.active {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.mobile-service-item.active .mobile-service-header {
  background-color: rgba(18, 60, 50, 0.02);
}

.mobile-service-item.active .mobile-service-arrow {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.mobile-service-item.active .mobile-service-content {
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  /* On mobile viewports we toggle between showing grid or accordion based on configuration */
  .services-grid-wrapper {
    display: none;
  }
  .mobile-services-accordion {
    display: flex;
  }
}

/* --- PROCESS TIMELINE SECTION --- */
.timeline-section {
  position: relative;
  background-color: var(--bg-white);
}

.timeline-container {
  position: relative;
  margin-top: 60px;
  padding: 20px 0;
}

/* The animated timeline line */
.timeline-line {
  position: absolute;
  top: 45px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--border-color-light);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  right: 0; /* Align right for RTL progress */
  height: 100%;
  width: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease-out;
}

.timeline-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  list-style: none;
}

.timeline-step {
  width: 18%;
  text-align: center;
}

.timeline-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 3px solid var(--border-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.timeline-step.completed .timeline-icon-box {
  border-color: var(--accent-color);
  background-color: var(--primary-color);
  color: var(--accent-color);
  box-shadow: 0 0 15px rgba(214, 168, 95, 0.4);
}

.timeline-step h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Vertical Timeline for Mobile */
@media (max-width: 991px) {
  .timeline-line {
    top: 0;
    bottom: 0;
    right: 44px; /* Align line at the icon column in RTL */
    left: auto;
    width: 4px;
    height: 100%;
  }
  
  .timeline-progress {
    width: 100%;
    height: 0;
    top: 0;
    right: 0;
    transition: height 0.3s ease-out;
  }
  
  .timeline-steps {
    flex-direction: column;
    gap: 40px;
  }
  
  .timeline-step {
    width: 100%;
    display: flex;
    text-align: right;
    align-items: flex-start;
    gap: 20px;
  }
  
  .timeline-icon-box {
    margin: 0;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
  
  .timeline-content-box {
    padding-top: 8px;
  }
}

/* --- BEFORE & AFTER STORYTELLING --- */
.story-section {
  background-color: var(--bg-light);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.story-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.story-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.story-card.before .story-badge {
  background-color: rgba(18, 60, 50, 0.08);
  color: var(--primary-color);
}

.story-card.during .story-badge {
  background-color: rgba(214, 168, 95, 0.15);
  color: var(--secondary-color);
  border: 1px solid rgba(214, 168, 95, 0.3);
}

.story-card.after .story-badge {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--success);
}

.story-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.story-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- FAQ ACCORDION SECTION --- */
.faq-section {
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color-light);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.2rem;
  font-weight: 400;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0 30px;
}

.faq-answer p {
  padding-bottom: 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active {
  background-color: var(--bg-white);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--accent-color);
}

/* --- CONTACT & QUOTE FORM --- */
.quote-section {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  position: relative;
  z-index: 1;
}

.quote-section::before {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(214, 168, 95, 0.05) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

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

.quote-info-col h2 {
  color: var(--bg-white);
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.quote-info-col p {
  color: rgba(252, 252, 249, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.quote-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.quote-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 1rem;
}

.quote-feature-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(214, 168, 95, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

/* Form Container */
.quote-form-container {
  background-color: rgba(252, 252, 249, 0.03);
  border: 1px solid rgba(252, 252, 249, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.quote-form-title {
  font-size: 1.6rem;
  color: var(--bg-white);
  margin-bottom: 8px;
}

.quote-form-subtitle {
  font-size: 0.9rem;
  color: rgba(252, 252, 249, 0.6);
  margin-bottom: 30px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(252, 252, 249, 0.9);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background-color: rgba(252, 252, 249, 0.05);
  border: 1px solid rgba(252, 252, 249, 0.15);
  color: var(--bg-white);
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-control:focus {
  background-color: rgba(252, 252, 249, 0.08);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(214, 168, 95, 0.15);
}

select.form-control option {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.quote-form-container .btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

@media (max-width: 991px) {
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .quote-form-container {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* --- DISTRICTS DIRECTORY --- */
.districts-section {
  background-color: var(--bg-white);
}

.districts-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.district-col {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color-light);
  padding: 30px;
  transition: var(--transition-smooth);
}

.district-col:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.district-col-title {
  font-size: 1.25rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.district-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.district-link-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.district-link-item a::before {
  content: '←';
  color: var(--accent-color);
  transition: var(--transition-fast);
}

.district-link-item a:hover {
  color: var(--primary-color);
}

.district-link-item a:hover::before {
  transform: translateX(-4px);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  padding: 80px 0 40px;
  border-top: 3px solid var(--accent-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info p {
  color: rgba(252, 252, 249, 0.7);
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-tagline {
  display: block;
  font-style: italic;
  font-weight: 700;
  color: var(--accent-color);
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.2rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  color: rgba(252, 252, 249, 0.7);
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-link-item a:hover {
  color: var(--accent-color);
  padding-right: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item svg {
  color: var(--accent-color);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-text {
  font-size: 0.9rem;
  color: rgba(252, 252, 249, 0.75);
}

.footer-contact-text strong {
  color: var(--bg-white);
}

.footer-contact-text a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(252, 252, 249, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(252, 252, 249, 0.5);
}

.footer-credit-link {
  color: var(--accent-color);
  font-weight: 700;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- MOBILE STICKY FLOATING ACTION DOCK --- */
.bottom-sticky-cta-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: none; /* Only show on mobile */
  flex-direction: column;
}

.bottom-sticky-offer {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  text-align: center;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(252, 252, 249, 0.2);
}

.bottom-sticky-cta {
  display: flex;
  background-color: rgba(18, 24, 22, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(214, 168, 95, 0.2);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}

.bottom-cta-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: var(--border-radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bg-white);
  transition: var(--transition-fast);
}

.bottom-cta-call {
  background-color: var(--primary-color);
  border: 1px solid rgba(214, 168, 95, 0.3);
  margin-left: 8px;
}

.bottom-cta-call:active {
  background-color: var(--primary-hover);
}

.bottom-cta-whatsapp {
  background-color: #25D366;
  margin-left: 8px;
}

.bottom-cta-whatsapp:active {
  background-color: #20BA5A;
}

.bottom-cta-quote {
  background-color: rgba(252, 252, 249, 0.08);
  border: 1px solid rgba(252, 252, 249, 0.15);
}

.bottom-cta-quote:active {
  background-color: rgba(252, 252, 249, 0.15);
}

@media (max-width: 768px) {
  .bottom-sticky-cta-wrapper {
    display: flex;
  }
  
  /* Add padding to body to prevent content from being covered by the floating bar */
  body {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }
}

/* --- BACK TO TOP & DESKTOP FLOATS --- */
.floating-ctas {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 998;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.float-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

.float-call {
  background-color: var(--primary-color);
  border: 2px solid var(--accent-color);
}

.float-whatsapp {
  background-color: #25D366;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .floating-ctas {
    display: none; /* Hidden on mobile in favor of sticky bottom dock */
  }
  
  #backToTop {
    bottom: 95px; /* Shift up above the sticky action dock */
    right: 15px;
    width: 40px;
    height: 40px;
  }
}

/* --- BREADCRUMBS --- */
.breadcrumbs-wrapper {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color-light);
  padding: 14px 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.breadcrumbs a {
  color: var(--primary-color);
}

.breadcrumbs a:hover {
  color: var(--accent-color);
}

.breadcrumbs .separator {
  color: var(--text-muted);
}

.breadcrumbs .current {
  color: var(--text-muted);
}

/* --- TESTIMONIALS SLIDER --- */
.testimonials-section {
  background-color: var(--bg-white);
  overflow: hidden;
}

.testimonials-slider-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 10px;
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
  cursor: grab;
}

.testimonials-track:active {
  cursor: grabbing;
}

.testimonial-card {
  flex: 0 0 calc(100% - 20px);
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color-light);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-user-info h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.testimonial-user-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.testimonial-rating {
  color: var(--accent-color);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-content {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--accent-color);
  width: 25px;
  border-radius: 5px;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: var(--secondary-color);
  color: var(--bg-white);
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--accent-color);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1001;
}

.toast-msg.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* --- TEXT HIGHLIGHTS & HELPER CLASSES --- */
.txt-primary-bold {
  color: var(--primary-color);
  font-weight: 800;
}

.txt-accent-bold {
  color: var(--accent-color);
  font-weight: 800;
  border-bottom: 2px dashed rgba(214, 168, 95, 0.4);
  padding-bottom: 1px;
}

.badge-highlight {
  background-color: var(--primary-soft);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
}

.card-elevated-highlight {
  background-color: var(--bg-white);
  border: 1px solid var(--accent-color) !important;
  box-shadow: var(--shadow-md) !important;
}

.interactive-highlight-word {
  position: relative;
  cursor: help;
}

.interactive-highlight-word::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: var(--transition-fast);
}

.interactive-highlight-word:hover::after {
  transform: scaleX(1);
}

.hero-floating-review {
  transition: var(--transition-smooth);
}

.hero-floating-review:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

