/* ===== Design tokens ===== */
:root {
  --green: #129343;
  --green-600: #0f7c39;
  --green-700: #0c632e;
  --green-900: #0a3d21;
  --red: #eb1c24;
  --red-600: #cf1219;

  --ink: #14231b;
  --body: #47554d;
  --muted: #7a877f;
  --line: #e6ebe6;
  --bg: #ffffff;
  --bg-soft: #f4f7f3;
  --bg-tint: #eef4ee;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(16, 60, 33, .06);
  --shadow: 0 18px 44px rgba(16, 60, 33, .12);
  --shadow-lg: 0 30px 70px rgba(16, 60, 33, .18);

  --container: 1200px;
  --font-ar: 'Tajawal', system-ui, sans-serif;
  --font-en: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font: var(--font-ar);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html[lang="en"] { --font: var(--font-en); }

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--sm { padding: 10px 22px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(18,147,67,.28); }
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(18,147,67,.36); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* ===== Header ===== */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding: 16px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__logo { position: relative; width: 66px; height: 66px; flex-shrink: 0; display: block; transition: width .35s var(--ease), height .35s var(--ease); }
.brand__logo--single { width: 46px; height: 46px; object-fit: contain; }
.brand__logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease; }
.brand__logo-img--light { filter: brightness(0) invert(1); }   /* force solid white on the dark hero */
.brand__logo-img--dark { opacity: 0; }              /* colored logo, shown when header is on white */
.header.scrolled .brand__logo { width: 44px; height: 44px; }   /* shrink on scroll */
.header.scrolled .brand__logo-img--light { opacity: 0; }
.header.scrolled .brand__logo-img--dark { opacity: 1; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-weight: 900; font-size: 1.45rem; color: var(--ink); transition: font-size .35s var(--ease); }
.brand__tag { font-size: .82rem; color: var(--green); font-weight: 600; transition: font-size .35s var(--ease); }
.header.scrolled .brand__name { font-size: 1.1rem; }
.header.scrolled .brand__tag { font-size: .72rem; }
.header:not(.scrolled) .brand__name { color: #fff; }
.header:not(.scrolled) .brand__tag { color: #cdeccf; }

.nav { display: flex; gap: 6px; }
.nav__logo, .nav__close { display: none; }
.nav__link {
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  color: #fff; opacity: .92; transition: background .2s, color .2s, opacity .2s;
}
.header.scrolled .nav__link { color: var(--ink); }
.nav__link:hover { background: rgba(18,147,67,.12); color: var(--green); opacity: 1; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 40px; border-radius: 999px; font-weight: 800; font-size: .82rem;
  background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: #fff; transition: .2s;
}
.lang-toggle:hover { background: rgba(255,255,255,.16); color: #fff; }
/* scrolled (white header): solid green button + white text so it stays readable */
.header.scrolled .lang-toggle { background: var(--green); border-color: var(--green); color: #fff; }
.header.scrolled .lang-toggle:hover { background: var(--green-700); border-color: var(--green-700); }

.menu-btn { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; }
.menu-btn span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.header.scrolled .menu-btn span { background: var(--ink); }
.menu-btn.open span { background: var(--ink); }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,61,33,.94) 0%, rgba(12,99,46,.78) 42%, rgba(10,61,33,.45) 100%);
}
.hero__inner { padding: 140px 24px 120px; max-width: 900px; }
.hero__title { font-size: clamp(2.2rem, 5.4vw, 4rem); color: #fff; font-weight: 900; margin: 18px 0 22px; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); max-width: 640px; color: rgba(255,255,255,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); padding: 6px 0;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow--light { color: #bff0c6; }
.eyebrow--light::before { background: #fff; }

.hero__scroll { position: absolute; inset-inline: 0; bottom: 26px; margin: auto; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; }
.hero__scroll span { position: absolute; inset-inline: 0; top: 8px; margin: auto; width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translateY(0)} 40%{opacity:1} 80%{opacity:0;transform:translateY(12px)} }

/* ===== Stats ===== */
.stats { background: var(--green-900); position: relative; margin-top: -1px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 54px 24px; }
.stat { text-align: center; color: #fff; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; inset-inline-end: -12px; top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,.14); }
.stat__num { font-size: clamp(2.4rem, 4vw, 3.3rem); font-weight: 900; color: #fff; line-height: 1; }
.stat__num::after { content: attr(data-plus-char); }
.stat__suffix { margin-top: 8px; font-size: .95rem; color: #b7d8bd; font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section__head { max-width: 720px; margin-bottom: 54px; }
.section__head.center { text-align: center; margin-inline: auto; }
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-top: 14px; }
.section__sub { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }

/* ===== About ===== */
.about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; inset-inline-end: -18px; bottom: 34px;
  background: var(--green); color: #fff; padding: 20px 26px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; max-width: 190px;
}
.about__badge-num { font-size: 2rem; font-weight: 900; color: #fff; }
.about__badge span:last-child { font-size: .84rem; color: #d5efd9; font-weight: 600; }

.checklist { margin-top: 26px; display: grid; gap: 14px; }
.checklist li { position: relative; padding-inline-start: 34px; color: var(--body); font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--bg-tint); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 900;
}

/* ===== Vision / Mission ===== */
.vm { background: var(--bg-soft); }
.vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.vm__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vm__icon { width: 62px; height: 62px; border-radius: 16px; background: var(--bg-tint); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.vm__icon svg { width: 30px; height: 30px; }
.vm__card h3 { font-size: 1.5rem; margin-bottom: 12px; }

/* ===== Values ===== */
.values { background: var(--bg); }
.values__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value { text-align: center; padding: 34px 20px; border-radius: var(--radius); border: 1px solid var(--line); transition: .3s var(--ease); background: #fff; }
.value:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-6px); }
.value__icon {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-700)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.value:nth-child(even) .value__icon { background: linear-gradient(135deg, var(--red), var(--red-600)); }
.value h4 { font-size: 1.15rem; margin-bottom: 8px; }
.value p { font-size: .9rem; color: var(--muted); }

/* ===== Products ===== */
.products { background: var(--bg-soft); }
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product__img { aspect-ratio: 16/11; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__img img { transform: scale(1.07); }
.product__body { padding: 22px 22px 26px; }
.product__body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.product__body p { font-size: .9rem; color: var(--muted); }
.product--cta { background: linear-gradient(150deg, var(--green), var(--green-700)); border: none; display: flex; align-items: center; }
.product--cta .product__body { padding: 30px 26px; }
.product--cta h3 { color: #fff; }
.product--cta p { color: #d5efd9; margin-bottom: 18px; }
.product--cta .btn--primary { background: #fff; color: var(--green-700); }
.product--cta .btn--primary:hover { background: #f0fff3; }

/* ===== Capacity banner ===== */
.capacity { position: relative; color: #fff; padding: 110px 0; overflow: hidden; }
.capacity__bg { position: absolute; inset: 0; z-index: -1; }
.capacity__bg img { width: 100%; height: 100%; object-fit: cover; }
.capacity__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,61,33,.95), rgba(12,99,46,.82)); }
.capacity__inner { text-align: center; max-width: 780px; margin: 0 auto; }
.capacity__big { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; color: #fff; line-height: 1; margin: 14px 0 20px; }
.capacity__big em { display: block; font-size: clamp(1rem, 2.2vw, 1.5rem); font-style: normal; font-weight: 700; color: #bff0c6; margin-top: 10px; }
.capacity__inner p { font-size: 1.1rem; color: rgba(255,255,255,.9); }

/* ===== Services ===== */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { padding: 36px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: .3s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service__ic { width: 60px; height: 60px; border-radius: 16px; background: var(--bg-tint); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: .3s; }
.service:hover .service__ic { background: var(--green); color: #fff; }
.service__ic svg { width: 28px; height: 28px; }
.service h4 { font-size: 1.2rem; margin-bottom: 8px; }
.service p { font-size: .94rem; color: var(--muted); }

/* ===== Why us ===== */
.why { background: var(--bg-soft); }
.why__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.why__list { margin-top: 30px; display: grid; gap: 18px; }
.why__item { display: flex; align-items: center; gap: 18px; background: #fff; padding: 18px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: .25s; }
.why__item:hover { border-color: var(--green); transform: translateX(-6px); }
html[dir="ltr"] .why__item:hover { transform: translateX(6px); }
.why__item span { font-weight: 900; font-size: 1.1rem; color: var(--green); background: var(--bg-tint); width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why__item p { color: var(--ink); font-weight: 600; }
.why__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/3.6; object-fit: cover; }

/* ===== Contact ===== */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact__cards { display: grid; gap: 18px; }

/* full-width contact cards (contact form removed; Google Map added later) */
.contact__grid--nomap { display: block; }
.contact__grid--nomap .contact__cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact__grid--nomap .contact__card--phones { grid-column: 1 / -1; }
.contact__grid--nomap .contact__card--phones .phones { grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }

/* Google Map */
.contact__map { position: relative; margin-top: 26px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact__map iframe { display: block; width: 100%; height: 420px; border: 0; }
.contact__dir { position: absolute; inset-inline-start: 20px; bottom: 20px; box-shadow: var(--shadow); }
.contact__dir svg { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .contact__grid--nomap .contact__cards { grid-template-columns: 1fr; }
  .contact__grid--nomap .contact__card--phones .phones { grid-template-columns: 1fr; }
  .contact__map iframe { height: 340px; }
  .contact__dir { inset-inline-start: 50%; transform: translateX(-50%); bottom: 16px; white-space: nowrap; }
}
.contact__card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); transition: .25s; }
.contact__card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.contact__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact__ic svg { width: 24px; height: 24px; }
.contact__card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.contact__card p { font-size: .95rem; color: var(--muted); }
.contact__card--phones { align-items: flex-start; }
.contact__phones { flex: 1; }
.contact__mail { color: var(--green); font-weight: 700; }
.contact__mail:hover { text-decoration: underline; }

/* phone rows with call + whatsapp actions */
.phones { margin-top: 12px; display: grid; gap: 10px; }
.phone { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.phone:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.phone__num { font-weight: 700; color: var(--ink); font-size: 1.02rem; letter-spacing: .02em; }
.phone__acts { display: flex; gap: 8px; }
.phone__btn { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: transform .2s, filter .2s; }
.phone__btn svg { width: 19px; height: 19px; }
.phone__btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.phone__btn--call { background: var(--bg-tint); color: var(--green); }
.phone__btn--call:hover { background: var(--green); color: #fff; }
.phone__btn--wa { background: #25d366; color: #fff; }

/* social link (inline, e.g. Facebook in contact) */
.social-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 9px 16px; border-radius: 999px; background: #1877f2; color: #fff; font-weight: 700; font-size: .92rem; transition: transform .2s, filter .2s; }
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* footer social icons */
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); color: #cbe6d0; display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s, transform .25s; }
.footer__social a svg { width: 20px; height: 20px; }
.footer__social a:hover { transform: translateY(-3px); color: #fff; }
.footer__social a:nth-child(1):hover { background: #1877f2; }
.footer__social a:nth-child(2):hover { background: #25d366; }
.footer__social a:nth-child(3):hover { background: var(--green); }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--bg-soft); transition: .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(18,147,67,.1); }
.form__note { margin-top: 16px; text-align: center; color: var(--green); font-weight: 700; }

/* ===== Footer ===== */
.footer { background: var(--green-900); color: #cbe6d0; padding-top: 66px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding-bottom: 46px; }
.brand--footer { margin-bottom: 16px; gap: 14px; }
.brand--footer .brand__logo, .brand--footer .brand__logo--single { width: 60px; height: 60px; filter: brightness(0) invert(1); }  /* solid white logo on dark footer */
.brand--footer .brand__name { color: #fff; font-size: 1.35rem; }
.footer__brand p { max-width: 340px; font-size: .95rem; }
.footer__col h5 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: #a9cdb1; font-size: .95rem; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bar .container { text-align: center; font-size: .88rem; color: #8fb897; }

/* ===== Reveal animations (in-view) ===== */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  filter: blur(6px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform, filter;
}

/* initial (hidden) directional / special variants */
.reveal[data-anim="zoom"] { transform: scale(.92); filter: blur(8px); }
.reveal[data-anim="left"] { transform: translateX(-46px); }
.reveal[data-anim="right"] { transform: translateX(46px); }
html[dir="rtl"] .reveal[data-anim="left"] { transform: translateX(46px); }
html[dir="rtl"] .reveal[data-anim="right"] { transform: translateX(-46px); }
.reveal[data-anim="up-lg"] { transform: translateY(64px); }

/* revealed state — declared last + !important so it always wins over the
   variants above (equal specificity), guaranteeing every element un-blurs. */
.reveal.in { opacity: 1 !important; transform: none !important; filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hero__bg img { animation: none; }
}

/* ===== reCAPTCHA-style widget ===== */
.captcha {
  display: flex; align-items: center; gap: 14px;
  background: #f9f9f9; border: 1px solid #d3d3d3; border-radius: 6px;
  padding: 12px 16px; margin: 4px 0 20px; cursor: pointer; user-select: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: border-color .2s, box-shadow .2s;
}
.captcha:hover { border-color: #b0b0b0; }
.captcha:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.captcha__box {
  width: 28px; height: 28px; border-radius: 3px; border: 2px solid #c1c1c1; background: #fff;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; transition: .25s;
}
.captcha__box svg { width: 18px; height: 18px; opacity: 0; transform: scale(.4); transition: .3s var(--ease); }
.captcha.checking .captcha__box { border-color: var(--green); }
.captcha.checked .captcha__box { background: var(--green); border-color: var(--green); }
.captcha.checked .captcha__box svg { opacity: 1; transform: scale(1); }
.captcha__label { font-size: .95rem; color: #3c4043; font-weight: 500; flex: 1; }
.captcha__brand { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #9aa0a6; }
.captcha__brand small { font-size: .58rem; letter-spacing: .02em; }
.captcha__spin { width: 22px; height: 22px; }
.captcha.checking .captcha__spin { animation: spin .7s linear infinite; color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }
.form__note--err { color: var(--red); }

/* ===== Mobile nav panel ===== */
@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .header__cta { display: none; }

  /* full-screen modern overlay menu */
  .nav {
    position: fixed; inset: 0; z-index: 90;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background:
      radial-gradient(circle at 50% 32%, rgba(18,147,67,.22), transparent 55%),
      linear-gradient(165deg, #0a0f0c 0%, #10201a 100%);
    padding: 96px 28px 56px;
    opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.96);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

  /* centered logo at the top of the menu */
  .nav__logo { display: block; margin-bottom: 26px; opacity: 0; transform: translateY(-12px);
    transition: opacity .45s var(--ease) .05s, transform .45s var(--ease) .05s; }
  .nav__logo img { width: 104px; height: 104px; object-fit: contain; filter: brightness(0) invert(1); }
  .nav.open .nav__logo { opacity: 1; transform: none; }

  .nav__link {
    color: #fff !important; width: auto; padding: 14px 30px; border-radius: 999px;
    font-size: 1.55rem; font-weight: 700; opacity: 0; transform: translateY(16px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), background .2s;
  }
  .nav.open .nav__link { opacity: 1; transform: none; }
  .nav.open .nav__link:nth-of-type(1) { transition-delay: .12s; }
  .nav.open .nav__link:nth-of-type(2) { transition-delay: .18s; }
  .nav.open .nav__link:nth-of-type(3) { transition-delay: .24s; }
  .nav.open .nav__link:nth-of-type(4) { transition-delay: .30s; }
  .nav.open .nav__link:nth-of-type(5) { transition-delay: .36s; }
  .nav.open .nav__link:nth-of-type(6) { transition-delay: .42s; }
  .nav__link:hover { background: rgba(255,255,255,.14); color: #fff; }

  /* dedicated close (✕) button inside the menu */
  .nav__close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 20px; inset-inline-end: 20px; z-index: 2;
    width: 48px; height: 48px; border-radius: 50%; color: #fff;
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28);
    opacity: 0; transform: scale(.9);
    transition: opacity .35s var(--ease) .12s, transform .35s var(--ease) .12s, background .2s;
  }
  .nav__close svg { width: 24px; height: 24px; }
  .nav.open .nav__close { opacity: 1; transform: none; }
  .nav__close:hover { background: rgba(255,255,255,.22); }

  /* while the menu is open, keep the header fully transparent (no frosted strip) */
  .header.nav-open { background: transparent !important; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header.nav-open .brand__logo-img--light { opacity: 1; }
  .header.nav-open .brand__logo-img--dark { opacity: 0; }
  .header.nav-open .brand__name { color: #fff; }
  .header.nav-open .brand__tag { color: #cdeccf; }
  /* hide the hamburger while open — the ✕ button inside the menu is the closer */
  .header.nav-open .menu-btn { opacity: 0; pointer-events: none; }
  .header.nav-open .lang-toggle { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .vm__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .stat:nth-child(2)::after { display: none; }
  .about__media { max-width: 480px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid, .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat::after { display: none !important; }
  .brand__tag { display: none; }
  .about__badge { inset-inline-end: 12px; }
  .vm__card { padding: 32px 26px; }

  /* footer: single centered column on phones */
  .footer { padding-top: 52px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; text-align: center; padding-bottom: 36px; }
  .footer__brand { grid-column: auto; }
  .brand--footer { justify-content: center; }
  .footer__brand p { margin-inline: auto; }
  .footer__social { justify-content: center; }
  .footer__col a, .footer__col p { word-break: break-word; }
}
