/* 1) الهوية العامة — عدّل الألوان هنا */
:root {
  --bg: #05070b;
  --surface: #0a0e15;
  --surface-2: #101722;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f7fb;
  --muted: #99a5b5;
  --cyan: #12d8ee;
  --blue: #2878ff;
  --violet: #7a23ff;
  --gold: #dba64a;
  --green: #20d477;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Alexandria", sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}
img,
video {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(var(--max-width), calc(100% - 64px));
  margin-inline: auto;
}
.material-symbols-rounded {
  vertical-align: middle;
}

/* 2) الشريط العلوي */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 82px;
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(5, 7, 11, 0.88);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 44px;
}
.brand {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 9px;
  line-height: 1;
  min-width: max-content;
  position: relative;
}
.brand-name {
  font:
    800 29px/1 Arial,
    sans-serif;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fff 55%, var(--gold));
  -webkit-background-clip: text;
  color: transparent;
}
.brand small {
  grid-column: 2;
  color: #c9cdd4;
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-top: 5px;
}
.brand-wave {
  grid-row: 1 / 3;
  display: flex;
  gap: 2px;
  align-items: center;
  direction: ltr;
}
.brand-wave i {
  display: block;
  width: 2px;
  height: 12px;
  background: var(--gold);
  border-radius: 2px;
}
.brand-wave i:nth-child(2),
.brand-wave i:nth-child(4) {
  height: 22px;
}
.brand-wave i:nth-child(3) {
  height: 31px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-inline: auto;
}
.nav-links a {
  color: #c4ccd7;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  padding-block: 10px;
  transition: 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: 0.25s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  padding: 9px 17px;
  border: 1px solid rgba(18, 216, 238, 0.4);
  background: rgba(18, 216, 238, 0.08);
  color: var(--cyan);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-cta span {
  font-size: 18px;
  margin-left: 5px;
}
.menu-button {
  display: none;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}

/* 3) الواجهة الرئيسية */
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(
      90deg,
      rgba(4, 6, 11, 0.2),
      rgba(4, 6, 11, 0.68) 52%,
      rgba(4, 6, 11, 0.96) 100%
    ),
    linear-gradient(0deg, var(--bg), transparent 28%);
}
.hero-orb {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
}
.orb-one {
  width: 420px;
  height: 420px;
  background: var(--violet);
  right: -220px;
  top: 15%;
}
.orb-two {
  width: 340px;
  height: 340px;
  background: var(--cyan);
  left: 12%;
  bottom: -240px;
}
.hero-content {
  padding-top: 110px;
}
.location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 13px;
  margin-bottom: 15px;
}
.location span {
  font-size: 18px;
}
.location i {
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
}
.soundline {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 20px;
  width: max-content;
  direction: ltr;
}
.soundline span {
  width: 3px;
  border-radius: 3px;
  height: 12px;
  background: linear-gradient(var(--cyan), var(--blue));
  animation: wave 1.2s ease-in-out infinite alternate;
}
.soundline span:nth-child(2n) {
  height: 25px;
  animation-delay: -0.4s;
}
.soundline span:nth-child(3n) {
  height: 33px;
  animation-delay: -0.8s;
}
@keyframes wave {
  to {
    transform: scaleY(0.45);
    opacity: 0.55;
  }
}
.hero h1 {
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  max-width: 800px;
}
.hero h1 em {
  font-style: normal;
  color: #fff;
}
.hero h1 strong {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
}
.hero-copy {
  max-width: 620px;
  color: #b7c0cd;
  font-size: 16px;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.button {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  padding: 0 25px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}
.button.gradient {
  color: #fff;
  background: linear-gradient(105deg, var(--violet), var(--blue), var(--cyan));
  background-size: 180%;
  box-shadow: 0 15px 40px rgba(64, 76, 255, 0.24);
}
.button.gradient:hover {
  transform: translateY(-3px);
  background-position: 100%;
  box-shadow: 0 18px 50px rgba(18, 216, 238, 0.26);
}
.button.outline {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 9, 14, 0.3);
  backdrop-filter: blur(10px);
}
.button.outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 45px;
  color: #8e99a8;
  font-size: 11px;
}
.hero-proof span {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.hero-proof b {
  color: #fff;
  font-size: 18px;
}
.hero-proof i {
  width: 1px;
  height: 25px;
  background: var(--line);
}
.scroll-hint {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #768292;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.scroll-hint span {
  color: var(--cyan);
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  50% {
    transform: translateY(6px);
  }
}

/* 4) الأقسام المشتركة */
.section {
  padding: 110px 0;
  position: relative;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 52px;
}
.section-head h2,
.showreel-copy h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.35;
  margin: 7px 0 0;
  letter-spacing: -0.03em;
}
.section-head h2 span,
.showreel-copy h2 span,
.about-copy h2 span,
.contact-copy h2 span {
  color: var(--cyan);
}
.section-head > p {
  max-width: 450px;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.overline {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* 5) الخدمات */
.services {
  background:
    radial-gradient(circle at 80% 0%, rgba(42, 72, 156, 0.13), transparent 35%),
    var(--surface);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: 0.3s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto 15% -120px;
  height: 140px;
  background: var(--blue);
  filter: blur(75px);
  opacity: 0;
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(18, 216, 238, 0.3);
  background: rgba(18, 216, 238, 0.035);
}
.service-card:hover::before {
  opacity: 0.25;
}
.service-card.featured {
  background: linear-gradient(
    145deg,
    rgba(36, 88, 166, 0.22),
    rgba(122, 35, 255, 0.08)
  );
  border-color: rgba(18, 216, 238, 0.22);
}
.service-card .number {
  position: absolute;
  left: 22px;
  top: 17px;
  color: rgba(255, 255, 255, 0.13);
  font: 700 36px Arial;
}
.service-card .icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(18, 216, 238, 0.08);
  border: 1px solid rgba(18, 216, 238, 0.13);
  border-radius: 12px;
  font-size: 29px;
}
.service-card h3 {
  margin: 24px 0 9px;
  font-size: 18px;
}
.service-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 22px;
}
.service-card a,
.text-link {
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.service-card a span,
.text-link span {
  font-size: 17px;
  transition: 0.2s;
}
.service-card a:hover span,
.text-link:hover span {
  transform: translateX(-5px);
}

/* 6) معرض الأعمال */
.work {
  background: var(--bg);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  aspect-ratio: 1 / 1;
}
.gallery-main {
  grid-row: auto;
}
.gallery figure:nth-child(2) {
  grid-column: auto;
}
.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.6s ease,
    filter 0.5s;
  filter: saturate(0.88) contrast(1.05);
}
.gallery figure:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.06);
}
.gallery figure:hover {
  border-color: rgba(18, 216, 238, 0.3);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
}
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(2, 4, 8, 0.94));
  pointer-events: none;
}
.gallery figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 17px;
}
.gallery figcaption span {
  color: var(--cyan);
  font-size: 10px;
}
.gallery figcaption h3 {
  font-size: 16px;
  margin: 0;
}
.gallery-main figcaption h3 {
  font-size: 16px;
}

