/* ==========================================================
   MADA CRAFT BH v3.1 — Interactive Hero Studio (Fixed Typography)
   ========================================================== */

:root {
  --primary: #0F3626;
  --secondary: #C5A059;
  --accent: #8E6F3E;
  --light: #F4F1EA;
  --dark: #1E1E1E;
  --ink: #0a1f16;
  --muted: #6b6b6b;
  --line: rgba(15, 54, 38, 0.12);

  --ff-ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ff-en: 'Fraunces', 'Playfair Display', Georgia, serif;
  --ff-body: 'Outfit', 'Inter', system-ui, sans-serif;

  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--ff-ar);
  font-weight: 400;
  letter-spacing: -.005em;
  background: var(--light);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overscroll-behavior-y: none;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: none; }
::selection { background: var(--secondary); color: var(--primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-ar);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* === CURSOR === */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), background .3s, opacity .3s;
  mix-blend-mode: difference;
  display: grid; place-items: center;
}
.cursor__dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--secondary);
}
.cursor__label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transition: opacity .2s;
  white-space: nowrap;
  letter-spacing: .05em;
  font-family: var(--ff-ar);
  position: relative;
  z-index: 1;
}
.cursor.is-link { width: 48px; height: 48px; }
.cursor.is-view,
.cursor.is-drag {
  width: 88px; height: 88px;
  background: var(--secondary);
  mix-blend-mode: normal;
}
.cursor.is-view .cursor__label,
.cursor.is-drag .cursor__label { opacity: 1; }

.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.35), transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity .4s;
}
.cursor-trail.is-active { opacity: 1; }

@media (hover: none) {
  body, button { cursor: auto; }
  .cursor, .cursor-trail { display: none; }
}

/* === PRELOADER === */
.loader {
  position: fixed; inset: 0;
  z-index: 10000;
  background: var(--primary);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; padding: 1rem; }
.loader__title {
  font-family: var(--ff-en);
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: .05em;
  margin-bottom: 2rem;
  display: flex; justify-content: center; gap: .05em;
  direction: ltr;
}
.loader__title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: lIn .9s var(--ease) forwards;
}
@keyframes lIn { to { opacity: 1; transform: translateY(0); } }
.loader__progress {
  width: min(260px, 60vw);
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: 0 auto 1rem;
  overflow: hidden;
}
.loader__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary), #E8CFA0);
  transition: width .3s var(--ease);
}
.loader__counter {
  color: rgba(244, 241, 234, .6);
  font-size: .85rem;
  letter-spacing: .2em;
  font-family: var(--ff-body);
}

