/* =========================================================
   روعه المدينة — تنسيق حدائق | style.css
   ========================================================= */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --green-900: #0d2b1a;
  --green-800: #134d2e;
  --green-700: #1a6b3c;
  --green-600: #206b3c;
  --green-500: #2d8a52;
  --green-400: #3da866;
  --green-100: #e8f5ee;
  --green-50:  #f0faf4;
  --gold-700:  #8b6914;
  --gold-600:  #b8860b;
  --gold-500:  #c9961a;
  --gold-400:  #d4a82a;
  --gold-300:  #e8c45a;
  --gold-100:  #fdf6e3;
  --gray-900:  #111827;
  --gray-800:  #1f2937;
  --gray-700:  #374151;
  --gray-600:  #4b5563;
  --gray-500:  #6b7280;
  --gray-400:  #9ca3af;
  --gray-300:  #d1d5db;
  --gray-200:  #e5e7eb;
  --gray-100:  #f3f4f6;
  --gray-50:   #f9fafb;
  --white:     #ffffff;
  --font-body:    'Tajawal', 'Segoe UI', sans-serif;
  --font-display: 'Amiri', 'Georgia', serif;
  --section-py: clamp(4rem, 8vw, 7rem);
  --container:  1200px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.18);
  --shadow-green: 0 8px 32px rgba(29,107,60,.20);
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --dur: .35s;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; color: inherit; transition: color var(--dur) var(--ease); }
ul    { list-style: none; }
button { cursor: pointer; font-family: inherit; }
address { font-style: normal; }

/* ── Utilities ──────────────────────────────────────────── */
.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-100);
  border: 1px solid var(--gold-300);
  padding: .3rem .9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 540px;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius-full);
  font-size: .95rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: 2px solid transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(29,107,60,.30);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Fade-in ─────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .7rem 0;
  box-shadow: 0 1px 0 var(--gray-200), var(--shadow-sm);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  transition: color var(--dur) var(--ease);
  flex-shrink: 0;
}
.navbar.scrolled .nav-logo { color: var(--green-800); }
.logo-icon { font-size: 1.4rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  padding: .45rem .85rem;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: all var(--dur) var(--ease);
}
.navbar.scrolled .nav-link { color: var(--gray-700); }
.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,.2);
  color: var(--white);
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  background: var(--green-50);
  color: var(--green-700);
}
.nav-cta {
  background: var(--gold-600);
  color: var(--white);
  border: none;
  padding: .55rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: .88rem;
  font-weight: 700;
  transition: all var(--dur) var(--ease);
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--gold-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(185,134,11,.35);
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: .4rem;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  transform-origin: center;
}
.navbar.scrolled .hamburger span { background: var(--gray-800); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.mobile-overlay.visible { opacity: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.03);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.10); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,43,26,.82) 0%, rgba(13,43,26,.55) 50%, rgba(13,43,26,.40) 100%);
}
.hero-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(212,168,42,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45,138,82,.15) 0%, transparent 50%);
}
.hero-pattern::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,.018) 40px, rgba(255,255,255,.018) 41px),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,.018) 40px, rgba(255,255,255,.018) 41px);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
  padding-top: 7rem; padding-bottom: 5rem;
  animation: heroFadeUp .9s var(--ease) .2s both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(212,168,42,.18);
  border: 1px solid rgba(212,168,42,.40);
  color: var(--gold-300);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero-title em { font-style: normal; color: var(--gold-300); display: block; }
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.2rem 2rem;
  width: fit-content;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 1.5rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--gold-300); line-height: 1;
}
.stat-label { font-size: .78rem; color: rgba(255,255,255,.75); margin-top: .2rem; white-space: nowrap; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .08em;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-line { display: block; width: 1px; height: 36px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.7)); }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(8px); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: var(--section-py) 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-images { position: relative; height: 520px; }
.about-img-main {
  position: absolute; top: 0; right: 0;
  width: 80%; height: 75%;
  border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-img-main:hover img { transform: scale(1.04); }
.about-img-accent {
  position: absolute; bottom: 0; left: 0;
  width: 55%; height: 50%;
  border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-img-accent:hover img { transform: scale(1.04); }
.about-badge-box {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(13,43,26,.85) 0%, transparent 60%);
  color: var(--white); text-align: center;
}
.badge-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold-300); line-height: 1; }
.badge-txt { font-size: .75rem; opacity: .9; margin-top: .2rem; }
.about-images::before {
  content: ''; position: absolute;
  top: -20px; left: -20px;
  width: 120px; height: 120px;
  background: var(--green-50); border-radius: 50%; z-index: -1;
}
.about-images::after {
  content: ''; position: absolute;
  bottom: 20px; right: -24px;
  width: 80px; height: 80px;
  background: var(--gold-100); border-radius: 50%; z-index: -1;
}
.about-content { padding-inline-start: 1rem; }
.about-lead { font-size: 1.1rem; font-weight: 500; color: var(--gray-800); margin-bottom: 1rem; line-height: 1.75; }
.about-body  { font-size: .97rem; color: var(--gray-600); margin-bottom: 2rem; line-height: 1.8; }
.about-pillars { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.pillar {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--gray-50); border-radius: var(--radius-md);
  border-inline-start: 3px solid var(--green-600);
  transition: all var(--dur) var(--ease);
}
.pillar:hover { background: var(--green-50); transform: translateX(-4px); }
.pillar-icon  { font-size: 1.5rem; flex-shrink: 0; }
.pillar-title { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: .2rem; }
.pillar-text  { font-size: .85rem; color: var(--gray-600); line-height: 1.6; }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  padding: var(--section-py) 0;
  background: var(--green-900);
  position: relative;
  overflow: hidden;
}
.services-bg-decor {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(45,138,82,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(212,168,42,.15) 0%, transparent 50%);
}
.services-bg-decor::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(60deg, transparent, transparent 60px, rgba(255,255,255,.02) 60px, rgba(255,255,255,.02) 61px);
}
.services .section-label   { background: rgba(212,168,42,.15); border-color: rgba(212,168,42,.35); color: var(--gold-300); }
.services .section-title   { color: var(--white); }
.services .section-subtitle { color: rgba(255,255,255,.65); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  position: relative;
  z-index: 1;
}

