/* =========================================================
   small AXE — Event Production & AV Rental
   style.css
   1. Tokens & base
   2. Layout utilities
   3. Buttons & shared bits
   4. Header / navigation
   5. Hero
   6. Marquee
   7. About & stats
   8. Services
   9. Portfolio
   10. Contact & form
   11. Footer
   12. Floating WhatsApp
   13. Animations
   14. Responsive
   ========================================================= */

/* ============ 1. TOKENS & BASE ============ */
:root {
  --bg: #0B0D12;
  --bg-soft: #0E1118;
  --card: #141822;
  --card-2: #171C27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #F6F8FB;
  --muted: #98A4B6;
  --muted-soft: #7A8698;
  --amber: #F59E0B;
  --amber-light: #FCD34D;
  --cyan: #06B6D4;
  --wa: #25D366;
  --radius: 18px;
  --radius-lg: 24px;
  --container: 1200px;
  --font: "Plus Jakarta Sans", "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Cairo", "Tajawal", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.85;
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .brand-sub,
html[lang="ar"] .stat__label,
html[lang="ar"] .project-tag,
html[lang="ar"] .footer-col h4,
html[lang="ar"] .contact-card__label,
html[lang="ar"] .hero-meta,
html[lang="ar"] .marquee,
html[lang="ar"] .pillar-num,
html[lang="ar"] .about-plate span { letter-spacing: 0; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: rgba(245, 158, 11, 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { display: none; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

section[id] { scroll-margin-top: 92px; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--amber);
  color: #101010;
  font-weight: 700;
  border-radius: 10px;
  transition: top 0.25s;
}
.skip-link:focus { top: 16px; }

/* ============ 2. LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 26px;
}

.section {
  position: relative;
  padding-block: 116px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14), 0 0 14px rgba(245, 158, 11, 0.8);
}

.section-title {
  font-size: clamp(1.95rem, 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
html[lang="ar"] .section-title { line-height: 1.4; max-width: 24ch; }

.hl {
  background: linear-gradient(100deg, var(--amber) 5%, var(--amber-light) 48%, var(--amber) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px 56px;
  align-items: end;
  margin-bottom: 58px;
}
.section-lead {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 40ch;
  justify-self: end;
  padding-bottom: 6px;
}

.muted { color: var(--muted); }
.req { color: var(--amber); }

/* ============ 3. BUTTONS ============ */
.btn {
  --btn-py: 13px;
  --btn-px: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn .icon { width: 17px; height: 17px; }
[dir="rtl"] .btn .icon:not(.icon--wa) { transform: scaleX(-1); }

.btn--primary {
  background: linear-gradient(120deg, var(--amber) 0%, #FBBF24 100%);
  color: #16110A;
  box-shadow: 0 10px 34px -12px rgba(245, 158, 11, 0.65);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px -12px rgba(245, 158, 11, 0.8);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.08);
  transform: translateY(-2px);
}

.btn--sm { --btn-py: 10px; --btn-px: 18px; font-size: 13px; }
.btn--lg { --btn-py: 15px; --btn-px: 30px; font-size: 15px; }
.btn--block { width: 100%; }

.icon--wa { fill: currentColor; }

/* ============ 4. HEADER ============ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 130;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled {
  background: rgba(9, 11, 16, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 88px;
  transition: height 0.35s var(--ease);
}
.is-scrolled .nav-wrap { height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.35s var(--ease), width 0.35s, height 0.35s;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent 68%);
  filter: blur(9px);
  z-index: -1;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.05); }
.is-scrolled .brand-mark { width: 42px; height: 42px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}
.brand-sub {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-top: 3px;
}

/* Logo fallback: if logo.png cannot load, show clean "small AXE" wordmark */
.brand.logo-missing .brand-mark { display: none; }
.brand.logo-missing .brand-name { font-size: 22px; letter-spacing: -0.01em; }
.brand.logo-missing .brand-text {
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--amber);
}

.nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #AAB5C5;
  transition: color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after,
.nav-link.is-active::after { width: 18px; }
.nav-link.is-active { color: #fff; }

.nav-cta { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #E7ECF5;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.lang-toggle:hover {
  border-color: rgba(6, 182, 212, 0.55);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-1px);
}
.lang-toggle__glyph { display: grid; place-items: center; color: var(--cyan); }
.lang-toggle__glyph svg { width: 15px; height: 15px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: #E7ECF5;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(4, 6, 9, 0.66);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

/* ============ 5. HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 150px 120px;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?auto=format&fit=crop&w=2000&q=80") center 35% / cover no-repeat;
  opacity: 0.5;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.03);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 88% at 50% -10%, rgba(11, 13, 18, 0.25), rgba(11, 13, 18, 0.88) 58%, #0B0D12 94%),
    linear-gradient(90deg, rgba(8, 10, 14, 0.96) 0%, rgba(8, 10, 14, 0.72) 42%, rgba(8, 10, 14, 0.25) 100%);
}
[dir="rtl"] .hero::before {
  background:
    radial-gradient(120% 88% at 50% -10%, rgba(11, 13, 18, 0.25), rgba(11, 13, 18, 0.88) 58%, #0B0D12 94%),
    linear-gradient(270deg, rgba(8, 10, 14, 0.96) 0%, rgba(8, 10, 14, 0.72) 42%, rgba(8, 10, 14, 0.25) 100%);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-glow--amber {
  width: 520px;
  height: 520px;
  inset-inline-end: -6%;
  top: -14%;
  background: rgba(245, 158, 11, 0.22);
}
.hero-glow--cyan {
  width: 460px;
  height: 460px;
  inset-inline-start: 38%;
  bottom: -32%;
  background: rgba(6, 182, 212, 0.16);
}

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

.hero-title {
  font-size: clamp(2.45rem, 5.5vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
  text-wrap: balance;
}
html[lang="ar"] .hero-title { line-height: 1.28; letter-spacing: 0; }

.hero-sub {
  max-width: 60ch;
  font-size: 16.5px;
  color: #BAC4D3;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.hero-meta li { display: flex; align-items: center; gap: 9px; }
.hero-meta .icon { width: 15px; height: 15px; color: var(--amber); }

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.scroll-cue i {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.9), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 14px;
  background: var(--amber-light);
  animation: cue 2.4s var(--ease) infinite;
}
[dir="rtl"] .scroll-cue { transform: translateX(50%); }

/* ============ 6. MARQUEE ============ */
.marquee {
  border-block: 1px solid var(--line);
  background: #0A0C11;
  padding-block: 17px;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #94A1B4;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-inline-end: 34px;
}
.marquee-group i { color: var(--amber); font-style: normal; font-size: 9px; }

/* ============ 7. ABOUT ============ */
.about { background: linear-gradient(180deg, #0B0D12 0%, #0C0F15 60%, #0B0D12 100%); }
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.about-media { position: relative; }
.about-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95);
  aspect-ratio: 4 / 4.7;
}
.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}
.about-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.05) 30%, rgba(11, 13, 18, 0.72) 100%);
}
.about-media::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.16);
  filter: blur(60px);
  z-index: -1;
}

