:root {
    --primary-color: #173D2A;      /* Forest green */
    --primary-deep: #0B281A;       /* Deep premium green */
    --primary-soft: #365E47;       /* Botanical green */
    
    --secondary-color: #A7B77A;   /* Sage accent */
    --secondary-hover: #BBC995;
    
    --background-color: #ffffff;
    --surface-soft: #F3F6F1;      /* Soft green-white */
    --surface-warm: #F7F4EA;      /* Natural cream */
    
    --text-color: #243128;         /* Warm green-charcoal */
    --muted-text: #69756D;
    --line-color: rgba(22, 51, 11, 0.12);
    --white: #ffffff;
    --success: #198754;
    --error: #b42318;
    
    --company-1: #6E8B4F;         /* NilaraChips */
    --company-2: #3E7653;         /* RAYANAH */
    --company-3: #9A874A;         /* Sahtein */

  --container: 1220px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 60px rgba(7, 21, 35, 0.08);
  --shadow-card: 0 24px 70px rgba(8, 28, 47, 0.10);
  --transition: 280ms cubic-bezier(.2,.65,.25,1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(198, 161, 91, 0.45);
  outline-offset: 3px;
}

::selection {
  background: var(--secondary-color);
  color: var(--primary-deep);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 118px 0;
}

.section-light {
  background: var(--background-color);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--primary-color);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 84px;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(11, 31, 51, 0.08);
  box-shadow: 0 8px 30px rgba(8, 28, 47, 0.05);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 178px;
  height: 48px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  font-size: 0.91rem;
  font-weight: 700;
  color: var(--primary-color);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--secondary-color);
  transition: transform var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  transition: transform var(--transition), top var(--transition);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-toggle.active span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle.active span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 90px;
  background:
 
    radial-gradient(circle at 78% 18%, rgba(198, 161, 91, 0.12), transparent 27%),
    linear-gradient(135deg, #fbfbfc 0%, #f5f7f9 50%, #eef2f5 100%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(11, 31, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 51, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 85%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}

.orb-one {
  width: 520px;
  height: 520px;
  right: -190px;
  top: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(198, 161, 91, 0.16), rgba(11, 31, 51, 0.04) 68%);
}

.orb-two {
  width: 280px;
  height: 280px;
  left: -100px;
  bottom: -40px;
  background: rgba(56, 101, 137, 0.06);
}

.hero-line {
  position: absolute;
  height: 1px;
  width: 42vw;
  background: linear-gradient(90deg, transparent, rgba(198, 161, 91, 0.55), transparent);
  transform-origin: left center;
}

.hero-line-a {
  right: -7vw;
  top: 41%;
  transform: rotate(-24deg);
}

.hero-line-b {
  right: -6vw;
  top: 61%;
  transform: rotate(14deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 72px;
  align-items: center;
}

.hero-logo-wrap {
  display: none;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary-color);
}

.hero h1,
.section-heading h2,
.philosophy-copy h2,
.contact-info h2 {
  color: var(--primary-color);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(3.25rem, 6vw, 6.25rem);
  font-weight: 800;
}

.hero-slogan {
  margin-top: 26px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-soft);
}

.hero-description {
  max-width: 690px;
  margin-top: 18px;
  font-size: 1rem;
  color: var(--muted-text);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.btn svg,
.download-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  color: var(--white);
  background: var(--primary-color);
  box-shadow: 0 14px 28px rgba(11, 31, 51, 0.18);
}

.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(11, 31, 51, 0.22);
}

.text-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-color);
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: scaleX(1);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-lg);
  color: var(--white);
 background:
    radial-gradient(
      circle at 90% 10%,
      rgba(167, 183, 122, 0.15),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #0B281A 0%,
      #173D2A 60%,
      #234D36 100%
    );

  box-shadow:
    0 34px 90px rgba(11, 40, 26, 0.24);
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  top: -80px;
  border: 1px solid rgba(198, 161, 91, 0.32);
  border-radius: 50%;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  right: -24px;
  top: -30px;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.09);
}

.panel-top,
.hero-panel-main,
.mini-metrics {
  position: relative;
  z-index: 1;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.62);
}

.status-dot {
  position: relative;
  padding-left: 14px;
}

.status-dot::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--secondary-color);
}

.panel-label {
  margin-bottom: 12px;
  color: var(--secondary-color);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-panel-main h2 {
  max-width: 450px;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-panel-main > p:last-child {
  max-width: 470px;
  margin-top: 18px;
  color: rgba(255,255,255,.68);
  font-size: 0.93rem;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.11);
}

.mini-metrics div {
  display: flex;
  flex-direction: column;
}

.mini-metrics strong {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--secondary-color);
}

