/* ============================================
   Алекс Секьюретиз — Landing Page Styles
   ============================================ */

:root {
  --color-bg: #0a0e17;
  --color-bg-elevated: #111827;
  --color-bg-card: #151d2e;
  --color-surface: #1a2332;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-accent: rgba(212, 168, 67, 0.3);

  --color-text: #e8edf5;
  --color-text-muted: #8b9cb3;
  --color-text-dim: #5a6b82;

  --color-accent: #d4a843;
  --color-accent-light: #e8c46a;
  --color-accent-dark: #b8922f;
  --color-accent-glow: rgba(212, 168, 67, 0.25);

  --color-brand-red: #8b1a1a;
  --color-brand-red-light: #a82828;

  --color-primary: #1e4d8c;
  --color-primary-light: #2a6cb8;

  --font-body: 'Manrope', system-ui, sans-serif;
  --font-display: 'Oswald', 'Manrope', sans-serif;

  --header-height: 80px;
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--safe-area-top));
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  touch-action: manipulation;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  max-width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #0a0e17;
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(212, 168, 67, 0.08);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

/* ---- Image Placeholders ---- */
.image-placeholder,
.hero__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(30, 77, 140, 0.15) 0%, rgba(21, 29, 46, 0.8) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.02) 8px,
      rgba(255, 255, 255, 0.02) 16px
    );
  border: 2px dashed var(--color-border-accent);
  color: var(--color-text-dim);
  font-size: 13px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.image-placeholder svg,
.hero__image-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

.image-placeholder::before,
.hero__image-placeholder::before {
  content: attr(data-label);
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--color-text-dim);
  opacity: 0.7;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-placeholder--large {
  min-height: 400px;
  border-radius: var(--radius-lg);
}

.image-placeholder--map {
  min-height: 180px;
  border-radius: var(--radius);
  margin-top: 24px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: calc(var(--header-height) + var(--safe-area-top));
  padding-top: var(--safe-area-top);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(10, 14, 23, 0.95);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.logo__img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.logo--footer .logo__img {
  width: 48px;
  height: 48px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.2;
}

.logo__tagline {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__phone {
  display: none;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-accent);
  transition: var(--transition);
  flex-shrink: 0;
}

.header__phone svg {
  width: 18px;
  height: 18px;
}

.header__phone:hover {
  color: var(--color-accent-light);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}

.burger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger--active span:nth-child(2) {
  opacity: 0;
}

.burger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--safe-area-top));
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(1.25) contrast(1.05);
}

.hero__image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
}

.hero__image-placeholder::before {
  display: none;
}

.hero__image-placeholder span {
  font-size: 14px;
  color: var(--color-text-dim);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 14, 23, 0.72) 0%, rgba(10, 14, 23, 0.45) 45%, rgba(10, 14, 23, 0.15) 100%),
    linear-gradient(to top, var(--color-bg) 0%, transparent 40%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 20%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 120px;
  max-width: 800px;
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid var(--color-border-accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent-light);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 50%, var(--color-accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s 0.6s ease both;
}

.hero__scroll svg {
  width: 20px;
  height: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
  position: relative;
}

.section__header {
  margin-bottom: 56px;
  max-width: 600px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- Services ---- */
.services {
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.services__group + .services__group {
  margin-top: 64px;
}

.services__group-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.services__group-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.services__group-desc {
  font-size: 15px;
  color: var(--color-text-muted);
}

.services__grid--main {
  grid-template-columns: repeat(6, 1fr);
}

.services__grid--main .service-card:nth-child(1) {
  grid-column: 1 / 3;
}

.services__grid--main .service-card:nth-child(2) {
  grid-column: 3 / 5;
}

.services__grid--main .service-card:nth-child(3) {
  grid-column: 5 / 7;
}

.services__grid--main .service-card:nth-child(4) {
  grid-column: 2 / 4;
}

.services__grid--main .service-card:nth-child(5) {
  grid-column: 4 / 6;
}

.services__grid--additional {
  grid-template-columns: repeat(2, 1fr);
}

.service-card--compact {
  display: flex;
  flex-direction: column;
}

.service-card--compact .service-card__body {
  padding: 28px;
  flex: 1;
}

.service-card--compact .service-card__title {
  font-size: 18px;
}

.service-card--compact .service-card__text {
  margin-bottom: 0;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  min-width: 0;
}

.service-card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  border-color: var(--color-border-accent);
  background: linear-gradient(135deg, rgba(30, 77, 140, 0.15) 0%, var(--color-bg-card) 60%);
}

.service-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 12px;
  background: var(--color-accent);
  color: #0a0e17;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 100px;
}

.service-card__image {
  height: 180px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__image--compact {
  height: 300px;
  flex-shrink: 0;
}

.service-card__image--compact img {
  object-position: center center;
}

.service-card__image .image-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  border-bottom: 1px dashed var(--color-border-accent);
  border-radius: 0;
}

.service-card__body {
  padding: 28px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius);
  color: var(--color-accent);
  margin-bottom: 16px;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__list li {
  font-size: 13px;
  color: var(--color-text-dim);
  padding-left: 16px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* ---- About ---- */
.about {
  background: var(--color-bg-elevated);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-width: 0;
}

.about__visual {
  position: relative;
  width: 100%;
  min-width: 0;
}

.about__image-main {
  width: 100%;
}

.about__license {
  display: block;
  width: 100%;
}

.about__license-frame {
  position: relative;
  width: 100%;
  min-height: 640px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-accent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 241, 246, 0.95) 100%);
  box-shadow: var(--shadow-lg);
}

