:root {
  --ink: #12241a;
  --ink-soft: #4a5a52;
  --paper: #f4f7f5;
  --white: #ffffff;
  --line: #d7e2db;
  --green: #0b7a45;
  --green-deep: #065c34;
  --green-dark: #043f24;
  --gold: #c9a227;
  --gold-soft: #e8c96a;
  --shadow: 0 18px 40px rgba(4, 63, 36, 0.12);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --radius: 0.55rem;
  --shell-pad: 1rem;
  --shell: min(1180px, calc(100% - (var(--shell-pad) * 2)));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.35rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}

p {
  margin: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--green-deep);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  background: var(--green-dark);
  color: color-mix(in srgb, var(--white) 90%, transparent);
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-block: 0.55rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-hide-sm,
.topbar-hide-xs {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.25rem;
  padding-block: 0.45rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 3.5rem);
  overflow: visible;
}

.logo-mark {
  display: block;
  width: auto;
  height: clamp(2.6rem, 8vw, 3.75rem);
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  flex-shrink: 0;
  overflow: visible;
}

.logo-text {
  display: grid;
  gap: 0.1rem;
  line-height: 1.15;
  min-width: 0;
}

.logo-text-ar {
  font-family: "Sora", "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(0.72rem, 2.6vw, 0.92rem);
  font-weight: 700;
  color: #7db83a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text-en {
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 2vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1a3699;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.15rem;
  margin-inline: auto;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
}

.nav-toggle {
  margin-inline-start: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: grid;
  place-content: center;
  gap: 0.28rem;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
}

.btn.header-cta {
  display: none;
}

.btn.nav-cta {
  display: none;
  width: fit-content;
  margin-top: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-deep);
}

.hero .btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
  background: var(--gold-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 50%, transparent);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: color-mix(in srgb, var(--white) 12%, transparent);
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: color-mix(in srgb, var(--green) 35%, transparent);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: color-mix(in srgb, var(--green) 8%, transparent);
}

.btn-light {
  background: var(--white);
  color: var(--green-deep);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.hero {
  position: relative;
  color: var(--white);
  background: var(--green-dark);
}

.hero-slider {
  position: relative;
  min-height: min(78vh, 740px);
  min-height: min(78dvh, 740px);
  overflow: clip;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  min-height: min(78vh, 740px);
  min-height: min(78dvh, 740px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 0.6s var(--ease),
    visibility 0.6s var(--ease);
}

.hero-slide[hidden] {
  display: none !important;
}

.hero-slide.is-active {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(3, 32, 18, 0.82) 0%,
      rgba(4, 42, 26, 0.58) 42%,
      rgba(4, 42, 26, 0.22) 70%,
      rgba(4, 42, 26, 0.08) 100%
    ),
    linear-gradient(to top, rgba(3, 32, 18, 0.55), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  padding-block: clamp(3.5rem, 10vw, 7rem) clamp(4rem, 9vw, 6rem);
  animation: rise 0.85s var(--ease) both;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  max-width: 15ch;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 38ch;
  color: color-mix(in srgb, var(--white) 88%, transparent);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 10.5rem);
}

.hero-controls {
  position: absolute;
  inset-inline: 0;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hero-dots,
.hero-arrows {
  pointer-events: auto;
  display: flex;
  gap: 0.45rem;
}

.hero-dots button,
.hero-arrows button {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--white) 45%, transparent);
  background: color-mix(in srgb, var(--green-dark) 35%, transparent);
  color: var(--white);
  cursor: pointer;
}

.hero-dots button {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
}

.hero-dots button.is-active {
  background: var(--gold);
  border-color: var(--gold);
}

.strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.strip-grid {
  display: grid;
  gap: 1rem;
  padding-block: 1.25rem;
}

.strip-grid p {
  display: grid;
  gap: 0.15rem;
  padding: 0.35rem 0;
}

.strip-grid strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--green-deep);
}

.strip-grid span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.7rem;
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2,
.about h2,
.why h2,
.contact h2,
.visit h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  max-width: 22ch;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 42ch;
  font-size: 1.02rem;
}

.about,
.products,
.why,
.visit,
.contact {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.about-grid,
.why-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.about p + p {
  margin-top: 1rem;
}

.about p,
.why > .shell > div > p,
.contact > .shell > div > p {
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 1.02rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--green);
  font-weight: 700;
}

.about-panel {
  background:
    linear-gradient(160deg, var(--green-deep), var(--green) 70%, #149a58);
  color: var(--white);
  border-radius: 1rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}

.about-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about-panel p {
  color: color-mix(in srgb, var(--white) 88%, transparent);
  margin-bottom: 1.1rem;
}

.about-panel ul {
  display: grid;
  gap: 0.55rem;
}

.about-panel li {
  padding-left: 1rem;
  position: relative;
}

.about-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

.products {
  background: var(--white);
}

.product-grid {
  display: grid;
  gap: 1.25rem;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: clip;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: clamp(9.5rem, 28vw, 11rem);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.product-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.product-card a {
  color: var(--green);
  font-weight: 700;
  font-size: 0.92rem;
}

.why-cards {
  display: grid;
  gap: 0.9rem;
}

.why-cards article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.1rem 1.15rem;
}

.why-cards h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--green-deep);
}