/* ── Service Card ── */
.service-card {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  cursor: default;
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(212,168,42,.40);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  outline: none;
}

/* Card image */
.card-img-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}
.card-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .65s var(--ease);
}
.service-card:hover .card-img { transform: scale(1.08); }
.card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,43,26,.20) 0%, rgba(13,43,26,.55) 100%);
  transition: background var(--dur) var(--ease);
}
.service-card:hover .card-img-overlay {
  background: linear-gradient(to bottom, rgba(13,43,26,.10) 0%, rgba(13,43,26,.65) 100%);
}

/* Icon badge on image */
.card-badge {
  position: absolute; top: 1rem; inset-inline-end: 1rem;
  width: 48px; height: 48px;
  background: rgba(13,43,26,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease-bounce);
}
.service-card:hover .card-badge {
  background: var(--green-700);
  border-color: var(--green-600);
  transform: scale(1.12) rotate(-4deg);
}
.card-icon { font-size: 1.4rem; line-height: 1; }

/* Tag pill on image */
.card-tag {
  position: absolute; bottom: .85rem; inset-inline-start: 1rem;
  background: rgba(212,168,42,.22);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,168,42,.35);
  color: var(--gold-300);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  padding: .28rem .75rem;
  border-radius: var(--radius-full);
}

