:root {
  --bg-main: #070707;
  --bg-section: #0d0d0d;
  --bg-card: #141414;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --text-main: #ffffff;
  --text-muted: #9a9a9a;
  --accent-blue: #2563eb;
  --accent-red: #e11d48;
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.36);
  --container: min(1200px, 92vw);
  --touch-min: 44px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background: var(--bg-main);
  font-family: "Inter", sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

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

.plain-telegram-link {
  color: inherit;
  text-decoration: none;
}

@media (hover: none) {
  .btn,
  .header-cta,
  .video-card {
    -webkit-tap-highlight-color: transparent;
  }
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 1;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.12) 0.5px, transparent 0.5px),
    radial-gradient(rgba(255, 255, 255, 0.06) 0.5px, transparent 0.5px);
  background-size: 3px 3px, 5px 5px;
  mix-blend-mode: screen;
}

.site-header,
main {
  position: relative;
  z-index: 2;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 5.8rem 0;
}

.section-base {
  background: var(--bg-section);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.9rem;
}

.section-heading h2 {
  font: 600 clamp(2rem, 4vw, 3rem) / 1.14 "Space Grotesk", sans-serif;
  margin: 0.35rem 0 0;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin: 0;
  color: var(--text-muted);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 500;
}

.accent-blue {
  color: var(--accent-blue);
}

.accent-red {
  color: var(--accent-red);
}

.gold-shimmer {
  color: #ffdf8c;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gold-shimmer {
    background: linear-gradient(
      112deg,
      #ffd36a 8%,
      #fff1c2 34%,
      #ffc84f 58%,
      #ffefbb 84%
    );
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gold-shimmer 8.6s ease-in-out infinite;
  }
}

@keyframes gold-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 170% 50%;
  }
}

/* Hero: белый с золотистым переливом */
.hero-title-gold {
  color: #fffef8;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title-gold {
    background: linear-gradient(
      110deg,
      #ffffff 0%,
      #fff8e7 25%,
      #ffdf8c 50%,
      #fff5dc 75%,
      #ffffff 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hero-gold-shimmer 7s ease-in-out infinite;
  }
}

@keyframes hero-gold-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 180% 50%;
  }
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.8);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font: 600 0.95rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.15em;
}

.header-cta {
  color: var(--text-muted);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 0.1rem;
  transition: color 200ms ease, border-color 200ms ease;
}

.header-cta:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  background: url("hero-car-carrier.jpg") center / cover no-repeat;
  isolation: isolate;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(8, 8, 8, 0.56) 6%, rgba(8, 8, 8, 0.83) 62%, rgba(8, 8, 8, 0.95) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 980px;
  padding-top: 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin: 1.1rem 0 1rem;
  font: 700 clamp(2.45rem, 6.2vw, 5.2rem) / 1.02 "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
  margin-top: 0.55rem;
}

