:root {
  --bg: #f8f5f1;
  --card: #ffffff;
  --primary: #6b8e23;
  --primary-dark: #55721c;
  --wa: #1fad5c;
  --wa-dark: #15974d;
  --secondary: #d2b48c;
  --accent: #8a5a44;
  --text: #282828;
  --muted: #6c6c6c;
  --shadow: 0 16px 40px rgba(40, 40, 40, 0.08);
  --shadow-soft: 0 10px 24px rgba(40, 40, 40, 0.06);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1240px;
  --font-body:
    "Tajawal", "Cairo", "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-heading: "Alexandria", "Tajawal", "Cairo", sans-serif;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}

@keyframes heroFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-25px, 20px) scale(1.08);
  }
  66% {
    transform: translate(15px, -25px) scale(0.92);
  }
}

@keyframes heroFloat3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -15px) scale(1.03);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><path d='M0 90 L90 0 L180 90 L90 180 Z' fill='none' stroke='%236B8E23' stroke-width='1'/><circle cx='90' cy='90' r='6' fill='%23D2B48C'/></svg>");
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

section {
  padding: 80px 0;
  scroll-margin-top: 120px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  min-height: 48px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.chip:focus-visible,
.slider-btn:focus-visible,
.dot:focus-visible {
  outline: 3px solid rgba(107, 142, 35, 0.35);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(107, 142, 35, 0.25);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 142, 35, 0.35);
}

.btn-outline {
  border-color: var(--secondary);
  border-width: 2px;
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(210, 180, 140, 0.3);
}

.btn-ghost {
  background: rgba(210, 180, 140, 0.15);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(210, 180, 140, 0.3);
  transform: translateY(-1px);
}

.btn-soft {
  background: #fff;
  color: var(--text);
  border-color: rgba(107, 142, 35, 0.18);
  box-shadow: var(--shadow-soft);
}

.btn-soft:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 142, 35, 0.3);
  box-shadow: 0 12px 28px rgba(40, 40, 40, 0.1);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.utility-bar {
  background: #fff;
  border-bottom: 1px solid rgba(107, 142, 35, 0.08);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 142, 35, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.logo-wrap {
  width: auto;
  height: 60px;
  display: flex;
  align-items: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.logo-img {
  width: auto;
  height: 100%;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(13, 30, 20, 0.05));
}

.logo-img.is-broken {
  opacity: 0;
}

.nav {
  display: none;
  gap: 20px;
  justify-content: center;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover {
  color: var(--primary);
}

.header-cta {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(107, 142, 35, 0.2);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(107, 142, 35, 0.05);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  pointer-events: none;
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(107, 142, 35, 0.1);
  background: linear-gradient(180deg, #fff, rgba(250, 246, 240, 0.5));
  position: sticky;
  top: 0;
  z-index: 1;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(107, 142, 35, 0.2);
  background: #fff;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.drawer-close:hover {
  background: rgba(107, 142, 35, 0.08);
  transform: scale(1.05);
}

.drawer-close:focus-visible {
  outline: 3px solid rgba(107, 142, 35, 0.35);
  outline-offset: 2px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px;
  font-weight: 600;
  flex: 1;
}

.mobile-nav a {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: all 0.2s ease;
  text-align: right;
  font-size: 1.05rem;
  position: relative;
  border: 1px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(107, 142, 35, 0.08);
  color: var(--primary);
  border-color: rgba(107, 142, 35, 0.1);
}

.mobile-cta {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(107, 142, 35, 0.08);
  background: rgba(250, 246, 240, 0.3);
  position: sticky;
  bottom: 0;
}

.mobile-cta .btn {
  width: 100%;
  justify-content: center;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open {
  overflow: hidden;
}

body.drawer-open .floating-actions {
  opacity: 0;
  pointer-events: none;
}

.hero {
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.hero-decor--1 {
  width: 340px;
  height: 340px;
  top: -60px;
  right: -80px;
  background: radial-gradient(
    circle,
    rgba(210, 180, 140, 0.25),
    transparent 70%
  );
  animation: heroFloat1 12s ease-in-out infinite;
}

.hero-decor--2 {
  width: 280px;
  height: 280px;
  bottom: 40px;
  left: -60px;
  background: radial-gradient(
    circle,
    rgba(107, 142, 35, 0.18),
    transparent 70%
  );
  animation: heroFloat2 15s ease-in-out infinite;
}

.hero-decor--3 {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 45%;
  background: radial-gradient(circle, rgba(138, 90, 68, 0.12), transparent 70%);
  animation: heroFloat3 10s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  animation: heroFadeUp 0.8s ease-out both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(210, 180, 140, 0.12); /* --secondary */
  color: var(--secondary);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  animation:
    heroFadeUp 0.7s ease-out 0.1s both,
    heroGlow 3s ease-in-out infinite;
}

.hero-copy h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 16px 0 10px;
  background: linear-gradient(
    135deg,
    var(--text) 0%,
    var(--primary-dark) 50%,
    var(--accent) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroFadeUp 0.7s ease-out 0.2s both;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  animation: heroFadeUp 0.7s ease-out 0.3s both;
}

.hero-copy-note {
  animation: heroFadeUp 0.7s ease-out 0.35s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 14px;
  animation: heroFadeUp 0.7s ease-out 0.4s both;
}

.hero-actions .btn-primary {
  position: relative;
  overflow: hidden;
}

.hero-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.micro-copy {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-weight: 600;
  animation: heroFadeUp 0.7s ease-out 0.5s both;
}

.value-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  animation: heroFadeUp 0.7s ease-out 0.55s both;
}

.value-card {
  background: var(--card);
  padding: 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(107, 142, 35, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(40, 40, 40, 0.1);
  border-color: rgba(107, 142, 35, 0.2);
}

.value-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(107, 142, 35, 0.1),
    rgba(210, 180, 140, 0.15)
  );
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.hero-visual {
  display: grid;
  gap: 18px;
  animation: heroFadeUp 0.9s ease-out 0.3s both;
}

.visual-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(107, 142, 35, 0.08);
  backdrop-filter: blur(12px);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.95),
    rgba(250, 246, 240, 0.9)
  );
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.visual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(40, 40, 40, 0.12);
}

.visual-card.big {
  min-height: 260px;
}

.visual-card.small {
  min-height: 200px;
}

.visual-top {
  display: flex;
  gap: 10px;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  background: rgba(107, 142, 35, 0.1);
  color: var(--primary);
  border: 1px solid rgba(107, 142, 35, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 142, 35, 0.15);
}

.badge.gold {
  background: rgba(210, 180, 140, 0.15);
  color: var(--secondary);
  border-color: rgba(210, 180, 140, 0.2);
}

.badge.green {
  background: rgba(107, 142, 35, 0.15);
  color: var(--primary);
  border-color: rgba(107, 142, 35, 0.18);
}

.visual-body {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-md);
  min-height: 140px;
  display: block;
  transition: transform 0.5s ease;
}

