/* ============================================================
   ASREM — Design System
   Apple-clean: slate blue + logo orange, Inter type
   ============================================================ */

:root {
  --brand: #24546C;
  --brand-dark: #16394B;
  --accent: #E87D2B;
  --accent-dark: #C96A1F;
  --accent-tint: #FDF0E3;
  --ink: #12242E;
  --body: #3d4657;
  --muted: #6b7484;
  --line: #e6e9ef;
  --surface: #f7f8fa;
  --white: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05);
  --shadow-md: 0 10px 30px rgba(11, 18, 32, .08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, .12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.08rem; font-weight: 700; }
p { color: var(--body); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.accent { color: var(--accent); }

.eyebrow {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--body); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(232, 125, 43, .30); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232, 125, 43, .36); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-light { background: var(--accent); color: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; background: var(--accent-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

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

.brand { display: inline-flex; align-items: center; }
.brand-img { height: 38px; width: auto; display: block; }
.brand-mark { border-radius: 8px; display: block; }
.brand-word { font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: var(--body); font-weight: 500; font-size: .98rem; transition: color .15s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav .nav-cta {
  background: var(--accent); color: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 100px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -260px; right: -180px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(11, 107, 79, .10), rgba(11, 107, 79, 0) 65%);
  pointer-events: none;
}
.hero h1 { margin: 18px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-note { margin-top: 34px; font-size: .92rem; color: var(--muted); letter-spacing: .02em; }

.page-hero { padding: 96px 0 64px; }
.page-hero h1 { margin-bottom: 20px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }

.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head p { margin-top: 16px; font-size: 1.12rem; }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: block; color: inherit;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; color: inherit; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: .99rem; }
.card-link { display: inline-block; margin-top: 20px; font-weight: 600; font-size: .95rem; color: var(--accent); }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.why-item h4 { margin-bottom: 8px; font-size: 1.15rem; }
.why-item p { font-size: 1rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; position: relative; }
.step-num { display: block; font-size: .85rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); margin-bottom: 16px; }
.steps h4 { margin-bottom: 10px; }
.steps p { font-size: .99rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 96px 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 34px; }

/* ---------- Services pages ---------- */
.service-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.service-intro { position: sticky; top: 110px; }
.service-intro h2 { margin-bottom: 18px; }
.service-intro p { font-size: 1.1rem; }
.service-intro .btn { margin-top: 30px; }

.service-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.service-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 28px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service-list li:hover { border-color: var(--accent); transform: translateX(6px); box-shadow: var(--shadow-sm); }
.service-list strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.service-list span { color: var(--body); font-size: .97rem; }
.section-alt .service-list li { background: var(--white); }

/* ---------- About ---------- */
.split-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.split-2 p + p { margin-top: 16px; }
.split-2 h2 { margin-bottom: 18px; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.values-list strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.values-list span { color: var(--body); font-size: .98rem; }
.founders { margin-top: 22px; font-weight: 600; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.contact-block { margin: 30px 0; display: flex; flex-direction: column; gap: 18px; }
.contact-block p { font-size: 1.02rem; }
.btn-wa { margin-top: 6px; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11, 107, 79, .12);
}
.form-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: #c4cbd8; padding: 72px 0 36px; }
.footer-logo-chip { display: inline-block; background: #fff; padding: 10px 18px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.footer-logo-chip img { height: 30px; width: auto; display: block; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .brand-word { color: #fff; }
.footer-ar { margin-top: 16px; font-size: 1.05rem; color: #8b94a7; direction: rtl; text-align: left; }
.footer-tag { margin-top: 6px; font-size: .92rem; color: #8b94a7; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: #c4cbd8; font-size: .98rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact p { color: #c4cbd8; font-size: .98rem; margin-bottom: 10px; }
.footer-contact a { color: #f5a96b; }
.footer-contact a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.10); padding-top: 28px; display: flex; flex-direction: column; gap: 6px; }
.footer-legal p { color: #8b94a7; font-size: .88rem; }
.license-line { color: #6b7484; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .3, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards-3, .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-split, .split-2, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 68px 0; }
  .hero { padding: 88px 0 72px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-cta { text-align: center; margin-top: 12px; }
}
n: center; margin-top: 12px; }
}