.hero-subtext {
  margin: 0 auto 2.2rem;
  color: var(--text-muted);
  max-width: 600px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.hero-highlight {
  margin: 0 auto 0.85rem;
  max-width: 760px;
  font: 600 clamp(1.2rem, 2.3vw, 2rem) / 1.2 "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.btn-primary {
  background: linear-gradient(180deg, #1b1b1b 0%, #111 100%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.hero .btn {
  padding: 1.2rem 2.2rem;
  font-size: 1.1rem;
}

.hero .telegram-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-content .btn-hero-blink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 1.2rem 2.2rem;
  min-height: 3.25rem;
  background: linear-gradient(180deg, #f5d76e 0%, #e8b839 100%);
  color: #0a0a0a;
  border: 1px solid rgba(200, 160, 50, 0.5);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 999px;
  animation: hero-blink 1.8s ease-in-out infinite;
}

@keyframes hero-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.btn-consult {
  background: linear-gradient(180deg, #f8c95a 0%, #f2a333 100%);
  color: #111;
  border-color: rgba(255, 205, 104, 0.75);
  box-shadow: 0 8px 26px rgba(242, 163, 51, 0.32);
}

.btn-consult:hover {
  border-color: rgba(255, 217, 143, 0.95);
  box-shadow: 0 10px 28px rgba(242, 163, 51, 0.4);
}

.btn-telegram {
  gap: 0.55rem;
}

.btn-telegram-pulse {
  gap: 0.62rem;
  background: linear-gradient(180deg, #2a6df8 0%, #1552cf 100%);
  border-color: rgba(120, 180, 255, 0.88);
  color: #f5f9ff;
  box-shadow: 0 10px 30px rgba(18, 90, 224, 0.42);
  animation: telegram-pulse 1.45s ease-in-out infinite;
}

.btn-telegram-pulse:hover {
  border-color: rgba(184, 220, 255, 0.98);
  box-shadow: 0 14px 34px rgba(30, 118, 255, 0.52);
}

.telegram-icon-right {
  margin-left: 0.1rem;
}

@keyframes telegram-pulse {
  0%,
  100% {
    opacity: 1;
    filter: saturate(1);
    transform: translateY(0);
  }
  50% {
    opacity: 0.7;
    filter: saturate(1.15);
    transform: translateY(-1px);
  }
}

.telegram-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
}

.telegram-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.45);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.3rem;
  left: 50%;
  width: 22px;
  height: 42px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 14px;
}

.scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(13px);
    opacity: 1;
  }
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.advantages-cta {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
}

.adv-card,
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.adv-card:hover,
.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.media-wrap {
  position: relative;
  overflow: hidden;
}

.media-wrap img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 850ms ease;
}

.media-wrap img.cardev-image-zoomout {
  object-fit: cover;
  transform: scale(1.01);
  transform-origin: center;
  object-position: center;
}

.adv-card:hover .media-wrap img.cardev-image-zoomout {
  transform: scale(1.02);
}

.adv-card:hover .media-wrap img,
.video-card:hover .media-wrap img,
.delivery-image:hover img {
  transform: scale(1.06);
}

.card-content {
  padding: 1.28rem 1.3rem 1.5rem;
}

.card-content h3 {
  margin: 0;
  font: 600 1.3rem/1.24 "Space Grotesk", sans-serif;
}

.card-content p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

.contract-card {
  min-height: 100%;
  display: block;
}

.contract-copy {
  color: var(--text-muted) !important;
  opacity: 1;
  visibility: visible;
}

.contract-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-telegram {
  position: relative;
  background: url("cars-storage.jpg") center / cover no-repeat;
  isolation: isolate;
}

.telegram-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.16) 0%, transparent 45%),
    linear-gradient(to right, rgba(7, 7, 7, 0.8), rgba(7, 7, 7, 0.5)),
    linear-gradient(to top, rgba(7, 7, 7, 0.78), rgba(7, 7, 7, 0.26));
}

.telegram-inner {
  min-height: 345px;
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.telegram-inner h2 {
  margin: 0;
  max-width: 640px;
  font: 600 clamp(2.1rem, 4.6vw, 3.5rem) / 1.06 "Space Grotesk", sans-serif;
  letter-spacing: -0.025em;
}

.telegram-inner p {
  margin: 0 0 0.6rem;
  color: #c8c8c8;
  max-width: 560px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(255, 255, 255, 0.17);
}

.timeline-item {
  position: relative;
  background: rgba(20, 20, 20, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem 1.1rem 1.2rem;
}

.step {
  position: absolute;
  top: -0.7rem;
  left: 1rem;
  padding: 0.18rem 0.6rem;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: #121212;
  color: #d0d0d0;
  font: 600 0.78rem/1 "Space Grotesk", sans-serif;
}

.timeline-item h3 {
  margin: 0;
  font: 600 1.06rem/1.3 "Space Grotesk", sans-serif;
}

.timeline-item p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 2rem;
}

.delivery-image {
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease;
}

.delivery-image:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.delivery-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 850ms ease;
}