.visual-card:hover .visual-body {
  transform: scale(1.02);
}

.visual-footer {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.visual-footer span {
  padding: 4px 10px;
  background: rgba(107, 142, 35, 0.06);
  border-radius: 999px;
  font-size: 0.82rem;
}

.chip-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.chip-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.chip-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.chip {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: #f4f1ea;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  scroll-snap-align: start;
  white-space: nowrap;
}

.chip:nth-child(3n + 1) {
  background: rgba(255, 193, 203, 0.3);
}

.chip:nth-child(3n + 2) {
  background: rgba(173, 216, 230, 0.3);
}

.chip:nth-child(3n + 3) {
  background: rgba(196, 181, 253, 0.3);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.theme-grid,
.service-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.theme-card,
.service-card,
.testimonial-card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.theme-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 65%;
  border-radius: var(--radius-md);
  display: block;
  transition: transform 0.5s ease;
}

.theme-card:hover .theme-image {
  transform: scale(1.03);
}

.theme-card {
  overflow: hidden;
}

/* Bento Grid Layout */
.bento-section {
  position: relative;
}

.bento-section .section-head {
  text-align: center;
  align-items: center;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  grid-auto-rows: 280px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  height: 280px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.bento-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 0;
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  transition: background 0.4s ease;
}

.bento-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  height: 100%;
}

.bento-text h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 6px;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.bento-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  transform: translateY(0);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-action {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 0.4s ease,
    opacity 0.4s ease;
}

.bento-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

/* Bento Hover Effects */
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.bento-card:hover .bento-image {
  transform: scale(1.08);
}

.bento-card:hover .bento-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.bento-card:hover .bento-action {
  height: 40px;
  opacity: 1;
  margin-top: 4px;
}

.bento-card:hover .bento-btn {
  transform: translateY(0);
}

.bento-card:hover .bento-text h3,
.bento-card:hover .bento-text p {
  transform: translateY(-4px);
}