.about-badge {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 11, 16, 0.66);
  backdrop-filter: blur(12px);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #DCE4EF;
}
.about-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.about-plate {
  position: absolute;
  bottom: -22px;
  inset-inline-end: -12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 22px;
  border-radius: 16px;
  background: linear-gradient(160deg, #1A2029, #10141B);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.95);
}
.about-plate strong { font-size: 15px; letter-spacing: 0.02em; }
.about-plate span {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.about-body .lead {
  color: #C3CCDA;
  font-size: 16px;
  margin-bottom: 16px;
}
.about-body p.muted { font-size: 14.8px; }

.check-list { margin-top: 28px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #C9D2DF;
}
.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
}
.check .icon { width: 13px; height: 13px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat__num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.stat__num i { font-style: normal; font-size: 0.62em; color: var(--amber); }
.stat__label {
  display: block;
  margin-top: 9px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-soft);
  line-height: 1.5;
}

/* ============ 8. SERVICES ============ */
.services {
  background:
    radial-gradient(90% 60% at 15% 0%, rgba(245, 158, 11, 0.06), transparent 60%),
    radial-gradient(80% 60% at 90% 20%, rgba(6, 182, 212, 0.06), transparent 60%),
    #0B0D12;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.pillar {
  --accent: var(--amber);
  --accent-soft: rgba(245, 158, 11, 0.12);
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 26, 37, 0.92), rgba(14, 17, 24, 0.92));
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.pillar::after {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: blur(80px);
  pointer-events: none;
}
.pillar--cyan {
  --accent: var(--cyan);
  --accent-soft: rgba(6, 182, 212, 0.12);
}
.pillar:hover { border-color: rgba(255, 255, 255, 0.16); }

