:root {
  --warm: #fafafa;
  --alt: #f5f5f5;
  --ink: #16181c;
  --ink-soft: #5b6169;
  --steel: #2b2f36;
  --line: #e4e4e4;
  --accent: #1769e0;
  --accent-soft: #eaf2ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
#top {
  scroll-margin-top: 72px;
}

@media (min-width: 768px) {
  section[id],
  #top {
    scroll-margin-top: 96px;
  }
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font-family: "Schueler Neuer Verbessert", "Arial", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Schueler Neuer Verbessert", "Arial", sans-serif;
  margin: 0;
}

p {
  margin: 0;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--accent);
  color: var(--warm);
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 480px) {
  .wrap {
    padding: 0 24px;
  }
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 40px;
  }
}

body.menu-open {
  overflow: hidden;
}

.icon {
  display: inline-block;
  vertical-align: middle;
}

.icon svg {
  display: block;
}

/* ---------- NAVBAR ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled,
header:has(.mobile-menu.open) {
  background: rgba(250, 250, 250, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(22, 24, 28, 0.04);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 64px;
  gap: 10px;
  min-width: 0;
}

@media (min-width: 768px) {
  .nav-row {
    height: 80px;
    gap: 12px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Schueler Neuer Verbessert", "Arial", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo span {
  white-space: nowrap;
}

@media (min-width: 480px) {
  .logo {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .logo {
    font-size: 1.05rem;
  }
}

.logo-img {
  height: 22px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .logo-img {
    height: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .logo-img {
    height: 22px;
  }
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-links {
  display: none;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  margin-left: auto;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.3s ease, background 0.3s ease;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .nav-links {
    padding: 4px;
  }

  .nav-link {
    padding: 7px 8px;
    font-size: 0.78rem;
  }
}

@media (min-width: 1100px) {
  .nav-link {
    padding: 8px 16px;
  }
}

.nav-link:hover {
  color: var(--ink);
  background: var(--alt);
}

.nav-cta {
  display: none;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .nav-cta.btn {
    display: inline-flex;
  }
}

.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 10px;
  margin-left: auto;
  margin-right: -6px;
  color: var(--ink);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.hamburger:hover,
.hamburger:focus-visible {
  background: var(--alt);
  outline: none;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: rgba(250, 250, 250, 0.98);
  border-top: 1px solid var(--line);
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  padding: 12px 16px 28px;
  gap: 4px;
}

.mobile-menu a.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 12px;
  border-radius: 12px;
}

.mobile-menu .mobile-cta {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-align: center;
  min-height: 48px;
}

.btn-primary {
  background: var(--ink);
  color: var(--warm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.035);
  background: #000;
  box-shadow: 0 12px 28px -8px rgba(22, 24, 28, 0.4);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--warm);
  transform: scale(1.035);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.nav-cta.btn {
  display: none;
  padding: 10px 24px;
  background: #4b6bfb;
  color: #fff;
  min-height: 40px;
}

@media (min-width: 768px) {
  .nav-cta.btn {
    display: inline-flex;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .nav-cta.btn {
    padding: 8px 14px;
    font-size: 0.8rem;
    min-height: 38px;
  }
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1.visible {
  transition-delay: 0.08s;
}

.reveal.d2.visible {
  transition-delay: 0.16s;
}

.reveal.d3.visible {
  transition-delay: 0.24s;
}

.reveal.d4.visible {
  transition-delay: 0.32s;
}

.reveal.d5.visible {
  transition-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-fadeUp {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

/* ---------- SIGNATURE MOTIFS ---------- */
.blueprint-grid {
  background-image: radial-gradient(circle, rgba(22, 24, 28, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}

.tick-frame {
  position: relative;
}

.tick-frame::before,
.tick-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--accent);
  opacity: 0.55;
}

.tick-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.tick-frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

.num-tag {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
}

/* ---------- HERO ---------- */
#top {
  position: relative;
  padding: 80px 12px 16px;
  background: var(--warm);
}

@media (min-width: 480px) {
  #top {
    padding: 96px 16px 20px;
  }
}

@media (min-width: 768px) {
  #top {
    padding: 118px 32px 32px;
  }
}

.hero-card {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(160deg, #0d0e11 0%, #191b1f 42%, #5a5c63 78%, #888a91 100%);
  color: #fff;
  display: flex;
  align-items: center;
  min-height: auto;
}

@media (min-width: 768px) {
  .hero-card {
    border-radius: 2.25rem;
    background: linear-gradient(90deg, #0d0e11 0%, #191b1f 35%, #76787f 68%, #888a91 100%);
    min-height: 640px;
  }
}

.hero-blueprint {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, black, transparent 70%);
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 70%);
}

@media (min-width: 768px) {
  .hero-blueprint {
    -webkit-mask-image: radial-gradient(circle at 75% 50%, black, transparent 65%);
    mask-image: radial-gradient(circle at 75% 50%, black, transparent 65%);
  }
}