.delivery-content h2 {
  margin: 0.4rem 0 1rem;
  font: 600 clamp(2rem, 4vw, 2.8rem) / 1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.delivery-content p {
  color: var(--text-muted);
  margin: 0.6rem 0;
  max-width: 560px;
}

.delivery-content .btn {
  margin-top: 1.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.video-card {
  cursor: pointer;
}

.video-card .media-wrap {
  aspect-ratio: 16 / 11;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card .media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.review-name {
  margin: 0;
  padding: 1rem 1.15rem 1.3rem;
  font: 500 1rem / 1.3 "Space Grotesk", sans-serif;
  color: var(--text-muted);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(10, 10, 10, 0.6);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
}

.final-cta {
  background: linear-gradient(to bottom, #0d0d0d 0%, #090909 100%);
}

.final-cta-inner {
  text-align: center;
  max-width: 760px;
  padding: 3rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: rgba(20, 20, 20, 0.4);
}

.final-cta h2 {
  margin: 0;
  font: 600 clamp(2rem, 4.6vw, 3.3rem) / 1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.final-cta p {
  margin: 1rem auto 1.8rem;
  max-width: 520px;
  color: var(--text-muted);
}

.site-footer {
  padding: 1.5rem 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
}

.footer-company,
.footer-inn {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-company {
  margin-bottom: 0.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

/* Видео-модальное окно */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.video-modal-box {
  position: relative;
  width: auto;
  max-width: none;
  z-index: 1;
}

.video-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.video-modal-close::before {
  content: "×";
}

.video-modal-player {
  width: auto;
  height: auto;
  max-width: min(92vw, 900px);
  max-height: 80vh;
  display: block;
  background: transparent;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .video-modal {
    padding: 0.75rem;
    align-items: center;
  }

  .video-modal-box {
    width: auto;
    max-width: none;
  }

  .video-modal-close {
    top: -3rem;
    right: 0.25rem;
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
  }

  .video-modal-player {
    max-width: 96vw;
    max-height: 70vh;
    border-radius: 8px;
  }
}

@media (max-width: 1080px) {
  .section {
    padding: 4.6rem 0;
  }

  .advantages-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.2rem;
  }

  .timeline::before {
    display: none;
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(100%, calc(100vw - 1.5rem));
  }

  .container {
    padding-inline: 0.75rem;
  }

  .header-inner {
    min-height: 60px;
    padding-inline: 0.75rem;
  }

  .header-cta,
  .brand {
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
  }

  .hero-content {
    padding-top: 2.2rem;
    padding-inline: 0.5rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .section-heading {
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.75rem);
    line-height: 1.12;
  }

  .hero-subtext {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-highlight {
    font-size: clamp(1.05rem, 4.4vw, 1.28rem);
    max-width: 96%;
    margin-bottom: 0.7rem;
  }

  .hero .btn {
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
    min-height: var(--touch-min);
    width: 100%;
    max-width: 320px;
  }

  .hero-content .btn-hero-blink {
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
    min-height: var(--touch-min);
    width: 100%;
    max-width: 320px;
    margin-top: 1rem;
  }

  .advantages-grid,
  .reviews-grid,
  .timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .reviews-grid {
    display: flex;
    flex-direction: column;
  }

  .video-card-new {
    order: -1;
  }

  .adv-card .card-content,
  .contract-card {
    padding: 1.1rem 1rem 1.25rem;
  }

  .advantages-cta {
    margin-top: 1.25rem;
  }

  .btn {
    min-height: var(--touch-min);
    width: 100%;
    max-width: 320px;
    padding: 1rem 1.5rem;
  }

  .btn-telegram-pulse {
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    justify-content: center;
    max-width: 360px;
    padding-inline: 1.25rem;
  }

  .btn-consult {
    min-height: 48px;
  }

  .telegram-inner {
    min-height: 300px;
    padding-inline: 0.5rem;
  }

  .telegram-inner h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .video-card .media-wrap {
    min-height: 200px;
  }

  .play-icon {
    width: 56px;
    height: 56px;
  }

  .review-name {
    padding: 0.85rem 1rem 1.1rem;
    font-size: 0.95rem;
  }

  .final-cta-inner {
    padding: 2.2rem 1rem;
    margin-inline: 0.25rem;
  }

  .final-cta h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .final-cta p {
    font-size: 0.95rem;
  }
}