/* Card body */
.card-body {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex; flex-direction: column; flex: 1;
}
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; line-height: 1.35; }
.card-desc  { font-size: .86rem; color: rgba(255,255,255,.58); line-height: 1.75; margin-bottom: 1.4rem; flex: 1; }
.card-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--gold-400); font-size: .88rem; font-weight: 700;
  padding-bottom: .15rem;
  border-bottom: 1.5px solid transparent;
  width: fit-content;
  transition: all var(--dur) var(--ease);
}
.card-cta:hover { color: var(--gold-300); border-bottom-color: var(--gold-400); gap: .7rem; }
.card-arrow-icon { font-size: 1rem; transition: transform var(--dur) var(--ease); display: inline-block; }
.card-cta:hover .card-arrow-icon { transform: translateX(-4px); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { padding: var(--section-py) 0; background: var(--gray-50); }
.gallery-filter {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600); font-size: .88rem; font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--green-600); color: var(--green-700); background: var(--green-50); }
.filter-btn.active { background: var(--green-700); border-color: var(--green-700); color: var(--white); box-shadow: var(--shadow-green); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: .9rem;
}
.gallery-item {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--dur) var(--ease);
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,43,26,.85) 0%, rgba(13,43,26,.20) 60%, transparent 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.gallery-zoom {
  font-size: 1.8rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .6rem;
  transform: scale(.7); transition: transform var(--dur) var(--ease-bounce);
}
.gallery-caption {
  color: var(--white); font-size: .82rem; font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  transform: translateY(10px); transition: transform var(--dur) var(--ease);
}
.gallery-item:hover .gallery-img      { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay  { opacity: 1; }
.gallery-item:hover .gallery-zoom     { transform: scale(1); }
.gallery-item:hover .gallery-caption  { transform: translateY(0); }
.gallery-item.hidden { display: block; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.92); backdrop-filter: blur(8px); }
.lightbox-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 1.5rem;
  max-width: 90vw; max-height: 90vh; padding: 1rem;
  animation: lightboxIn .3s var(--ease-bounce);
}
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-img-wrap { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.lightbox-img { max-width: 80vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.lightbox-caption { color: rgba(255,255,255,.75); font-size: .9rem; text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: all var(--dur) var(--ease); flex-shrink: 0;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-close { position: absolute; top: -10px; inset-inline-start: -10px; width: 40px; height: 40px; font-size: 1rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: var(--section-py) 0;
  background: var(--white);
  position: relative;
}
.contact::before {
  content: ''; position: absolute; top: 0; inset-inline-start: 0;
  width: 100%; height: 4px;
  background: linear-gradient(to left, var(--green-700), var(--gold-500), var(--green-700));
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.info-title { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.8rem; }
.info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.info-item:last-of-type { border-bottom: none; }
.info-icon {
  font-size: 1.3rem; width: 44px; height: 44px;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .1rem;
}
.info-label { display: block; font-size: .75rem; font-weight: 600; color: var(--gray-500); letter-spacing: .05em; margin-bottom: .15rem; }
.info-value { display: block; font-size: .95rem; color: var(--gray-800); font-weight: 500; }
.info-value:hover { color: var(--green-700); }
.social-links { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--gray-100); border-radius: var(--radius-md);
  color: var(--gray-600); transition: all var(--dur) var(--ease);
}
.social-link:hover { background: var(--green-700); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-green); }
.contact-form-wrap {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 2.5rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-700); margin-bottom: .5rem; }
.form-label span { color: var(--green-600); }
.form-input {
  width: 100%; padding: .85rem 1.1rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  background: var(--white); font-size: .93rem; font-family: var(--font-body);
  color: var(--gray-800); direction: rtl; text-align: right;
  transition: all var(--dur) var(--ease); outline: none;
}
.form-input::placeholder { color: var(--gray-400); }
.form-input:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(32,107,60,.10); }
.form-input.error { border-color: #e53e3e; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 1rem center;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-error { display: block; font-size: .78rem; color: #e53e3e; margin-top: .35rem; min-height: 1em; }
.form-success {
  margin-top: 1rem; padding: 1rem 1.2rem;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius-md); color: var(--green-800);
  font-size: .9rem; font-weight: 500; text-align: center;
}
.form-success[hidden] { display: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--green-900); color: rgba(255,255,255,.75); }
.footer-top { padding: 4rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-logo { color: var(--white); }
.footer-logo .logo-text { color: var(--white); }
.footer-tagline { font-size: .9rem; margin-top: 1rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 260px; }
.footer-heading { font-size: .88rem; font-weight: 700; color: var(--white); letter-spacing: .05em; margin-bottom: 1.2rem; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.55); transition: color var(--dur) var(--ease); }
.footer-links a:hover { color: var(--gold-300); }
.footer-contact p { font-size: .88rem; color: rgba(255,255,255,.55); margin-bottom: .65rem; }
.footer-contact a:hover { color: var(--gold-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex; }
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.40); }
.footer-made { color: rgba(255,255,255,.50); }

