:root {
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #021248;
  background: #ffffff;
}

.pt-header-offset {
  padding-top: 86px;
}

.site-header {
  height: 86px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(138, 155, 250, 0.18);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header .navbar {
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 20px rgba(31, 42, 86, 0.12);
}

.navbar-toggler {
  border-color: rgba(95, 61, 224, 0.28);
  display: inline-flex;
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none;
  }
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(95, 61, 224, 0.24);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
}

.nav-link {
  color: #021248;
  font-weight: 400;
  font-size: 0.87rem;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: #815fcd;
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-primary-custom {
  border: 0;
  color: #ffffff;
  background: #815fcd;
  box-shadow: 0 8px 18px rgba(129, 95, 205, 0.28);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  color: #ffffff;
  background: #6f4fbc;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(129, 95, 205, 0.34);
}

.btn-outline-custom {
  border: 2px solid #beb8e9;
  color: #021248;
  background: #ffffff;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
  border-color: #beb8e9;
  color: #021248;
  background: #f8f8ff;
  transform: translateY(-2px);
}

.hero-section {
  padding: 0;
}

.hero-static-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 58vh, 580px);
  width: 100%;
  border-radius: 0;
  display: flex;
  align-items: center;
  padding: 2.2rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(255, 255, 255, 0.4) 100%),
    radial-gradient(circle at 80% 80%, rgba(182, 161, 236, 0.7), transparent 32%),
    linear-gradient(140deg, #dbe6ff, #c8b9ef);
  border: 0;
}

.hero-static-content {
  max-width: 680px;
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-static-content > :not(.hero-img) {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.1;
  color: #021248;
  font-weight: 600;
}

.hero-title span {
  color: #865ed5;
}

.hero-subtitle {
  margin: 0 0 1.35rem;
  color: #888d9f;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.55;
}

.positioning-section {
  padding: 0;
}

.positioning-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.positioning-content h2 {
  margin: 0 0 1rem;
  color: #021248;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 600;
  line-height: 1.12;
}

.positioning-content p {
  margin: 0 0 1rem;
  color: #888d9f;
  font-size: clamp(0.95rem, 1.18vw, 1rem);
  line-height: 1.65;
}

.positioning-content p:last-child {
  margin-bottom: 0;
}

.positioning-media {
  width: 100%;
  min-height: 290px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 223, 144, 0.94), transparent 28%),
    radial-gradient(circle at 24% 78%, rgba(183, 163, 244, 0.9), transparent 30%),
    linear-gradient(140deg, #d7e6ff, #b8aae7);
  border: 1px solid #ddd9f2;
}

.methodology-section {
  padding: 0;
}

.methodology-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0.55rem;
  color: #6057d0;
  font-size: 1.4rem;
  border-radius: 50%;
  background: #e4ddfd;
  border: 5px solid #fff;
  box-shadow: 0px 0px 4px 1px #e4ddfd;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.methodology-item {
  width: 100%;
  height: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.methodology-item h3 {
  margin: 0 0 0.3rem;
  color: #021248;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.methodology-item p {
  margin: 0;
  color: #888d9f;
  font-size: 0.93rem;
  line-height: 1.45;
}

.methodology-item:hover .methodology-icon {
  transform: translateY(-3px) scale(1.05);
}

.how-works-section {
  padding: 0;
}

.how-works-header {
  max-width: 900px;
  margin: 0 auto;
}

.how-works-header h2 {
  margin: 0 0 0.55rem;
  color: #021248;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 1.1;
}

.how-works-header p {
  margin: 0;
  color: #888d9f;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.6;
}

.how-works-item {
  height: 100%;
  min-height: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.how-works-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 0.65rem;
  font-size: 2rem;
  border-radius: 50%;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.25s ease;
}

.how-works-red {
  color: #d25757;
  background: rgba(210, 87, 87, 0.18);
}

.how-works-yellow {
  color: #c79b26;
  background: rgba(199, 155, 38, 0.18);
}

.how-works-blue {
  color: #4f75d6;
  background: rgba(79, 117, 214, 0.18);
}

.how-works-green {
  color: #3d9b6a;
  background: rgba(61, 155, 106, 0.18);
}

.how-works-purple {
  color: #6f56ca;
  background: rgba(111, 86, 202, 0.18);
}

