@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f3f7fc;
  --white: #ffffff;
  --text: #0f1832;
  --muted: #627087;
  --line: rgba(15, 24, 50, 0.09);
  --primary: #183d84;
  --blue: #1d63ff;
  --soft-blue: #eaf1ff;
  --panel-bg: #f8fbff;

  --shadow-sm: 0 10px 24px rgba(15, 24, 50, 0.06);
  --shadow: 0 18px 42px rgba(15, 24, 50, 0.10);
  --shadow-soft: 0 10px 24px rgba(15, 24, 50, 0.08);
  --shadow-md: 0 18px 50px rgba(15, 24, 50, 0.10);
  --shadow-lg: 0 30px 80px rgba(15, 24, 50, 0.18);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 99, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-wrap {
  min-height: 100vh;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  background: rgba(248, 251, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-container {
  width: min(1220px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.header-cta {
  min-height: 46px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(29, 99, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(29, 99, 255, 0.28);
}

/* HERO */

.hero {
  min-height: calc(100vh - 72px);
  padding: 56px 24px 46px;
  background:
    radial-gradient(circle at top left, rgba(29, 99, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.hero-container {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 58px;
  align-items: start;
}

.hero-left h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(2.25rem, 3.85vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-left h1 span {
  color: var(--blue);
}

.hero-text {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.68;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
  border: 1px solid rgba(15, 24, 50, 0.08);
  box-shadow: 0 8px 18px rgba(15, 24, 50, 0.055);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text);
}

.hero-left {
  padding-top: 6px;
}

.hero-tags svg {
  width: 16px;
  height: 16px;
  stroke: var(--blue);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.hero-actions {
  margin-top: 24px;
}

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.btn-secondary-action:hover {
  gap: 12px;
  color: var(--primary);
}

.btn-secondary-action svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-right {
  display: grid;
  gap: 16px;
  align-self: center;
}

.schema-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 24, 50, 0.06);
  border-radius: 26px;
  padding: 5px;
  box-shadow: var(--shadow-soft);
}

.schema-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.form-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
}

.form-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.form-card h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.compact-grid {
  display: grid;
  grid-template-columns: 1.16fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 750;
  font-size: 0.78rem;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 24, 50, 0.12);
  padding: 0 14px;
  outline: none;
  color: var(--text);
  background: #fbfdff;
  font-size: 0.92rem;
}

input:focus {
  border-color: rgba(29, 99, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(29, 99, 255, 0.08);
}

.btn-primary {
  min-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(29, 99, 255, 0.20);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 28px rgba(29, 99, 255, 0.25);
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.76rem;
  line-height: 1.35;
}

.consent input {
  margin-top: 2px;
}

.form-card.is-highlighted {
  animation: formPulse 0.9s ease;
}

@keyframes formPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 99, 255, 0.24), var(--shadow);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(29, 99, 255, 0), var(--shadow);
  }
}

/* FEATURES SECTION */

.features-section {
  padding: 82px 0 96px;
  background:
    radial-gradient(circle at top right, rgba(24, 61, 132, 0.05), transparent 30%),
    linear-gradient(180deg, #eef4fb 0%, #f7faff 100%);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 61, 132, 0.08);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.section-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 820px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-tile {
  position: relative;
  padding: 26px 26px 24px;
  min-height: 220px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(24, 61, 132, 0.14);
}

.tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.tile-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.tile-title-group h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  background: rgba(24, 61, 132, 0.08);
  flex-shrink: 0;
}

.tile-plus {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(15, 24, 50, 0.08);
  background: var(--white);
  color: var(--primary);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.feature-tile h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.feature-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
  max-width: 95%;
}

/* MODALS */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 12, 26, 0.46);
  backdrop-filter: blur(8px);
}

.modal-overlay.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(1460px, calc(100vw - 40px));
  height: min(92vh, 940px);
  background: var(--white);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.20);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 24, 50, 0.06);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.modal-left {
  padding: 44px 40px 34px;
  overflow-y: auto;
  background: var(--white);
}

.modal-right {
  position: relative;
  overflow: hidden;
  background: var(--panel-bg);
  border-left: 1px solid rgba(15, 24, 50, 0.06);
}