/* =========================================================
   BACK TO TOP / QUICK ACTIONS
   ========================================================= */
.fixed-actions {
  position: fixed; inset-inline-start: 2rem; bottom: 2rem;
  z-index: 800; display: flex; flex-direction: column;
  gap: .75rem; align-items: center;
  opacity: 1; transform: translateY(0);
  transition: all var(--dur) var(--ease);
  pointer-events: auto;
}
.fixed-actions > * {
  width: 48px; height: 48px;
}
.phone-btn,
.whatsapp-btn,
.back-to-top {
  width: 48px; height: 48px;
  border-radius: 50%; background: var(--green-700); color: var(--white);
  border: none; cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center;
  text-decoration: none; box-shadow: var(--shadow-green);
  transition: all var(--dur) var(--ease);
}
.phone-btn:hover,
.whatsapp-btn:hover,
.back-to-top:hover {
  background: var(--green-800); transform: translateY(-3px);
}
.back-to-top { font-size: 1.2rem; }
.back-to-top.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

/* =========================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .card-img-wrap { height: 190px; }
  .about-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-images  { height: 380px; max-width: 480px; margin-inline: auto; }
  .contact-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ========================================================= */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; inset-inline-end: 0;
    width: min(300px, 85vw); height: 100vh;
    background: var(--white); flex-direction: column;
    align-items: flex-start; padding: 6rem 2rem 2rem;
    gap: .4rem; box-shadow: var(--shadow-xl);
    transform: translateX(200%);
    transition: transform var(--dur) var(--ease);
    z-index: 1001; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { color: var(--gray-700); width: 100%; padding: .75rem 1rem; font-size: 1rem; }
  .nav-link:hover, .nav-link.active { background: var(--green-50); color: var(--green-700); }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-overlay { display: block; pointer-events: none; }
  .mobile-overlay.visible { pointer-events: auto; }
  .hero-title    { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-subtitle { font-size: .95rem; }
  .hero-stats    { padding: 1rem 1.2rem; width: 100%; justify-content: space-around; }
  .stat  { padding: 0 .75rem; }
  .stat-num { font-size: 1.4rem; }
  .about-images  { height: 300px; }
  .services-grid { grid-template-columns: 1fr; }
  .card-img-wrap { height: 220px; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.2rem; }
  .lightbox-img  { max-width: 92vw; max-height: 70vh; }
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ========================================================= */
@media (max-width: 480px) {
  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .btn { padding: .75rem 1.6rem; }
  .hero-stats    { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.2rem 1.5rem; }
  .stat-divider  { width: 40px; height: 1px; }
  .stat { padding: 0; flex-direction: row; gap: .75rem; align-items: center; }
  .stat-num { font-size: 1.3rem; }
  .gallery-grid  { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item--wide { grid-column: span 1; }
  .contact-form-wrap { padding: 1.5rem; }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .navbar, .back-to-top, .hero-scroll { display: none; }
  .hero { min-height: auto; padding: 2rem; }
  .hero-bg { position: static; }
  .hero-overlay { display: none; }
}

@media (max-width: 768px) {
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
  .about-img-main{
    position: static;
  }
}