:root {
  --navy: #162b5f;
  --navy-deep: #01113a;
  --cyan: #33b1bb;
  --sky: #3db7d5;
  --yellow: #fac643;
  --ink: #1c1d21;
  --slate: #d9e2eb;
  --white: #ffffff;
  --muted: #e7ecf1;
  --card: #f0f0f0;
  --shadow: 0 24px 60px rgba(1, 17, 58, 0.14);
  --radius: 26px;
  --wrap: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.topbar {
  background: var(--white);
  padding: 10px 0 0;
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.social-links a {
  color: var(--cyan);
  font-size: 1.4rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  color: var(--navy);
  transform: scale(1.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 43, 95, 0.08);
}

.nav-shell {
  background: var(--white);
}

.nav-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand img {
  width: 118px;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-menu a,
.login-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  transition: color 0.2s ease;
}

.site-menu a:hover,
.login-link:hover {
  color: var(--cyan);
}

.login-link {
  font-weight: 700;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  background: var(--white);
  min-height: 700px;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-inner {
  padding: 72px 0 56px;
}

.eyebrow-pill,
.section-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 40px;
  background: var(--cyan);
  color: var(--navy-deep);
  border-radius: 15px 0 15px 0;
  border: 1px solid var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero h1,
.section h2,
.legal-layout h1 {
  margin: 28px auto 0;
  max-width: 980px;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.25;
  color: var(--navy);
}

.rotator {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 600;
}

.rotator-prefix {
  color: var(--cyan);
}

.rotator-word {
  color: #0097bb;
}

.hero p,
.section-copy {
  margin: 24px auto 0;
  max-width: 760px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.82;
}

.hero-actions,
.center-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-plan {
  background: var(--yellow);
  color: #000;
  border: 1px solid var(--cyan);
}

.btn-plan:hover,
.btn-primary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--navy);
}

.btn-dark {
  background: var(--navy-deep);
  color: var(--white);
}

.bordered-animated {
  position: relative;
  overflow: hidden;
}

.bordered-animated::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(3, 42, 136, 1) 0%, rgba(61, 183, 213, 1) 50%, rgba(3, 42, 136, 1) 100%) 0 0 / 300% 300%;
  animation: animatedBorder 4s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes animatedBorder {
  100% {
    background-position: 300% 300%;
  }
}

.section {
  padding: 92px 0;
}

.section-light {
  background: var(--white);
}

.section-mid {
  background: linear-gradient(180deg, #10204f 0%, #07153d 100%);
  color: var(--white);
}

.section-mid h2,
.section-mid .section-copy,
.section-mid .section-chip,
.section-dark h2,
.section-dark .section-copy,
.section-dark .section-chip {
  color: var(--white);
}

.section-mid .section-chip,
.section-dark .section-chip {
  border-color: var(--cyan);
  color: var(--navy-deep);
}

.section-dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}

.section-partners {
  background: linear-gradient(90deg, var(--navy) 0%, rgba(0, 9, 31, 0.97) 100%);
}

.section-about,
.section-testimonials {
  background: var(--white);
  color: var(--navy);
}

.section-about h2,
.section-about .section-copy,
.section-about .section-chip,
.section-testimonials h2,
.section-testimonials .section-copy,
.section-testimonials .section-chip {
  color: var(--navy);
}

.section-about .section-chip,
.section-testimonials .section-chip {
  border-color: var(--navy);
  color: var(--navy-deep);
}

.partner-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.partner-grid a {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(22, 43, 95, 0.08);
}

.about-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.about-copy p {
  font-size: 1.25rem;
  line-height: 2;
}

.about-media img {
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.stat-card {
  background: #f7f9fb;
  border: 1px solid rgba(61, 183, 213, 0.16);
  border-radius: 22px;
  padding: 24px 18px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  color: #005e91;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--sky);
}

.services-layout {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 320px 1fr;
  gap: 28px;
  align-items: center;
}

.services-column {
  display: grid;
  gap: 26px;
}

.service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(61, 183, 213, 0.16);
  border-radius: 24px;
  padding: 28px 24px;
}

