/* =========================================================
   Dayeh for Construction — Style Sheet
   ========================================================= */

/* ---------------- Root Variables ---------------- */
:root {
  --bg: #1B3A57;
  --bg-2: #16304a;
  --bg-3: #0f2438;
  --surface: rgba(249, 248, 245, 0.04);
  --surface-solid: #204463;
  --border: rgba(249, 248, 245, 0.10);
  --accent: #76939E;
  --accent-2: #9db6bf;
  --gold: #D3AE35;
  --gold-soft: rgba(211, 174, 53, 0.18);
  --gold-glow: rgba(211, 174, 53, 0.45);
  --text: #F9F8F5;
  --text-muted: rgba(249, 248, 245, 0.66);
  --text-soft: rgba(249, 248, 245, 0.42);
  --primary: #F9F8F5;
  --on-primary: #1B3A57;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --trans: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-ar: "Tajawal", system-ui, sans-serif;
  --font-en: "Plus Jakarta Sans", system-ui, sans-serif;
  --container: 1240px;
}

html[data-theme="light"] {
  --bg: #F9F8F5;
  --bg-2: #f0eee8;
  --bg-3: #e7e4dc;
  --surface: rgba(27, 58, 87, 0.035);
  --surface-solid: #ffffff;
  --border: rgba(27, 58, 87, 0.12);
  --accent: #76939E;
  --accent-2: #557681;
  --gold: #D3AE35;
  --gold-soft: rgba(211, 174, 53, 0.15);
  --gold-glow: rgba(211, 174, 53, 0.35);
  --text: #1B3A57;
  --text-muted: rgba(27, 58, 87, 0.68);
  --text-soft: rgba(27, 58, 87, 0.45);
  --primary: #1B3A57;
  --on-primary: #F9F8F5;
  --shadow: 0 20px 50px rgba(27, 58, 87, 0.15);
  --shadow-sm: 0 8px 24px rgba(27, 58, 87, 0.10);
}

/* ---------------- Reset & Base ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
  transition:
    background-color 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

html[lang="en"] body { font-family: var(--font-en); }

img { max-width: 100%; height: auto; display: block; background: transparent; }
img:not([src]), img[src=""] { visibility: hidden; }
a { color: inherit; text-decoration: none; transition: color var(--trans); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--gold); color: #1B3A57; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-3); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--accent));
  border-radius: 10px;
  border: 2px solid var(--bg-3);
}
html { scrollbar-color: var(--gold) var(--bg-3); scrollbar-width: thin; }

/* ---------------- Layout helpers ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: 100px 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  margin-bottom: 18px;
}
.tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-inline-end: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--gold-glow);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.section-sub { margin-top: 14px; color: var(--text-muted); font-size: 1.05rem; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 100px;
  transition: all var(--trans);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* ---------------- Noise overlay ---------------- */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- Preloader ---------------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-3);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-logo {
  position: relative;
  width: 180px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoPulse 2.2s ease-in-out infinite;
  overflow: hidden;
}

.preloader-logo-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: drop-shadow(0 8px 24px rgba(211, 174, 53, 0.35));
}
.preloader-logo-img.loaded { opacity: 1; }

/* Fallback gold "D" — hidden by default, shows only if image fails */
.pl-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 3.4rem;
  color: var(--gold);
  letter-spacing: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  text-shadow: 0 0 30px var(--gold-glow);
  pointer-events: none;
}
.pl-fallback.visible {
  opacity: 1;
  visibility: visible;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.94); }
}

.preloader-text {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--gold);
  opacity: 0.55;
  text-transform: uppercase;
  animation: fadePulse 2s ease-in-out infinite;
}
@keyframes fadePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.75; }
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold);
  border-radius: 10px;
  animation: slide 1.2s ease-in-out infinite;
}
@keyframes slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(500%); }
}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--trans);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(15, 36, 56, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
html[data-theme="light"] .site-header.scrolled {
  background: rgba(249, 248, 245, 0.88);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 46px;
  width: auto;
  opacity: 0;
  transition: height var(--trans), opacity 0.4s ease;
}
.brand-logo.loaded { opacity: 1; }
.site-header.scrolled .brand img { height: 40px; }

.nav ul { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--trans);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

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

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--trans);
  font-weight: 700;
  font-size: 0.82rem;
}
.icon-btn:hover {
  background: var(--gold);
  color: #1B3A57;
  border-color: var(--gold);
  transform: rotate(-8deg) scale(1.05);
}