.why-cards p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.check-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--white) 0 28%, transparent 29%),
    var(--green);
}

.promise {
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
}

.promise-panel {
  background:
    linear-gradient(135deg, #063825 0%, var(--green-deep) 55%, #0a6b3d 100%),
    radial-gradient(circle at 90% 10%, rgba(232, 201, 106, 0.25), transparent 40%);
  color: var(--white);
  border-radius: 1.1rem;
  padding: clamp(1.75rem, 5vw, 2.75rem);
  box-shadow: var(--shadow);
}

.promise .eyebrow {
  color: var(--gold-soft);
}

.promise h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  max-width: 22ch;
  margin-bottom: 0.9rem;
}

.promise p {
  max-width: 58ch;
  color: color-mix(in srgb, var(--white) 88%, transparent);
}

.location-grid {
  display: grid;
  gap: 1rem;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.4rem 1.35rem;
}

.location-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.55rem;
}

.location-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.location-card p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.contact {
  background: var(--white);
}

.contact-details {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.contact-details h3 {
  font-size: 0.95rem;
  color: var(--green-deep);
  margin-bottom: 0.3rem;
}

.contact-details p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--green);
  font-weight: 600;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.35rem;
  display: grid;
  gap: 0.85rem;
}

.contact-form h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--green) 45%, transparent);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.cta-band {
  background: var(--green);
  color: var(--white);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.75rem;
}

.cta-band-inner .btn {
  flex-shrink: 0;
}

.cta-band h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 0.3rem;
}

.cta-band p {
  color: color-mix(in srgb, var(--white) 88%, transparent);
}

.site-footer {
  background: #f3f6f8;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-block: 3rem 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.footer-logo .logo-mark {
  height: 3.5rem;
}

.footer-logo .logo-text-ar {
  font-size: 1rem;
  color: #7db83a;
}

.footer-logo .logo-text-en {
  font-size: 0.78rem;
  color: #1a3699;
}

.footer-about {
  margin-top: 1rem;
  max-width: 32ch;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-footer h2 {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.site-footer ul {
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.site-footer li strong {
  display: block;
  color: var(--ink);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.15rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Phones */
@media (max-width: 479px) {
  :root {
    --shell-pad: 0.85rem;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .header-inner {
    min-height: 4.5rem;
    gap: 0.65rem;
  }

  .logo {
    gap: 0.4rem;
  }

  .logo-text-en {
    display: none;
  }

  .hero-slider,
  .hero-slide {
    min-height: min(72vh, 640px);
    min-height: min(72dvh, 640px);
  }

  .hero-copy {
    padding-block: 3rem 4.25rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-controls {
    bottom: 0.85rem;
  }

  .product-card img {
    height: 10rem;
  }

  .contact-form {
    padding: 1.1rem;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band-inner .btn {
    width: 100%;
  }

  .footer-logo {
    flex-wrap: wrap;
  }
}

@media (max-width: 899px) {
  .nav.is-open {
    display: grid;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(4, 63, 36, 0.08);
    padding: 1rem var(--shell-pad) 1.25rem;
    gap: 0.15rem;
    z-index: 50;
  }

  .nav.is-open a:not(.btn) {
    display: block;
    padding: 0.75rem 0.35rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav.is-open .btn.nav-cta {
    display: inline-flex;
    margin-top: 0.75rem;
  }

  .hero-veil {
    background:
      linear-gradient(
        to top,
        rgba(3, 32, 18, 0.88) 0%,
        rgba(4, 42, 26, 0.62) 42%,
        rgba(4, 42, 26, 0.28) 100%
      );
  }

  .section-head h2,
  .about h2,
  .why h2,
  .contact h2,
  .visit h2,
  .promise h2 {
    max-width: none;
  }
}

/* Large phones / small tablets */
@media (min-width: 480px) {
  .topbar-hide-xs {
    display: inline-flex;
  }

  .hero-actions .btn {
    flex: 0 1 auto;
  }
}

/* Tablets */
@media (min-width: 640px) {
  :root {
    --shell-pad: 1.25rem;
  }

  .topbar-hide-sm {
    display: inline-flex;
  }

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

  .product-grid,
  .why-cards,
  .location-grid,
  .contact-details {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Large tablets */
@media (min-width: 768px) and (max-width: 899px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* Desktops */
@media (min-width: 900px) {
  :root {
    --shell-pad: 1.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 1.15rem;
  }

  .btn.nav-cta {
    display: none;
  }

  .btn.header-cta {
    display: inline-flex;
  }

  .logo {
    flex: 0 1 auto;
    max-width: none;
  }

  .strip-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .about-grid,
  .why-grid,
  .contact-grid,
  .section-head {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 2.5rem;
  }

  .section-head {
    align-items: end;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  }

  .hero-slider,
  .hero-slide {
    min-height: min(84vh, 740px);
    min-height: min(84dvh, 740px);
  }
}

/* Wide desktops */
@media (min-width: 1200px) {
  .nav {
    gap: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .reveal,
  .btn,
  .product-card,
  .hero-slide {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
