/* =========================================================
   AL ATHIYA HOLDING — Design tokens
   Deep emerald + antique gold, Cinzel / Montserrat
========================================================= */
:root{
  --deep: #0B2620;
  --deep-2: #123A31;
  --deep-3: #0E2F27;
  --gold: #D4AF37;
  --gold-light: #F6E7B4;
  --gold-dim: #9C7A2E;
  --gold-deep: #7A5C1E;
  --gold-foil: linear-gradient(100deg, #7A5C1E 0%, #D4AF37 22%, #F8ECC0 45%, #E8CD7A 58%, #B8860B 72%, #F6E7B4 88%, #9C7A2E 100%);
  --cream: #F3EFE6;
  --cream-2: #EAE3D3;
  --ink: #1C1B17;
  --white: #FBFAF7;
  --line: rgba(212,175,55,0.28);

  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;

  --container: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.68,.36,1);
}

/* ---- glittering gold foil utility ---- */
.gold-foil-text{
  background-image: var(--gold-foil);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foilShift 6s ease-in-out infinite;
}
@keyframes foilShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; font-weight:600; letter-spacing:.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

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

:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

.gold-text{
  background-image: var(--gold-foil);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foilShift 6s ease-in-out infinite;
}

/* ---- shared eyebrow / buttons ---- */
.eyebrow{
  display:inline-block;
  font-family:var(--font-body);
  font-size:.72rem;
  letter-spacing:.28em;
  font-weight:600;
  background-image: var(--gold-foil);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foilShift 7s ease-in-out infinite;
  margin-bottom:18px;
}
.eyebrow-dark{ filter:brightness(.82); }

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  font-size:.82rem;
  letter-spacing:.08em;
  font-weight:600;
  text-transform:uppercase;
  border-radius:2px;
  transition:transform .35s var(--ease), background .35s, color .35s, border-color .35s;
  white-space:nowrap;
}
.btn .arrow{ transition:transform .3s var(--ease); }
.btn:hover .arrow{ transform:translateX(4px); }

.btn-gold{
  background-image: var(--gold-foil);
  background-size: 260% 100%;
  background-position: 0% 50%;
  color: var(--deep);
  transition: background-position .6s var(--ease), transform .35s var(--ease), box-shadow .35s;
  box-shadow: 0 4px 18px rgba(212,175,55,.25);
}
.btn-gold:hover{ background-position: 100% 50%; transform:translateY(-2px); box-shadow:0 8px 26px rgba(212,175,55,.4); }

.btn-outline{
  border:1px solid var(--gold);
  color:var(--gold-light);
  padding:10px 22px;
}
.btn-outline:hover{ background:var(--gold); color:var(--deep); }

.btn-line{
  border:1px solid rgba(251,250,247,.4);
  color:var(--white);
}
.btn-line:hover{ border-color:var(--gold-light); color:var(--gold-light); }

.learn-more{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--gold-dim);
  transition:color .3s;
}
.learn-more .arrow{ transition:transform .3s var(--ease); }
.learn-more:hover{ color:var(--gold); }
.learn-more:hover .arrow{ transform:translateX(4px); }

/* ---- progress line ---- */
.progress-line{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:linear-gradient(90deg,var(--gold-dim),var(--gold-light));
  z-index:1200; transition:width .1s linear;
}

