/* ==========================================================================
   Zevron Group — Design Tokens
   Palette: Graphite / Ivory / Emerald / Gold
   Type: Space Grotesk (en display) + Golos Text (ru) + Rubik (he) + El Messiri (ar)
         Inter (en/ru body) + Assistant (he) + Cairo (ar)
   ========================================================================== */

:root{
  --ink:        #12161C;   /* graphite — was navy */
  --ink-2:      #1B222A;
  --sand:       #F1EEE7;   /* warm ivory surface */
  --off-white:  #FAF9F6;
  --copper:     #1F7A5C;   /* emerald — primary accent */
  --copper-lt:  #3FAE86;
  --gold:       #D9A441;   /* secondary accent */
  --gold-lt:    #EAC77A;
  --teal:       #0F4C3A;
  --slate:      #5B6470;
  --line:       rgba(18,22,28,0.12);
  --line-lt:    rgba(250,249,246,0.18);

  --gradient-brand: linear-gradient(135deg, var(--copper) 0%, var(--teal) 100%);
  --gradient-gold:  linear-gradient(135deg, var(--gold) 0%, #B9812C 100%);
  --shadow-soft: 0 10px 30px rgba(18,22,28,0.08);
  --shadow-lift: 0 18px 44px rgba(18,22,28,0.16);
  --glow-emerald: 0 0 0 4px rgba(31,122,92,0.14);

  --radius: 10px;
  --radius-sm: 6px;
  --container: 1240px;

  --ease: cubic-bezier(.4,0,.2,1);
  --speed: .5s;
}

/* ---- Language-aware typography -------------------------------------- */
:lang(en){ --font-body:'Inter',sans-serif; --font-head:'Space Grotesk',sans-serif; }
:lang(ru){ --font-body:'Inter',sans-serif; --font-head:'Golos Text',sans-serif; }
:lang(he){ --font-body:'Assistant',sans-serif; --font-head:'Rubik',sans-serif; }
:lang(ar){ --font-body:'Cairo',sans-serif; --font-head:'El Messiri',sans-serif; }

/* Subtle dot-grid texture, used behind selected light sections */
.pattern-dots{
  background-image: radial-gradient(rgba(18,22,28,0.09) 1px, transparent 1px);
  background-size: 18px 18px;
}

html{ scroll-behavior:smooth; }
@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; }
}

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,.display-serif{
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] h4{ letter-spacing:0; font-weight:700; }

a{ text-decoration:none; color:inherit; }
.container-wide{ max-width: var(--container); margin:0 auto; padding:0 24px; }

/* ---- Section rhythm --------------------------------------------------- */
.section{ padding: 120px 0; position:relative; }
.section-tight{ padding: 88px 0; }
@media (max-width: 767px){
  .section{ padding: 72px 0; }
  .section-tight{ padding: 56px 0; }
}

.eyebrow{
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 14px;
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width: 28px; height:1px;
  background: var(--copper);
  display:inline-block;
}
[dir="rtl"] .eyebrow::before{ order:2; }

.section-title{
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin-bottom: 20px;
  line-height: 1.15;
}
.section-lede{
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
}

.rule{ height:1px; background: var(--line); border:0; margin: 0; }

/* ==========================================================================
   Top utility / header
   ========================================================================== */
.top-bar{
  background: var(--ink);
  color: var(--off-white);
  font-size: 0.82rem;
}
.top-bar a{ opacity:.85; transition: opacity .2s var(--ease); }
.top-bar a:hover{ opacity:1; color: var(--copper-lt); }