.about__license-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: inherit;
  pointer-events: none;
}

.about__license-slider {
  position: relative;
  width: 100%;
  height: 640px;
  background: #f3f5f8;
}

.about__license-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f3f5f8;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about__license-slide.is-active {
  opacity: 1;
}

.about__license-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 14, 23, 0.56);
  backdrop-filter: blur(8px);
}

.about__license-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.about__license-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.about__license-dot.is-active::before {
  background: var(--color-accent);
  transform: scale(1.25);
}

.about__experience {
  position: absolute;
  top: 24px;
  left: -24px;
  background: var(--color-accent);
  color: #0a0e17;
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about__experience-value {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.about__experience-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about__text {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.about__feature svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ---- Why Us ---- */
.why-us {
  background: var(--color-bg);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-width: 0;
}

.why-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-4px);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 67, 0.08);
  border-radius: var(--radius);
  color: var(--color-accent);
  margin-bottom: 20px;
}

.why-card__icon svg {
  width: 26px;
  height: 26px;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.why-card__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--color-brand-red) 0%, #4a0f0f 50%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  min-width: 0;
}

.cta-banner__content {
  min-width: 0;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.cta-banner__text {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 500px;
}

.cta-phone {
  flex-shrink: 0;
}

.cta-phone__desktop {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  background: rgba(212, 168, 67, 0.12);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  cursor: default;
  user-select: text;
}

.cta-phone__icon {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.cta-phone__number {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-accent-light);
  white-space: nowrap;
}

.cta-phone__mobile {
  display: none;
  width: 100%;
}

.cta-phone__call {
  width: 100%;
  max-width: 320px;
}

.cta-phone__call svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cta-phone__desktop {
    display: none;
  }

  .cta-phone__mobile {
    display: flex;
    justify-content: center;
  }
}

/* ---- Contacts ---- */
.contacts {
  background: var(--color-bg-elevated);
}

.contacts__header {
  margin-bottom: 48px;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  min-width: 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

a.contact-card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

a.contact-card:hover .contact-card__value {
  color: var(--color-accent);
}

.contact-card--featured {
  border-color: var(--color-border-accent);
  background: linear-gradient(135deg, rgba(139, 26, 26, 0.15) 0%, var(--color-bg-card) 60%);
}

.contact-card--wide {
  grid-column: 1 / -1;
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius);
  color: var(--color-accent);
  margin-bottom: 8px;
}

.contact-card__icon svg {
  width: 26px;
  height: 26px;
}

.contact-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.contact-card__value {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.4;
  transition: var(--transition);
  overflow-wrap: anywhere;
}

.contact-card--featured .contact-card__value {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--color-accent-light);
}

.contact-card__hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .contact-card--wide {
    grid-column: auto;
  }
}

/* ---- Footer ---- */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 2.2fr) 1fr 1fr 1.4fr;
  gap: 40px 48px;
  padding: 64px 24px 0;
  min-width: 0;
}

.logo--footer .logo__name {
  font-size: 16px;
}