.pillar-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.pillar-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  flex: none;
  margin-top: 3px;
}
.pillar-title { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.02em; }
.pillar-desc { margin-top: 8px; font-size: 13.8px; color: var(--muted); max-width: 40ch; }

.service-list { display: grid; gap: 10px; position: relative; z-index: 1; }
.service-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.014);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.service-card:hover {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  transform: translateY(-2px);
}
.service-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--accent);
  transition: box-shadow 0.35s, transform 0.35s var(--ease);
}
.service-card:hover .service-icon {
  box-shadow: 0 0 22px -4px color-mix(in srgb, var(--accent) 60%, transparent);
  transform: scale(1.04);
}
.service-icon .icon { width: 21px; height: 21px; }
.service-card h4 { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.service-card p { margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.service-arrow {
  width: 17px;
  height: 17px;
  margin-inline-start: auto;
  align-self: center;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
  flex: none;
}
.service-card:hover .service-arrow { opacity: 1; transform: none; }
[dir="rtl"] .service-arrow { transform: scaleX(-1) translateX(-6px); }
[dir="rtl"] .service-card:hover .service-arrow { transform: scaleX(-1); }

/* ============ 9. PORTFOLIO ============ */
.portfolio { background: #0A0C11; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}
.filter {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: #A9B4C4;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.filter.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: #16110A;
  font-weight: 700;
  box-shadow: 0 8px 24px -12px rgba(245, 158, 11, 0.8);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s;
}
.project:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9);
}
.project.is-hidden { display: none; }
.project.is-filtered-in { animation: cardIn 0.45s var(--ease) both; }

.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s;
  filter: saturate(0.9) brightness(0.92) contrast(1.04);
}
.project:hover .project-media img { transform: scale(1.06); filter: saturate(1.05) brightness(1) contrast(1.05); }
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 17, 0.05) 35%, rgba(10, 12, 17, 0.6) 100%);
}

.project-tag {
  position: absolute;
  z-index: 1;
  top: 13px;
  inset-inline-start: 13px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 11, 16, 0.68);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E9EEF6;
}

.project-body { padding: 16px 20px 20px; }
.project-body h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.project-body p { margin-top: 5px; font-size: 12px; color: var(--muted-soft); letter-spacing: 0.03em; }