/* === NAVBAR === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all .5s var(--ease);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex; align-items: center; gap: .65rem;
  color: var(--primary);
  font-weight: 700;
  z-index: 1;
  transition: color .4s;
}
.nav__brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--ink));
  color: var(--secondary);
  font-family: var(--ff-en);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.03em;
  transition: all .4s var(--ease);
}
.nav__brand-name { font-size: 1.05rem; color: var(--primary); transition: color .4s; }
.nav__brand-name em { color: var(--accent); font-style: normal; }

.nav__menu {
  display: flex;
  gap: .25rem;
  padding: .35rem;
  border-radius: 999px;
  background: rgba(15, 54, 38, 0.04);
  border: 1px solid rgba(15, 54, 38, 0.06);
  transition: all .4s var(--ease);
}
.nav__link {
  position: relative;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 500;
  transition: all .35s var(--ease);
}
.nav__link:hover {
  background: var(--primary);
  color: var(--secondary);
}

.nav__actions { display: flex; align-items: center; gap: .75rem; }
.nav__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 500;
  padding: .5rem .85rem;
  border-radius: 999px;
  transition: all .3s;
}
.nav__phone svg { color: var(--accent); }
.nav__phone:hover { background: rgba(15, 54, 38, 0.05); }

.nav__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--light);
  font-size: .85rem;
  font-weight: 600;
  transition: all .35s var(--ease);
  box-shadow: 0 8px 24px -8px rgba(15, 54, 38, 0.4);
}
.nav__cta svg { transition: transform .35s var(--ease); }
.nav__cta:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(197, 160, 89, 0.5);
}
.nav__cta:hover svg { transform: translateX(4px); }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--primary);
  position: relative;
  z-index: 2;
}
.nav__burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 1.5px;
  background: var(--secondary);
  transition: all .35s var(--ease);
}
.nav__burger span:nth-child(1) { transform: translate(-50%, -4px); }
.nav__burger span:nth-child(2) { transform: translate(-50%, 4px); }
.nav__burger.is-active span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.nav__burger.is-active span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

.nav__progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: transparent;
}
.nav__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width .1s linear;
}

.nav.is-scrolled {
  padding: .65rem 0;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 54, 38, 0.08);
}
.nav.is-scrolled .nav__brand-mark {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--primary);
}

/* === MOBILE MENU === */
.mmenu {
  position: fixed; inset: 0;
  background: var(--primary);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  clip-path: circle(0% at calc(100% - 60px) 60px);
  transition: clip-path .8s var(--ease);
  pointer-events: none;
}
.mmenu.is-open { clip-path: circle(150% at calc(100% - 60px) 60px); pointer-events: auto; }
.mmenu__inner {
  width: 100%;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; gap: .5rem;
}
.mmenu__link {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding: 1rem 0;
  color: var(--light);
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  transform: translateY(30px);
  transition: color .3s;
}
.mmenu__link span {
  font-family: var(--ff-body);
  font-size: .75rem;
  color: var(--secondary);
  font-weight: 500;
  letter-spacing: .1em;
}
.mmenu.is-open .mmenu__link {
  animation: mIn .7s var(--ease) forwards;
}
.mmenu.is-open .mmenu__link:nth-child(1) { animation-delay: .15s; }
.mmenu.is-open .mmenu__link:nth-child(2) { animation-delay: .22s; }
.mmenu.is-open .mmenu__link:nth-child(3) { animation-delay: .29s; }
.mmenu.is-open .mmenu__link:nth-child(4) { animation-delay: .36s; }
.mmenu.is-open .mmenu__link:nth-child(5) { animation-delay: .43s; }
@keyframes mIn { to { opacity: 1; transform: translateY(0); } }
.mmenu__link:hover { color: var(--secondary); }

.mmenu__footer {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  color: rgba(244, 241, 234, .5);
  font-size: .9rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.75rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: var(--ff-ar);
}
.btn svg { transition: transform .4s var(--ease); position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn:hover svg { transform: translateX(4px); }

.btn--solid {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 10px 30px -8px rgba(197,160,89,.5);
}
.btn--solid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.3), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.btn--solid:hover::before { opacity: 1; }
.btn--solid:hover {
  background: var(--accent);
  color: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(197,160,89,.6);
}

.btn--line {
  background: transparent;
  color: var(--light);
  border-color: rgba(255,255,255,.2);
}
.btn--line:hover { background: rgba(255,255,255,.06); border-color: var(--secondary); color: var(--secondary); }
.btn--full { width: 100%; justify-content: center; }

/* === SECTION UTILS === */
.tag {
  display: inline-block;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  margin-bottom: 1rem;
  font-family: var(--ff-body);
  text-transform: uppercase;
}
.h2 {
  font-family: var(--ff-ar);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--primary);
}
.h2 em {
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ==========================================================
   HERO — INTERACTIVE STUDIO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--light);
  color: var(--primary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 8rem 0 2rem;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-en);
  font-size: clamp(15rem, 38vw, 40rem);
  font-weight: 700;
  color: rgba(15, 54, 38, 0.035);
  letter-spacing: -.05em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  direction: ltr;
  font-style: italic;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  flex: 1;
}

/* === TEXT SIDE === */
.hero__text { max-width: 620px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: rgba(15, 54, 38, 0.04);
  border: 1px solid rgba(15, 54, 38, 0.08);
  font-size: .78rem;
  color: var(--primary);
  letter-spacing: .05em;
  margin-bottom: 1.75rem;
  font-weight: 500;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--secondary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .4; transform: scale(.7); } }

