/* ============================================
   HissabiPro Mobile — site vitrine
   ============================================ */

:root {
  --navy: #07151f;
  --navy-2: #0c2230;
  --ink: #12202c;
  --muted: #5b6b78;
  --line: rgba(18, 32, 44, 0.1);
  --sand: #f6f1e8;
  --cream: #fbf8f3;
  --white: #ffffff;
  --teal: #0540a6;
  --teal-dark: #04348a;
  --teal-soft: #e8f0fb;
  --gold: #c4a35a;
  --gold-2: #dbbc74;
  --success: #1f8a70;
  --danger: #c45c4a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px rgba(7, 21, 31, 0.12);
  --shadow-lg: 0 30px 70px rgba(7, 21, 31, 0.22);
  --header-h: 76px;
  --container: 1160px;
  --font: "Plus Jakarta Sans", "Cairo", system-ui, sans-serif;
  --font-ar: "Cairo", "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}

html[dir="rtl"] {
  --font: var(--font-ar);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  background: var(--teal);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible,
.lang-btn:focus-visible,
.menu-toggle:focus-visible,
.faq-question:focus-visible,
.lang-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(180deg, #1a5fd4 0%, var(--teal) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(5, 64, 166, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #2a6de0 0%, var(--teal-dark) 100%);
  box-shadow: 0 16px 30px rgba(5, 64, 166, 0.34);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(196, 163, 90, 0.35);
}

.btn-gold:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background: #fff;
  color: var(--teal-dark);
  border-color: rgba(5, 64, 166, 0.22);
}

.btn-outline:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 21, 31, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 21, 31, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.02rem;
}

.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--gold-2);
  font-weight: 600;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: #fff;
  color: var(--navy);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
}

