/* ==========================================================================
   RITEJ — ريتاج الخضراء للخدمات
   Luxury Corporate Master Stylesheet
   Bilingual Arabic (RTL) & English (LTR)
   ========================================================================== */

/* --- 1. CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Palette */
  --c-forest-900: #0B1910;
  --c-forest-800: #112619;
  --c-forest-700: #183824;
  --c-forest-600: #224D33;
  --c-primary: #2A6640;     /* Core Green matching RITEJ typography */
  --c-primary-light: #378553;
  --c-leaf: #6FA42F;        /* Leaf Accent matching Arabic monogram */
  --c-leaf-light: #84C239;
  --c-leaf-dim: rgba(111, 164, 47, 0.15);
  
  /* Luxury Accents */
  --c-gold: #C5A059;        /* Warm Champagne Gold */
  --c-gold-light: #E2CD9E;
  --c-gold-dark: #9C7836;
  --c-gold-dim: rgba(197, 160, 89, 0.12);
  --c-gold-glow: rgba(197, 160, 89, 0.25);

  /* Backgrounds & Surfaces */
  --bg-page: #FAFBF7;       /* Refined Alabaster Ivory */
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F3F5ED;
  --bg-surface-muted: #EAEFE4;
  --bg-dark-section: #0D1C12;
  --bg-dark-card: #14281C;
  --bg-dark-card-hover: #1A3425;

  /* Text Colors */
  --text-dark: #121E16;
  --text-body: #3E4D43;
  --text-muted: #6B7B70;
  --text-light: #FFFFFF;
  --text-light-muted: #D1DDD5;
  --text-gold: #D4B06A;

  /* Borders & Dividers */
  --border-subtle: rgba(34, 77, 51, 0.10);
  --border-light: rgba(34, 77, 51, 0.18);
  --border-gold: rgba(197, 160, 89, 0.35);
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 25, 16, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 25, 16, 0.06);
  --shadow-lg: 0 16px 40px rgba(11, 25, 16, 0.09);
  --shadow-card: 0 10px 30px -8px rgba(11, 25, 16, 0.08);
  --shadow-glow: 0 0 40px rgba(111, 164, 47, 0.18);

  /* Typography */
  --font-ar: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif-en: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-serif-ar: 'Amiri', 'Cairo', serif;

  /* Transitions */
  --t-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --t-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --t-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Header Height */
  --header-h: 84px;
  --header-h-shrink: 70px;
}

/* --- 2. Base Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color var(--t-fast);
}

/* Dynamic Font assignment based on language */
html[lang="en"] body {
  font-family: var(--font-en);
}

html[lang="ar"] body {
  font-family: var(--font-ar);
}

img, svg, picture {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* --- 3. Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] .hero-title {
  font-family: var(--font-en);
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  background-color: var(--c-leaf-dim);
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(111, 164, 47, 0.25);
  margin-bottom: 16px;
  width: fit-content;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--c-leaf);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 48px;
}

.section-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gold-accent {
  color: var(--c-gold);
}

/* --- 4. Luxury Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all var(--t-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-forest-700) 0%, var(--c-primary) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 18px rgba(34, 77, 51, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  box-shadow: 0 6px 24px rgba(34, 77, 51, 0.35);
  transform: translateY(-2px);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #B89248 0%, #D4AF37 50%, #C5A059 100%);
  color: #0B1910;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #C5A059 0%, #E2CD9E 50%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197, 160, 89, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background-color: var(--c-leaf-dim);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--c-gold);
  color: var(--c-gold-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* Subtle ripple shine */
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.btn-shine:hover::after {
  left: 130%;
}

/* --- 5. Header (Sticky & Glassmorphic) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background-color: rgba(250, 251, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: height var(--t-normal), background-color var(--t-normal), box-shadow var(--t-normal);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: var(--header-h-shrink);
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(11, 25, 16, 0.06);
  border-bottom-color: rgba(34, 77, 51, 0.12);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--t-normal), height var(--t-normal);
}

.site-header.scrolled .brand-logo img {
  height: 44px;
}

/* Nav Links Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background-color: var(--c-primary);
  transition: width var(--t-fast);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-primary);
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-primary);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: all var(--t-fast);
}

.lang-switcher-btn:hover {
  background-color: var(--c-leaf-dim);
  border-color: var(--c-leaf);
  color: var(--c-forest-900);
}

.lang-switcher-btn svg {
  width: 16px;
  height: 16px;
}

/* Hamburger Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-dark);
  transition: transform var(--t-fast), opacity var(--t-fast);
  border-radius: 2px;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation & Drawer */