/* === FIXED TYPOGRAPHY — Arabic letters no longer clipped === */
.hero__title {
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.035em;
  margin-bottom: 1.75rem;
  color: var(--primary);
  padding-block: 0.1em;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-block: 0.15em;
  margin-block: -0.05em;
}
.hero__title .word {
  display: inline-block;
  transform: translateY(120%);
  will-change: transform;
  cursor: none;
  transition: color .3s;
  position: relative;
  padding-block: 0.1em;
}
.hero__title .word:hover {
  color: var(--accent);
}
.hero__title em {
  font-family: var(--ff-en);
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  position: relative;
  display: inline-block;
  padding-block: 0.05em;
  line-height: 1.15;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: .15em;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  opacity: .5;
  transform-origin: right;
  transform: scaleX(0);
  animation: inkUnderline 1.2s var(--ease) 1.8s forwards;
}
@keyframes inkUnderline {
  to { transform: scaleX(1); transform-origin: left; }
}
.hero__title .ink {
  position: relative;
  display: inline-block;
}
.hero__title .ink::before {
  content: '';
  position: absolute;
  inset: -4px -8px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2), transparent 70%);
  border-radius: 8px;
  opacity: 0;
  animation: inkGlow 3s ease-in-out infinite;
  z-index: -1;
}
@keyframes inkGlow {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: .8; transform: scale(1.05); }
}

.hero__desc {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero__cta {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero__play {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: .92rem;
}
.hero__play-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15, 54, 38, 0.1);
  display: grid;
  place-items: center;
  color: var(--primary);
  transition: all .4s var(--ease);
  position: relative;
}
.hero__play-circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  opacity: 0;
  animation: ringPulse 2s ease-out infinite;
}
@keyframes ringPulse {
  0% { opacity: .6; transform: scale(.9); }
  100% { opacity: 0; transform: scale(1.3); }
}
.hero__play:hover .hero__play-circle {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.08);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 54, 38, 0.1);
}
.hero__avatars {
  display: flex;
  align-items: center;
}
.hero__avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--light);
  margin-inline-start: -10px;
  object-fit: cover;
}
.hero__avatars img:first-child { margin-inline-start: 0; }
.hero__avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 600;
  margin-inline-start: -10px;
  border: 2px solid var(--light);
  font-family: var(--ff-body);
}
.hero__trust-text { display: flex; flex-direction: column; gap: .15rem; }
.hero__trust-text .stars {
  color: var(--secondary);
  font-size: .85rem;
  letter-spacing: .15em;
}
.hero__trust-text span:last-child {
  font-size: .82rem;
  color: var(--muted);
}

/* === VISUAL SIDE === */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-height: 560px;
  width: 100%;
  perspective: 1200px;
}
.hero__stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s var(--ease);
}

.hero__card {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15, 54, 38, 0.35);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  will-change: transform;
  transform-style: preserve-3d;
}
.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  pointer-events: none;
}
.hero__card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,0.4), transparent 50%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.hero__card:hover .hero__card-shine { opacity: 1; }
.hero__card:hover img { transform: scale(1.06); }

.hero__card--main {
  top: 8%;
  right: 0;
  width: 78%;
  height: 82%;
  z-index: 2;
}
.hero__card--small {
  width: 38%;
  height: 40%;
  z-index: 3;
  border: 5px solid var(--light);
}
.hero__card--tl {
  top: 0;
  left: 0;
}
.hero__card--br {
  bottom: 0;
  left: 15%;
}

.hero__card-tag {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.95);
  backdrop-filter: blur(12px);
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  z-index: 3;
}
.hero__card-tag .tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.5s ease-in-out infinite;
}