.mini-metrics span {
  margin-top: 8px;
  font-size: 0.72rem;
  color: rgba(255,255,255,.55);
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 30px;
  height: 48px;
  transform: translateX(-50%);
  border: 1px solid rgba(11, 31, 51, 0.22);
  border-radius: 18px;
}

.scroll-cue span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--primary-color);
  animation: scrollCue 1.8s infinite;
}

@keyframes scrollCue {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 18px); }
}

/* SECTION HEADINGS */
.section-heading {
  margin-bottom: 58px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 70px;
  align-items: end;
}

.section-heading h2,
.philosophy-copy h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 800;
}

.section-intro,
.section-heading.centered > p:last-child {
  color: var(--muted-text);
  font-size: 1.02rem;
}

.section-heading.centered {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 58px;
  text-align: center;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.about-card {
  position: relative;
  min-height: 285px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 161, 91, 0.48);
  box-shadow: var(--shadow-soft);
}

.number-mark {
  display: block;
  margin-bottom: 52px;
  font-size: 0.76rem;
  color: var(--secondary-color);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.about-card h3 {
  margin-bottom: 14px;
  color: var(--primary-color);
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.about-card p {
  max-width: 560px;
  color: var(--muted-text);
}

.stats-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-item {
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface-soft);
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--line-color);
}

.stat-item strong {
  color: var(--primary-color);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-item span {
  margin-top: 10px;
  color: var(--muted-text);
  font-size: 0.8rem;
  font-weight: 700;
}

/* COMPANIES */
.section-companies {
  background:
    linear-gradient(rgba(11,31,51,.015), rgba(11,31,51,.015)),
    var(--surface-soft);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.company-card {
  --accent: var(--secondary-color);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 610px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(11,31,51,.1);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7,21,35,.04);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.company-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  transform: scaleX(.22);
  transform-origin: left;
  background: var(--accent);
  transition: transform var(--transition);
}

.company-card:hover {
  transform: translateY(-9px);
  border-color: color-mix(in srgb, var(--accent) 44%, transparent);
  box-shadow: var(--shadow-card);
}

.company-card:hover::before {
  transform: scaleX(1);
}

.company-one { --accent: var(--company-1); }
.company-two { --accent: var(--company-2); }
.company-three { --accent: var(--company-3); }

.company-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.company-index {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.industry-pill {
  padding: 7px 10px;
  border: 1px solid var(--line-color);
  border-radius: 999px;
  color: var(--muted-text);
  font-size: 0.90rem;
  font-weight: 700;
}

.company-logo {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 38px 0 24px;
  padding: 3px;
  border-radius: 14px;
  background: #F8FAF6;
}

.company-logo a {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo img {
  width: 100%;
  height: 100%;

  max-width: 300px;
  max-height: 200px;

  object-fit: contain;
  object-position: center center;

  transition: transform var(--transition);
}

.company-card:hover .company-logo img {
  transform: scale(1.035);
}

.company-content h3 {
  color: var(--primary-color);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.company-slogan {
  margin-top: 6px;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.88rem;
}

.company-description {
  margin-top: 16px;
  color: var(--muted-text);
  font-size: 0.91rem;
}

.catalog-actions {
  margin-top: auto;
  padding-top: 32px;
}

.company-btn {
  width: 100%;
  color: var(--white);
  background: var(--primary-color);
}

.company-btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--white);
}

.download-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 800;
}

.download-link:hover {
  color: var(--accent);
}

.download-link:hover svg {
  transform: translateY(2px);
}

/* PHILOSOPHY */
.philosophy-section {
  background: #06111c!important;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.philosophy-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -260px;
  border: 1px solid rgba(198, 161, 91, 0.12);
  border-radius: 50%;
}

.philosophy-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: 80px;
  align-items: start;
}

.philosophy-copy h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.philosophy-copy > p:last-child {
  margin-top: 24px;
  color: rgba(255,255,255,.62);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.035);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 161, 91, 0.45);
  background: rgba(255,255,255,.055);
}

.icon-wrap {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: 12px;
  color: var(--secondary-color);
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  font-size: 1.15rem;
}

.value-card p {
  margin-top: 9px;
  color: rgba(255,255,255,.58);
  font-size: 0.88rem;
}

/* CONTACT */
.contact-section {
  background: var(--surface-warm);
}