/* العارض المتحرك الجديد */
.work-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 680px;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #020407;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.38);
  touch-action: pan-y;
}
.work-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.work-slide {
  position: absolute;
  inset: 0;
  isolation: isolate;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition:
    opacity 0.65s ease,
    transform 0.75s ease,
    visibility 0.65s;
}
.work-slide::before {
  content: "";
  position: absolute;
  inset: -25px;
  z-index: -1;
  background-image:
    linear-gradient(rgba(2, 4, 7, 0.36), rgba(2, 4, 7, 0.55)), var(--slide-bg);
  background-position: center;
  background-size: cover;
  filter: blur(20px) saturate(0.8);
  transform: scale(1.08);
  opacity: 0.78;
}
.work-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}
.work-slide img,
.work-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 1;
  background: transparent;
}
.work-slide::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(2, 4, 8, 0.92));
  z-index: 2;
  pointer-events: none;
}
.work-slide figcaption {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 32px;
}
.work-slide figcaption span {
  color: var(--cyan);
  font-size: 11px;
}
.work-slide figcaption h3 {
  margin: 2px 0 0;
  font-size: clamp(20px, 3vw, 31px);
}
.slider-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(4, 7, 12, 0.62);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: 0.2s;
}
.slider-arrow:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(4, 7, 12, 0.88);
}
.slider-next {
  right: 20px;
}
.slider-prev {
  left: 20px;
}
.slider-arrow span {
  font-size: 20px;
}
.slider-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  direction: ltr;
}
.slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: 0.25s;
}
.slider-dots button.active {
  width: 25px;
  background: var(--cyan);
}