.how-works-pink {
  color: #ca5db1;
  background: rgba(202, 93, 177, 0.18);
}

.how-works-orange {
  color: #d18549;
  background: rgba(209, 133, 73, 0.18);
}

.how-works-item h3 {
  margin: 0;
  color: #021248;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
}

.how-works-item:hover .how-works-icon {
  transform: translateY(-6px) scale(1.12) rotate(-6deg);
  filter: saturate(1.08);
  animation: howWorksPop 0.38s ease-out;
}

.how-works-item:hover {
  transform: translateY(-3px);
}

@keyframes howWorksPop {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  60% {
    transform: translateY(-8px) scale(1.16) rotate(-7deg);
  }
  100% {
    transform: translateY(-6px) scale(1.12) rotate(-6deg);
  }
}

.party-section {
  padding: 0;
}

.party-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(164, 154, 234, 0.7);
  padding: 1.55rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 70% 130%, rgba(155, 134, 238, 0.42), transparent 36%),
    linear-gradient(135deg, #6f52df 0%, #5a43d0 100%);
  box-shadow: 0 14px 30px rgba(68, 54, 149, 0.26);
}

.party-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}

.party-icon {
  font-size: 2rem;
  color: #fff;
}

.party-content h2 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 600;
}

.party-content p {
  margin: 0 0 0.95rem;
  color: #ece8ff;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.4;
  max-width: 44ch;
}

.party-btn {
  background: #f7c845;
  color: #3d2f85;
  border: 0;
  font-weight: 600;
  padding-inline: 1.35rem;
  box-shadow: 0 8px 18px rgba(30, 25, 79, 0.25);
}

.party-btn:hover,
.party-btn:focus {
  color: #2f226e;
  background: #ffcf51;
  transform: translateY(-2px);
}

.benefits-section {
  padding: 0;
}

.benefits-header {
  margin-bottom: 1.2rem;
}

.benefits-header h2 {
  margin: 0;
  color: #021248;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.15;
}

.benefit-card {
  position: relative;
  height: 100%;
  min-height: 190px;
  padding: 0;
  border-radius: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.22s ease;
  display: grid;
  overflow: hidden;
  isolation: isolate;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-media {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 18, 72, 0.62) 0%, rgba(2, 18, 72, 0.15) 52%, rgba(2, 18, 72, 0.1) 100%);
  pointer-events: none;
}

.benefit-card h3 {
  grid-area: 1 / 1;
  align-self: start;
  margin: 0;
  z-index: 2;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  max-width: none;
  padding: 0.95rem 1rem 0.85rem;
  background: transparent;
  text-shadow: 0 2px 8px rgba(2, 18, 72, 0.35);
}

.footer-callback-section {
  padding: 0;
}

main > section + section {
  margin-top: 6rem;
}

.footer-callback-card {
  position: relative;
  overflow: visible;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(171, 153, 240, 0.55);
  display: grid;
  grid-template-columns: minmax(170px, 220px) 1fr auto;
  align-items: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 6% 40%, rgba(174, 151, 246, 0.26), transparent 25%),
    linear-gradient(130deg, #7b5be4, #4d50d7);
}

.footer-callback-visual {
  position: relative;
  min-height: 115px;
}

.footer-callback-img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(210px, 100%);
  max-width: 210px;
  height: auto;
  display: block;
  transform: none;
  pointer-events: none;
}

.footer-callback-copy h2 {
  margin: 0 0 0.2rem;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.15;
}

.footer-callback-copy p {
  margin: 0;
  color: #efe9ff;
  font-size: 0.8rem;
}

.footer-callback-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  gap: 0.45rem;
  padding-right: 2rem;
}

.footer-callback-btn {
  background: #f8c844;
  color: #2c2f73;
  border: 0;
  font-weight: 600;
  padding-inline: 1.5rem;
}

.footer-callback-btn:hover,
.footer-callback-btn:focus {
  color: #24265e;
  background: #ffd459;
  transform: translateY(-2px);
}

.callback-text-btn {
  color: #f2eeff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease;
}

.callback-text-btn:hover,
.callback-text-btn:focus {
  color: #fff;
}

.site-footer {
  background: #ffffff;
  color: #1d2851;
  padding: 2.2rem 0 1.4rem;
}

.simple-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.footer-brand .brand-logo-img {
  height: auto;
  max-width: 250px;
}