.modal-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 61, 132, 0.08);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.modal-left h3 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.modal-left > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.info-block {
  margin-bottom: 18px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(15, 24, 50, 0.06);
}

.info-block h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.info-block ul {
  margin: 0;
  padding-left: 18px;
}

.info-block li {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.text-note {
  margin-top: 8px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(15, 24, 50, 0.06);
  color: var(--muted);
  line-height: 1.65;
}

/* FINANCE */

.finance-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: #f8fbff;
  border: 1px solid rgba(15, 24, 50, 0.06);
  margin-bottom: 18px;
}

.finance-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 24, 50, 0.08);
  color: var(--muted);
}

.finance-row:last-child {
  border-bottom: none;
}

.finance-row strong {
  color: var(--text);
  white-space: nowrap;
  text-align: right;
}

.finance-highlight {
  font-weight: 700;
}

.finance-highlight strong {
  color: #00a75a;
}

/* MODAL IMAGES */

.single-image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.carousel-track {
  height: 100%;
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  background: rgba(15, 24, 50, 0.18);
  color: white;
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.carousel-arrow.left {
  left: 16px;
}

.carousel-arrow.right {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 24, 50, 0.22);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--primary);
}

/* RESPONSIVE */

@media (max-width: 1160px) {
  .compact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .compact-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
  }

  .hero-left h1 {
    max-width: 900px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-inner {
    grid-template-columns: 1fr;
  }

  .modal-right {
    min-height: 360px;
    border-left: none;
    border-top: 1px solid rgba(15, 24, 50, 0.06);
  }
}

@media (max-width: 760px) {
  .header-container {
    width: min(100% - 24px, 1220px);
  }

  .brand img {
    height: 38px;
  }

  .hero {
    padding: 38px 18px;
  }

  .hero-left h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .compact-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .header-cta {
    width: auto;
  }

  .compact-submit {
    width: 100%;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .features-section {
    padding: 50px 0 64px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .modal-overlay {
    padding: 10px;
  }

  .modal-panel {
    width: 100%;
    height: 96vh;
    border-radius: 18px;
  }

  .modal-left {
    padding: 24px 18px 20px;
  }

  .modal-left h3 {
    font-size: 2rem;
  }

  .modal-right {
    min-height: 300px;
  }

  .finance-row {
    flex-direction: column;
    gap: 4px;
  }

  .finance-row strong {
    text-align: left;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }
}

/* PARTNERS SECTION */

.partners-section{
  padding: 72px 0 26px;
  background:
    linear-gradient(180deg, #eef4fb 0%, #f7faff 100%);
}

.partners-head{
  text-align:center;
  margin-bottom:32px;
}

.partners-head h2{
  margin:0 0 10px;
  font-size:clamp(1.55rem, 2.4vw, 2.2rem);
  line-height:1.15;
  letter-spacing:-0.03em;
  color:var(--text);
}

.partners-head p{
  margin:0;
  color:var(--muted);
  font-size:1rem;
  line-height:1.6;
}

.partners-grid{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  gap:14px;
}

.partner-card{
  height:102px;
  border-radius:18px;
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(15,24,50,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
  box-shadow:0 10px 24px rgba(15,24,50,0.04);
}

.partner-card:hover{
  transform:translateY(-2px);
  border-color:rgba(29,99,255,0.14);
  box-shadow:0 18px 34px rgba(15,24,50,0.08);
}

.partner-card img{
  max-width:100%;
  max-height:42px;
  object-fit:contain;
  filter:grayscale(100%);
  opacity:0.88;
  transition:opacity .2s ease, filter .2s ease;
}

.partner-card:hover img{
  filter:grayscale(0%);
  opacity:1;
}

.partners-note{
  margin-top:18px;
  text-align:center;
  color:var(--muted);
  font-size:0.9rem;
  line-height:1.5;
}

/* RESPONSIVE */

@media (max-width:1200px){

  .partners-grid{
    grid-template-columns:repeat(4, 1fr);
  }

}

@media (max-width:760px){

  .partners-section{
    padding:54px 0 8px;
  }

  .partners-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
  }

  .partner-card{
    height:88px;
    padding:14px;
  }

  .partner-card img{
    max-height:34px;
  }

}