/* 7) الفيديو */
.showreel {
  background: linear-gradient(180deg, var(--surface), var(--bg));
}
.showreel-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 70px;
  align-items: center;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 17px;
  overflow: hidden;
  border: 1px solid rgba(18, 216, 238, 0.2);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(39, 104, 255, 0.08);
  background: #000;
}
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video-label {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 30px;
  background: rgba(3, 5, 9, 0.72);
  backdrop-filter: blur(8px);
  font-size: 10px;
}
.video-label i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ff425d;
  border-radius: 50%;
  margin-left: 5px;
  box-shadow: 0 0 10px #ff425d;
}
.showreel-copy p,
.about-copy > p {
  color: var(--muted);
  font-size: 14px;
}
.showreel-copy ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: grid;
  gap: 12px;
}
.showreel-copy li {
  font-size: 13px;
}
.showreel-copy li span {
  color: var(--cyan);
  margin-left: 8px;
}

/* 8) من نحن */
.about {
  background:
    radial-gradient(
      circle at 20% 40%,
      rgba(122, 35, 255, 0.11),
      transparent 30%
    ),
    var(--surface);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
  border: 1px solid rgba(18, 216, 238, 0.22);
  border-radius: 16px;
  padding: 5px;
  background: rgba(18, 216, 238, 0.025);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}
.about-image::before {
  display: none;
}
.about-image img {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 11px;
  filter: saturate(0.8) contrast(1.08);
}
.experience {
  position: absolute;
  z-index: 2;
  left: -25px;
  top: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  background: rgba(6, 9, 14, 0.9);
  border: 1px solid rgba(18, 216, 238, 0.3);
  backdrop-filter: blur(12px);
  border-radius: 11px;
}
.experience b {
  color: var(--cyan);
  font: 700 32px Arial;
}
.experience span {
  color: #cbd4df;
  font-size: 10px;
  line-height: 1.5;
}
.about-copy > p {
  max-width: 650px;
}
.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 35px;
}
.about-points div {
  padding: 18px 14px;
  border-top: 1px solid rgba(18, 216, 238, 0.22);
  background: rgba(255, 255, 255, 0.02);
}
.about-points span {
  color: var(--cyan);
}
.about-points b,
.about-points small {
  display: block;
}
.about-points b {
  font-size: 12px;
  margin-top: 8px;
}
.about-points small {
  color: var(--muted);
  font-size: 9px;
}

/* 9) التواصل */
.contact {
  overflow: hidden;
  padding-block: 120px;
}
.contact-glow {
  position: absolute;
  width: 800px;
  height: 500px;
  right: -300px;
  top: 0;
  background: radial-gradient(
    circle,
    rgba(42, 110, 255, 0.18),
    transparent 65%
  );
}
.contact-box {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  padding: 55px;
  border: 1px solid rgba(18, 216, 238, 0.16);
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(17, 27, 43, 0.82),
    rgba(9, 12, 19, 0.92)
  );
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}
.contact-copy p {
  color: var(--muted);
  font-size: 13px;
  max-width: 480px;
}
.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.contact-details a,
.contact-details > span {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
}
.contact-details b {
  overflow-wrap: anywhere;
}
.contact-details .material-symbols-rounded {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(18, 216, 238, 0.08);
}
.contact-form {
  display: grid;
  gap: 15px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  color: #b9c3cf;
  font-size: 11px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: #fff;
  background: rgba(3, 6, 10, 0.58);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  outline: 0;
  font-size: 12px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(18, 216, 238, 0.07);
}
.contact-form select option {
  background: var(--surface);
}
.contact-form .button {
  width: 100%;
  margin-top: 3px;
}