.theme-toggle .i-moon { display: none; }
html[data-theme="light"] .theme-toggle .i-sun { display: none; }
html[data-theme="light"] .theme-toggle .i-moon { display: block; }

.header-cta { padding: 11px 24px; font-size: 0.9rem; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; }
.menu-toggle span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 3px;
  transition: all var(--trans);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(118,147,158,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118,147,158,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.hero-glow.g1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(211,174,53,.35), transparent 70%);
  top: -100px; inset-inline-start: -100px;
  animation: floaty 12s ease-in-out infinite;
}
.hero-glow.g2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(118,147,158,.55), transparent 70%);
  bottom: -150px; inset-inline-end: -100px;
  animation: floaty 15s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
.hero-blueprint { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }

.hero-inner { text-align: center; max-width: 900px; position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  backdrop-filter: blur(8px);
  margin-bottom: 26px;
  animation: fadeUp 0.9s ease both;
}
.hero-badge::before { content: "◆"; margin-inline-end: 6px; font-size: 0.7rem; }

.hero-title {
  font-size: clamp(2rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
  animation: fadeUp 0.9s 0.1s ease both;
}

.hero-slogan {
  min-height: 1.6em;
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-slogan .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-inline-start: 4px;
  vertical-align: -3px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 34px;
  animation: fadeUp 0.9s 0.3s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  animation: fadeUp 0.9s 0.4s ease both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.5s ease both;
}
.hs-item { text-align: center; }
.hs-item strong {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--gold);
}
.hs-item span { font-size: 0.8rem; color: var(--text-soft); letter-spacing: 0.6px; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-soft);
  animation: bounce 2.4s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- Divider ---------------- */
.divider { line-height: 0; margin-top: -1px; }
.divider svg { width: 100%; height: 70px; display: block; }

/* =========================================================
   ABOUT — Background image with top-fade
   ========================================================= */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.about-container {
  position: relative;
  z-index: 2;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-bg-image {
  position: absolute;
  inset: 0;
  background-image: var(--about-bg, url('assets/about-bg.png'));
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.65) 48%,
    rgba(0, 0, 0, 0.22) 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.65) 48%,
    rgba(0, 0, 0, 0.22) 70%,
    transparent 100%
  );
  transform: scale(1.04);
  animation: aboutSlowZoom 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes aboutSlowZoom {
  0%   { transform: scale(1.02) translateY(0); }
  100% { transform: scale(1.08) translateY(-10px); }
}

.about-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(27, 58, 87, 0.15) 0%,
      rgba(27, 58, 87, 0.35) 40%,
      var(--bg) 92%,
      var(--bg) 100%
    ),
    radial-gradient(
      ellipse at 50% 0%,
      rgba(211, 174, 53, 0.10) 0%,
      transparent 55%
    );
  mix-blend-mode: normal;
}

html[data-theme="light"] .about-bg-image {
  opacity: 0.30;
}
html[data-theme="light"] .about-bg-overlay {
  background:
    linear-gradient(
      to bottom,
      rgba(249, 248, 245, 0.15) 0%,
      rgba(249, 248, 245, 0.45) 40%,
      var(--bg) 92%,
      var(--bg) 100%
    ),
    radial-gradient(
      ellipse at 50% 0%,
      rgba(211, 174, 53, 0.10) 0%,
      transparent 55%
    );
}

.about .team-grid,
.about .about-body,
.about .about-title-footer,
.about .stats-grid {
  position: relative;
  z-index: 2;
}

@media (max-width: 720px) {
  .about-bg-image {
    background-position: center top;
    opacity: 0.55;
    animation: none;
  }
  .about-bg-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(27, 58, 87, 0.25) 0%,
        rgba(27, 58, 87, 0.55) 45%,
        var(--bg) 88%,
        var(--bg) 100%
      );
  }
  html[data-theme="light"] .about-bg-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(249, 248, 245, 0.20) 0%,
        rgba(249, 248, 245, 0.60) 45%,
        var(--bg) 88%,
        var(--bg) 100%
      );
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-bg-image { animation: none; }
}

.about-body {
  max-width: 780px;
  margin: 42px auto 0;
  text-align: center;
}
.about-body p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
  text-align: start;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 500;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--trans);
}
.about-features li:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: var(--surface-solid);
}
.about-features i {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* ---------- Team Cards ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
  perspective: 1000px;
}