/* Bento Responsive Grid */
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
  }

  .bento-card {
    height: 100%;
  }

  .bento-card--large {
    grid-column: span 2;
  }

  .bento-card--tall {
    grid-row: span 2;
    min-height: 620px;
  }

  .bento-card--tall .bento-text h3,
  .bento-card--large .bento-text h3 {
    font-size: 1.7rem;
  }
}

.service-icon {
  font-size: 1.6rem;
}

.cta-banner {
  background: linear-gradient(
    130deg,
    rgba(107, 142, 35, 0.08),
    rgba(210, 180, 140, 0.15)
  );
  position: relative;
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  background: rgba(107, 142, 35, 0.2);
}

.cta-banner::before {
  width: 120px;
  height: 120px;
  top: 20px;
  right: 6%;
}

.cta-banner::after {
  width: 160px;
  height: 160px;
  bottom: 10px;
  left: 8%;
  background: rgba(210, 180, 140, 0.2);
}

.cta-content {
  display: grid;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.toast {
  position: fixed;
  inset: auto auto 20px 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(107, 142, 35, 0.12);
  font-weight: 700;
  min-width: 200px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 50;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

.testimonial-card {
  text-align: start;
}

.stars {
  color: #f4b400;
  font-size: 1.1rem;
}

.client {
  color: var(--muted);
  font-weight: 600;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.contact-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  background: #fff;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(107, 142, 35, 0.1);
  color: var(--text);
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(107, 142, 35, 0.1);
}

.map-wrapper iframe {
  display: block;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(107, 142, 35, 0.1);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 50;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.floating-btn {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease;
  gap: 6px;
  text-decoration: none;
}

.floating-btn--wa {
  background-color: #15974d;
  color: #fff;
  border: none;
}

.floating-btn--call {
  background-color: #fff;
  color: #15974d;
  border: 2px solid #15974d;
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}

.floating-btn span {
  font-size: 0.75rem;
  line-height: 1;
}

.anchor {
  display: block;
  height: 0;
  visibility: hidden;
}

@media (min-width: 760px) {
  .value-cards,
  .theme-grid,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .theme-track .theme-card {
    flex-basis: min(78vw, 760px);
  }

  .cta-content {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-drawer,
  .drawer-overlay {
    display: none;
  }

  .value-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .theme-track .theme-card {
    flex-basis: min(82vw, 880px);
  }

  .theme-showcase .theme-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    grid-template-rows: auto 1fr auto;
    min-height: 420px;
  }

  .theme-showcase .theme-image {
    height: 100%;
    min-height: 420px;
    aspect-ratio: auto;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    grid-row: 1 / -1;
  }

  .theme-showcase .theme-card h3 {
    padding: 34px 28px 0 30px;
    align-self: end;
  }

  .theme-showcase .theme-card p {
    padding: 0 28px 0 30px;
    align-self: start;
  }

  .theme-showcase .theme-card .btn {
    align-self: start;
    justify-self: start;
    margin: 0 28px 30px 30px;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  section {
    padding: 50px 0;
    scroll-margin-top: 100px;
  }

  .utility-bar {
    display: none;
  }

  .hero {
    padding-top: 30px;
    text-align: center;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .micro-copy {
    justify-content: center;
  }

  .logo-wrap {
    height: 48px;
  }

  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

:is(
  .btn,
  .menu-toggle,
  .chip,
  .gallery-trigger,
  .lightbox-close,
  .lightbox-nav,
  .floating-btn
):focus-visible {
  outline: 3px solid rgba(107, 142, 35, 0.35);
  outline-offset: 3px;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
}

.nav a,
.mobile-nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding-top: 50px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 30px 0 auto;
  height: 420px;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(210, 180, 140, 0.15),
      transparent 42%
    ),
    radial-gradient(
      circle at 82% 10%,
      rgba(107, 142, 35, 0.12),
      transparent 38%
    );
  pointer-events: none;
}

.hero-decor--1 {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -100px;
}

.hero-decor--2 {
  width: 350px;
  height: 350px;
  bottom: 60px;
  left: -80px;
}

.hero-decor--3 {
  width: 220px;
  height: 220px;
}

.hero-grid {
  position: relative;
  gap: 44px;
  align-items: start;
  z-index: 1;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  background: rgba(210, 180, 140, 0.16);
  color: var(--accent);
  border: 1px solid rgba(210, 180, 140, 0.26);
}

.hero-copy h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  max-width: 22ch;
  margin: 14px 0 10px;
  line-height: 1.4;
}

.lead {
  font-size: 0.98rem;
  line-height: 1.85;
  max-width: 58ch;
}

.hero-copy-note {
  margin-top: 10px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 0.92rem;
  line-height: 1.8;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(107, 142, 35, 0.12);
  box-shadow: var(--shadow-soft);
  animation: heroFadeUp 0.7s ease-out 0.45s both;
}

.hero-proof-text {
  font-weight: 700;
  color: var(--muted);
}

.micro-copy {
  flex-wrap: wrap;
  gap: 10px;
}

.micro-copy span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(250, 246, 240, 0.6)
  );
  border: 1px solid rgba(107, 142, 35, 0.1);
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.micro-copy span:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 142, 35, 0.1);
}

