/* ===========================================================================
   VEROX — Marketing website styles (site.css)
   Depends on base.css. RTL Arabic.
   =========================================================================== */

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(246,248,244,.82); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft); transition: box-shadow .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-md); background: rgba(246,248,244,.94); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 42px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.12)); }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word b { font-size: 1.25rem; font-weight: 900; letter-spacing: .04em; color: var(--green-700); }
.brand-word span { font-size: .58rem; letter-spacing: .18em; color: var(--gold-600, var(--gold-700)); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 9px 15px; border-radius: var(--r-pill); font-weight: 600; font-size: .97rem; color: var(--ink-soft); transition: background .16s, color .16s; }
.nav a:hover, .nav a.active { background: var(--green-100); color: var(--green-700); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.lang-toggle { width: 42px; height: 42px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; font-weight: 800; font-size: .92rem; color: var(--green-700); box-shadow: var(--sh-sm); transition: border-color .15s, color .15s, transform .15s; }
.lang-toggle:hover { border-color: var(--green-300); color: var(--green-600); transform: translateY(-1px); }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.burger span { display: block; width: 20px; height: 2px; background: var(--green-700); margin: 4px auto; border-radius: 2px; transition: .25s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--green-100), transparent 60%),
    radial-gradient(760px 420px at 4% 108%, var(--gold-100), transparent 62%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero-copy .display { margin: 18px 0 18px; }
.hero-copy .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; }
.hero-trust .item { display: flex; flex-direction: column; }
.hero-trust .item b { font-size: 1.7rem; font-weight: 900; color: var(--green-600); }
.hero-trust .item span { font-size: .86rem; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(150deg, var(--green-700), var(--green-900));
  box-shadow: var(--sh-lg); padding: 34px; color: #eaf3e6; min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background: radial-gradient(400px 260px at 80% 12%, rgba(212,175,55,.28), transparent 60%);
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card .k { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }
.hero-card .big { font-size: 2rem; font-weight: 800; margin-top: 8px; }
.hero-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.hero-mini .m { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 14px; }
.hero-mini .m b { display: block; font-size: 1.3rem; color: #fff; }
.hero-mini .m span { font-size: .78rem; color: var(--green-200); }
.float-badge {
  position: absolute; inset-inline-start: -18px; bottom: 30px; z-index: 2;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.float-badge .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; }
.float-badge b { font-size: .98rem; }
.float-badge span { font-size: .78rem; color: var(--muted); }

/* ---- Hero slider ---------------------------------------------------------- */
.hero-slider { position: relative; height: clamp(500px, 78vh, 680px); overflow: hidden; background: var(--green-900); }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease); background-size: cover; background-position: center; display: flex; align-items: center; }
.hs-slide.active { opacity: 1; visibility: visible; }
.hs-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(15,26,19,.9) 0%, rgba(15,26,19,.66) 44%, rgba(15,26,19,.34) 100%); }
:root[dir="ltr"] .hs-slide::before, html[dir="ltr"] .hs-slide::before { background: linear-gradient(90deg, rgba(15,26,19,.9) 0%, rgba(15,26,19,.66) 44%, rgba(15,26,19,.34) 100%); }
.hs-content { position: relative; z-index: 2; max-width: 640px; color: #fff; }
.hs-content .eyebrow { color: var(--gold-300); }
.hs-content .eyebrow::before { background: var(--gold-400); }
.hs-content h1 { color: #fff; font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 900; margin: 16px 0 16px; letter-spacing: -.01em; }
.hs-content p { color: #d8e6d1; font-size: clamp(1rem, 2vw, 1.2rem); max-width: 540px; line-height: 1.7; }
.hs-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hs-slide.active .hs-content > * { animation: riseIn .8s var(--ease) both; }
.hs-slide.active .hs-content > *:nth-child(2) { animation-delay: .1s; }
.hs-slide.active .hs-content > *:nth-child(3) { animation-delay: .2s; }
.hs-slide.active .hs-content > *:nth-child(4) { animation-delay: .3s; }
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); transition: background .2s, transform .2s; }
.hs-arrow:hover { background: rgba(255,255,255,.3); }
.hs-arrow svg { width: 24px; height: 24px; }
.hs-prev { left: 22px; } .hs-next { right: 22px; }
.hs-dots { position: absolute; inset-inline: 0; bottom: 22px; z-index: 5; display: flex; gap: 10px; justify-content: center; }
.hs-dot { width: 11px; height: 11px; border-radius: 999px; background: rgba(255,255,255,.4); cursor: pointer; transition: width .25s var(--ease), background .25s; border: 0; }
.hs-dot.active { width: 32px; background: var(--gold-400); }
.hero-stats-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-stats-strip .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-around; padding-block: 22px; }
.hero-stats-strip .hs-stat { text-align: center; flex: 1; min-width: 120px; }
.hero-stats-strip b { display: block; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; color: var(--green-600); }
.hero-stats-strip span { font-size: .84rem; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) {
  .hero-slider { height: clamp(460px, 86vh, 580px); }
  .hs-arrow { width: 40px; height: 40px; } .hs-prev { left: 10px; } .hs-next { right: 10px; }
  .hs-content p { font-size: 1rem; }
}

