:root {
  --primary-blue: #0f766e;
  --secondary-blue: #134e4a;
  --accent-blue: #2dd4bf;
  --light-blue: #ecfeff;
  --dark-blue: #0f172a;
  --dark-gray: #1f2937;
  --light-gray: #f7fbfa;
  --text-gray: #475569;
  --text-dark: #111827;
  --white: #ffffff;
  --footer-bg: #0b1120;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: #ffffff;
}

.navbar {
  background: #ffffff !important;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  padding-top: 64px;
  overflow: hidden;
  background: #07111f;
}

.hero-slides {
  position: relative;
  min-height: calc(100vh - 64px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 6s ease;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 28, 0.68) 0%, rgba(8, 15, 28, 0.4) 40%, rgba(8, 15, 28, 0.5) 100%),
    linear-gradient(180deg, rgba(8, 15, 28, 0.12) 0%, rgba(8, 15, 28, 0.42) 100%);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slider .container.hero-slide-inner {
  position: absolute;
  inset: 64px 0 0 0;
  min-height: calc(100vh - 64px);
}

.hero-slide-inner {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
  color: #fff;
  padding: 2rem 1rem 3rem;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0;
  color: #f8fafc;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-title {
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.15rem;
  color: #fff;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hero-description {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.06rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
  min-width: 180px;
  border-radius: 999px;
  padding: 0.95rem 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.3);
}

.btn-hero-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(15, 118, 110, 0.36);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  color: #fff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero-arrow-prev {
  left: 1.25rem;
}

.hero-arrow-next {
  right: 1.25rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  transform: scale(1.25);
  background: #fff;
}

.story-section,
.why-section,
.faq-section {
  position: relative;
  padding: 6rem 0;
}

.story-section {
  background: #ffffff;
}

.why-section {
  background: #ffffff;
}

.faq-section {
  background: #ffffff;
}

.section-intro {
  margin-bottom: 0.9rem;
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--brand-ink);
  margin-bottom: 1.25rem;
}

.section-text {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-gray);
  margin-bottom: 1.15rem;
}

.section-text-centered {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.services-layout {
  position: relative;
}

.services-copy {
  max-width: 470px;
  padding-right: 1rem;
}

.services-flow {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.services-flow-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.35rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.services-flow-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(15, 118, 110, 0.08));
  color: var(--brand-primary);
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

.services-flow-body {
  display: grid;
  gap: 0.4rem;
}

.services-flow-count {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--brand-primary);
  text-transform: uppercase;
}

.services-flow-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--brand-ink);
  margin: 0;
}

.services-flow-text {
  margin: 0;
  color: var(--text-gray);
  line-height: 1.9;
  max-width: 44rem;
}

.why-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.why-item i {
  color: var(--brand-primary);
  margin-top: 0.28rem;
}

.why-panel-simple {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--brand-primary) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.accordion-item {
  overflow: hidden;
  border-radius: 18px !important;
}

.accordion-button {
  font-size: 1rem;
}

.accordion-body {
  line-height: 1.8;
}

.footer-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .hero-slider {
    min-height: 88vh;
  }

  .hero-slides,
  .hero-slide-inner {
    min-height: calc(88vh - 72px);
  }

  .hero-slider .container.hero-slide-inner {
    inset: 64px 0 0 0;
    min-height: calc(88vh - 64px);
  }

  .story-section,
  .why-section,
  .faq-section {
    padding: 4.5rem 0;
  }

  .hero-arrow {
    width: 48px;
    height: 48px;
  }

  .hero-slide-inner {
    justify-content: center;
    text-align: center;
  }

  .services-copy {
    max-width: none;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .hero-slider {
    min-height: 92svh;
  }

  .hero-slides,
  .hero-slide-inner,
  .hero-slider .container.hero-slide-inner {
    min-height: calc(92svh - 64px);
  }

  .hero-copy {
    width: min(100%, 31rem);
    padding-top: 2rem;
    padding-bottom: 6rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-arrow {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.35);
  }

  .hero-arrow-prev {
    left: 1rem;
  }

  .hero-arrow-next {
    right: 1rem;
  }

  .hero-dots {
    bottom: 1.5rem;
  }

  .services-flow-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.65rem 0;
    text-align: center;
  }

  .services-flow-mark {
    width: 72px;
    height: 72px;
    font-size: 1.35rem;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.22), rgba(15, 118, 110, 0.12));
    box-shadow: 0 14px 26px rgba(15, 118, 110, 0.08), inset 0 0 0 1px rgba(15, 118, 110, 0.08);
  }

  .services-flow-body {
    justify-items: center;
  }

  .services-flow-title {
    font-size: 1.22rem;
    max-width: 18rem;
  }

  .services-flow-text {
    max-width: 22rem;
    font-size: 0.98rem;
    line-height: 1.72;
    margin-left: auto;
    margin-right: auto;
  }

  .services-flow-count {
    margin-top: 0.2rem;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.16;
  }

  .why-list {
    gap: 0.85rem;
    margin-top: 1.15rem;
  }

  .why-item {
    gap: 0.7rem;
    line-height: 1.55;
    padding: 0.7rem 0 0.7rem 0.2rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .why-panel-simple {
    margin-top: 0.85rem;
    padding: 1.2rem 1.1rem;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(15, 118, 110, 0.08);
    box-shadow: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
    line-height: 1.12;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    min-width: 0;
  }

  .story-section,
  .why-section,
  .faq-section {
    padding: 4rem 0;
  }

  .section-text {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .why-panel-simple {
    padding: 1.1rem 1rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.08);
  }

  .why-section .section-title {
    font-size: 1.65rem;
    margin-bottom: 0.95rem;
  }

  .why-item {
    font-size: 0.98rem;
  }

  .why-item i {
    margin-top: 0.2rem;
  }

  .why-list + .why-panel-simple {
    padding-top: 1.1rem;
  }

  .hero-kicker {
    font-size: 0.66rem;
  }

  .hero-arrow-prev {
    left: 0.75rem;
  }

  .hero-arrow-next {
    right: 0.75rem;
  }
}