.hero-background-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  align-items: stretch;
  justify-content: flex-end;
  overflow: hidden;
  pointer-events: none;
}

.hero-background-video video {
  position: relative;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  display: block;
}

.hero-background-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #0d0e11 0%, rgba(13, 14, 17, 0.92) 22%, rgba(25, 27, 31, 0.45) 42%, transparent 58%),
    linear-gradient(0deg, rgba(13, 14, 17, 0.55) 0%, transparent 28%),
    linear-gradient(180deg, rgba(13, 14, 17, 0.35) 0%, transparent 22%);
}

@media (min-width: 768px) {
  .hero-background-video {
    display: flex;
    opacity: 1;
    -webkit-mask-image: radial-gradient(ellipse 62% 78% at 82% 50%, #000 0%, #000 18%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.28) 58%, transparent 78%);
    mask-image: radial-gradient(ellipse 62% 78% at 82% 50%, #000 0%, #000 18%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.28) 58%, transparent 78%);
  }

  .hero-card.is-hero-video-hidden .hero-background-video {
    display: none;
  }
}

.hero-grid {
  position: relative;
  z-index: 5;
  width: 100%;
  display: block;
  pointer-events: none;
}

.hero-grid > div:first-child {
  max-width: 560px;
  position: relative;
  z-index: 6;
  pointer-events: auto;
  padding: 36px 22px 44px;
}

@media (min-width: 480px) {
  .hero-grid > div:first-child {
    padding: 48px 32px 52px;
  }
}

@media (min-width: 768px) {
  .hero-grid > div:first-child {
    padding: 72px 64px;
  }
}

.hero-grid .hero-heading,
.hero-grid .hero-sub,
.hero-grid .hero-desc,
.hero-grid .hero-actions {
  position: relative;
  z-index: 6;
}

.hero-grid .hero-heading {
  color: #fff;
}

.hero-grid .hero-desc {
  color: rgba(255, 255, 255, 0.75);
}

.hero-grid .btn-primary {
  background: var(--accent);
  color: #fff;
}

.hero-grid .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-grid .btn-secondary:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.hero-heading {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-size: clamp(1.45rem, 6.2vw, 1.9rem);
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .hero-heading {
    font-size: 2.4rem;
  }
}

@media (min-width: 1024px) {
  .hero-heading {
    font-size: 2.85rem;
    max-width: 520px;
  }
}

.hero-sub {
  margin-top: 20px;
  font-size: 0.98rem;
  font-weight: 400;
  max-width: 480px;
  color: #fff;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .hero-sub {
    margin-top: 26px;
    font-size: 1.05rem;
    line-height: 1.6;
  }
}

.hero-desc {
  margin-top: 12px;
  font-size: 0.92rem;
  max-width: 480px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-desc {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.65;
  }
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-actions {
    margin-top: 32px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }

  .hero-actions .btn {
    width: auto;
  }
}

.anim-delay-1 {
  animation-delay: 0.15s;
}

.anim-delay-2 {
  animation-delay: 0.28s;
}

.anim-delay-3 {
  animation-delay: 0.36s;
}

.anim-delay-4 {
  animation-delay: 0.48s;
}

/* ---------- SECTION HELPERS ---------- */
section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  section {
    padding: 128px 0;
  }
}

.bg-white {
  background: #fff;
}

.bg-alt {
  background: var(--alt);
}

.eyebrow {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
}

.section-title {
  margin-top: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.55rem, 5.5vw, 1.9rem);
  line-height: 1.15;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.3rem;
  }
}

.center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- PRODUCT ---------- */
.product-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 768px) {
  .product-grid {
    gap: 56px;
    grid-template-columns: 1fr 1fr;
  }
}

.product-media {
  position: relative;
  overflow: visible;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .product-media {
    aspect-ratio: 4 / 5;
    max-width: none;
    margin: 0;
  }
}

.product-media .media-backdrop {
  position: absolute;
  inset: 9% 16%;
  background: var(--alt);
  border-radius: 1.5rem;
  z-index: 0;
}

@media (min-width: 768px) {
  .product-media .media-backdrop {
    border-radius: 2rem;
  }
}

.product-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---------- CARD GRIDS ---------- */
.card-grid {
  margin-top: 36px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    margin-top: 56px;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card {
  border-radius: 1.25rem;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  align-items: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease;
}

@media (min-width: 768px) {
  .card {
    border-radius: 1.5rem;
    padding: 32px;
    gap: 20px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -20px rgba(22, 24, 28, 0.18);
    border-color: rgba(23, 105, 224, 0.35);
  }
}

.card-adv {
  background: #fff;
  border: 1px solid var(--line);
}

.card-app {
  background: linear-gradient(180deg, #fcfcfe 0%, #f8f8f9 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.card-app h3 {
  color: #3d4759;
}

/* ---------- ПРЕИМУЩЕСТВА BG ---------- */
.advantages-section {
  position: relative;
  overflow: hidden;
}

.advantages-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.advantages-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.74);
  z-index: 1;
}