.mobile-nav-overlay {
  display: none;
}

.mobile-nav-drawer {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(11, 25, 16, 0.6);
    backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t-normal), visibility var(--t-normal);
  }

  .mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: min(340px, 85vw);
    background: var(--bg-surface);
    z-index: 999;
    box-shadow: -8px 0 32px rgba(11, 25, 16, 0.15);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--t-normal), visibility var(--t-normal);
    flex-direction: column;
    padding: 32px 24px;
  }

  html[dir="rtl"] .mobile-nav-drawer {
    right: auto;
    left: 0;
    box-shadow: 8px 0 32px rgba(11, 25, 16, 0.15);
    transform: translateX(-100%);
  }

  .mobile-nav-drawer.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  color: var(--text-dark);
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 0;
  display: block;
  border-bottom: 1px dashed var(--border-subtle);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- 6. Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 70px;
  background-color: var(--c-forest-900);
  color: var(--text-light);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 12s ease-out;
  opacity: 0.38;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(34, 77, 51, 0.45) 0%, transparent 60%),
              linear-gradient(180deg, rgba(11, 25, 16, 0.82) 0%, rgba(11, 25, 16, 0.94) 100%);
  z-index: 2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 160, 89, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-gold-light);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-gold);
  padding: 8px 18px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--c-leaf);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c-leaf);
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  color: var(--text-light-muted);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* Hero Pillars Bar */
.hero-pillars-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-pillar-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(111, 164, 47, 0.14);
  border: 1px solid rgba(111, 164, 47, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-leaf-light);
  flex-shrink: 0;
}

.hero-pillar-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.hero-pillar-text p {
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

/* --- 7. About Section --- */
.about-section {
  padding: 110px 0;
  background-color: var(--bg-page);
  position: relative;
}

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

.about-text-col .section-title {
  margin-bottom: 24px;
}

.about-lead {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about-pillar-card {
  background: var(--bg-surface);
  padding: 22px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
  text-align: center;
}

.about-pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.about-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-leaf-dim);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.about-pillar-card:hover .about-pillar-icon {
  background: var(--c-primary);
  color: #fff;
}

.about-pillar-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.about-pillar-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* About Visual Column */
.about-visual-col {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.about-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.about-badge-card {
  position: absolute;
  bottom: 24px;
  inset-inline-start: 24px;
  background: rgba(13, 28, 18, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-width: 260px;
}

.about-badge-card svg {
  width: 32px;
  height: 32px;
  color: var(--c-gold);
  flex-shrink: 0;
}

.about-badge-card h5 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.about-badge-card span {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* --- 8. Services Section --- */
.services-section {
  padding: 110px 0;
  background-color: var(--bg-surface-alt);
  position: relative;
}

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

.service-card {
  background: var(--bg-surface);
  border-radius: 16px;
  padding: 36px 30px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-leaf), var(--c-gold));
  opacity: 0;
  transition: opacity var(--t-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(197, 160, 89, 0.4);
}

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

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--c-leaf-dim);
  border: 1px solid rgba(111, 164, 47, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  transition: all var(--t-normal);
}

.service-card:hover .service-icon-box {
  background: var(--c-primary);
  color: #fff;
  transform: scale(1.08);
}

.service-code {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-gold-dark);
  background: var(--c-gold-dim);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-tagline {
  font-size: 0.88rem;
  color: var(--c-primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  margin-top: auto;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-body);
}

.service-features svg {
  width: 16px;
  height: 16px;
  color: var(--c-leaf);
  flex-shrink: 0;
}

.service-card-action {
  padding-top: 20px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-primary);
  transition: gap var(--t-fast), color var(--t-fast);
}

.service-link-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast);
}

html[dir="rtl"] .service-link-btn svg {
  transform: rotate(180deg);
}

.service-card:hover .service-link-btn {
  color: var(--c-forest-900);
}