.hero__float-stat {
  position: absolute;
  top: 45%;
  left: -8%;
  padding: 1.25rem 1.5rem;
  background: var(--primary);
  color: var(--light);
  border-radius: 20px;
  box-shadow: 0 20px 40px -12px rgba(15, 54, 38, 0.5);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.hero__float-stat .num {
  font-family: var(--ff-body);
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1;
}
.hero__float-stat .lbl {
  font-size: .78rem;
  color: rgba(244, 241, 234, 0.7);
  letter-spacing: .05em;
}

.hero__signature {
  position: absolute;
  top: -8%;
  right: -8%;
  width: 180px;
  height: 180px;
  z-index: 5;
  animation: rotateSig 20s linear infinite;
  pointer-events: none;
}
.hero__signature-text {
  font-family: var(--ff-body);
  font-size: 8px;
  fill: var(--accent);
  letter-spacing: .15em;
  text-transform: uppercase;
}
@keyframes rotateSig {
  to { transform: rotate(360deg); }
}

/* === BOTTOM BAR === */
.hero__bottom {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 3rem auto 0;
  padding: 1.75rem var(--gutter) 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(15, 54, 38, 0.1);
}
.hero__bottom-item {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.hero__bottom-num {
  font-family: var(--ff-body);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__bottom-num::after {
  content: '+';
  color: var(--secondary);
  margin-inline-start: 2px;
}
.hero__bottom-item:last-of-type .hero__bottom-num::after { content: ''; }
.hero__bottom-lbl {
  font-size: .82rem;
  color: var(--muted);
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .68rem;
  letter-spacing: .3em;
  color: var(--muted);
  font-family: var(--ff-body);
}
.hero__scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(15, 54, 38, 0.15);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--secondary);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

/* Hero Responsive */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 500px; margin: 0 auto; aspect-ratio: 1/0.95; }
  .hero__text { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero__desc { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__float-stat { top: auto; bottom: 8%; left: -4%; }
  .hero__signature { width: 140px; height: 140px; top: -6%; right: -4%; }
}

@media (max-width: 768px) {
  .nav__menu,
  .nav__phone,
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__brand-name { font-size: .95rem; }

  .hero { padding: 6rem 0 2rem; }
  .hero__bg-text { font-size: 22rem; }
  .hero__title {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    line-height: 1.3;
  }
  .hero__title .line {
    padding-block: 0.2em;
  }
  .hero__eyebrow { font-size: .72rem; }
  .hero__desc { font-size: .95rem; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 1rem; }
  .hero__cta .btn { justify-content: center; }
  .hero__play { justify-content: center; }
  .hero__trust { flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
  .hero__visual { max-width: 100%; aspect-ratio: 1/0.9; }
  .hero__card--main { width: 82%; height: 85%; }
  .hero__card--small { width: 42%; height: 42%; border-width: 4px; }
  .hero__card--br { left: 8%; }
  .hero__float-stat { padding: 1rem 1.25rem; top: auto; bottom: 5%; left: -2%; }
  .hero__float-stat .num { font-size: 1.5rem; }
  .hero__float-stat .lbl { font-size: .7rem; }
  .hero__signature { width: 100px; height: 100px; top: -4%; right: -2%; }

  .hero__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding-top: 1.5rem;
    justify-content: space-between;
  }
  .hero__bottom-item { gap: .35rem; }
  .hero__bottom-num { font-size: 1.25rem; }
  .hero__bottom-lbl { font-size: .72rem; }
  .hero__scroll { display: none; }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
    line-height: 1.35;
  }
  .hero__title .line {
    padding-block: 0.25em;
  }
  .hero__bg-text { font-size: 16rem; }
}

/* === MANIFESTO === */
.manifesto {
  padding: clamp(5rem, 15vh, 10rem) 0;
  background: var(--light);
}
.manifesto__text {
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -.015em;
  max-width: 20ch;
  margin-inline: auto;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.manifesto__text.is-in { opacity: 1; transform: translateY(0); }
.manifesto__text em {
  font-family: var(--ff-en);
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-block: 0.05em;
}
.manifesto__text em::after {
  content: '';
  position: absolute;
  left: 0; bottom: .1em;
  width: 100%; height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1s var(--ease) .3s;
}
.manifesto__text.is-in em::after { transform: scaleX(1); transform-origin: left; }

/* === SERVICES === */
.services {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--light);
}
.services__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.services__lead {
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(.9rem, 1.3vw, 1rem);
  line-height: 1.75;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.scard {
  position: relative;
  padding: 2.25rem 2rem 2.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.scard.is-in { opacity: 1; transform: translateY(0); }
.scard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--primary) 0%, var(--ink) 100%);
  opacity: 0;
  transform: translateY(100%);
  transition: transform .55s var(--ease), opacity .4s;
  z-index: 0;
}
.scard:hover::before { opacity: 1; transform: translateY(0); }
.scard:hover {
  border-color: var(--primary);
  box-shadow: 0 30px 60px -30px rgba(15, 54, 38, 0.35);
}
.scard > * { position: relative; z-index: 1; }
.scard__num {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .15em;
  transition: color .4s;
  z-index: 2;
}
.scard:hover .scard__num { color: var(--secondary); }
.scard__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(197, 160, 89, 0.08);
  color: var(--accent);
  margin-bottom: 2rem;
  transition: all .5s var(--ease);
}
.scard:hover .scard__icon {
  background: rgba(197, 160, 89, 0.15);
  color: var(--secondary);
  transform: rotate(-6deg) scale(1.08);
}
.scard h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
  transition: color .4s;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.scard:hover h3 { color: var(--light); }