.footer-social-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 auto;
}

.footer-social-block h5 {
  margin: 0;
  color: #021248;
  font-size: 0.92rem;
}

.footer-address {
  display: inline-flex;
  align-items: center;
  color: #4c577f;
  text-align: right;
  line-height: 1.5;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 25, 60, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1190;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 320px);
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 1200;
  padding: 1rem;
  border-left: 1px solid #e8ecff;
  display: flex;
  flex-direction: column;
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e8ecff;
}

.mobile-menu-head h5 {
  margin: 0;
  font-weight: 600;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  display: grid;
  gap: 0.35rem;
}

.mobile-menu-links a {
  text-decoration: none;
  color: #021248;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.45rem 0.2rem;
  display: inline-block;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open .mobile-menu-backdrop {
  opacity: 1;
  visibility: visible;
}

body.mobile-menu-open .mobile-menu-panel {
  transform: translateX(0);
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  position: relative;
  overflow: hidden;
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  place-items: center;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  text-decoration: none;
  color: #41518b;
  background: #f5f7ff;
  border: 1px solid #dde2fb;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease;
}

.social-links a::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -120%;
  width: 65%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-22deg);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.social-links a:hover,
.social-links a:focus {
  color: #fff;
  transform: translateY(-3px) rotate(-5deg) scale(1.06);
}

.social-links a:hover::before,
.social-links a:focus::before {
  transform: translateX(310%) skewX(-22deg);
}

.social-links a:nth-child(1):hover,
.social-links a:nth-child(1):focus {
  background: #e4405f;
  border-color: #e4405f;
}

.social-links a:nth-child(2):hover,
.social-links a:nth-child(2):focus {
  background: #1877f2;
  border-color: #1877f2;
}

.social-links a:nth-child(3):hover,
.social-links a:nth-child(3):focus {
  background: #ff2c2c;
  border-color: #ff2c2c;
}

.social-links a:nth-child(4):hover,
.social-links a:nth-child(4):focus {
  background: #25d366;
  border-color: #25d366;
}

.copyright {
  margin: 1.5rem 0 0;
  padding-top: 0;
  text-align: left;
  color: #6a759b;
  font-size: 0.8rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  background: #25d366;
  box-shadow: 0 10px 18px rgba(18, 73, 41, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 1200;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(18, 73, 41, 0.42);
}

@media (max-width: 991.98px) {
  .hero-static-banner {
    min-height: 380px;
    padding: 1.6rem;
  }

  main > section + section {
    margin-top: 3rem;
  }

  .positioning-content {
    padding: 0;
  }

  .positioning-media {
    min-height: 230px;
  }

  .party-card {
    padding: 1.2rem;
    align-items: flex-start;
  }

  .footer-callback-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.2rem 1rem;
  }

  .footer-callback-visual {
    display: none;
  }

  .footer-callback-actions {
    align-items: center;
    justify-self: center;
    padding-right: unset;
  }

  .simple-footer {
    align-items: center;
    flex-direction: column;
    gap: 2.2rem;
  }

  .brand-logo.footer-brand {
    margin: 0 auto;
  }

  .footer-social-block {
    margin: 0;
  }

  .footer-address {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .footer-brand .brand-logo-img {
    height: auto;
    max-width: 300px;
  }

  .hero-static-banner {
    min-height: 340px;
    padding: 1.2rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
  }

  .party-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .methodology-list {
    row-gap: 0.9rem !important;
  }

  .methodology-item {
    min-height: auto;
    padding: 0.95rem 1rem;
    border: 1px solid #ece9fb;
    border-radius: 14px;
    background: #ffffff;
    display: grid;
    grid-template-columns: 3rem 1fr;
    column-gap: 0.75rem;
    row-gap: 0.15rem;
    align-items: start;
  }

  .methodology-icon {
    grid-row: 1 / span 2;
    width: 3rem;
    height: 3rem;
    margin: 0;
    font-size: 1.15rem;
    border-width: 3px;
  }

  .methodology-item h3 {
    margin: 0.1rem 0 0.2rem;
    font-size: 1rem;
    line-height: 1.2;
  }

  .methodology-item p {
    font-size: 0.88rem;
    line-height: 1.4;
  }
}

@media (min-width: 992px) {
  .mobile-menu-backdrop,
  .mobile-menu-panel {
    display: none;
  }
}
