/* ============================================================
   CARBASE — Landing Page Styles
   ============================================================ */


/* --- Hero --- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: #000000;
  min-height: 36rem;
  padding: 4rem 0 3.75rem;
  overflow: hidden;
}
@media (min-width: 64rem) {
  .hero {
    min-height: 38rem;
    padding: 5rem 0 4rem;
  }
}

.hero-bg,
.hero-gradient,
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  margin-left: 0;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  opacity: 0.98;
  filter: brightness(1.12) saturate(1.08);
  transform: translate(24%, -10%);
}

.hero-gradient {
  z-index: 1;
  background:
    linear-gradient(90deg,
      #000000 0%,
      #000000 38%,
      rgba(0, 0, 0, 0.84) 48%,
      rgba(0, 0, 0, 0.34) 60%,
      rgba(0, 0, 0, 0.04) 76%,
      rgba(0, 0, 0, 0.10) 100%);
}

.hero-vignette {
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.08) 25%,
      rgba(0, 0, 0, 0.04) 62%,
      rgba(0, 0, 0, 0.52) 100%),
    radial-gradient(ellipse at 76% 42%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.04) 52%,
      rgba(0, 0, 0, 0.28) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.hero-content {
  max-width: 40rem;
  animation: heroEnter 680ms var(--ease-out) both;
}
.hero-content.hero-no-anim {
  animation: none;
}

.hero-headline {
  font-size: 2.45rem;
  line-height: 1.07;
  letter-spacing: 0;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}
@media (min-width: 40rem) {
  .hero-headline { font-size: 3.25rem; }
}
@media (min-width: 64rem) {
  .hero-headline { font-size: 3.875rem; }
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 2.25rem;
  max-width: 31rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.78);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 30rem) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

.btn-hero-primary {
  background: #FFFFFF;
  color: #111111;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
}
.btn-hero-primary:hover { background: rgba(255, 255, 255, 0.88); }
.btn-hero-primary:active { transform: scale(0.98); }

.btn-hero-secondary {
  background: transparent;
  color: var(--dark-text);
  border: 1px solid var(--dark-border);
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
}
.btn-hero-secondary:hover { background: rgba(255, 255, 255, 0.06); }
.btn-hero-secondary:active { transform: scale(0.98); }

@media (max-width: 63.9375rem) {
  .hero {
    align-items: flex-end;
    min-height: 42rem;
    padding: 23rem 0 3.5rem;
  }

  .hero-bg-img {
    width: 100%;
    margin-left: 0;
    object-position: center top;
    transform: none;
  }

  .hero-gradient {
    background:
      linear-gradient(180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.22) 33%,
        rgba(0, 0, 0, 0.90) 58%,
        #000000 100%),
      linear-gradient(90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.12) 50%,
        rgba(0, 0, 0, 0.34) 100%);
  }

  .hero-vignette {
    background:
      linear-gradient(180deg,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0) 24%,
        rgba(0, 0, 0, 0.24) 48%,
        #000000 100%);
  }

  .hero-content {
    max-width: 36rem;
  }
}

@media (max-width: 47.9375rem) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    padding: 45svh 0 2.5rem;
  }

  .hero-bg-img {
    transform: translateY(-38%) scale(1.18);
  }

  .hero-headline {
    font-size: 2.25rem;
    line-height: 1.08;
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 23rem;
  }
}


/* --- Trust Strip --- */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.75rem 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
@media (min-width: 48rem) {
  .trust-list { grid-template-columns: repeat(4, 1fr); gap: 0 2rem; }
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.trust-num {
  font-family: var(--font-serif);
  font-size: 2.125rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-1);
}

.trust-label {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.45;
  max-width: 10rem;
}


/* --- Section Header / Footer helpers --- */
.section-header { margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { max-width: 38rem; }

.section-footer {
  margin-top: 2.5rem;
  text-align: center;
}


/* --- Service Preview --- */
.service-preview { background: var(--canvas); }

.service-full-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t);
}
.service-full-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.service-full-card .card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--border);
}

.service-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #F0F0EE 0%, #E8E8E6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-img-placeholder svg {
  width: 32px;
  height: 32px;
  fill: var(--text-3);
  opacity: 0.5;
}

.service-full-card-body {
  padding: 1.375rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-full-card-badges {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.service-full-card-name {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.service-full-card-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.125rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-full-card-meta {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 0;
}

.service-meta-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.625rem 0.875rem;
  min-width: 0;
}
.service-meta-pill-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.service-meta-pill-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--text-3);
}
.service-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.service-meta-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1;
  white-space: nowrap;
}
.service-meta-value {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--border);
  margin-top: 1.125rem;
}

.service-full-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}


/* --- Telegram Block --- */
.telegram-block {
  background: var(--dark-bg);
  padding: 5rem 0;
}

.telegram-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}
@media (min-width: 56rem) {
  .telegram-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }
}

.telegram-text { max-width: 36rem; }

.telegram-text h2 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.telegram-text p {
  font-size: 0.9375rem;
  color: var(--dark-muted);
  line-height: 1.65;
  margin: 0;
}

.telegram-block .btn-hero-primary {
  flex-shrink: 0;
  white-space: nowrap;
}
