/* ===================================================
   فن الحدائق — styles.css
   Mobile-First | RTL | Arabic
=================================================== */

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

:root {
  --green:       #2d7a3a;
  --green-light: #4caf50;
  --green-dark:  #1b5e20;
  --gold:        #c9a84c;
  --gold-light:  #f0d080;
  --dark:        #111714;
  --dark-2:      #1c2520;
  --gray:        #6b7280;
  --gray-light:  #f4f6f4;
  --white:       #ffffff;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.18);
  --transition:  0.3s ease;
  --font:        'Cairo', sans-serif;
  --nav-h:       68px;
}

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }

/* ===== UTILITY ===== */
.section { padding: 64px 0; }

.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(45,122,58,0.10);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--gray);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background var(--transition), border-color var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25d366;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-call:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-whatsapp-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25d366;
  color: var(--white);
  padding: 9px 18px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background var(--transition);
}
.btn-whatsapp-sm:hover { background: #1ebe5d; }

.btn-call-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background var(--transition);
}
.btn-call-sm:hover { background: var(--green-dark); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(17, 23, 20, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

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

.nav-cta {
  display: none;
  align-items: center;
  gap: 10px;
}

.btn-whatsapp-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25d366;
  color: var(--white);
  padding: 9px 20px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

.btn-whatsapp-nav:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.btn-call-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--white);
  padding: 9px 20px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-call-nav:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(17,23,20,0.98);
  backdrop-filter: blur(16px);
  padding: 16px 20px 24px;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}

.mobile-link:hover { color: var(--green-light); }

.mobile-cta-group {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.mobile-cta-group .btn-whatsapp,
.mobile-cta-group .btn-call {
  flex: 1;
  justify-content: center;
  min-width: 130px;
  padding: 13px 16px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,20,12,0.55) 0%,
    rgba(10,20,12,0.35) 50%,
    rgba(10,20,12,0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  padding-top: var(--nav-h);
}

.hero-subtitle {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 4px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark-2);
  padding: 28px 20px;
}

.stats-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 28px;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: var(--gray-light);
}

/* Filters */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--white);
  color: var(--gray);
  border: 1.5px solid #e0e0e0;
  padding: 9px 20px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.filter-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,12,0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 14px;
  gap: 8px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-cat {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--green);
  padding: 4px 12px;
  border-radius: 50px;
}

.gallery-zoom {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition);
}

.gallery-zoom:hover {
  background: rgba(255,255,255,0.4);
}

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

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

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

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

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

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

.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.3); }

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ===== SERVICES SECTION ===== */
.services-section {
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #e8f5e9;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.06);
}

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.service-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.service-body p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== WHY US ===== */
.why-section {
  background: var(--gray-light);
  padding: 64px 0;
}

.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.why-text .section-title {
  text-align: right;
  margin-bottom: 16px;
}

.why-text > p {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 0.97rem;
}

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

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--dark);
  font-weight: 500;
}

.why-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}

.why-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.why-img-top,
.why-img-bottom {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-img-top { margin-top: 0; }
.why-img-bottom { margin-top: 24px; }

.why-img-top img,
.why-img-bottom img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.why-img-top:hover img,
.why-img-bottom:hover img {
  transform: scale(1.04);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.contact-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

.cta-box {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.cta-box > p {
  color: rgba(255,255,255,0.65);
  font-size: 0.93rem;
  margin-bottom: 8px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.cta-btns .btn-whatsapp,
.cta-btns .btn-call {
  flex: 1;
  justify-content: center;
  min-width: 140px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo .logo-text {
  color: var(--white);
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}

.footer-links-col h4,
.footer-services-col h4,
.footer-contact-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links-col ul,
.footer-services-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links-col ul a:hover { color: var(--green-light); }

.footer-services-col ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-location,
.footer-hours {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ===== FLOATING WHATSAPP ===== */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: #25d366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

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

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

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

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

/* ===== RESPONSIVE — TABLET (≥640px) ===== */
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

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

  .stats-container {
    flex-wrap: nowrap;
  }

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

/* ===== RESPONSIVE — DESKTOP (≥1024px) ===== */
@media (min-width: 1024px) {
  .nav-links    { display: flex; }
  .nav-cta      { display: flex; }
  .hamburger    { display: none; }
  .mobile-menu  { display: none !important; }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

/* ===== RESPONSIVE — LARGE (≥1280px) ===== */
@media (min-width: 1280px) {
  .section { padding: 80px 0; }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== PREVENT HORIZONTAL OVERFLOW ===== */
@media (max-width: 639px) {
  .stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 16px 12px;
  }

  .cta-btns {
    flex-direction: column;
  }

  .cta-btns .btn-whatsapp,
  .cta-btns .btn-call {
    width: 100%;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ===== ACTIVE NAV LINK ===== */
.nav-links a.active-link {
  color: var(--green-light);
}
.nav-links a.active-link::after {
  width: 100%;
}

/* ===== GALLERY ITEM ANIMATION on filter ===== */
@keyframes galleryFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.gallery-item:not(.hidden) {
  animation: galleryFadeIn 0.35s ease forwards;
}