.service-card i {
  color: var(--sky);
  font-size: 1.25rem;
}

.service-card h3 {
  margin: 18px 0 10px;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  color: var(--sky);
}

.service-card p {
  margin: 0;
  color: #d3d3d3;
  line-height: 1.8;
}

.service-card-right {
  text-align: right;
}

.services-phone img {
  width: 100%;
  margin: 0 auto;
}

.pricing-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.pricing-card {
  background: var(--card);
  border-radius: 28px;
  overflow: hidden;
  padding: 0 0 26px;
  text-align: center;
  color: var(--navy);
  box-shadow: 0 18px 48px rgba(22, 43, 95, 0.12);
}

.pricing-top {
  background: var(--cyan);
  color: var(--navy-deep);
  padding: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card h3 {
  margin: 28px 24px 10px;
  font-family: "Syne", sans-serif;
  font-size: 2.3rem;
}

.pricing-card p {
  margin: 0 28px;
  font-size: 1rem;
  line-height: 1.45;
}

.price {
  margin-top: 18px;
  font-family: "Syne", sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
}

.period {
  font-size: 1.25rem;
}

.pricing-card ul {
  margin: 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pricing-card li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22, 43, 95, 0.12);
  line-height: 1.6;
  font-size: 0.95rem;
}

.pricing-card .btn-plan {
  width: calc(100% - 56px);
  margin: 0 auto;
}

.legal-note {
  margin-top: 24px;
  text-align: center;
  line-height: 1.8;
}

.testimonial-shell {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 18px;
  align-items: center;
}

.testimonial-track {
  overflow: hidden;
}

.testimonial-card {
  display: none;
  background: #f5f8fb;
  border: 1px solid rgba(61, 183, 213, 0.18);
  border-radius: 28px;
  padding: 34px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(22, 43, 95, 0.08);
}

.testimonial-card.is-active {
  display: block;
}

.testimonial-card img {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  color: var(--navy);
}

.testimonial-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--sky);
  font-weight: 600;
}

.testimonial-card p {
  margin: 18px 0 0;
  line-height: 1.9;
  color: var(--navy);
}

.testimonial-nav {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgba(61, 183, 213, 0.16);
  color: var(--sky);
  cursor: pointer;
}

.site-footer {
  background: linear-gradient(180deg, #d9e2eb 0%, #ffffff 35%);
  padding: 28px 0 32px;
}

.footer-main {
  display: grid;
  grid-template-columns: 120px 1.6fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 18px 0 28px;
}

.footer-brand img {
  width: 88px;
}

.footer-text p,
.footer-contact a {
  line-height: 1.8;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact h3 {
  margin: 0 0 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 43, 95, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  font-size: 0.95rem;
}

.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(217, 226, 235, 0.85) 0%, rgba(255, 255, 255, 1) 28%);
}

.legal-layout {
  padding: 90px 0;
}

.legal-layout p,
.legal-layout li {
  line-height: 1.9;
}

.legal-card {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

@media (min-width: 2400px) {
  .wrap {
    width: min(1200px, calc(100vw - 32px));
  }

  .hero p,
  .section-copy {
    max-width: 52%;
  }

  .testimonial-card {
    max-width: 57%;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .partner-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .services-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .services-phone {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .service-card,
  .service-card-right {
    text-align: center;
  }

  .nav-row {
    grid-template-columns: 140px auto auto;
  }

  .site-menu {
    gap: 18px;
  }

  .hero p,
  .section-copy {
    font-size: 1.125rem;
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    justify-content: center;
  }

  .social-links {
    gap: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-row {
    grid-template-columns: 1fr auto auto;
  }

  .site-menu {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    padding: 10px 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    width: 100%;
    padding: 14px 18px;
  }

  .login-link {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1,
  .section h2,
  .legal-layout h1 {
    font-size: 1.875rem;
    line-height: 1.5;
  }

  .hero p,
  .section-copy {
    font-size: 1rem;
    line-height: 1.7;
  }

  .rotator {
    font-size: 1.25rem;
  }

  .partner-grid,
  .pricing-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .testimonial-nav {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .legal-card {
    padding: 28px 22px;
  }
}