.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate;
}
.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  opacity: 0;
  transition: opacity var(--trans);
  pointer-events: none;
  z-index: 5;
}
.team-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 40px var(--gold-glow);
}
.team-card:hover::after { opacity: 1; }

.team-photo {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.team-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(15, 36, 56, 0.9) 100%),
    linear-gradient(135deg, rgba(118,147,158,0.15), transparent 55%);
  z-index: 1;
}
.team-card:hover .team-photo { transform: scale(1.04); }

.team-photo.no-img {
  background:
    radial-gradient(circle at 50% 40%, rgba(211,174,53,0.18), transparent 60%),
    linear-gradient(135deg, var(--bg-2), var(--bg-3));
}
.team-photo.no-img::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 4rem;
  color: var(--gold);
  letter-spacing: 2px;
  z-index: 2;
}

.team-badge {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1B3A57;
  background: var(--gold);
  border-radius: 100px;
  box-shadow: 0 6px 20px var(--gold-glow);
}

.team-info {
  position: relative;
  z-index: 2;
  padding: 24px 24px 28px;
  text-align: center;
  background: var(--surface-solid);
}
.team-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}
.team-info span {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
}
.team-info span::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ---------- Title as Section Footer ---------- */
.about-title-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 70px;
  margin-bottom: 50px;
  text-align: center;
}
.about-footer-title {
  max-width: 640px;
  background: linear-gradient(120deg, var(--text) 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.at-line {
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; inset-inline-start: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--trans);
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.stat-card:hover::before { opacity: 1; }
.stat-card strong {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}
.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------------- Services ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  padding: 34px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all var(--trans);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(211,174,53,0.10), transparent 60%);
  opacity: 0;
  transition: opacity var(--trans);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.service-card:hover::after { opacity: 1; }
.service-card:hover .sc-icon { transform: rotate(-6deg) scale(1.08); }
.service-card:hover .sc-arrow { transform: translateX(0); opacity: 1; }

.sc-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-soft), rgba(118,147,158,0.06));
  border: 1px solid var(--border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--trans);
}
.service-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.service-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }

.sc-arrow {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-size: 1.2rem;
  transform: translateX(-8px);
  opacity: 0;
  transition: all var(--trans);
  font-family: var(--font-en);
}
html[dir="rtl"] .sc-arrow { transform: translateX(8px); }
html[dir="rtl"] .service-card:hover .sc-arrow { transform: translateX(0); }

/* ---------------- Portfolio ---------------- */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.filter {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--trans);
}
.filter:hover { color: var(--gold); border-color: var(--gold); }
.filter.active {
  background: var(--gold);
  color: #1B3A57;
  border-color: var(--gold);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  transition: all var(--trans);
  animation: fadeUp 0.6s ease both;
}
.work-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15,36,56,0.9));
  transition: opacity var(--trans);
}
.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity var(--trans);
  pointer-events: none;
}
.work-item:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.work-item:hover::after { opacity: 1; }

.work-info {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 22px;
  z-index: 2;
  color: #F9F8F5;
  transform: translateY(6px);
  transition: transform var(--trans);
}
.work-item:hover .work-info { transform: translateY(0); }
.work-info .wi-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.work-info h4 { font-size: 1.02rem; font-weight: 700; color: #F9F8F5; }
.work-item.hidden { display: none; }

/* ---------------- Testimonials ---------------- */
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  padding: 32px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: all var(--trans);
  position: relative;
}
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  inset-inline-start: 22px;
  font-size: 4.5rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
}
.testi-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.testi-card .stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.testi-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 22px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testi-author .ta {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  color: #1B3A57;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.85rem;
}
.testi-author strong { display: block; font-size: 0.92rem; }
.testi-author small { color: var(--text-soft); font-size: 0.78rem; }