/* ============ 10. CONTACT ============ */
.contact {
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(6, 182, 212, 0.08), transparent 60%),
    radial-gradient(60% 60% at 10% 30%, rgba(245, 158, 11, 0.07), transparent 60%),
    #0B0D12;
}
.section-head--contact { margin-bottom: 46px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.contact-cards { display: grid; gap: 13px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 26, 37, 0.85), rgba(15, 18, 25, 0.85));
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.32);
  background: linear-gradient(180deg, rgba(26, 31, 43, 0.95), rgba(17, 21, 29, 0.95));
}
.contact-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
}
.contact-icon .icon { width: 19px; height: 19px; }
.contact-icon--amber { color: var(--amber); background: rgba(245, 158, 11, 0.1); }
.contact-icon--cyan { color: var(--cyan); background: rgba(6, 182, 212, 0.1); }
.contact-icon--wa { color: var(--wa); background: rgba(37, 211, 102, 0.1); }
.contact-icon--wa .icon { fill: currentColor; }
.contact-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card__label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.contact-card__value {
  font-size: 15px;
  font-weight: 600;
  color: #F1F5FA;
  overflow-wrap: anywhere;
}
.contact-card__note { font-size: 11.5px; color: var(--muted-soft); }
.contact-card__arrow {
  width: 17px;
  height: 17px;
  margin-inline-start: auto;
  color: var(--muted-soft);
  opacity: 0.5;
  transition: color 0.3s, opacity 0.3s, transform 0.3s var(--ease);
  flex: none;
}
.contact-card:hover .contact-card__arrow { color: var(--amber); opacity: 1; transform: translateX(3px); }
[dir="rtl"] .contact-card__arrow { transform: scaleX(-1); }
[dir="rtl"] .contact-card:hover .contact-card__arrow { transform: scaleX(-1) translateX(3px); }

.quote-form {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, #151A24, #10141B);
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 1);
}
.form-head h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.form-head p { margin-top: 7px; font-size: 13.5px; color: var(--muted); }

