/* =====================================================================
   ASSYAD REGIONAL — styles.css
   Brand: Navy (#132a5e) + Red (#c0272d). Modern corporate. RTL + LTR.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy:        #132a5e;
  --navy-900:    #0d1f45;
  --navy-800:    #16306b;
  --navy-700:    #1e3a8a;
  --red:         #c0272d;
  --red-600:     #d6353b;
  --red-500:     #e14a50;

  --ink:         #0f1b33;
  --body:        #4a5568;
  --muted:       #7a8699;
  --line:        #e6eaf1;
  --bg:          #ffffff;
  --bg-soft:     #f3f6fc;
  --bg-navy-soft:#eef2fb;

  --white:       #ffffff;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(19,42,94,.06);
  --shadow:    0 14px 40px rgba(19,42,94,.10);
  --shadow-lg: 0 24px 60px rgba(19,42,94,.16);

  --container: 1200px;
  --header-h: 78px;

  --ff-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --ff-en: "Poppins", "Segoe UI", Arial, sans-serif;

  --t: .28s cubic-bezier(.4,.2,.2,1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-ar);
  color: var(--body);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
body.lang-en { font-family: var(--ff-en); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0; color: var(--ink); line-height: 1.25; font-weight: 800; }
p { margin: 0 0 1rem; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #cdd6e8; }
.text-center { text-align: center; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red); font-weight: 700; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.section-head.start { text-align: start; margin-inline: 0; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; transition: var(--t); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(192,39,45,.30); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(192,39,45,.38); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 700; }
.link-more svg { width: 16px; height: 16px; fill: currentColor; transition: var(--t); }
.link-more:hover svg { transform: translateX(4px); }
[dir="rtl"] .link-more:hover svg { transform: translateX(-4px); }
[dir="rtl"] .btn svg, [dir="rtl"] .link-more svg { transform: scaleX(-1); }
[dir="rtl"] .link-more:hover svg { transform: scaleX(-1) translateX(4px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: background var(--t), box-shadow var(--t), padding var(--t);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.12rem; letter-spacing: .01em; }
.brand-tag { font-size: .72rem; color: var(--red); font-weight: 600; }

.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 16px; font-weight: 600; color: var(--ink);
  border-radius: 8px; transition: color var(--t);
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: 16px; inset-block-end: 4px;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: center;
  transition: transform var(--t); border-radius: 2px;
}
.nav-link:hover { color: var(--red); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line);
  background: #fff; color: var(--navy); font-weight: 800; font-size: .95rem; transition: var(--t);
}
.lang-toggle:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-quote { padding: 11px 22px; font-size: .92rem; }

.menu-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 4px 0; transition: var(--t); }

/* transparent header over home hero */
body[data-page="home"] .site-header:not(.scrolled) { background: transparent; box-shadow: none; }
body[data-page="home"] .site-header:not(.scrolled) .brand-name { color: #fff; }
body[data-page="home"] .site-header:not(.scrolled) .nav-link { color: #eef2fb; }
body[data-page="home"] .site-header:not(.scrolled) .nav-link:hover,
body[data-page="home"] .site-header:not(.scrolled) .nav-link.active { color: #fff; }
body[data-page="home"] .site-header:not(.scrolled) .lang-toggle { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.08); }
body[data-page="home"] .site-header:not(.scrolled) .lang-toggle:hover { background: #fff; color: var(--navy); }
body[data-page="home"] .site-header:not(.scrolled) .menu-toggle span { background: #fff; }

/* =====================================================================
   HERO (home)
   ===================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; padding-block: calc(var(--header-h) + 40px) 80px;
  background: linear-gradient(115deg, rgba(11,20,45,.90) 0%, rgba(16,32,72,.60) 52%, rgba(19,42,94,.18) 100%),
              url("../img/hero/hero-crane.jpg") center 30%/cover no-repeat;
}
[dir="rtl"] .hero {
  background: linear-gradient(245deg, rgba(11,20,45,.90) 0%, rgba(16,32,72,.60) 52%, rgba(19,42,94,.18) 100%),
              url("../img/hero/hero-crane.jpg") center 30%/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline: 0; height: 140px;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow { color: #ff9aa0; }
.hero .eyebrow::before, .hero .eyebrow::after { background: var(--red-500); }
.hero-title { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.15; margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: #dbe3f4; max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-scroll {
  position: absolute; inset-block-end: 26px; inset-inline-start: 50%; transform: translateX(-50%);
  z-index: 2; color: #cdd6e8; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; inset-inline-start: 50%; inset-block-start: 7px; width: 3px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: mouse 1.5s infinite; }
@keyframes mouse { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} }

/* =====================================================================
   PAGE BANNER (inner pages)
   ===================================================================== */
.page-hero {
  position: relative; color: #fff; text-align: center;
  padding: calc(var(--header-h) + 70px) 0 70px;
  background: linear-gradient(rgba(11,20,45,.82), rgba(19,42,94,.74)),
              url("../img/hero/hero-hall.jpg") center/cover no-repeat fixed;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.breadcrumb { margin-top: 12px; color: #b9c4dc; font-weight: 600; display: flex; gap: 10px; justify-content: center; }
.breadcrumb .sep { color: var(--red-500); }

/* =====================================================================
   STATS
   ===================================================================== */
.stats { position: relative; z-index: 3; }
.stats-wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 44px 28px; margin-top: -70px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 8px; width: 1px; background: var(--line); }
.stat-num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--navy); font-family: var(--ff-en); }
.stat-label { color: var(--muted); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.stat .ico-wrap { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 14px; background: var(--bg-navy-soft); display: grid; place-items: center; }
.stat .ico-wrap svg { width: 26px; height: 26px; fill: var(--navy); }

/* =====================================================================
   ABOUT (split)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.split-media .badge {
  position: absolute; inset-block-end: -24px; inset-inline-start: -24px;
  background: var(--red); color: #fff; padding: 20px 26px; border-radius: var(--r);
  box-shadow: var(--shadow); text-align: center;
}
.split-media .badge b { font-size: 2rem; font-family: var(--ff-en); display: block; line-height: 1; }
.split-media .badge span { font-size: .85rem; opacity: .9; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 26px 0 30px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.check-list li svg { width: 22px; height: 22px; fill: var(--red); flex: none; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 30px; transition: var(--t); position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transform-origin: inline-start; transition: transform var(--t);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center;
  background: var(--bg-navy-soft); margin-bottom: 22px; transition: var(--t);
}
.service-icon svg { width: 34px; height: 34px; fill: var(--navy); transition: var(--t); }
.service-card:hover .service-icon { background: var(--red); }
.service-card:hover .service-icon svg { fill: #fff; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--body); margin-bottom: 18px; }

/* =====================================================================
   PROJECTS
   ===================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 22px; border-radius: 999px; border: 2px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 700; transition: var(--t);
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
  background: linear-gradient(to top, rgba(13,20,45,.88) 0%, rgba(13,20,45,.15) 55%, transparent 100%);
  opacity: 0; transform: translateY(14px); transition: var(--t);
}
.project-card:hover .project-overlay { opacity: 1; transform: translateY(0); }
.project-overlay .cat { color: #ff9aa0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-overlay h4 { color: #fff; font-size: 1.15rem; margin-top: 4px; }

/* Notable named projects */
.notable-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; }
.notable-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.notable-title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; color: var(--navy); margin-bottom: 16px; }
.notable-title svg { width: 22px; height: 22px; fill: var(--red); flex: none; }
.notable-list li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px dashed var(--line); color: var(--ink); font-weight: 600; }
[dir="rtl"] .notable-list li { padding: 11px 26px 11px 0; }
.notable-list li:last-child { border-bottom: none; }
.notable-list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 18px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.cert-card { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-sm); transition: var(--t); overflow: hidden; }
.cert-card img { width: 100%; height: 300px; object-fit: contain; object-position: top center; background: #fff; }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--navy); }
.cert-zoom { position: absolute; inset-block-end: 12px; inset-inline: 12px; text-align: center; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; padding: 7px; border-radius: 8px; opacity: 0; transform: translateY(8px); transition: var(--t); }
.cert-card:hover .cert-zoom { opacity: 1; transform: translateY(0); }

/* =====================================================================
   WHY US (dark)
   ===================================================================== */
.why { background: var(--navy); color: #cdd6e8; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset-block-start: -80px; inset-inline-end: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(192,39,45,.18); filter: blur(20px); }
.why .eyebrow { color: #ff9aa0; }
.why .section-title { color: #fff; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature { text-align: center; padding: 34px 22px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: var(--t); }
.feature:hover { background: rgba(255,255,255,.1); transform: translateY(-6px); }
.feature-icon { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--red); }
.feature-icon svg { width: 30px; height: 30px; fill: #fff; }
.feature h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: #b9c4dc; font-size: .95rem; margin: 0; }

/* =====================================================================
   CTA band
   ===================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--navy) 100%);
  color: #fff; text-align: center; border-radius: 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: #ffe3e4; max-width: 620px; margin: 0 auto 28px; }

/* =====================================================================
   VALUES / PROCESS (about + services pages)
   ===================================================================== */
/* Chairman quote */
.quote-card { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 46px 44px; box-shadow: var(--shadow); position: relative; }
.quote-mark { width: 54px; height: 54px; fill: var(--red); opacity: .18; margin-bottom: 10px; }
.quote-card p { font-size: 1.1rem; color: var(--ink); }
.quote-author { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--ff-en); font-weight: 800; font-size: 1.2rem; flex: none; letter-spacing: .05em; }
.avatar--lg { width: 84px; height: 84px; font-size: 1.7rem; margin: 0 auto 18px; background: linear-gradient(135deg, var(--navy), var(--red)); }
.qa-name { font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.qa-role { color: var(--red); font-weight: 600; font-size: .92rem; }
.lead-role { color: var(--red); font-weight: 700; margin: 0; }

.value-card { background: #fff; border-radius: var(--r-lg); padding: 36px 30px; border: 1px solid var(--line); text-align: center; transition: var(--t); height: 100%; }
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.value-icon { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 20px; background: var(--bg-navy-soft); display: grid; place-items: center; }
.value-icon svg { width: 34px; height: 34px; fill: var(--red); }
.value-card h3 { font-size: 1.25rem; margin-bottom: 10px; }

.fp-list { margin-top: 8px; }
.fp-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); font-weight: 700; color: var(--ink); font-family: var(--ff-en); }
.fp-list li:last-child { border-bottom: none; }
.fp-list li span { color: var(--muted); font-weight: 500; font-size: .9rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 34px 24px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--ff-en); font-weight: 800; font-size: 2.4rem; color: var(--bg-navy-soft);
  position: absolute; inset-block-start: 14px; inset-inline-end: 18px; line-height: 1;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; position: relative; }
.step .step-dot { width: 42px; height: 42px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--ff-en); margin-bottom: 16px; }

/* =====================================================================
   CONTACT page
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.info-card { background: var(--navy); color: #cdd6e8; border-radius: var(--r-lg); padding: 40px 34px; }
.info-card h2 { color: #fff; }
.info-card > p { color: #b9c4dc; }
.info-list { margin-top: 24px; display: grid; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico-box { width: 48px; height: 48px; border-radius: 12px; background: var(--red); display: grid; place-items: center; flex: none; }
.info-item .ico-box svg { width: 22px; height: 22px; fill: #fff; }
.info-item .lbl { color: #9fb0d0; font-size: .85rem; }
.info-item .val { color: #fff; font-weight: 700; }
.info-item a.val:hover { color: #ff9aa0; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 34px; box-shadow: var(--shadow-sm); }
.form-card h2 { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; color: var(--ink); background: #fbfcfe; transition: var(--t);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(19,42,94,.08); }
.field textarea { resize: vertical; min-height: 130px; }
.form-msg { margin-top: 14px; font-weight: 600; }
.form-msg.error { color: var(--red); }
.form-msg.ok { color: #1a7f4b; }
.form-note { color: var(--muted); font-size: .85rem; margin-top: 12px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--navy-900); color: #a9b6d2; padding-top: 70px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.brand--footer .brand-name { color: #fff; }
.footer-about { margin: 20px 0; font-size: .95rem; color: #97a5c4; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0; width: 36px; height: 3px; background: var(--red); border-radius: 2px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { transition: var(--t); }
.footer-links a:hover { color: #fff; padding-inline-start: 6px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer-contact .ico { width: 20px; height: 20px; fill: var(--red-500); flex: none; margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 12px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: var(--t); }
.social-link svg { width: 18px; height: 18px; fill: #cdd6e8; transition: var(--t); }
.social-link:hover { background: var(--red); }
.social-link:hover svg { fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .9rem; color: #8494b6; text-align: center; }

/* =====================================================================
   Reveal animation
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .cards, .gallery, .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset-block-start: var(--header-h); inset-inline-end: 0; height: calc(100vh - var(--header-h));
    width: min(320px, 82vw); background: #fff; box-shadow: var(--shadow-lg);
    transform: translateX(110%); transition: transform var(--t); margin: 0; padding: 20px;
    overflow-y: auto;
  }
  [dir="rtl"] .main-nav { transform: translateX(-110%); }
  .site-header.nav-open .main-nav { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { padding: 14px 12px; border-radius: 10px; color: var(--ink) !important; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { background: var(--bg-soft); }
  .site-header.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .site-header.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  /* keep hamburger dark even over hero when menu open */
  body[data-page="home"] .site-header.nav-open:not(.scrolled) .menu-toggle span { background: var(--navy); }
  .btn-quote { display: none; }
  .stats-wrap { grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: -50px; }
  .stat + .stat::before { display: none; }
  .section { padding: 70px 0; }
  .page-hero { background-attachment: scroll; }
}
@media (max-width: 560px) {
  .cards, .gallery, .steps, .features, .footer-grid, .check-list, .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .brand-tag { display: none; }
  .split-media .badge { inset-inline-start: 50%; transform: translateX(-50%); inset-block-end: -20px; }
  [dir="rtl"] .split-media .badge { transform: translateX(50%); }
  .container { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
