:root {
  --ink: #151515;
  --muted: #626262;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --line: #d9e0e7;
  --red: #1476ff;
  --red-dark: #0c4fb0;
  --steel: #1f2a35;
  --yellow: #39d3c6;
  --shadow: 0 18px 50px rgba(18, 32, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: #fff;
  background: rgba(18, 18, 18, 0.74);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.main-nav a:hover {
  color: #fff;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  outline: none;
}

.header-phone:hover,
.header-phone:focus,
.header-phone:focus-visible,
.header-phone:visited,
.header-phone:active {
  color: #fff;
  text-decoration: none;
  outline: none;
}

.phone-icon {
   color: #e30613; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-slider,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  overflow: hidden;
}

.hero-image {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  filter: saturate(0.92) contrast(1.01) brightness(0.92);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), filter 1.8s ease;
  will-change: opacity, transform, filter;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.hero-image.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1) contrast(1.02) brightness(1);
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 24%, rgba(57, 211, 198, 0.2), rgba(57, 211, 198, 0) 28%),
    linear-gradient(90deg, rgba(5, 13, 22, 0.9), rgba(6, 22, 35, 0.62) 50%, rgba(8, 20, 30, 0.22)),
    linear-gradient(0deg, rgba(5, 12, 20, 0.9), rgba(5, 12, 20, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  padding: 136px clamp(20px, 5vw, 70px) 42px;
}

.hero-content-text {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.99);
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), filter 0.95s ease;
  will-change: transform, opacity, filter;
}

.hero-content-text.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.hero-content-text.is-changing {
  opacity: 0;
  transform: translate3d(0, -16px, 0) scale(0.985);
  filter: blur(10px);
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 4px;
  align-items: center;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  box-shadow: 0 0 0 0 rgba(57, 211, 198, 0);
  opacity: 0.8;
}

.hero-dot:hover,
.hero-dot:focus-visible {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.85);
  outline: none;
  opacity: 1;
}

.hero-dot.active {
  background: #39d3c6;
  transform: scale(1.18);
  box-shadow: 0 0 0 4px rgba(57, 211, 198, 0.12);
  opacity: 1;
}

/* Hero controls (dots) positioning */
.hero-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

/* hide prev/next buttons, keep only dots */
.hero-btn {
  display: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.95;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--steel);
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(57, 211, 198, 0.95), rgba(20, 118, 255, 0.95));
  box-shadow: 0 8px 24px rgba(20, 118, 255, 0.14);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy {
  max-width: 640px;
  color: #eb7c18;
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--red);
}

.btn.primary:hover {
  background: var(--red-dark);
}

.btn.secondary {
  color: #111;
  background: #fff;
}

.viber-btn {
  color: #fff;
  background: #665cac;
}

.viber-btn:hover {
  background: #4f4588;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats div {
  padding: 18px 22px 0 0;
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.brand-marquee {
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}

.marquee-track span {
  flex: 0 0 auto;
  padding: 18px 34px;
  color: var(--steel);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(34px, 5vw, 64px) clamp(20px, 5vw, 70px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
  padding-bottom: 6px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
  letter-spacing: 0.18em;
}

.service-grid,
.price-grid,
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.seo-section {
  background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seo-content {
  display: grid;
  gap: 16px;
  max-width: 1120px;
}

.seo-content p {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 17px;
  line-height: 1.85;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.seo-tags span {
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.workflow-step {
  position: relative;
  padding: 24px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.04);
}

.workflow-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(57, 211, 198, 0.16), rgba(20, 118, 255, 0.16));
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.workflow-step h3 {
  margin-bottom: 8px;
}

.workflow-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card,
.price-card,
.booking-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-details-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.service-feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid rgba(20, 118, 255, 0.16);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.service-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(57, 211, 198, 0.18), rgba(20, 118, 255, 0.18));
  font-size: 24px;
}

.service-feature-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.service-feature-card h4 {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--red);
}

.service-feature-card p,
.service-feature-card li {
  color: var(--muted);
  line-height: 1.7;
}

.service-feature-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.service-card,
.why-us-card,
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.04);
}

.service-card {
  position: relative;
  min-height: 238px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-self: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.why-us-card {
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-us-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 118, 255, 0.24);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
}

.why-us-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(57, 211, 198, 0.16), rgba(20, 118, 255, 0.16));
  font-size: 22px;
}

.why-us-card h3 {
  margin-bottom: 10px;
}

.why-us-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.faq-item {
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.04);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--steel);
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 20px;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(18, 32, 48, 0.14);
  border-color: rgba(20, 118, 255, 0.35);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(57, 211, 198, 0.16), rgba(20, 118, 255, 0.16));
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

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

.service-card .service-summary {
  display: block;
  margin-bottom: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.service-card .service-details {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 26px 26px;
  overflow: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.96));
  color: var(--ink);
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.service-card:hover .service-summary {
  opacity: 0;
  transform: translateY(-8px);
}

.service-card:hover .service-details {
  opacity: 1;
  transform: translateY(0);
}

.price-card span,
.muted {
  color: var(--muted);
}