.form-head { margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 15px;
}
.form-row > .field { margin-bottom: 0; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.field label,
.field legend {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #C6CFDD;
  padding: 0;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="date"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0B0E14;
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: #67717F; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
  background: #0C1017;
}
.field input[aria-invalid="true"] {
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}
.field-error { font-size: 11.5px; color: #F87171; margin-top: -2px; }

.field--checks { border: 0; padding: 0; margin-bottom: 16px; }
.field--checks legend { margin-bottom: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
  font-size: 12.5px;
  color: #B7C1D0;
  cursor: pointer;
  user-select: none;
  transition: all 0.22s var(--ease);
}
.check-pill:hover { border-color: rgba(255, 255, 255, 0.26); color: #fff; }
.check-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.check-pill:has(input:checked) {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.75);
  color: #FFE9BF;
}
.check-pill input:checked + span { color: #FFE9BF; font-weight: 600; }
.check-pill:focus-within { outline: 2px solid rgba(245, 158, 11, 0.7); outline-offset: 2px; }

.form-hint {
  margin-top: 12px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-soft);
  line-height: 1.6;
}
.form-hint--mail { margin-top: 2px; }
.form-hint a { color: var(--amber); border-bottom: 1px solid rgba(245, 158, 11, 0.35); }
.form-hint a:hover { border-bottom-color: var(--amber); }

.form-status { margin-top: 10px; font-size: 12.5px; text-align: center; min-height: 1em; }
.form-status.is-ok { color: #34D399; }
.form-status.is-error { color: #F87171; }

/* ============ 11. FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--line);
  background: #07090D;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.9fr 1.15fr;
  gap: 40px;
  padding-bottom: 54px;
}
.brand--footer .brand-mark { width: 54px; height: 54px; }
.brand--footer .brand-name { font-size: 20px; }

.footer-blurb {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}
.footer-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted-soft);
}
.footer-loc .icon { width: 15px; height: 15px; color: var(--amber); }

.footer-col h4 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #DFE6F0;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a {
  font-size: 13px;
  color: #93A0B2;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--amber); }

.footer-contact li a { display: flex; align-items: center; gap: 9px; }
.footer-contact .icon { width: 15px; height: 15px; color: var(--muted-soft); }
.footer-contact li a:hover .icon { color: var(--amber); }
.footer-cta { margin-top: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px 30px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-soft);
}
.footer-made { color: #6B7686; }

/* ============ 12. FLOATING WHATSAPP ============ */
.float-wa {
  position: fixed;
  z-index: 90;
  bottom: 22px;
  inset-inline-end: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2BE173, var(--wa));
  color: #04301A;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.float-wa .icon { width: 29px; height: 29px; fill: currentColor; }
.float-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: ping 2.8s var(--ease) infinite;
}
.float-wa:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 40px -10px rgba(37, 211, 102, 0.85);
}
.float-wa__tip {
  position: absolute;
  bottom: calc(100% + 12px);
  inset-inline-end: 0;
  padding: 7px 12px;
  border-radius: 8px;
  background: #151A24;
  border: 1px solid var(--line-strong);
  color: #E8EEF6;
  font-size: 11.5px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.9);
}
.float-wa:hover .float-wa__tip { opacity: 1; transform: none; }

/* ============ 13. ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(340%); }
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 14. RESPONSIVE ============ */
@media (max-width: 1080px) {
  .section { padding-block: 96px; }
  .about-grid { gap: 44px; }
  .pillars { gap: 20px; }
  .pillar { padding: 24px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: span 3; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-cta { display: inline-flex; }

  .nav {
    position: fixed;
    z-index: 120;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    margin: 0;
    padding: 104px 24px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #0C1017;
    border-inline-start: 1px solid var(--line-strong);
    transform: translateX(105%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
  }
  [dir="rtl"] .nav { transform: translateX(-105%); }
  body.nav-open .nav { transform: none; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: block;
    padding: 15px 4px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--amber); }
  .nav-cta { margin-top: 22px; }

  .hero { padding-block: 130px 110px; }
  .hero-meta { gap: 12px 20px; }
  .scroll-cue { display: none; }

  .section-head { grid-template-columns: 1fr; align-items: start; gap: 18px; margin-bottom: 40px; }
  .section-lead { justify-self: start; max-width: 52ch; }

  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .about-media { max-width: 520px; }
  .about-frame { aspect-ratio: 4 / 3.4; }
  .about-plate { inset-inline-end: 8px; }

  .pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-contact { grid-column: span 2; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 620px) {
  .container { padding-inline: 20px; }
  .section { padding-block: 76px; }
  .nav-wrap { height: 74px; gap: 12px; }
  .is-scrolled .nav-wrap { height: 64px; }
  .brand-mark { width: 42px; height: 42px; }
  .is-scrolled .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 8px; letter-spacing: 0.13em; }
  .nav-cta { display: inline-flex; }
  .lang-toggle { padding: 8px 11px; font-size: 11.5px; }
  .lang-toggle__glyph { display: none; }
  .nav-actions { gap: 8px; margin-inline-start: auto; }
  .nav { margin-inline-start: 0; }

  .hero { min-height: auto; padding-block: 118px 84px; }
  .hero-title { font-size: clamp(2.05rem, 8.4vw, 2.7rem); }
  .hero-sub { font-size: 14.8px; margin-bottom: 28px; }
  .hero-actions { gap: 10px; margin-bottom: 34px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { font-size: 10px; gap: 10px 16px; }

  .marquee { font-size: 10px; padding-block: 14px; }
  .marquee-group { gap: 22px; padding-inline-end: 22px; }

  .about-frame { aspect-ratio: 4 / 3.6; }
  .about-plate { padding: 12px 16px; bottom: -16px; }
  .about-plate strong { font-size: 13px; }
  .about-plate span { font-size: 8px; }
  .about-badge { font-size: 10px; padding: 7px 11px; }

  .stats { grid-template-columns: 1fr 1fr; gap: 22px 16px; }

  .pillar { padding: 20px; }
  .service-card { padding: 14px; gap: 12px; }
  .service-icon { width: 38px; height: 38px; }
  .service-card h4 { font-size: 13.5px; }
  .service-card p { font-size: 12.2px; }
  .service-arrow { display: none; }

  .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .filters { gap: 7px; }
  .filter { padding: 8px 14px; font-size: 11.5px; }

  .contact-card { padding: 15px 16px; gap: 13px; }
  .contact-card__value { font-size: 14px; }
  .contact-card__note { font-size: 10.8px; }
  .quote-form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row > .field { margin-bottom: 15px; }
  .check-pill { font-size: 11.5px; padding: 8px 12px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .footer-bottom { justify-content: flex-start; }
  .float-wa { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
  .float-wa .icon { width: 27px; height: 27px; }
  .float-wa__tip { display: none; }
}