.value-cards {
  gap: 16px;
}

.value-card {
  border: 1px solid rgba(107, 142, 35, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(40, 40, 40, 0.08);
  border-color: rgba(107, 142, 35, 0.18);
}

.hero-visual {
  gap: 20px;
}

.visual-card {
  padding: 20px;
  border: 1px solid rgba(107, 142, 35, 0.1);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(250, 246, 240, 0.92)
  );
}

.visual-card.big {
  min-height: 280px;
}

.visual-card.small {
  max-width: 84%;
  justify-self: end;
}

.visual-top,
.visual-footer {
  flex-wrap: wrap;
}

.visual-body {
  aspect-ratio: 16 / 10;
  min-height: 160px;
  object-position: center 25%;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(107, 142, 35, 0.09);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.section-head--split {
  display: grid;
  gap: 20px;
}

.theme-card,
.service-card,
.testimonial-card,
.contact-card,
.cta-content {
  border: 1px solid rgba(107, 142, 35, 0.1);
}

.theme-card,
.service-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.theme-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(40, 40, 40, 0.08);
  border-color: rgba(107, 142, 35, 0.18);
}

.service-card .btn,
.theme-card .btn {
  margin-top: auto;
}

.work {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45),
    rgba(248, 245, 241, 0)
  );
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.gallery-card {
  min-height: 260px;
}

.gallery-card--wide,
.gallery-card--tall {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-card--wide .gallery-trigger,
.gallery-card--wide .gallery-image {
  min-height: 300px;
}

.gallery-card--tall .gallery-trigger,
.gallery-card--tall .gallery-image {
  min-height: 300px;
}

.gallery-trigger {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #111;
  color: inherit;
  cursor: pointer;
  text-align: start;
  box-shadow: var(--shadow);
}

.gallery-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 30%;
  transition:
    transform 0.55s ease,
    filter 0.35s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.06),
    rgba(20, 20, 20, 0.8)
  );
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.84rem;
  font-weight: 700;
}

.gallery-caption {
  display: grid;
  gap: 6px;
}

.gallery-caption strong {
  font-family: var(--font-heading);
  font-size: 1.08rem;
}

.gallery-caption span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.75;
}

.gallery-trigger:hover .gallery-image,
.gallery-trigger:focus-visible .gallery-image {
  transform: scale(1.06);
  filter: saturate(1.04);
}

.gallery-cta,
.testimonial-cta {
  margin-top: 24px;
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(107, 142, 35, 0.1);
  box-shadow: var(--shadow-soft);
}

.gallery-cta h3 {
  margin-bottom: 6px;
}

.gallery-cta p,
.testimonial-cta p {
  color: var(--muted);
}

.testimonials {
  background: linear-gradient(
    180deg,
    rgba(210, 180, 140, 0.08),
    rgba(248, 245, 241, 0)
  );
}

.testimonial-card {
  gap: 14px;
}

.testimonial-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.testimonial-top h3 {
  font-size: 1.02rem;
}

.client-location {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(107, 142, 35, 0.09);
  color: var(--primary-dark);
  font-weight: 800;
}

.stars {
  letter-spacing: 0.14em;
}

.testimonial-cta {
  justify-items: start;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(249, 246, 241, 0.95)
  );
}

.contact-note {
  color: var(--muted);
  max-width: 60ch;
}

.contact-number {
  margin: 14px 0 10px;
}

.contact-actions {
  align-content: start;
}

.site-footer {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 245, 241, 0.95)
  );
}

.footer-title {
  margin-bottom: 14px;
}

body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .floating-actions {
  opacity: 0;
  pointer-events: none;
}