/* ---------------- FAQ ---------------- */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--trans);
}
.faq-item.open { border-color: var(--gold); background: var(--surface-solid); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: start;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--trans);
}
.faq-q:hover { color: var(--gold); }
.faq-q .fq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  transition: all var(--trans);
  font-family: var(--font-en);
}
.faq-item.open .fq-icon {
  background: var(--gold);
  color: #1B3A57;
  border-color: var(--gold);
  transform: rotate(45deg);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 26px 24px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(12px);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.94rem;
  transition: all var(--trans);
  outline: none;
}
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea { background: #fff; }

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; appearance: none; }

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-note { margin-top: 16px; font-size: 0.88rem; min-height: 1.2em; }
.form-note.success { color: #7ddca0; }
.form-note.error { color: #f18a8a; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.ci-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--trans);
}
.ci-card:hover { border-color: var(--gold); transform: translateX(-4px); }
html[dir="ltr"] .ci-card:hover { transform: translateX(4px); }

.ci-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-soft), rgba(118,147,158,0.06));
  border: 1px solid var(--border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-card strong { display: block; font-size: 0.82rem; color: var(--text-soft); font-weight: 600; }
.ci-card a, .ci-card span { font-size: 0.95rem; font-weight: 600; color: var(--text); word-break: break-word; }
.ci-card a:hover { color: var(--gold); }

.ci-social { display: flex; gap: 12px; margin-top: 6px; }
.ci-social a {
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--trans);
}
.ci-social a:hover {
  background: var(--gold);
  color: #1B3A57;
  border-color: var(--gold);
  transform: translateY(-4px);
}

/* ---------------- Map ---------------- */
.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 460px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
  transition: filter var(--trans);
}
.map-wrap:hover iframe { filter: grayscale(0) contrast(1); }
.map-overlay {
  position: absolute;
  bottom: 20px;
  inset-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(15, 36, 56, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(249, 248, 245, 0.15);
  border-radius: 100px;
  flex-wrap: wrap;
  transition: all var(--trans);
}
html[data-theme="light"] .map-overlay {
  background: rgba(249, 248, 245, 0.86);
  border-color: rgba(27, 58, 87, 0.15);
}

.map-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.map-info strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.map-info span {
  font-size: 0.82rem;
  color: var(--text);
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.map-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .map-overlay {
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .map-info { align-items: center; }
  .map-btn { width: 100%; justify-content: center; }
  .map-wrap { height: 380px; }
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding-top: 70px;
  margin-top: 40px;
  position: relative;
}
html[data-theme="light"] .site-footer { background: #ebe8e0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li, .footer-col ul a { font-size: 0.9rem; color: var(--text-muted); transition: color var(--trans); }
.footer-col ul a:hover { color: var(--gold); }

.brand-col img { height: 52px; margin-bottom: 16px; }
.brand-col p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; max-width: 340px; }
.footer-tagline { font-size: 0.82rem; letter-spacing: 2px; color: var(--gold); font-weight: 700; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--text-muted);
  transition: all var(--trans);
}
.footer-social a:hover { background: var(--gold); color: #1B3A57; transform: translateY(-4px); }

.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; }
.fb-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--text-soft);
}
.watermark {
  font-family: var(--font-en);
  letter-spacing: 3px;
  color: var(--gold);
  opacity: 0.6;
  font-size: 0.78rem;
}

/* ---------------- Floating WhatsApp ---------------- */
.float-wa {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: all var(--trans);
  animation: waPulse 2.4s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.1) rotate(8deg); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0.12); }
}

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 56, 0.94);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(249,248,245,0.15);
  animation: zoomIn 0.4s ease;
}
@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lb-caption { color: #F9F8F5; margin-top: 18px; font-size: 1rem; font-weight: 600; }

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  color: #F9F8F5;
  background: rgba(249,248,245,0.08);
  border: 1px solid rgba(249,248,245,0.15);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all var(--trans);
}
.lb-close { top: 24px; inset-inline-end: 24px; font-size: 1.6rem; }
.lb-prev { inset-inline-start: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 24px; top: 50%; transform: translateY(-50%); }

.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1B3A57;
}

/* ---------------- Reveal Animations ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   THEME SWITCH WAVE
   ========================================================= */