/* =========================================================
   HEADER
========================================================= */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(11,38,32,.72);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(212,175,55,.16);
  transition:background .4s, padding .4s, box-shadow .4s;
  padding:14px 0;
}
.site-header.scrolled{
  background:rgba(11,38,32,.94);
  padding:8px 0;
  box-shadow:0 8px 30px rgba(0,0,0,.3);
}
.site-header.scrolled .brand-mark{ height:44px; }
.site-header.scrolled .brand-en{ font-size:1.1rem; }
.header-inner{
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.brand-mark{
  width:auto; height:58px; object-fit:contain;
  filter:drop-shadow(0 3px 10px rgba(0,0,0,.4));
  transition:height .35s var(--ease);
}
.brand-text{ display:flex; flex-direction:column; align-items:center; text-align:center; line-height:1.2; }
.brand-en{ font-family:var(--font-display); font-size:1.3rem; letter-spacing:.04em; color:var(--white); font-weight:600; }
.brand-en em{ font-style:normal; color:var(--gold-light); font-size:.8rem; letter-spacing:.24em; display:block; font-weight:500; margin-top:1px; }
.brand-ar{ font-size:1.2rem; color:var(--gold-light); letter-spacing:.02em; margin-top:4px; text-align:center; font-weight:500; }

.main-nav{ display:flex; align-items:center; gap:34px; }
.nav-link{
  position:relative;
  font-size:.8rem;
  letter-spacing:.05em;
  font-weight:500;
  color:rgba(251,250,247,.82);
  padding:6px 0;
  transition:color .3s;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--gold-light); transition:width .35s var(--ease);
}
.nav-link:hover, .nav-link.active{ color:var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.burger{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px;
}
.burger span{ width:22px; height:2px; background:var(--gold-light); border-radius:2px; transition:transform .3s,opacity .3s; }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
========================================================= */
.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:150px 32px 90px;
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img{
  width:100%; height:100%; object-fit:cover; object-position:center;
  display:block;
}
.hero-bg-shade{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(6,20,17,.92) 0%, rgba(6,20,17,.62) 30%, rgba(6,20,17,.15) 55%, rgba(6,20,17,.05) 70%),
    linear-gradient(0deg, rgba(6,20,17,.55) 0%, transparent 30%);
}

.hero-content{ position:relative; z-index:2; max-width:600px; }

.hero-title{
  font-size:clamp(2.2rem,4.3vw,3.6rem);
  line-height:1.1;
  color:var(--white);
  margin-bottom:22px;
}
.hero-sub{
  font-size:1rem;
  line-height:1.75;
  color:rgba(251,250,247,.82);
  max-width:500px;
  margin-bottom:36px;
  font-weight:300;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; }

@media (max-width:640px){
  .hero{ padding:130px 20px 70px; min-height:80vh; }
  .hero-bg-shade{
    background:
      linear-gradient(0deg, rgba(6,20,17,.94) 20%, rgba(6,20,17,.45) 55%, rgba(6,20,17,.2) 100%);
  }
}