.contact-shell {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.contact-info {
  padding: 50px;
  background:
    radial-gradient(circle at 85% 12%, rgba(198,161,91,.16), transparent 30%),
    var(--primary-deep);
  color: var(--white);
}

.eyebrow.light {
  color: var(--secondary-color);
}

.contact-info h2 {
  color: var(--white);
  font-size: clamp(2.25rem, 4vw, 4.2rem);
}

.contact-lead {
  margin-top: 20px;
  color: rgba(255,255,255,.62);
}

.contact-list {
  margin-top: 42px;
  display: grid;
  gap: 22px;
}

.contact-item {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.contact-item span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255,255,255,.42);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.contact-item strong,
.contact-item a {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  color: rgba(255,255,255,.75);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(198,161,91,.42);
  color: var(--secondary-color);
  background: rgba(255,255,255,.04);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-panel {
  padding: 50px;
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.field {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 800;
}

.field label span {
  color: var(--error);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(11,31,51,.16);
  border-radius: 10px;
  background: #fff;
  color: var(--text-color);
  padding: 13px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input {
  height: 50px;
}

.field textarea {
  min-height: 155px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(11,31,51,.3);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(198,161,91,.12);
}

.field.invalid input,
.field.invalid textarea {
  border-color: var(--error);
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  color: var(--error);
  font-size: 0.68rem;
}

.btn-submit {
  margin-top: 12px;
  border: 0;
  color: var(--white);
  background: var(--primary-color);
  cursor: pointer;
}

.quality-title {
  font-size: 32px!important;
}

.btn-submit:hover {
  transform: translateY(-2px);
  background: var(--secondary-color);
  color: var(--primary-deep);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  color: #0d5b35;
  background: #e9f7ef;
  border: 1px solid #bde5ce;
}

.form-status.error {
  color: #7a1c14;
  background: #fff0ee;
  border: 1px solid #f2c6c1;
}

.form-note {
  margin-top: 18px;
  color: var(--muted-text);
  font-size: 0.68rem;
}

/* FOOTER */
.site-footer {
  padding: 66px 0 22px;
  background: #06111c;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr 1fr;
  gap: 60px;
  padding-bottom: 46px;
}

.footer-brand img {
  width: 180px;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 420px;
  margin-top: 20px;
  color: rgba(255,255,255,.48);
  font-size: .82rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 8px;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--secondary-color);
}

.footer-column a,
.footer-column span {
  color: rgba(255,255,255,.56);
  font-size: .8rem;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.36);
  font-size: .72rem;
}

.footer-bottom > div {
  display: flex;
  gap: 18px;
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 720ms cubic-bezier(.2,.65,.25,1),
    transform 720ms cubic-bezier(.2,.65,.25,1);
}

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

/* TABLET */
@media (max-width: 1024px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .section {
    padding: 92px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero h1 {
    max-width: 850px;
    font-size: clamp(3.25rem, 7vw, 5.8rem);
  }

  .hero-panel {
    min-height: 390px;
  }

  .scroll-cue {
    display: none;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .company-card:last-child {
    grid-column: span 2;
    min-height: 520px;
  }

  .company-card:last-child .company-logo {
    max-width: 50%;
  }

  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .form-panel {
    padding: 42px;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 74px 0;
  }

  .site-header {
    height: 72px;
  }

  .brand {
    width: 148px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px 14px 24px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(11,31,51,.08);
    box-shadow: 0 24px 45px rgba(8,28,47,.08);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 15px 8px;
    border-bottom: 1px solid rgba(11,31,51,.07);
    color: var(--primary-color);
    font-size: .9rem;
    font-weight: 800;
  }

  .hero {
    padding: 108px 0 66px;
  }

  .grid-pattern {
    background-size: 48px 48px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.3rem);
  }

  .hero-slogan {
    margin-top: 20px;
    font-size: 1rem;
  }

  .hero-description {
    font-size: .92rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .btn-primary {
    width: 100%;
  }

  .hero-panel {
    min-height: 410px;
    padding: 26px;
    border-radius: 20px;
  }

  .panel-top {
    flex-direction: column;
  }

  .hero-panel-main h2 {
    font-size: 2.25rem;
  }

  .section-heading h2,
  .philosophy-copy h2,
  .contact-info h2 {
    font-size: clamp(2.25rem, 11vw, 3.6rem);
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading.centered {
    text-align: left;
  }

  .about-grid,
  .stats-grid,
  .companies-grid,
  .values-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: auto;
    padding: 28px;
  }

  .number-mark {
    margin-bottom: 28px;
  }

  .stats-grid {
    overflow: visible;
    border: 0;
    gap: 12px;
  }

  .stat-item {
    border: 1px solid var(--line-color) !important;
    border-radius: 14px;
  }

  .company-card,
  .company-card:last-child {
    grid-column: auto;
    min-height: 570px;
  }

  .company-card:last-child .company-logo {
    max-width: none;
  }

  .company-card {
    padding: 24px;
  }

  .industry-pill {
    max-width: 180px;
    text-align: center;
  }

  .company-logo {
    height: 132px;
    margin: 30px 0 22px;
  }

  .philosophy-layout {
    gap: 36px;
  }

  .value-card {
    min-height: auto;
  }

  .contact-shell {
    border-radius: 20px;
  }

  .contact-info,
  .form-panel {
    padding: 30px 24px;
  }

  .field-full {
    grid-column: auto;
  }

  .btn-submit {
    width: 100%;
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 450px;
  }

  .company-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-info,
  .form-panel {
    padding: 26px 20px;
  }
}

/* ACCESSIBILITY: REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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


/* =========================================================
   LANGUAGE SWITCH
   ========================================================= */
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line-color);
  border-radius: 999px;
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.language-switch:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-1px);
}

.desktop-nav .language-switch::after {
  display: none;
}

.mobile-language-switch {
  width: fit-content;
  margin-top: 12px;
  border-bottom: 1px solid var(--line-color) !important;
}

/* =========================================================
   ARABIC / RTL
   ========================================================= */
html[dir="rtl"] body {
  font-family: "Tajawal", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: right;
}



html[dir="rtl"] .hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.35;
}