/* Notice box */
.services-footer-notice {
  margin-top: 48px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- 9. Why Us Section --- */
.why-section {
  padding: 110px 0;
  background-color: var(--bg-dark-section);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(111, 164, 47, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.why-section .section-title {
  color: #FFFFFF;
}

.why-section .section-subtitle {
  color: var(--text-light-muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}

.why-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all var(--t-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  background: var(--bg-dark-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.why-num {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.85;
}

.why-title {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.7;
}

/* --- 10. Process Section --- */
.process-section {
  padding: 110px 0;
  background-color: var(--bg-page);
  position: relative;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-leaf), var(--c-gold));
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-step-node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--c-primary);
  box-shadow: 0 0 0 6px var(--bg-page), var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-primary);
  transition: all var(--t-normal);
}

.process-step:hover .process-step-node {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-gold);
  transform: scale(1.1);
  box-shadow: 0 0 0 6px var(--bg-page), 0 8px 24px rgba(42, 102, 64, 0.3);
}

.process-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- 11. Contact Section --- */
.contact-section {
  padding: 110px 0;
  background-color: var(--bg-surface-alt);
  position: relative;
}

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

/* Contact Info Column */
.contact-info-card {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.contact-info-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-surface-alt);
  transition: all var(--t-fast);
}

.contact-channel-item:hover {
  background: var(--c-leaf-dim);
  transform: translateX(-4px);
}

html[dir="ltr"] .contact-channel-item:hover {
  transform: translateX(4px);
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-text {
  flex: 1;
}

.contact-channel-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
}

.contact-channel-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  direction: ltr;
  display: inline-block;
}

.contact-channel-address {
  direction: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Quick Action Buttons */
.contact-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  transition: all var(--t-fast);
  border: 1px solid var(--border-light);
}

.quick-action-btn.call {
  background: #EAF4EE;
  color: #1A5E33;
  border-color: rgba(26, 94, 51, 0.2);
}

.quick-action-btn.call:hover {
  background: #1A5E33;
  color: #fff;
}

.quick-action-btn.wa {
  background: #E8F7EE;
  color: #128C7E;
  border-color: rgba(18, 140, 126, 0.25);
}

.quick-action-btn.wa:hover {
  background: #25D366;
  color: #fff;
}

.quick-action-btn.mail {
  background: #FDF4E5;
  color: #9C7836;
  border-color: rgba(197, 160, 89, 0.3);
}

.quick-action-btn.mail:hover {
  background: #C5A059;
  color: #fff;
}

/* Contact Form Column */
.contact-form-card {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-page);
  color: var(--text-dark);
  font-family: inherit;
  transition: all var(--t-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--c-leaf-dim);
}

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

.form-alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}

.form-alert.success {
  background: #EAF7EE;
  color: #146C38;
  border: 1px solid #B8E4C5;
  display: block;
}

.form-alert.error {
  background: #FDF2F2;
  color: #B91C1C;
  border: 1px solid #FCA5A5;
  display: block;
}

/* Map Card */
.map-container {
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  height: 320px;
  background: var(--bg-surface-alt);
}

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

/* --- 12. Footer --- */
.site-footer {
  background-color: var(--c-forest-900);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

/* Signature Document Curved Wave */
.footer-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
}

.footer-wave-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 36px;
}

.footer-wave-top .shape-fill {
  fill: var(--bg-surface-alt);
}

.footer-content {
  padding-bottom: 60px;
}

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

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 32px;
  height: 2px;
  background-color: var(--c-gold);
}

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

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  transition: all var(--t-fast);
}

.footer-links a:hover {
  color: var(--c-gold-light);
  padding-inline-start: 6px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--c-leaf-light);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Bottom Sweep & Copyright */
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #08120B;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--c-gold);
}

/* --- 13. Floating Elements --- */
/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--t-normal);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #fff;
}

/* Pulse animation */
.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  inset-inline-start: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--c-forest-900);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 940;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-normal);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* --- 14. Modals --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 25, 16, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-normal);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  padding: 36px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--t-normal);
}

.modal-overlay.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.modal-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.modal-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* --- 15. Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- 16. Responsive Media Queries --- */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image-wrapper img {
    height: 380px;
  }
  
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: calc(var(--header-h) + 20px);
    text-align: center;
  }
  
  .hero-content {
    margin-inline: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-pillars-bar {
    grid-template-columns: 1fr;
    text-align: start;
  }
  
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .floating-whatsapp span {
    display: none;
  }
  
  .floating-whatsapp {
    padding: 14px;
    border-radius: 50%;
  }
}

@media (max-width: 414px) {
  .brand-logo img {
    height: 42px;
  }
  
  .btn {
    width: 100%;
  }
  
  .contact-quick-actions {
    grid-template-columns: 1fr;
  }
}