/* 10) التذييل والزر العائم */
footer {
  padding: 45px 0;
  border-top: 1px solid var(--line);
  background: #030509;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 35px;
}
.footer-grid p {
  margin: 0;
  font-size: 10px;
}
.footer-grid nav {
  display: flex;
  gap: 18px;
  justify-self: end;
  font-size: 10px;
}
.footer-grid > small {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 9px;
}
.whatsapp-float {
  position: fixed;
  z-index: 900;
  left: 22px;
  bottom: 22px;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 12px 35px rgba(32, 212, 119, 0.3);
}
.whatsapp-float i {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(32, 212, 119, 0.45);
  border-radius: inherit;
  animation: ping 1.8s infinite;
}
@keyframes ping {
  to {
    transform: scale(1.28);
    opacity: 0;
  }
}

/* 11) الأجهزة اللوحية والهواتف */
@media (max-width: 980px) {
  .container {
    width: min(var(--max-width), calc(100% - 32px));
  }
  .site-header,
  .site-header.scrolled {
    height: 70px;
    background: rgba(5, 7, 11, 0.84);
    backdrop-filter: blur(15px);
  }
  .nav {
    justify-content: space-between;
    gap: 15px;
  }
  .nav-cta {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    inset-inline: 16px;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    margin: 0;
    border: 1px solid var(--line);
    background: rgba(8, 12, 18, 0.97);
    border-radius: 12px;
    box-shadow: 0 25px 60px #000;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 14px;
  }
  .nav-links a::after {
    display: none;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .showreel-grid,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .about-image img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
  .about-image {
    max-width: 650px;
  }
  .footer-grid {
    grid-template-columns: 1fr auto;
  }
  .footer-grid nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 650px) {
  .section {
    padding: 78px 0;
  }
  .brand-name {
    font-size: 24px;
  }
  .hero {
    min-height: 760px;
    align-items: end;
    padding-bottom: 80px;
  }
  .hero-image {
    object-position: 42% center;
  }
  .hero-overlay {
    background: linear-gradient(
      0deg,
      var(--bg) 3%,
      rgba(4, 6, 11, 0.88) 55%,
      rgba(4, 6, 11, 0.36) 100%
    );
  }
  .hero-content {
    padding-top: 150px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-copy {
    font-size: 13px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-proof {
    gap: 10px;
    justify-content: space-between;
  }
  .hero-proof span {
    flex-direction: column;
    gap: 0;
  }
  .hero-proof b {
    font-size: 15px;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 15px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 280px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 10px;
  }
  .gallery-main {
    grid-column: auto;
    grid-row: auto;
  }
  .gallery figure:nth-child(2) {
    grid-column: auto;
  }
  .gallery figure:last-child {
    grid-column: auto;
  }
  .work-slider {
    aspect-ratio: 16 / 11;
    min-height: 0;
    border-radius: 13px;
  }
  .work-slide figcaption {
    right: 18px;
    bottom: 31px;
  }
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
  .slider-next {
    right: 10px;
  }
  .slider-prev {
    left: 10px;
  }
  .slider-dots {
    bottom: 12px;
  }
  .showreel-grid {
    gap: 35px;
  }
  .about-grid {
    gap: 55px;
  }
  .about-image img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
  .experience {
    left: 10px;
    top: 20px;
  }
  .about-points {
    grid-template-columns: 1fr;
  }
  .contact-box {
    padding: 28px 20px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-grid .brand {
    justify-self: center;
  }
  .footer-grid nav {
    grid-row: auto;
    grid-column: auto;
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
  }
  .scroll-hint {
    display: none;
  }
}

@media (max-width: 430px) {
  .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .gallery figure,
  .gallery-main,
  .gallery figure:nth-child(2),
  .gallery figure:last-child {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }
}

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