.scard p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  transition: color .4s;
  margin-bottom: 1.5rem;
}
.scard:hover p { color: rgba(244,241,234,.7); }
.scard__arrow {
  margin-top: auto;
  align-self: flex-start;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--primary);
  transform: rotate(-45deg);
  transition: all .5s var(--ease);
}
.scard:hover .scard__arrow {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: rotate(-45deg) translateX(4px);
}

/* === PORTFOLIO === */
.portfolio {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--light);
}
.portfolio__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.portfolio__filter {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.chip {
  padding: .6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .35s var(--ease);
  font-family: var(--ff-ar);
}
.chip:hover { color: var(--primary); border-color: var(--secondary); }
.chip.active {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.pgal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pcard {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ddd;
  cursor: none;
  transition: transform .6s var(--ease);
}
.pcard:nth-child(1),
.pcard:nth-child(6) { grid-column: span 2; aspect-ratio: 8 / 5; }
.pcard__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.pcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,31,22,.92));
  opacity: .75;
  transition: opacity .45s;
  pointer-events: none;
}
.pcard__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  color: var(--light);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(8px);
  transition: transform .5s var(--ease);
}
.pcard__info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: .25rem;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.pcard__info span {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--secondary);
  text-transform: uppercase;
  font-family: var(--ff-body);
  font-weight: 500;
}
.pcard__btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: grid; place-items: center;
  opacity: 0;
  transform: scale(.6);
  transition: all .45s var(--ease);
  flex-shrink: 0;
}
.pcard:hover img { transform: scale(1.08); }
.pcard:hover::after { opacity: .95; }
.pcard:hover .pcard__info { transform: translateY(0); }
.pcard:hover .pcard__btn { opacity: 1; transform: scale(1); }
.pcard.is-hidden { display: none; }