.floating-actions {
  inset: auto auto 22px 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 104px));
  gap: 14px;
  justify-content: center;
  z-index: 45;
  pointer-events: none;
}

.float-btn {
  width: 104px;
  height: 104px;
  padding: 14px;
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  pointer-events: auto;
  border: 1px solid rgba(18, 99, 70, 0.12);
  box-shadow: 0 18px 34px rgba(21, 69, 52, 0.14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.float-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.float-btn__icon svg {
  width: 100%;
  height: 100%;
}

.float-btn__label {
  line-height: 1;
}

.float-btn.call {
  background: #fff;
  color: #0f6a48;
  border: 1px solid rgba(15, 106, 72, 0.14);
}

.float-btn.whatsapp {
  background: linear-gradient(180deg, var(--wa), var(--wa-dark));
  color: #fff;
  box-shadow: 0 22px 36px rgba(21, 151, 77, 0.26);
}

.float-btn:hover {
  transform: translateY(-4px);
}

.float-btn.whatsapp:hover {
  box-shadow: 0 28px 42px rgba(21, 151, 77, 0.32);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 60;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(12, 16, 14, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  width: min(92vw, 1120px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  z-index: 1;
}

.lightbox-close,
.lightbox-nav {
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: -58px;
  left: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.35rem;
}

.lightbox-nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #f7f2eb;
}

.lightbox-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 20px;
}

.lightbox-title {
  margin: 0;
  font-size: 1.08rem;
}

.lightbox-description {
  margin-top: 6px;
  color: var(--muted);
}

.lightbox-counter {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 760px) {
  .section-head--split,
  .gallery-cta,
  .testimonial-cta,
  .contact-card {
    grid-template-columns: 1fr auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card--wide {
    grid-column: span 2;
  }

  .gallery-image {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-card--wide {
    grid-column: span 2;
  }

  .gallery-card--tall {
    grid-row: span 1;
  }

  .gallery-card--tall .gallery-trigger,
  .gallery-card--tall .gallery-image {
    min-height: 360px;
  }

  .gallery-card--wide .gallery-trigger,
  .gallery-card--wide .gallery-image {
    min-height: 360px;
  }

  .gallery-image {
    aspect-ratio: 4 / 3;
    height: 100%;
  }

  .floating-actions {
    inset: auto auto auto 18px;
    top: 50%;
    transform: translateY(-50%);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .float-btn {
    width: 62px;
    height: 62px;
    padding: 10px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .float-btn__icon {
    width: 20px;
    height: 20px;
  }

  .float-btn__label {
    font-size: 0.68rem;
  }
}

@media (max-width: 759px) {
  .hero {
    text-align: start;
  }

  .hero-actions,
  .micro-copy {
    justify-content: flex-start;
  }

  .hero-actions .btn,
  .hero-proof .btn,
  .contact-actions .btn,
  .gallery-cta .btn,
  .testimonial-cta .btn {
    width: 100%;
  }

  .hero-proof {
    align-items: flex-start;
  }

  .visual-card.small {
    max-width: 100%;
  }

  .gallery-trigger,
  .gallery-image {
    min-height: 260px;
  }

  .theme-slider-controls {
    inset-inline: 4px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }

  .lightbox-dialog {
    width: calc(100vw - 16px);
    grid-template-columns: minmax(0, 1fr);
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox-nav--prev {
    right: 10px;
  }

  .lightbox-nav--next {
    left: 10px;
  }

  .lightbox-close {
    top: 12px;
    left: 12px;
  }

  .lightbox-caption {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 28px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
  }

  .section-head--split,
  .gallery-cta,
  .testimonial-cta,
  .contact-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .floating-actions {
    width: calc(100vw - 20px);
    gap: 12px;
  }

  .float-btn {
    width: 100%;
    height: 92px;
    font-size: 0.95rem;
  }

  .float-btn__icon {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .float-btn {
    transition: none;
  }

  .theme-track,
  .work-track {
    transition: none;
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-visual,
  .eyebrow,
  .hero-copy h1,
  .lead,
  .hero-copy-note,
  .hero-actions,
  .hero-proof,
  .micro-copy,
  .value-cards {
    animation: none;
  }

  .hero-decor {
    animation: none;
  }

  .hero-actions .btn-primary::after {
    animation: none;
  }

  .visual-card,
  .visual-body,
  .value-card,
  .badge,
  .micro-copy span {
    transition: none;
  }
}