/* ---- Trust strip ---------------------------------------------------------- */
.strip { background: var(--green-900); color: #dfe7db; }
.strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block: 20px; }
.strip .s { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .96rem; }
.strip .s svg { color: var(--gold-400); width: 22px; height: 22px; }

/* ---- Section head --------------------------------------------------------- */
.sec-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.sec-head .h-lead { margin: 14px 0 12px; }

/* ---- Services ------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative; overflow: hidden;
}
.svc::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--green-400); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--green-200); }
.svc:hover::before { transform: scaleY(1); }
.svc .ic { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(140deg, var(--green-100), var(--green-050)); color: var(--green-600); display: grid; place-items: center; margin-bottom: 18px; }
.svc .ic svg { width: 28px; height: 28px; }
.svc h3 { font-size: 1.18rem; margin-bottom: 8px; }
.svc p { color: var(--ink-soft); font-size: .96rem; }

/* ---- Feature / process ---------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step:nth-child(even) .n { background: linear-gradient(140deg, var(--gold-400), var(--gold-500)); color: #2c2408; }
.step h4 { font-size: 1.08rem; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: .95rem; }
.panel-green { background: linear-gradient(155deg, var(--green-700), var(--green-900)); border-radius: var(--r-xl); padding: 38px; color: #e7f0e2; box-shadow: var(--sh-lg); }
.panel-green h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.panel-green ul { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.panel-green li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; }
.panel-green li svg { flex: 0 0 auto; color: var(--gold-400); width: 22px; height: 22px; margin-top: 1px; }

/* ---- Stats band ----------------------------------------------------------- */
.stats { background: var(--green-050); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stats .st b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: var(--green-600); }
.stats .st span { color: var(--muted); font-weight: 600; }

/* ---- CTA ------------------------------------------------------------------ */
.cta-wrap { background: linear-gradient(150deg, var(--green-800), var(--green-900)); border-radius: var(--r-xl); padding: clamp(34px, 5vw, 64px); text-align: center; color: #eaf3e6; position: relative; overflow: hidden; box-shadow: var(--sh-lg); }
.cta-wrap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 50% -20%, rgba(212,175,55,.22), transparent 60%); }
.cta-wrap > * { position: relative; }
.cta-wrap h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-wrap .lead { color: var(--green-200); margin: 14px auto 28px; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.info-item .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; }
.info-item b { display: block; font-size: .82rem; color: var(--muted); font-weight: 700; }
.info-item a, .info-item p { font-size: 1.05rem; font-weight: 700; color: var(--ink); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--green-900); color: #b9c8b3; padding-block: 56px 26px; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer .brand-word b { color: #fff; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-weight: 800; }
.site-footer a { color: #b9c8b3; font-size: .95rem; }
.site-footer a:hover { color: var(--gold-300); }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #8ea187; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .16s, transform .16s; }
.social a:hover { background: var(--green-400); transform: translateY(-3px); }

/* ---- Floating WhatsApp ---------------------------------------------------- */
.fab-wa { position: fixed; inset-inline-end: 22px; inset-block-end: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); animation: waPulse 2.6s infinite; }
.fab-wa svg { width: 30px; height: 30px; }
@keyframes waPulse { 0%,100% { box-shadow: 0 10px 28px rgba(37,211,102,.45); } 50% { box-shadow: 0 10px 28px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,.001); } }

/* ---- Page hero (inner pages) ---------------------------------------------- */
.page-hero { background: linear-gradient(160deg, var(--green-050), var(--bg)); padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-soft); }
.page-hero .eyebrow { justify-content: center; }
.crumbs { display: flex; gap: 8px; justify-content: center; color: var(--muted); font-size: .9rem; margin-top: 14px; }
.crumbs a:hover { color: var(--green-600); }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .nav.open { display: flex; position: absolute; top: var(--header-h); inset-inline: 12px; flex-direction: column; align-items: stretch; background: #fff; padding: 14px; border-radius: var(--r-lg); box-shadow: var(--sh-lg); border: 1px solid var(--line); }
  .nav.open a { padding: 13px 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; }
}