/* === PROCESS === */
.process {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}
.process__head {
  margin-bottom: 4rem;
  text-align: center;
}
.process__head .tag::before,
.process__head .tag::after,
.testi__head .tag::before,
.testi__head .tag::after {
  content: '';
  display: inline-block;
  width: 30px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 .75rem;
}
.testi__head .tag::before,
.testi__head .tag::after { background: var(--secondary); }
.process__list {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.process__list::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 40px;
  width: 1px;
  background: var(--line);
}
.process__list::after {
  content: '';
  position: absolute;
  top: 0;
  right: 40px;
  width: 1px;
  height: var(--progress, 0%);
  background: linear-gradient(180deg, var(--secondary), var(--accent));
  transition: height .3s linear;
}
.pstep {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  padding: 2.5rem 0;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.pstep.is-in { opacity: 1; transform: translateY(0); }
.pstep__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.pstep__num {
  font-family: var(--ff-body);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--light);
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: all .5s var(--ease);
  display: inline-block;
  min-width: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.pstep__body h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .65rem;
  letter-spacing: -.01em;
  transition: color .4s;
  line-height: 1.3;
}
.pstep__body p {
  color: var(--muted);
  font-size: clamp(.88rem, 1.2vw, 1rem);
  max-width: 55ch;
  line-height: 1.75;
  transition: color .4s;
}
.pstep__icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: grid; place-items: center;
  background: rgba(197, 160, 89, 0.06);
  color: var(--accent);
  transition: all .6s var(--ease);
  opacity: .6;
}
.pstep:hover .pstep__num {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.pstep:hover .pstep__body h3 { color: var(--accent); }
.pstep:hover .pstep__icon {
  background: var(--primary);
  color: var(--secondary);
  opacity: 1;
  transform: rotate(-8deg) scale(1.05);
}

/* === ABOUT === */
.about {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--light);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__float {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  background: rgba(10,31,22,.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(197,160,89,.3);
  color: var(--light);
  display: flex; flex-direction: column;
}
.about__float .num {
  font-family: var(--ff-body);
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1;
}
.about__float span:last-child {
  font-size: .75rem;
  color: rgba(244,241,234,.6);
  margin-top: .5rem;
  letter-spacing: .1em;
}
.about__content p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: clamp(.9rem, 1.3vw, 1rem);
  line-height: 1.8;
}
.about__content strong { color: var(--primary); }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.astat { display: flex; flex-direction: column; }
.astat .num {
  font-family: var(--ff-body);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}
.astat span:last-child {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .35rem;
}

/* === TESTIMONIALS === */
.testi {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--primary);
  color: var(--light);
  position: relative;
  overflow: hidden;
}
.testi::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(197, 160, 89, 0.06), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(197, 160, 89, 0.05), transparent 50%);
  pointer-events: none;
}
.testi__head {
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.testi__head .h2 { color: var(--light); }
.testi__head .tag { color: var(--secondary); }
.testi__wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.testi__swiper { padding-bottom: 4rem !important; }
.testi__swiper .swiper-slide { height: auto; }
.tcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tcard__stars {
  color: var(--secondary);
  font-size: 1rem;
  letter-spacing: .3em;
  margin-bottom: 1.5rem;
  font-family: var(--ff-body);
}
.tcard p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: rgba(244, 241, 234, 0.9);
  margin-bottom: 2rem;
  font-style: italic;
  flex: 1;
}
.tcard__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tcard__author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}
.tcard__author div { text-align: right; }
.tcard__author strong {
  display: block;
  color: var(--secondary);
  font-size: .95rem;
  font-weight: 700;
}
.tcard__author span {
  font-size: .8rem;
  color: rgba(244, 241, 234, 0.55);
}
.testi .swiper-pagination { bottom: 0 !important; }
.testi .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.2) !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
  margin: 0 4px !important;
  transition: all .35s;
}
.testi .swiper-pagination-bullet-active {
  background: var(--secondary) !important;
  width: 28px !important;
  border-radius: 4px !important;
}