.lang-switch{
  display:flex;
  align-items:center;
  gap: 4px;
}
.lang-switch .lang-item{
  padding: 3px 9px;
  border-radius: var(--radius);
  color: rgba(250,249,246,.65);
  font-weight:600;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.lang-switch .lang-item.active,
.lang-switch .lang-item:hover{
  color: var(--ink);
  background: var(--copper-lt);
}
.lang-switch .lang-sep{ color: rgba(250,249,246,.25); }

.site-header{
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(250,249,246,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled{
  box-shadow: 0 6px 24px rgba(18,22,28,0.08);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-family: var(--font-head);
  font-weight:700;
  font-size:1.3rem;
  color: var(--ink);
}
.brand .mark{
  width:38px;height:38px;
  border:1.5px solid var(--ink);
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;
  position:relative;
}
.brand .mark::after{
  content:"";
  position:absolute; inset:4px;
  border:1px solid var(--copper);
}

.main-nav .nav-link{
  font-weight:500;
  font-size: 0.94rem;
  color: var(--ink);
  padding: 10px 16px !important;
  position:relative;
}
.main-nav .nav-link::after{
  content:"";
  position:absolute;
  bottom:6px; left:16px; right:16px;
  height:1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
[dir="rtl"] .main-nav .nav-link::after{ transform-origin: right; }
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after{ transform: scaleX(1); }

.btn-copper{
  background: var(--gradient-brand);
  color: var(--off-white) !important;
  border: 1px solid transparent;
  padding: 10px 24px;
  font-weight:600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn-copper:hover{
  box-shadow: var(--shadow-lift), var(--glow-emerald);
  transform: translateY(-2px);
  color: var(--off-white) !important;
}
.btn-outline-line{
  border:1.5px solid rgba(250,249,246,.4);
  color: var(--off-white);
  padding: 12px 26px;
  font-weight:600;
  font-size:0.92rem;
  border-radius: var(--radius);
  transition: all .25s var(--ease);
}
.btn-outline-line:hover{
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

/* Scroll progress bar */
.scroll-progress{
  position: fixed; top:0; left:0; height:3px;
  background: var(--copper);
  width:0%;
  z-index: 2000;
  transition: width .08s linear;
}

/* Page loader */
.page-loader{
  position:fixed; inset:0; z-index:3000;
  background: var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.page-loader.loaded{ opacity:0; visibility:hidden; }
.loader-mark{
  font-family: var(--font-head);
  color: var(--off-white);
  font-size: 1.6rem;
  letter-spacing: .04em;
  position:relative;
  padding-bottom: 14px;
}
.loader-mark::after{
  content:"";
  position:absolute; bottom:0; left:0;
  height:2px; width:100%;
  background: var(--line-lt);
}
.loader-mark::before{
  content:"";
  position:absolute; bottom:0; left:0;
  height:2px; width:0;
  background: var(--copper);
  animation: loadbar 1.1s var(--ease) forwards;
}
@keyframes loadbar{ to{ width:100%; } }

/* ==========================================================================
   Inner page banner (non-homepage hero)
   ========================================================================== */
.page-hero{
  position:relative;
  min-height: 340px;
  display:flex;
  align-items:flex-end;
  color: var(--off-white);
  overflow:hidden;
}
.page-hero img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.page-hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(18,22,28,.55) 0%, rgba(18,22,28,.82) 100%);
}
.page-hero-content{
  position:relative; z-index:2;
  padding: 64px 0 40px;
}
.page-hero-content .eyebrow{ color: var(--copper-lt); }
.page-hero-content .eyebrow::before{ background: var(--copper-lt); }
.page-hero-title{
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--off-white);
}
.page-hero-sub{
  margin-top: 14px;
  color: rgba(250,249,246,.78);
  max-width: 56ch;
  font-size: 1.02rem;
  line-height:1.6;
}
.breadcrumb-line{
  font-size: 0.8rem;
  color: rgba(250,249,246,.6);
  margin-bottom: 18px;
}
.breadcrumb-line a{ color: rgba(250,249,246,.85); }
.breadcrumb-line a:hover{ color: var(--copper-lt); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative;
  height: 100vh;
  min-height: 620px;
  color: var(--off-white);
  overflow:hidden;
  display:flex;
  align-items:flex-end;
}
.hero-slide{
  position:absolute; inset:0;
  opacity:0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active{ opacity:1; z-index:1; }
.hero-slide video,
.hero-slide .hero-fallback{
  width:100%; height:100%;
  object-fit: cover;
  transform: scale(1.08);
}
.hero-slide.active video,
.hero-slide.active .hero-fallback{
  animation: kenburns 12s ease-in-out forwards;
}
@keyframes kenburns{
  0%{ transform: scale(1.08) translate3d(0,0,0); }
  100%{ transform: scale(1.18) translate3d(-1%, -1%, 0); }
}
.hero-fallback{
  background-size: cover;
  background-position: center;
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(18,22,28,.55) 0%, rgba(18,22,28,.35) 42%, rgba(18,22,28,.88) 100%);
  z-index:2;
}
.hero-content{
  position:relative; z-index:3;
  width:100%;
  padding: 0 24px 96px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-eyebrow{
  color: var(--copper-lt);
  letter-spacing:.04em;
  font-weight:600;
  font-size:0.85rem;
  margin-bottom:18px;
  display:flex; align-items:center; gap:10px;
}
.hero-eyebrow::before{ content:""; width:32px; height:1px; background:var(--copper-lt); }
.hero-title{
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.06;
  font-weight:600;
  max-width: 15ch;
}
.hero-title span{ display:block; }
.hero-title .thin{ font-weight:300; color: rgba(250,249,246,.82); }
.hero-subtitle{
  margin-top: 22px;
  font-size: 1.08rem;
  max-width: 46ch;
  color: rgba(250,249,246,.8);
  line-height:1.7;
}
.hero-actions{
  margin-top: 38px;
  display:flex; gap:16px; flex-wrap:wrap;
}
.hero-dots{
  position:absolute;
  bottom: 40px;
  inset-inline-end: 24px;
  z-index:4;
  display:flex; gap:10px;
}
.hero-dots button{
  width:28px; height:3px; border:0;
  background: rgba(250,249,246,.35);
  transition: background .3s var(--ease);
}
.hero-dots button.active{ background: var(--copper-lt); }

.hero-scroll-cue{
  position:absolute; bottom:40px; inset-inline-start:24px; z-index:4;
  color: rgba(250,249,246,.7);
  font-size:0.78rem;
  letter-spacing:.06em;
  display:flex; align-items:center; gap:10px;
}
.hero-scroll-cue .line{
  width:1px; height:34px;
  background: rgba(250,249,246,.4);
  position:relative;
  overflow:hidden;
}
.hero-scroll-cue .line::after{
  content:"";
  position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: var(--copper-lt);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; }
}

/* ==========================================================================
   Companies
   ========================================================================== */
.company-row{
  display:flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow-x:auto;
  scroll-snap-type: x proximity;
}
.company-tile{
  scroll-snap-align:start;
  flex: 0 0 300px;
  background: var(--off-white);
  padding: 40px 30px;
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
  position:relative;
  overflow:hidden;
}
.company-tile::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
[dir="rtl"] .company-tile::before{ transform-origin: right; }
.company-tile:hover{
  background: var(--ink);
  color: var(--off-white);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}
.company-tile:hover::before{ transform: scaleX(1); }
.company-tile:hover .company-visit{ color: var(--gold-lt); }
.company-tile:hover .company-ind{ color: var(--copper-lt); }
.company-logo{
  width:52px; height:52px;
  border:1px solid var(--line);
  border-radius: var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-head);
  font-weight:700;
  margin-bottom: 26px;
  transition: border-color .35s var(--ease);
}
.company-tile:hover .company-logo{ border-color: rgba(250,249,246,.3); }
.company-ind{
  font-size: 0.78rem;
  letter-spacing:.03em;
  color: var(--copper);
  font-weight:600;
  margin-bottom: 10px;
  transition: color .35s var(--ease);
}
.company-name{
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.company-desc{
  font-size: 0.92rem;
  line-height: 1.65;
  opacity:.8;
  margin-bottom: 24px;
}
.company-visit{
  font-size:0.82rem;
  font-weight:600;
  border-bottom: 1px solid currentColor;
  padding-bottom:2px;
  display:inline-block;
}

/* ==========================================================================
   About / Stats
   ========================================================================== */
.about-media{
  position:relative;
  height: 100%;
  min-height: 420px;
  overflow:hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.about-media img{
  width:100%; height:100%; object-fit:cover;
  transition: transform 1.2s var(--ease);
}
.about-media:hover img{ transform: scale(1.06); }

.stat-bar{
  display:flex;
  border-top: 1px solid var(--line);
  margin-top: 56px;
}
.stat-item{
  flex:1;
  padding: 26px 24px 0;
  border-inline-start: 1px solid var(--line);
}
.stat-item:first-child{ border-inline-start:0; padding-inline-start:0; }
.stat-num{
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--ink);
  line-height:1;
}
.stat-num .plus{ color: var(--copper); }
.stat-label{
  margin-top:10px;
  font-size:0.82rem;
  color: var(--slate);
}

/* ==========================================================================
   Industries — sequenced list, not cards
   ========================================================================== */
.industry-row{
  border-top: 1px solid var(--line);
  display:flex;
  align-items:center;
  gap: 32px;
  padding: 26px 0;
  cursor:default;
  transition: padding .35s var(--ease);
}
.industry-list .industry-row:last-child{ border-bottom: 1px solid var(--line); }
.industry-index{
  font-family: var(--font-head);
  color: var(--copper);
  font-size:1rem;
  flex: 0 0 44px;
}
.industry-name{
  font-family: var(--font-head);
  font-size: clamp(1.2rem,2vw,1.6rem);
  flex: 0 0 260px;
}
.industry-desc{
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 520px;
  opacity:0;
  max-height:0;
  overflow:hidden;
  transition: opacity .35s var(--ease);
}
.industry-row:hover{ padding-inline-start: 14px; background: rgba(184,128,74,0.05); }
.industry-row:hover .industry-desc{ opacity:1; max-height:100px; }
@media (max-width: 767px){
  .industry-row{ flex-wrap:wrap; }
  .industry-desc{ opacity:1; max-height:none; flex-basis:100%; }
}

/* ==========================================================================
   Why choose us — asymmetric, rule-divided
   ========================================================================== */
.why-item{
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.why-item:nth-child(2){ margin-top: 48px; }
.why-item:nth-child(4){ margin-top: 48px; }
.why-num{
  font-family: var(--font-head);
  color: var(--copper);
  font-size: 0.95rem;
  margin-bottom: 14px;
  display:block;
}
.why-title{
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.why-desc{ color: var(--slate); line-height:1.7; }

/* ==========================================================================
   Featured — editorial full-width breaks
   ========================================================================== */
.featured-block{
  position:relative;
  min-height: 420px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  color: var(--off-white);
  margin-bottom: 2px;
  border-radius: var(--radius-sm);
}
.featured-block img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transition: transform 1s var(--ease);
}
.featured-block:hover img{ transform: scale(1.05); }
.featured-block::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(18,22,28,0) 40%, rgba(18,22,28,.85) 100%);
}
.featured-block-inner{
  position:relative; z-index:2;
  padding: 34px;
}
.featured-tag{
  font-size:0.78rem;
  letter-spacing:.03em;
  color: var(--gold-lt);
  font-weight:600;
  margin-bottom:10px;
}
.featured-title{
  font-family: var(--font-head);
  font-size:1.4rem;
}

/* ==========================================================================
   Leadership
   ========================================================================== */
.leader-card{ text-align:start; }
.leader-photo{
  aspect-ratio: 4/5;
  overflow:hidden;
  margin-bottom: 18px;
  background: var(--sand);
  border-radius: var(--radius-sm);
}
.leader-photo img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(45%);
  transition: filter .4s var(--ease), transform .6s var(--ease);
}
.leader-card:hover .leader-photo img{ filter:grayscale(0%); transform: scale(1.04); }
.leader-name{ font-family: var(--font-head); font-size:1.1rem; margin-bottom:4px; }
.leader-role{ color: var(--copper); font-size:0.85rem; font-weight:600; }

/* ==========================================================================
   News
   ========================================================================== */
.news-row{
  display:flex;
  align-items:baseline;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.news-list .news-row:last-child{ border-bottom:1px solid var(--line); }
.news-row:hover{ background: rgba(184,128,74,.05); }
.news-date{
  flex:0 0 100px;
  color: var(--copper);
  font-size:0.85rem;
  font-weight:600;
}
.news-title{
  font-family: var(--font-head);
  font-size: 1.15rem;
  flex:1;
}
.news-link{
  font-size:0.82rem;
  font-weight:600;
  border-bottom:1px solid currentColor;
  white-space:nowrap;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-dark{
  background: var(--ink);
  color: var(--off-white);
}
.contact-dark .section-lede{ color: rgba(250,249,246,.68); }
.contact-dark .eyebrow{ color: var(--copper-lt); }
.contact-dark .eyebrow::before{ background: var(--copper-lt); }
.contact-dark h2{ color: var(--off-white); }

.form-control-line{
  background: transparent;
  border:0;
  border-bottom: 1px solid rgba(250,249,246,.3);
  border-radius:0;
  color: var(--off-white);
  padding: 12px 2px;
}
.form-control-line::placeholder{ color: rgba(250,249,246,.4); }
.form-control-line:focus{
  background: transparent;
  color: var(--off-white);
  border-bottom-color: var(--copper-lt);
  box-shadow:none;
}
.contact-info-item{
  padding-top: 20px;
  border-top: 1px solid rgba(250,249,246,.15);
}
.contact-info-label{
  font-size: 0.78rem;
  color: var(--copper-lt);
  font-weight:600;
  margin-bottom: 6px;
}
.map-frame{
  border:0; width:100%; height: 260px;
  border-radius: var(--radius-sm);
  filter: grayscale(65%) invert(92%) contrast(90%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--ink);
  color: rgba(250,249,246,.7);
  padding-top: 80px;
}
.site-footer .brand{ color: var(--off-white); }
.site-footer .brand .mark{ border-color: rgba(250,249,246,.4); }
.footer-heading{
  color: var(--off-white);
  font-size:0.82rem;
  letter-spacing:.03em;
  font-weight:600;
  margin-bottom: 18px;
}
.footer-links li{ margin-bottom:10px; }
.footer-links a{
  color: rgba(250,249,246,.65);
  font-size:0.92rem;
  transition: color .2s var(--ease);
}
.footer-links a:hover{ color: var(--copper-lt); }
.footer-bottom{
  border-top:1px solid rgba(250,249,246,.12);
  margin-top: 60px;
  padding: 24px 0;
  font-size:0.82rem;
}

/* ---- Floating WhatsApp button ---- */
.whatsapp-float{
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 56px; height:56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 24px rgba(18,22,28,0.25);
  z-index: 1500;
  transition: transform .25s var(--ease);
}
.whatsapp-float:hover{ transform: scale(1.08); color:#fff; }

/* ==========================================================================
   Reveal-on-scroll (lightweight, respects reduced motion)
   ========================================================================== */
.reveal{
  opacity:0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity:1; transform:none; }

/* Counter number just uses text content changes via JS */