.header-cta {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.mobile-only {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  inset-inline-start: 13px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-toggle span {
  top: 21px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  inset-inline-start: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 80% 10%, rgba(26, 95, 212, 0.32), transparent 55%),
    radial-gradient(700px 380px at 10% 90%, rgba(196, 163, 90, 0.16), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  overflow: hidden;
  padding: 36px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  color: #e9eef2;
  margin-bottom: 14px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-offer {
  margin-top: 22px;
  color: var(--gold-2);
  font-weight: 700;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.84);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.18);
}

/* ---------- Phones ---------- */

.hero-phones {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: 230px;
  aspect-ratio: 9 / 19.4;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2a3544, #101820);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 24px 50px rgba(0, 0, 0, 0.35);
}

.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 72px;
  height: 10px;
  transform: translateX(-50%);
  background: #0b0f14;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #e9eef0;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-left,
.phone-right,
.phone-center {
  position: absolute;
}

.phone-center {
  width: 250px;
  z-index: 3;
  animation: floaty 5.5s ease-in-out infinite;
}

.phone-left {
  transform: translate(-118px, 36px) rotate(-9deg);
  z-index: 2;
  animation: floaty 6.2s ease-in-out infinite 0.4s;
}

.phone-right {
  transform: translate(118px, 48px) rotate(9deg);
  z-index: 1;
  animation: floaty 6s ease-in-out infinite 0.8s;
}

@keyframes floaty {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-head.center,
.center {
  text-align: center;
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Features ---------- */

.features {
  background: var(--cream);
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(7, 21, 31, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(5, 64, 166, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-dark);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.feature-alt {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-family: var(--font-ar);
}

.feature-card p:last-child {
  color: var(--muted);
}

/* ---------- Gallery ---------- */

.gallery {
  background:
    radial-gradient(600px 240px at 0% 0%, rgba(5, 64, 166, 0.08), transparent 60%),
    #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.shot {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: center;
  color: inherit;
}

.shot .phone {
  width: 100%;
  max-width: 180px;
  margin-inline: auto;
  animation: none;
  transition: transform 0.25s var(--ease);
}

.shot:hover .phone {
  transform: translateY(-8px);
}

.shot-label {
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.92rem;
}

.gallery-cta {
  text-align: center;
}

/* ---------- Why ---------- */

.why {
  background: var(--sand);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 700;
}

.check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
}

.check svg {
  width: 14px;
  height: 14px;
}

/* ---------- Promo ---------- */

.promo {
  padding: 28px 0 8px;
}

.promo-box {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(500px 180px at 50% 120%, rgba(196, 163, 90, 0.35), transparent 60%),
    linear-gradient(135deg, #04348a, #0540a6 45%, #08244d);
  box-shadow: var(--shadow-lg);
}

.promo-box h2 {
  color: var(--gold-2);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.promo-lead {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.promo-box p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 46ch;
  margin-inline: auto  auto;
}

.promo-cta {
  margin-top: 28px;
  min-width: 260px;
  min-height: 58px;
  position: relative;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(219, 188, 116, 0.55), 0 14px 30px rgba(0, 0, 0, 0.2);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(219, 188, 116, 0), 0 14px 30px rgba(0, 0, 0, 0.2);
  }
}

/* ---------- Languages ---------- */

.langs .lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lang-card {
  display: block;
  width: 100%;
  text-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}

.lang-card:hover,
.lang-card.is-active {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.lang-flag {
  font-size: 2rem;
  margin-bottom: 10px;
}

.lang-card h3 {
  margin-bottom: 8px;
}

.lang-card p {
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq {
  background: #fff;
}

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: start;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--teal);
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(5, 64, 166, 0.18), transparent 55%),
    var(--navy);
  color: #fff;
}

.contact h2,
.contact .lead {
  color: #fff;
}

.contact .lead {
  opacity: 0.8;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-2);
}

.contact-phone:hover {
  color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #061018;
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 10px;
  color: var(--gold-2);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover,
.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 0.92rem;
}

/* ---------- Floating CTA ---------- */

.float-cta {
  display: none;
  position: fixed;
  z-index: 40;
  inset-inline: 16px;
  bottom: 16px;
  min-height: 52px;
  box-shadow: 0 16px 40px rgba(5, 64, 166, 0.35);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 24, 0.86);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(380px, 92vw);
}

.lightbox-dialog img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.lightbox-caption {
  text-align: center;
  color: #fff;
  margin-top: 12px;
  font-weight: 700;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close {
  top: -52px;
  inset-inline-end: 0;
}

.lightbox-prev {
  inset-inline-start: -56px;
  top: 45%;
}

.lightbox-next {
  inset-inline-end: -56px;
  top: 45%;
}

/* ---------- Privacy ---------- */

.privacy-hero {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 48px 0 56px;
}

.privacy-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 12px 0;
}

.privacy-updated {
  color: var(--gold-2);
  font-weight: 700;
}

.privacy-content {
  padding: 56px 0 80px;
}

.privacy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(7, 21, 31, 0.05);
}

.privacy-card section + section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.privacy-card h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.privacy-card h3 {
  font-size: 1.02rem;
  margin: 16px 0 8px;
}

.privacy-card p,
.privacy-card li {
  color: var(--muted);
}

.privacy-card ul {
  padding-inline-start: 20px;
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.privacy-back {
  color: var(--gold-2);
  font-weight: 700;
}

.privacy-card .contact-phone {
  color: var(--teal-dark);
}

.page-privacy .site-header {
  background: rgba(7, 21, 31, 0.94);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid,
  .footer-grid,
  .feature-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .phone-left {
    transform: translate(-90px, 48px) rotate(-8deg);
  }

  .phone-right {
    transform: translate(90px, 56px) rotate(8deg);
  }
}

@media (max-width: 860px) {
  .site-nav,
  .desktop-only {
    display: none;
  }

  .nav-wrap {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 45;
    flex: none;
    background: rgba(6, 16, 24, 0.96);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-wrap.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .site-nav a {
    font-size: 1.2rem;
    padding: 12px 8px;
  }

  .nav-wrap.is-open .mobile-only {
    display: inline-flex;
    width: 100%;
    margin-top: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .langs .lang-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-phones {
    min-height: 460px;
    order: -1;
  }

  .float-cta {
    display: inline-flex;
  }

  body {
    padding-bottom: 76px;
  }

  .page-privacy {
    padding-bottom: 0;
  }

  .lightbox-prev {
    inset-inline-start: 0;
    top: auto;
    bottom: -58px;
  }

  .lightbox-next {
    inset-inline-end: 0;
    top: auto;
    bottom: -58px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .feature-grid,
  .why-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-phones {
    min-height: 390px;
  }

  .phone-center {
    width: 190px;
  }

  .phone-left,
  .phone-right {
    width: 160px;
  }

  .phone-left {
    transform: translate(-72px, 40px) rotate(-8deg);
  }

  .phone-right {
    transform: translate(72px, 48px) rotate(8deg);
  }

  .section {
    padding: 64px 0;
  }

  .promo-box {
    padding: 36px 20px;
  }

  .privacy-card {
    padding: 22px 18px;
  }

  .header-actions .lang-switcher {
    padding: 3px;
  }

  .lang-btn {
    padding: 6px 8px;
    font-size: 0.76rem;
  }
}

@media (max-width: 420px) {
  .feature-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