.footer__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.footer__brand .footer__legal {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a,
.footer__contact a,
.footer__contact span {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: var(--transition);
  overflow-wrap: anywhere;
}

.footer__links a:hover,
.footer__contact a:hover,
.footer__link-policy:hover {
  color: var(--color-accent);
}

.footer__link-policy {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-dim);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__legal-name {
  font-size: 12px;
  color: var(--color-text-dim);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.footer__legal-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 6px 20px;
  font-size: 12px;
  color: var(--color-text-dim);
}

.footer__legal-address {
  font-size: 12px;
  color: var(--color-text-dim);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.footer__meta {
  grid-column: 1 / -1;
  padding: 20px 0 calc(24px + var(--safe-area-bottom));
  margin-top: 8px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer__copyright {
  font-size: 13px;
  color: var(--color-text-dim);
}

.footer--compact .footer__inner {
  grid-template-columns: minmax(280px, 2.5fr) 1fr;
}

/* ---- Privacy Policy Page ---- */
.policy-page {
  padding: calc(var(--header-height) + var(--safe-area-top) + 48px) 0 80px;
  min-height: 60vh;
}

.policy-page__header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.policy-page__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.policy-page__meta {
  font-size: 14px;
  color: var(--color-text-dim);
}

.policy-page__content {
  max-width: 820px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.policy-page__content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text);
  margin: 36px 0 16px;
}

.policy-page__content h2:first-child {
  margin-top: 0;
}

.policy-page__content p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy-page__content ul,
.policy-page__content ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.policy-page__content li {
  margin-bottom: 8px;
}

.policy-page__content li::marker {
  color: var(--color-accent);
}

.policy-page__content a {
  color: var(--color-accent);
  transition: var(--transition);
}

.policy-page__content a:hover {
  color: var(--color-accent-light);
}

.policy-page__operator {
  padding: 20px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.policy-page__operator p {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.65;
}

.policy-page__requisites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.65;
}

.policy-page__requisites span {
  white-space: nowrap;
}

.policy-page__operator p:last-child {
  margin-bottom: 0;
}

.policy-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  transition: var(--transition);
}

.policy-page__back:hover {
  color: var(--color-accent-light);
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* ---- Responsive ---- */
@media (min-width: 769px) and (max-width: 900px) {
  .header__inner {
    gap: 16px;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-height) + var(--safe-area-top));
    left: 0;
    right: 0;
    z-index: 999;
    max-height: calc(100vh - var(--header-height) - var(--safe-area-top));
    max-height: calc(100dvh - var(--header-height) - var(--safe-area-top));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(10, 14, 23, 0.98);
    flex-direction: column;
    padding: 16px 24px calc(24px + var(--safe-area-bottom));
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__link::after {
    display: none;
  }

  .nav__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid var(--color-border-accent);
    border-radius: var(--radius);
    color: var(--color-accent);
    font-size: 16px;
    font-weight: 600;
  }

  .nav__phone svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .header__phone {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .services__grid--main {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid--main .service-card:nth-child(n) {
    grid-column: auto;
  }

  .services__grid--main .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    justify-self: center;
  }

  .services__grid--additional {
    grid-template-columns: 1fr;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .container {
    padding: 0 20px;
  }

  .header__inner {
    gap: 12px;
  }

  .logo__tagline {
    display: none;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-height) + var(--safe-area-top));
    left: 0;
    right: 0;
    z-index: 999;
    max-height: calc(100vh - var(--header-height) - var(--safe-area-top));
    max-height: calc(100dvh - var(--header-height) - var(--safe-area-top));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(10, 14, 23, 0.98);
    flex-direction: column;
    padding: 16px 20px calc(24px + var(--safe-area-bottom));
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    padding: 16px 0;
    font-size: 16px;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__link::after {
    display: none;
  }

  .nav__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid var(--color-border-accent);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-accent);
    width: 100%;
    min-height: 52px;
    transition: var(--transition);
  }

  .nav__phone svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .nav__phone:hover {
    background: rgba(212, 168, 67, 0.18);
    color: var(--color-accent-light);
  }

  .header__phone {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__content {
    padding: 48px 20px 80px;
  }

  .hero__title {
    font-size: clamp(34px, 8vw, 42px);
    letter-spacing: 0.3px;
  }

  .hero__title,
  .section__title,
  .services__group-title,
  .service-card__title,
  .why-card__title,
  .cta-banner__title,
  .policy-page__title,
  .policy-page__content h2 {
    overflow-wrap: anywhere;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    text-align: center;
  }

  .hero__stats {
    gap: 20px 24px;
  }

  .hero__scroll {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section__desc {
    font-size: 15px;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .services__grid--main,
  .services__grid--additional {
    grid-template-columns: 1fr;
  }

  .services__grid--main .service-card:nth-child(n) {
    grid-column: auto;
    max-width: none;
  }

  .services__grid--main .service-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .service-card__image--compact {
    height: 240px;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 48px 0;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .cta-banner__text {
    max-width: none;
  }

  .cta-phone,
  .cta-phone__call {
    width: 100%;
  }

  .contact-card {
    padding: 28px 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px 0;
  }

  .footer--compact .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__brand .footer__legal {
    max-width: none;
  }

  .footer__legal-name,
  .footer__legal-address {
    font-size: 13px;
  }

  .footer__legal-grid {
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 13px;
  }

  .footer__meta {
    margin-top: 0;
    padding-bottom: calc(20px + var(--safe-area-bottom));
  }

  .about__license-frame,
  .about__license-slider {
    min-height: clamp(360px, calc((100vw - 40px) * 1.2), 560px);
    height: clamp(360px, calc((100vw - 40px) * 1.2), 560px);
  }

  .about__experience {
    top: 12px;
    left: 12px;
  }

  .policy-page {
    padding-top: calc(var(--header-height) + var(--safe-area-top) + 32px);
    padding-bottom: 64px;
  }

  .policy-page__operator {
    padding: 16px 18px;
  }

  .policy-page__requisites {
    flex-direction: column;
    gap: 6px;
  }

  .policy-page__requisites span {
    white-space: normal;
  }

  .policy-page__operator p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 16px;
  }

  .logo__img {
    width: 44px;
    height: 44px;
  }

  .logo__name {
    font-size: 15px;
  }

  .logo__tagline {
    display: none;
  }

  .hero__content {
    padding: 40px 16px 64px;
  }

  .hero__title {
    font-size: clamp(34px, 10vw, 42px);
    margin-bottom: 20px;
  }

  .hero__subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
    padding-left: 18px;
    padding-right: 18px;
    white-space: normal;
    text-align: center;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding-top: 28px;
  }

  .hero__stat:last-child {
    grid-column: 1 / -1;
  }

  .hero__stat-value {
    font-size: 24px;
  }

  .hero__stat-label {
    font-size: 12px;
  }

  .section {
    padding: 56px 0;
  }

  .section__title {
    font-size: clamp(26px, 7vw, 32px);
  }

  .services__group + .services__group {
    margin-top: 48px;
  }

  .service-card__body {
    padding: 20px;
  }

  .service-card--compact .service-card__body {
    padding: 20px;
  }

  .service-card__image {
    height: 160px;
  }

  .service-card__image--compact {
    height: 220px;
  }

  .why-card {
    padding: 24px 20px;
  }

  .about__experience {
    padding: 16px 20px;
  }

  .about__experience-value {
    font-size: 32px;
  }

  .about__license-frame,
  .about__license-slider {
    min-height: clamp(360px, calc((100vw - 32px) * 1.2), 500px);
    height: clamp(360px, calc((100vw - 32px) * 1.2), 500px);
  }

  .contact-card {
    padding: 24px 20px;
  }

  .contact-card__value {
    word-break: break-word;
  }

  .cta-phone__call {
    max-width: none;
  }

  .footer__inner {
    padding: 40px 16px 0;
    gap: 28px;
  }

  .footer__brand .footer__legal {
    padding: 14px 16px;
  }

  .policy-page__title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .policy-page__content h2 {
    font-size: 18px;
    margin-top: 28px;
  }

  .policy-page__content p,
  .policy-page__content ul,
  .policy-page__content ol {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .logo {
    gap: 8px;
  }

  .logo__img {
    width: 40px;
    height: 40px;
  }

  .logo__name {
    font-size: 13px;
    letter-spacing: 0.2px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__stat:last-child {
    grid-column: auto;
  }

  .about__license-frame,
  .about__license-slider {
    min-height: 360px;
    height: 360px;
  }
}

@media (hover: none) {
  .btn:hover,
  .service-card:hover,
  .why-card:hover,
  a.contact-card:hover {
    transform: none;
  }

  .service-card:hover .service-card__image img {
    transform: none;
  }
}