.theme-wave {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--wave-x, 50%) var(--wave-y, 50%),
    rgba(211, 174, 53, 0.28) 0%,
    rgba(211, 174, 53, 0.14) 25%,
    transparent 65%
  );
  transform: scale(0.001);
}
.theme-wave.active {
  animation: themeWaveAnim 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes themeWaveAnim {
  0%   { opacity: 0; transform: scale(0.001); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: scale(2.6); }
}

html.theme-changing * {
  transition:
    background-color 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease,
    fill 0.5s ease,
    stroke 0.5s ease !important;
}

/* =========================================================
   LANGUAGE SWITCH FADE
   ========================================================= */
.lang-fade {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: var(--bg);
  opacity: 0;
}
.lang-fade.active { animation: langFadeAnim 0.75s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes langFadeAnim {
  0%   { opacity: 0; }
  40%  { opacity: 0.85; }
  60%  { opacity: 0.85; }
  100% { opacity: 0; }
}

html.lang-switching main,
html.lang-switching header .nav,
html.lang-switching header .header-cta,
html.lang-switching footer {
  animation: langSlide 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes langSlide {
  0%   { opacity: 1; transform: translateX(0); }
  40%  { opacity: 0; transform: translateX(var(--lang-dir, -20px)); }
  41%  { transform: translateX(var(--lang-dir-inv, 20px)); }
  100% { opacity: 1; transform: translateX(0); }
}
html[dir="rtl"].lang-switching main { --lang-dir: 20px; --lang-dir-inv: -20px; }
html[dir="ltr"].lang-switching main { --lang-dir: -20px; --lang-dir-inv: 20px; }

/* =========================================================
   WORKS — Lightbox multiple images
   ========================================================= */
.lb-counter {
  position: absolute;
  top: 30px;
  inset-inline-start: 30px;
  padding: 8px 16px;
  background: rgba(249, 248, 245, 0.10);
  border: 1px solid rgba(249, 248, 245, 0.18);
  border-radius: 100px;
  color: #F9F8F5;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.lb-thumbs {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(15, 36, 56, 0.65);
  border: 1px solid rgba(249, 248, 245, 0.12);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  max-width: 90vw;
  overflow-x: auto;
  scrollbar-width: none;
}
.lb-thumbs::-webkit-scrollbar { display: none; }

.lb-thumb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid transparent;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--trans);
  opacity: 0.55;
}
.lb-thumb:hover { opacity: 0.85; transform: scale(1.06); }
.lb-thumb.active {
  border-color: var(--gold);
  opacity: 1;
  transform: scale(1.10);
  box-shadow: 0 0 18px var(--gold-glow);
}

@media (max-width: 640px) {
  .lb-counter { top: 18px; inset-inline-start: 18px; font-size: 0.75rem; padding: 6px 12px; }
  .lb-thumbs { bottom: 90px; padding: 6px; gap: 6px; }
  .lb-thumb { width: 44px; height: 44px; }
  .lb-caption { margin-top: 14px; padding-inline: 20px; text-align: center; font-size: 0.9rem; }
}

/* Empty state for works filter */
.works-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 60px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-top: 10px;
  animation: fadeUp 0.5s ease both;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-grid .brand-col { grid-column: 1 / -1; }
}

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

  .nav {
    position: fixed;
    top: 0;
    inset-inline-end: -100%;
    width: min(340px, 82vw);
    height: 100vh;
    background: var(--bg-2);
    border-inline-start: 1px solid var(--border);
    padding: 100px 30px 40px;
    transition: inset-inline-end 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 60px rgba(0,0,0,0.35);
    z-index: 999;
  }
  .nav.open { inset-inline-end: 0; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav a { font-size: 1.05rem; }

  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-track { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .team-grid { grid-template-columns: minmax(0, 320px); }
  .about-features { grid-template-columns: 1fr; }
  .about-title-footer { gap: 12px; }
  .at-line { max-width: 60px; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .hero { padding: 110px 0 70px; }
  .hero-stats { gap: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .testi-track { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid .brand-col { grid-column: 1 / -1; }
  .float-wa { bottom: 18px; inset-inline-end: 18px; width: 52px; height: 52px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 1.5rem; }
  .lb-close { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .fb-inner { justify-content: center; text-align: center; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
/* =========================================================
   ABOUT BG — Fit all devices
   ========================================================= */

/* Tablets */
@media (max-width: 960px) {
  .about-bg-image {
    background-position: center top;
    background-size: cover;
  }
}

/* Phones */
@media (max-width: 640px) {
  .about-bg-image {
    background-position: center top;
    background-size: cover;
    opacity: 0.55;
    animation: none;
    transform: scale(1);
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .about-bg-image {
    background-position: center top;
    background-size: cover;
  }
}

/* Landscape phones — keep top visible */
@media (max-height: 500px) and (orientation: landscape) {
  .about-bg-image {
    background-position: center top;
    background-size: cover;
  }
}

/* Large screens — cap so it doesn't over-zoom */
@media (min-width: 1600px) {
  .about-bg-image {
    background-size: cover;
  }
}

/* Ultra-wide — prevent excessive cropping */
@media (min-aspect-ratio: 21/9) {
  .about-bg-image {
    background-size: cover;
    background-position: center top;
  }
}