.advantages-section > .wrap {
  position: relative;
  z-index: 2;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- ХАРАКТЕРИСТИКИ ---------- */
.spec-table {
  margin-top: 28px;
}

@media (min-width: 768px) {
  .spec-table {
    margin-top: 40px;
  }
}

.spec-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 480px) {
  .spec-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
  }
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
}

.spec-value {
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-word;
}

@media (min-width: 480px) {
  .spec-value {
    font-weight: 500;
    text-align: right;
  }
}

/* ---------- ПОЧЕМУ МЫ ---------- */
.whyus-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  min-height: 0;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .whyus-section {
    padding: 100px 0;
    min-height: 760px;
  }
}

.whyus-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.whyus-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(3px);
  z-index: 1;
}

@media (min-width: 768px) {
  .whyus-overlay {
    background: rgba(255, 255, 255, 0.75);
  }
}

.whyus-section > .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.whyus-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 28px 20px;
  display: grid;
  gap: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

@media (min-width: 480px) {
  .whyus-card {
    padding: 40px 24px;
    gap: 36px;
    border-radius: 2rem;
  }
}

@media (min-width: 768px) {
  .whyus-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2.5rem;
    padding: 72px 64px;
    gap: 56px;
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }
}

.whyus-lead .eyebrow {
  color: #3b82f6;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
}

.whyus-lead .section-title {
  margin-top: 12px;
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
}

@media (min-width: 768px) {
  .whyus-lead .section-title {
    margin-top: 16px;
    font-size: 2.6rem;
  }
}

.whyus-lead p {
  margin-top: 16px;
  color: #6b7280;
  line-height: 1.65;
  font-size: 0.95rem;
  max-width: 400px;
}

@media (min-width: 768px) {
  .whyus-lead p {
    margin-top: 24px;
    font-size: 1rem;
  }
}

.whyus-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-block {
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .feature-block {
    padding: 24px 0;
  }
}

.feature-block:first-child {
  padding-top: 0;
}

.feature-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

@media (min-width: 768px) {
  .feature-block h3 {
    font-size: 1.1rem;
  }
}

.feature-block p {
  margin-top: 8px;
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .feature-block p {
    font-size: 0.95rem;
  }
}

/* ---------- КОНТАКТЫ ---------- */
.contact-grid {
  margin-top: 36px;
  display: grid;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .contact-grid {
    margin-top: 56px;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  form {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.field-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}

input,
textarea {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: #f7f8fa;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

@media (min-width: 768px) {
  input,
  textarea {
    padding: 14px 18px;
    font-size: 0.9rem;
  }
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.15);
}

textarea {
  resize: none;
  min-height: 120px;
}

.submit-msg {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  display: none;
}

.submit-msg.show {
  display: block;
}

.contact-media-card {
  background: #f4f5f7;
  border-radius: 1.5rem;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: auto;
}

@media (min-width: 768px) {
  .contact-media-card {
    border-radius: 2rem;
    padding: 32px;
    min-height: 440px;
    height: 100%;
  }
}

.contact-media-card img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .contact-media-card img {
    max-height: 460px;
  }
}

.btn-submit {
  width: 100%;
  padding: 16px 36px;
}

@media (min-width: 640px) {
  .btn-submit {
    width: auto;
  }
}

.mobile-cta {
  justify-content: center;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: rgba(250, 250, 250, 0.7);
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  footer {
    padding: 48px 0;
  }
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    text-align: left;
  }
}

.footer-logo {
  color: var(--warm);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  max-width: 520px;
}

@media (min-width: 768px) {
  .footer-nav {
    gap: 24px;
    max-width: none;
  }
}

.footer-nav a {
  font-size: 0.85rem;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: var(--warm);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(250, 250, 250, 0.45);
}

.info-value {
  font-size: 0.9rem;
  color: rgba(250, 250, 250, 0.85);
  word-break: break-word;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(250, 250, 250, 0.5);
}

/* Extra-narrow phones */
@media (max-width: 359px) {
  .logo {
    font-size: 0.9rem;
  }

  .hero-grid > div:first-child {
    padding: 28px 16px 36px;
  }

  .whyus-card {
    padding: 22px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

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

/* ---------- CUSTOM CURSOR ---------- */
html,
body,
a,
button,
.btn,
.nav-link,
.hamburger {
  cursor: none;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.custom-cursor.hover {
  width: 44px;
  height: 44px;
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor {
    display: none;
  }

  html,
  body,
  a,
  button,
  .btn,
  .nav-link,
  .hamburger {
    cursor: auto;
  }
}