/* === CONTACT === */
.contact {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--light);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: 3rem;
}
.contact__intro p {
  color: var(--muted);
  margin: 1.5rem 0 2.5rem;
  max-width: 40ch;
}
.contact__info {
  display: flex; flex-direction: column;
  gap: 1.5rem;
}
.cinfo { display: flex; flex-direction: column; gap: .35rem; }
.cinfo__lbl {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--ff-body);
}
.cinfo__val {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
  transition: color .3s;
  width: fit-content;
}
a.cinfo__val:hover { color: var(--secondary); }
.contact__form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(15,54,38,.15);
}
.fgroup { margin-bottom: 1.25rem; }
.fgroup label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .5rem;
  letter-spacing: .05em;
}
.fgroup input,
.fgroup textarea,
.fgroup select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--light);
  font-family: inherit;
  font-size: .95rem;
  color: var(--primary);
  transition: all .3s var(--ease);
}
.fgroup input:focus,
.fgroup textarea:focus,
.fgroup select:focus {
  outline: none;
  border-color: var(--secondary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(197,160,89,.12);
}
.fgroup textarea { resize: vertical; min-height: 100px; }
.contact__map {
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* === FOOTER === */
.foot {
  background: var(--ink);
  color: var(--light);
  padding: clamp(4rem, 10vh, 7rem) 0 0;
}
.foot__big {
  display: flex; flex-direction: column;
  gap: .5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 3rem;
}
.foot__big span {
  font-size: .85rem;
  letter-spacing: .25em;
  color: var(--secondary);
  text-transform: uppercase;
  font-family: var(--ff-body);
}
.foot__big a {
  font-family: var(--ff-en);
  font-size: clamp(1.75rem, 6vw, 4rem);
  font-weight: 600;
  font-style: italic;
  color: var(--light);
  line-height: 1.2;
  transition: color .35s;
  word-break: break-all;
  direction: ltr;
  text-align: right;
}
.foot__big a:hover { color: var(--secondary); }
.foot__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.foot__col h4 {
  font-size: .85rem;
  letter-spacing: .2em;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-family: var(--ff-body);
}
.foot__col p {
  color: rgba(244,241,234,.6);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 32ch;
}
.foot__col > a {
  display: block;
  color: rgba(244,241,234,.65);
  font-size: .9rem;
  padding: .35rem 0;
  transition: color .3s, transform .3s;
}
.foot__col > a:hover { color: var(--secondary); transform: translateX(-4px); }
.foot__social { display: flex; gap: .5rem; }
.foot__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  color: rgba(244,241,234,.7);
  transition: all .35s var(--ease);
}
.foot__social a:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: translateY(-3px) rotate(6deg);
}
.foot__note {
  color: rgba(244,241,234,.55);
  font-size: .85rem;
  margin-bottom: 1rem;
}
.foot__news {
  display: flex;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
}
.foot__news input {
  flex: 1;
  min-width: 0;
  padding: .75rem 1rem;
  background: transparent;
  border: 0;
  color: var(--light);
  font-family: inherit;
  font-size: .85rem;
}
.foot__news input:focus { outline: none; }
.foot__news input::placeholder { color: rgba(244,241,234,.4); }
.foot__news button {
  width: 44px;
  background: var(--secondary);
  color: var(--primary);
  display: grid; place-items: center;
  transition: background .3s;
}
.foot__news button:hover { background: var(--accent); color: var(--light); }
.foot__bottom {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
  color: rgba(244,241,234,.45);
}

/* === TOTOP === */
.totop {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--secondary);
  border: 1px solid var(--secondary);
  display: grid; place-items: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all .4s var(--ease);
  box-shadow: 0 10px 30px -8px rgba(15,54,38,.4);
}
.totop.is-in { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--secondary); color: var(--primary); transform: translateY(-4px); }

/* === RESPONSIVE (GLOBAL) === */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16/12; max-height: 500px; }
  .contact__inner { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; gap: 1rem; }
  .services__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .scard { min-height: auto; padding: 2rem 1.75rem; }
  .portfolio__head { flex-direction: column; align-items: flex-start; }
  .portfolio__filter { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .5rem; scrollbar-width: none; }
  .portfolio__filter::-webkit-scrollbar { display: none; }
  .pgal { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .pcard:nth-child(1),
  .pcard:nth-child(6) { grid-column: span 1; aspect-ratio: 4 / 3; }
  .pcard__info { padding: 1rem; }
  .pcard__info h3 { font-size: .95rem; }
  .pcard__info span { font-size: .65rem; }
  .process__list::before,
  .process__list::after { display: none; }
  .pstep {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
  }
  .pstep__icon { display: none; }
  .pstep__num { font-size: 1rem; padding: .35rem .85rem; min-width: 50px; }
  .pstep__body h3 { font-size: 1.15rem; }
  .pstep__body p { font-size: .88rem; }
  .about__stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 1.25rem 0; }
  .about__float { padding: 1rem 1.25rem; bottom: 1rem; left: 1rem; }
  .about__float .num { font-size: 1.5rem; }
  .contact__form { padding: 1.5rem; }
  .contact__map { height: 220px; }
  .foot__big a { font-size: 1.5rem; }
  .foot__grid { grid-template-columns: 1fr; gap: 2rem; }
  .foot__bottom { flex-direction: column; text-align: center; }
  .totop { bottom: 1rem; left: 1rem; width: 42px; height: 42px; }
}
@media (max-width: 480px) {
  .pgal { grid-template-columns: 1fr; }
  .scard { padding: 1.75rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