.reveal{ opacity:0; transform:translateY(22px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.hero-content .reveal:nth-child(1){ transition-delay:.05s; }
.hero-content .reveal:nth-child(2){ transition-delay:.18s; }
.hero-content .reveal:nth-child(3){ transition-delay:.32s; }
.hero-content .reveal:nth-child(4){ transition-delay:.46s; }

/* =========================================================
   VALUES STRIP
========================================================= */
.values-strip{ background:var(--cream); border-bottom:1px solid var(--cream-2); }
.values-inner{
  max-width:var(--container); margin:0 auto; padding:44px 32px;
  display:grid; grid-template-columns:repeat(5,1fr); gap:28px;
}
.value-item{ text-align:left; }
.value-icon{ width:34px; height:34px; color:var(--gold-dim); margin-bottom:14px; }
.value-item h3{ font-size:1rem; margin-bottom:6px; color:var(--ink); }
.value-item p{ font-size:.84rem; line-height:1.5; color:#5b5749; }

/* =========================================================
   BUSINESSES
========================================================= */
.businesses{ background:var(--deep); padding:100px 32px 110px; position:relative; }
.section-head{ max-width:640px; margin:0 auto 60px; text-align:center; }
.section-head h2{ font-size:clamp(1.8rem,3.4vw,2.6rem); color:var(--white); margin-bottom:16px; }
.section-head p{ color:rgba(251,250,247,.65); line-height:1.7; font-size:.96rem; }

.business-grid{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:rgba(212,175,55,.16);
  border:1px solid rgba(212,175,55,.16);
}
.biz-card{
  background:var(--deep);
  padding:38px 30px;
  transition:background .4s var(--ease), transform .4s var(--ease);
}
.biz-card:hover{ background:var(--deep-2); transform:translateY(-4px); }
.biz-icon{ width:56px; height:56px; color:var(--gold-light); margin-bottom:22px; }
.biz-card h3{ font-size:1.05rem; color:var(--white); margin-bottom:10px; }
.biz-card p{ font-size:.85rem; line-height:1.6; color:rgba(251,250,247,.6); margin-bottom:18px; min-height:44px; }

/* =========================================================
   SPLIT PANELS — about / news
========================================================= */
.split-panels{
  display:grid; grid-template-columns:1fr 1fr;
  background:var(--cream);
}
.panel{ padding:64px 44px; }
.panel h3{ font-size:1.3rem; color:var(--ink); margin-bottom:18px; }
.panel p{ font-size:.9rem; line-height:1.7; color:#54503f; margin-bottom:22px; }

.panel-about{ background:var(--white); border-right:1px solid var(--cream-2); }
.panel-mark{ margin-bottom:18px; }

.panel-news{ background:var(--cream); }
.news-list{ margin-bottom:22px; }
.news-list li{
  display:flex; flex-direction:column; gap:4px;
  padding:16px 0; border-bottom:1px solid var(--cream-2);
  position:relative;
}
.news-list li:first-child{ padding-top:0; }
.news-date{ font-size:.72rem; letter-spacing:.08em; color:var(--gold-dim); font-weight:600; }
.news-title{ font-size:.9rem; color:var(--ink); font-weight:500; line-height:1.4; }
.news-list li .arrow{ position:absolute; right:0; top:50%; transform:translateY(-50%); opacity:0; transition:opacity .3s, transform .3s; color:var(--gold-dim); }
.news-list li:hover .arrow{ opacity:1; transform:translate(4px,-50%); }

/* =========================================================
   INVESTORS — own dedicated section + grid
========================================================= */
.investors-section{
  background:var(--deep);
  padding:100px 32px 110px;
  border-top:1px solid rgba(212,175,55,.14);
}
.investors-head{ max-width:640px; margin:0 auto 56px; text-align:center; }
.investors-head h2{ font-size:clamp(1.8rem,3.2vw,2.5rem); color:var(--white); margin:14px 0 16px; }
.investors-head p{ color:rgba(251,250,247,.65); line-height:1.7; font-size:.95rem; margin-bottom:30px; }

.investors-grid{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.investor-card{
  background:var(--deep-2);
  border:1px solid rgba(212,175,55,.18);
  border-radius:6px;
  padding:36px 32px;
  transition:transform .4s var(--ease), border-color .4s;
}
.investor-card:hover{ transform:translateY(-4px); border-color:rgba(212,175,55,.4); }
.investor-icon{ width:40px; height:40px; color:var(--gold-light); margin-bottom:20px; }
.investor-card h4{ font-family:var(--font-display); font-size:1.05rem; color:var(--white); margin-bottom:10px; font-weight:600; }
.investor-card p{ font-size:.85rem; line-height:1.6; color:rgba(251,250,247,.6); }
.investor-chart{ margin-bottom:20px; }
.investor-chart svg{ width:100%; height:auto; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer{ background:#081E19; color:rgba(251,250,247,.72); }
.footer-top{
  max-width:var(--container); margin:0 auto; padding:72px 32px 48px;
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1.1fr 1.3fr; gap:40px;
}
.footer-brand{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:18px; }
.footer-brand-row{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.footer-mark{
  width:96px; height:auto; object-fit:contain;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.4));
}
.footer-brand-text{ display:flex; flex-direction:column; align-items:center; text-align:center; line-height:1.25; }
.footer-brand-en{ font-family:var(--font-display); font-size:1.4rem; letter-spacing:.04em; color:var(--white); font-weight:600; }
.footer-brand-en em{ font-style:normal; color:var(--gold-light); font-size:.82rem; letter-spacing:.22em; display:block; font-weight:500; margin-top:2px; }
.footer-brand-ar{ font-size:1.3rem; color:var(--gold-light); margin-top:6px; text-align:center; font-weight:500; }
.footer-tagline{ font-size:.72rem; letter-spacing:.12em; color:var(--gold-dim); line-height:1.8; }

.footer-col h4{
  font-family:var(--font-body); font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-light); margin-bottom:18px; font-weight:600;
}
.footer-col a, .footer-col p{
  display:block; font-size:.85rem; line-height:2; color:rgba(251,250,247,.62);
  transition:color .3s;
}
.footer-col a:hover{ color:var(--gold-light); }
.icon-inline{ width:14px; height:14px; display:inline-block; vertical-align:-2px; margin-right:6px; color:var(--gold-dim); }

.newsletter-form{ display:flex; margin:6px 0 10px; border:1px solid rgba(212,175,55,.35); border-radius:2px; overflow:hidden; }
.newsletter-form input{
  flex:1; background:transparent; border:none; padding:12px 14px; color:var(--white); font-size:.82rem; font-family:inherit;
}
.newsletter-form input::placeholder{ color:rgba(251,250,247,.4); }
.newsletter-form button{ background:var(--gold); border:none; padding:0 16px; display:flex; align-items:center; transition:background .3s; }
.newsletter-form button:hover{ background:var(--gold-light); }
.form-msg{ font-size:.76rem; color:var(--gold-light); min-height:1.2em; }

.social-row{ display:flex; gap:10px; margin-top:14px; }
.social-row a{
  width:34px; height:34px; border:1px solid rgba(212,175,55,.3); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:700;
  color:var(--gold-light); transition:background .3s, color .3s;
}
.social-row a:hover{ background:var(--gold); color:var(--deep); }

.footer-bottom{
  border-top:1px solid rgba(212,175,55,.14);
  padding:22px 32px; max-width:var(--container); margin:0 auto;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.footer-bottom p{ font-size:.78rem; color:rgba(251,250,247,.45); }
.footer-legal{ display:flex; gap:24px; }
.footer-legal a{ font-size:.78rem; color:rgba(251,250,247,.45); transition:color .3s; }
.footer-legal a:hover{ color:var(--gold-light); }

/* =========================================================
   SCROLL TOP
========================================================= */
.scroll-top{
  position:fixed; bottom:28px; right:28px; z-index:900;
  width:46px; height:46px; border-radius:50%;
  background:var(--gold); color:var(--deep); border:none;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.3);
  opacity:0; transform:translateY(10px); pointer-events:none;
  transition:opacity .3s, transform .3s, background .3s;
}
.scroll-top.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
.scroll-top:hover{ background:var(--gold-light); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:1080px){
  .business-grid{ grid-template-columns:repeat(2,1fr); }
  .values-inner{ grid-template-columns:repeat(3,1fr); }
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:860px){
  .main-nav{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px);
    background:var(--deep); flex-direction:column; align-items:flex-start;
    padding:110px 36px 40px; gap:26px;
    transform:translateX(100%); transition:transform .45s var(--ease);
    box-shadow:-20px 0 50px rgba(0,0,0,.4);
  }
  .main-nav.open{ transform:translateX(0); }
  .burger{ display:flex; }
  .header-actions .btn-outline{ display:none; }
  .split-panels{ grid-template-columns:1fr; }
  .panel-about, .panel-news{ border-right:none; border-bottom:1px solid var(--cream-2); }
  .investors-grid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .values-inner{ grid-template-columns:repeat(2,1fr); }
  .business-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; padding:56px 24px 32px; }
  .header-inner{ padding:0 20px; }
  .hero{ padding:120px 20px 80px; }
  .hero-monogram{ opacity:.25; width:52vw; top:12%; transform:none; }
}

@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
  html{ scroll-behavior:auto; }
}