.gallery-section {
  background: var(--steel);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-item.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.gallery-item figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 10px 12px;
  color: #fff;
  background: rgba(8, 14, 22, 0.72);
  border-radius: 6px;
  font-weight: 800;
}

.price-section {
  background: #eaf0f6;
}

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

.price-card {
  padding: 28px;
}

.price-card.featured {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.price-card.featured span {
  color: rgba(255, 255, 255, 0.76);
}

.reviews-section {
  background: linear-gradient(135deg, #0f1722 0%, #111827 100%);
  color: #fff;
}

.reviews-section .section-heading h2 {
  color: #ffffff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  background: #182534;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.review-source {
  color: #6ee7e2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stars {
  margin-bottom: 12px;
  color: #ffd166;
  font-size: 18px;
  letter-spacing: 2px;
}

.testimonial-text {
  margin-bottom: 16px;
  color: #f8fbff;
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  display: grid;
  gap: 4px;
}

.testimonial-author strong {
  color: #ffffff;
  font-weight: 800;
}

.testimonial-author span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.price {
  margin-bottom: 8px;
  font-size: 32px;
  font-weight: 900;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.08fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: start;
}

.booking-main {
  display: grid;
  gap: 18px;
  align-content: start;
}

.booking-contact {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(20px, 3.5vw, 28px);
  color: #fff;
  background: var(--steel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-contact-list {
  display: grid;
  gap: 18px;
}

.booking-contact-list p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.booking-contact-list strong {
  color: var(--yellow);
  font-size: 13px;
  text-transform: uppercase;
}

.booking-contact-list span,
.booking-contact-list a {
  color: rgba(255, 255, 255, 0.82);
}

.contact-map {
  height: 260px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.booking-form {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(20px, 3.5vw, 28px);
  box-shadow: var(--shadow);
}

.booking-copy h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  margin-bottom: 8px;
}

.booking-copy .muted {
  font-size: 14px;
  line-height: 1.45;
}

label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-weight: 800;
}

.form-response {
  min-height: 24px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8f7f3;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 70px);
  color: #fff;
  background: #111;
}

.mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .main-nav,
  .header-call {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 20px 18px;
    background: rgba(18, 18, 18, 0.96);
  }

  .site-header.nav-open .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-top: 112px;
  }

  .hero-stats,
  .service-grid,
  .price-grid,
  .gallery-grid,
  .testimonial-grid,
  .workflow-grid,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .seo-tags {
    flex-direction: column;
    align-items: flex-start;
  }

  .workflow-step::after {
    display: none;
  }

  .service-card {
    min-height: auto;
  }

  .mobile-cta {
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(17, 17, 17, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    backdrop-filter: blur(12px);
  }

  .mobile-cta a {
    min-height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--red);
    border-radius: 6px;
    font-weight: 900;
  }

  .site-footer {
    padding-bottom: 88px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 46px;
    max-width: 46vw;
  }

  .header-phone {
    font-size: 14px;
    gap: 6px;
  }

  .phone-icon {
    font-size: 14px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stats div {
    padding-top: 12px;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
  }

  .site-footer {
    display: grid;
  }
}
/* Mobile Menu */
.main-nav {
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* === HERO TEXT ANIMATIONS === */
#hero-content-text {
    position: relative;
}

#hero-eyebrow,
#hero-title,
#hero-copy {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Staggered entrance animation */
#hero-content-text.is-visible #hero-eyebrow {
    animation: textFadeUp 0.8s forwards 100ms;
}

#hero-content-text.is-visible #hero-title {
    animation: textFadeUp 0.9s forwards 300ms;
}

#hero-content-text.is-visible #hero-copy {
    animation: textFadeUp 0.9s forwards 550ms;
}

/* Основна анимация */
@keyframes textFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* При изход (fade-out) */
#hero-content-text.fade-out #hero-eyebrow,
#hero-content-text.fade-out #hero-title,
#hero-content-text.fade-out #hero-copy {
    opacity: 0;
    transform: translateY(30px);
    transition: all 500ms cubic-bezier(0.4, 0, 1, 1);
}

/* Допълнителен ефект за заглавието */
#hero-title {
    position: relative;
    display: inline-block;
}

#hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ff4d4d, #ff8c00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s ease;
}

#hero-content-text.is-visible #hero-title::after {
    transform: scaleX(1);
    transition-delay: 600ms;
}

/* По-силен визуален акцент при смяна */
.hero-content-text {
    animation: textContentPop 0.6s ease;
}

@keyframes textContentPop {
    0% { transform: scale(0.96); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@media (max-width: 768px) {

    .main-nav {
        display: flex;
        position: fixed;
        top: 68px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 68px);
        background: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        z-index: 9999;
        transition: left 0.4s ease;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav a {
        display: block;
        color: #ffffff;
        font-size: 22px;
        font-weight: 800;
        text-decoration: none;
    }

}
@media (max-width: 768px) {
  .why-us-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .why-us-card {
    width: 100%;
  }

  /* и предишната секция */
  .service-details-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .service-feature-card {
    width: 100%;
  }
}