:root {
  --bg: #f3f5f4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --surface-dark: #102620;
  --text: #1c2723;
  --muted: #5c6a64;
  --border: rgba(17, 49, 39, 0.12);
  --primary: #1d6f4f;
  --primary-strong: #0e4d35;
  --accent: #dfe8e3;
  --shadow: 0 24px 80px rgba(11, 33, 26, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(29, 111, 79, 0.16), transparent 24%),
    radial-gradient(circle at top left, rgba(16, 38, 32, 0.08), transparent 28%),
    linear-gradient(180deg, #f6f8f7 0%, #eef2f0 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.glass-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.68));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(243, 245, 244, 0.84);
  border-bottom: 1px solid rgba(17, 49, 39, 0.08);
}
.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #143b2f, #2c8d68);
  color: #fff;
  font-family: 'El Messiri', sans-serif;
  font-size: 1.35rem;
  box-shadow: 0 16px 36px rgba(17, 49, 39, 0.2);
}
.brand-mark-image {
  width: 78px;
  height: 78px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
  border: 1px solid rgba(194, 156, 79, 0.28);
  box-shadow: 0 18px 42px rgba(17, 49, 39, 0.16);
}
.brand-mark-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}
.brand-copy strong { display: block; font-size: 1rem; }
.brand-copy small { color: var(--muted); font-size: 0.78rem; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(29, 111, 79, 0.08);
}
.header-actions, .hero-actions, .inline-actions, .cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 16px 32px rgba(14, 77, 53, 0.25);
}
.btn-soft {
  background: rgba(17, 49, 39, 0.06);
  color: var(--text);
}
.nav-toggle { display: none; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(29, 111, 79, 0.09);
  color: var(--primary-strong);
  font-size: 0.85rem;
  font-weight: 700;
}
.hero-section, .inner-hero { padding: 80px 0 28px; }
.hero-grid, .inner-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.hero-copy h1, .inner-hero h1 {
  font-family: 'El Messiri', sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.15;
  margin: 18px 0 14px;
}
.hero-copy p, .inner-hero p, .section-head p, .detail-copy p, .site-footer p {
  color: var(--muted);
  line-height: 1.95;
}
.hero-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hero-stats div, .location-card, .related-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.64);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-stats strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary-strong);
}
.hero-stack { display: grid; gap: 18px; }
.hero-main-card, .hero-mini-grid figure, .detail-card, .service-card, .gallery-tile, .form-shell {
  overflow: hidden;
}
.hero-main-card img, .hero-mini-grid img, .hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.hero-main-card figcaption, .hero-mini-grid figcaption, .hero-photo figcaption, .gallery-tile figcaption, .detail-media figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.hero-mini-grid figure {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.section-shell { padding: 34px 0 72px; }
.section-shell.alt { background: rgba(255,255,255,0.38); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-family: 'El Messiri', sans-serif;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
}
.service-grid, .gallery-preview, .locations-grid, .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card, .gallery-tile, .detail-card, .form-shell {
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.service-card figure, .gallery-tile, .detail-media { margin: 0; }
.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.service-card figcaption { padding: 12px 18px 0; color: var(--muted); }
.service-card-copy { padding: 16px 18px 22px; }
.service-card h3, .detail-copy h2 { margin: 10px 0; font-size: 1.5rem; }
.locations-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.location-card strong, .related-card strong { display: block; margin: 8px 0; font-size: 1.1rem; }
.gallery-preview img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.details-stack { display: grid; gap: 24px; }
.detail-card {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
}
.detail-card.reverse { grid-template-columns: 1.14fr 0.86fr; }
.detail-card.reverse .detail-media { order: 2; }
.detail-card.reverse .detail-copy { order: 1; }
.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.detail-copy { padding: 26px; }
.detail-copy .lead { color: var(--text); font-weight: 600; }
.section-index {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary-strong);
  font-weight: 800;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumbs i { color: rgba(28, 39, 35, 0.35); }
.cta-band {
  background: linear-gradient(135deg, rgba(13, 43, 31, 0.97), rgba(19, 81, 59, 0.92));
  color: #fff;
}
.cta-band p { color: rgba(255,255,255,0.82); }
.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}
.quote-form input, .quote-form textarea {
  border: 1px solid rgba(17, 49, 39, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.82);
  color: var(--text);
}
.quote-form .full { grid-column: 1 / -1; }
.site-footer {
  background: #102620;
  color: rgba(255,255,255,0.88);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.site-footer h3 {
  margin: 0 0 14px;
  font-family: 'El Messiri', sans-serif;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a, .footer-links span {
  color: rgba(255,255,255,0.72);
}
.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.floating-cta {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 35;
  display: grid;
  gap: 10px;
}
.floating-btn {
  min-width: 114px;
  text-align: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 18px 36px rgba(14, 77, 53, 0.24);
}
.floating-btn.phone { background: #12392d; }
.floating-btn.whatsapp { background: #1d6f4f; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 14, 0.88);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: 0.24s ease;
  z-index: 60;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 84vh;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.lightbox-trigger { cursor: zoom-in; }
@media (max-width: 1120px) {
  .header-shell { grid-template-columns: auto 1fr auto; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0 18px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }
  .header-actions { display: none; }
  .hero-grid, .inner-hero-grid, .detail-card, .detail-card.reverse, .footer-grid {
    grid-template-columns: 1fr;
  }
  .detail-card.reverse .detail-media,
  .detail-card.reverse .detail-copy { order: initial; }
  .service-grid, .gallery-preview, .locations-grid, .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .hero-section, .inner-hero { padding-top: 56px; }
  .hero-stats, .service-grid, .gallery-preview, .locations-grid, .related-grid, .quote-form {
    grid-template-columns: 1fr;
  }
  .hero-copy h1, .inner-hero h1 { font-size: 2rem; }
  .brand-mark-image {
    width: 64px;
    height: 64px;
  }
  .cta-content, .footer-bottom-shell { flex-direction: column; align-items: flex-start; }
  .detail-copy { padding: 20px; }
  .floating-cta { left: 12px; right: 12px; bottom: 12px; }
  .floating-btn { min-width: auto; }
}