html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .philosophy-copy h2,
html[dir="rtl"] .hero-panel-main h2, 
html[dir="rtl"] .contact-info h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.4rem);
  line-height: 1.32;
}

html[dir="rtl"] .eyebrow {
  font-size: 1.2rem;
}

html[dir="rtl"] .company-slogan {
    font-size: 1.2rem;
}

html[dir="rtl"] .stat-item span {
  font-size: 1rem;
}

html[dir="rtl"] .mini-metrics span,
html[dir="rtl"] .panel-label,
html[dir="rtl"] .panel-top span {
  font-size: 1rem;
}


html[dir="rtl"] .number-mark,
html[dir="rtl"] .company-index {
  font-size: 1rem;
}



html[dir="rtl"] .brand img,
html[dir="rtl"] .footer-brand img {
  object-position: right center;
}

html[dir="rtl"] .footer-column a[href*="wa.me"] {
  font-size: .9rem;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .panel-top,
html[dir="rtl"] .panel-label,
html[dir="rtl"] .company-index,
html[dir="rtl"] .number-mark,
html[dir="rtl"] .contact-item span,
html[dir="rtl"] .footer-column h3 {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .philosophy-copy h2,
html[dir="rtl"] .contact-info h2,
html[dir="rtl"] .hero-panel-main h2,
html[dir="rtl"] .company-content h3 {
  letter-spacing: -0.015em;
}

html[dir="rtl"] .status-dot {
  padding-left: 0;
  padding-right: 14px;
}

html[dir="rtl"] .status-dot::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .company-logo img {
  object-position: center center;
}

html[dir="rtl"] .company-card::before {
  inset: 0 0 auto auto;
  transform-origin: right;
}

html[dir="rtl"] .company-card-top,
html[dir="rtl"] .panel-top,
html[dir="rtl"] .footer-bottom {
  direction: rtl;
}

html[dir="rtl"] .btn svg,
html[dir="rtl"] .company-btn svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .btn:hover svg,
html[dir="rtl"] .company-btn:hover svg {
  transform: translateX(-4px) scaleX(-1);
}

html[dir="rtl"] .download-link svg {
  transform: none;
}

html[dir="rtl"] .field input,
html[dir="rtl"] .field textarea {
  text-align: right;
}

html[dir="rtl"] .field input[type="email"],
html[dir="rtl"] .field input[type="tel"] {
  direction: ltr;
  text-align: right;
}

html[dir="rtl"] .contact-item a[href^="tel:"],
html[dir="rtl"] .contact-item a[href*="wa.me"],
html[dir="rtl"] .footer-column a[href*="wa.me"] {
  direction: ltr;
  unicode-bidi: embed;
}

html[dir="rtl"] .skip-link {
  left: auto;
  right: 12px;
}

/* =========================================
   RTL BACKGROUND / DECORATIVE ELEMENTS
   ========================================= */





/* Keep brand names and numeric values naturally readable */
html[dir="rtl"] .stat-item strong,
html[dir="rtl"] .mini-metrics strong {
  direction: ltr;
  unicode-bidi: embed;
}

@media (max-width: 767px) {
  html[dir="rtl"] .mobile-nav {
    text-align: right;
  }

  html[dir="rtl"] .section-heading.centered {
    text-align: right;
  }
}
