/* TerraRay MENA landing page - minimal, luxury, responsive */
:root{
  --bg:#0b0c0f;
  --bg2:#0f1116;
  --card:#141722;
  --line:rgba(255,255,255,.10);
  --txt:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --muted2:rgba(255,255,255,.55);
  --accent:#f2d28a;
  --accent2:#d5b26b;
  --shadow: 0 16px 40px rgba(0,0,0,.35);
  --radius:18px;
  --radius2:26px;
  --container: 1160px;
  --font: "Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(242,210,138,.15), transparent 55%),
              radial-gradient(900px 600px at 110% 10%, rgba(213,178,107,.12), transparent 45%),
              var(--bg);
  color:var(--txt);
}
a{color:inherit}
.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}
.header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,12,15,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.brand{
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
}
.brand__mark{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(242,210,138,.25), rgba(213,178,107,.15));
  border:1px solid rgba(242,210,138,.35);
  color:var(--accent);
  font-weight:800;
  letter-spacing:.5px;
}
.brand__text{display:flex; flex-direction:column; line-height:1.1}
.brand__name{font-weight:800; letter-spacing:.2px}
.brand__tag{font-size:12px; color:var(--muted)}
.nav{
  display:flex; gap:18px; align-items:center; flex-wrap:wrap;
}
.nav a{
  text-decoration:none; color:var(--muted);
  font-size:14px;
}
.nav a:hover{color:var(--txt)}
.lang{
  border:1px solid var(--line);
  background:transparent;
  color:var(--txt);
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
}
.hero{padding:42px 0 18px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.12fr .88fr;
  gap:26px;
  align-items:center;
}
.pill{
  display:inline-flex;
  border:1px solid rgba(242,210,138,.28);
  background: rgba(242,210,138,.08);
  color:var(--accent);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  margin-bottom:16px;
}
h1{
  font-size: clamp(28px, 3.4vw, 46px);
  margin:0 0 12px;
  letter-spacing:.2px;
}
.lead{
  margin:0 0 20px;
  color:var(--muted);
  font-size: 16px;
  line-height:1.85;
}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:16px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid var(--line);
  text-decoration:none;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(242,210,138,.35)}
.btn--primary{
  background: linear-gradient(135deg, rgba(242,210,138,.20), rgba(213,178,107,.10));
  border-color: rgba(242,210,138,.35);
}
.btn--ghost{background: rgba(255,255,255,.03)}
.btn__sub{font-size:12px; color:var(--muted2)}
.trust{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:10px;
  margin-top:6px;
}
.trust__item{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:12px 12px;
}
.trust__k{font-weight:800; color:var(--txt)}
.trust__v{font-size:12px; color:var(--muted); margin-top:2px}
.hero__media .frame{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(242,210,138,.18);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.02);
}
.hero__media img{width:100%; height:auto; display:block}
.note{
  color:var(--muted2);
  font-size:13px;
  line-height:1.7;
  margin-top:12px;
  padding-inline:4px;
}

.section{padding:42px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{max-width: 880px; margin-bottom:18px}
.section__head h2{
  margin:0 0 8px;
  font-size: clamp(22px, 2.3vw, 34px);
}
.section__head p{margin:0; color:var(--muted); line-height:1.8}

.grid{display:grid; gap:14px}
.grid--cards{grid-template-columns: repeat(3, 1fr)}
.grid--two{grid-template-columns: 1fr 1fr}

.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.card img{width:100%; height:auto; display:block}
.card__body{padding:14px}
.card__body h3{margin:0 0 6px; font-size:18px}
.card__body p{margin:0 0 10px; color:var(--muted); line-height:1.7}
.card__meta{font-size:12px; color:var(--accent); opacity:.95}

.panel{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding:16px;
}
.panel h3{margin:0 0 10px}
.panel ul, .panel ol{margin:0; padding-inline-start: 20px; color:var(--muted); line-height:1.9}
.fine{margin-top:10px; font-size:12px; color:var(--muted2); line-height:1.7}
.callout{
  margin-top:12px;
  padding:12px;
  border-radius: 16px;
  border:1px solid rgba(242,210,138,.22);
  background: rgba(242,210,138,.08);
  color:var(--accent);
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
}
.inline{color:var(--accent); text-decoration:underline}

.gallery{
  margin-top:18px;
  position:relative;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:12px;
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.gallery__track{
  display:flex;
  gap:10px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:6px;
}
.gallery__track img{
  width: 240px;
  height:320px;
  object-fit:cover;
  object-position:center;
  border-radius:16px;
  border:1px solid var(--line);
  scroll-snap-align:start;
  cursor: zoom-in;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.gallery__prev, .gallery__next{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:36px;height:36px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(11,12,15,.65);
  color:var(--txt);
  cursor:pointer;
}
.gallery__prev{inset-inline-start:10px}
.gallery__next{inset-inline-end:10px}

.modal{
  position:fixed; inset:0;
  background: rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:60;
}
.modal img{
  max-width:min(980px, 100%);
  max-height: 88vh;
  border-radius: 18px;
  border:1px solid rgba(242,210,138,.22);
}
.modal__close{
  position:fixed;
  top:18px;
  inset-inline-end:18px;
  width:44px;height:44px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(11,12,15,.8);
  color:var(--txt);
  font-size:26px;
  cursor:pointer;
}
.form{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding:16px;
}
.form__row{display:flex; flex-direction:column; gap:7px; margin-bottom:12px}
.form__row--two{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
label{font-weight:700; color:var(--txt); font-size:13px}
input, select, textarea{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(11,12,15,.35);
  color:var(--txt);
  padding:12px 12px;
  border-radius: 14px;
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(242,210,138,.35);
  box-shadow: 0 0 0 4px rgba(242,210,138,.08);
}
.form__status{margin-top:10px; font-size:13px; color:var(--accent)}
.side{display:flex}
.side__box{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding:16px;
  width:100%;
}
.hr{height:1px; background: var(--line); margin:14px 0}
.btn--full{width:100%}

.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background: rgba(255,255,255,.02);
}
.footer__inner{display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap}
.footer__brand{font-weight:900}
.footer__links{display:flex; gap:14px}
.footer__links a{color:var(--muted); text-decoration:none}
.footer__links a:hover{color:var(--txt)}

.floatwa{
  position:fixed;
  bottom:18px;
  inset-inline-end:18px;
  width:54px;height:54px;
  border-radius: 18px;
  display:grid; place-items:center;
  border:1px solid rgba(242,210,138,.35);
  background: rgba(242,210,138,.12);
  color:var(--accent);
  text-decoration:none;
  font-weight:900;
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:16px}
  .grid--cards{grid-template-columns: 1fr 1fr}
  .trust{grid-template-columns: 1fr 1fr 1fr}
}
@media (max-width: 640px){
  .nav{display:none}
  .grid--cards{grid-template-columns: 1fr}
  .grid--two{grid-template-columns: 1fr}
  .form__row--two{grid-template-columns: 1fr}
  .trust{grid-template-columns: 1fr}
  .gallery__track img{width: 200px}
}
