:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #66748a;
  --line: #dce5ef;
  --surface: #f5f8fb;
  --white: #ffffff;
  --primary: #0b8fcb;
  --primary-dark: #05699b;
  --accent: #f2b705;
  --deep: #0a2d48;
  --shadow: 0 18px 45px rgba(16, 32, 51, 0.12);
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--primary-dark);
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.narrow {
  width: min(900px, calc(100% - 40px));
}

.section {
  padding: 86px 0;
}

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

.benefits-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 27, 44, 0.86), rgba(7, 27, 44, 0.58)),
    url("../img/br-mid.jpg") center/cover no-repeat;
}

.benefits-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 44, 0.12);
  pointer-events: none;
}

.benefits-section > .container {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 10px 20px rgba(11, 143, 203, 0.22);
}

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

.btn-secondary {
  color: var(--deep);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 45, 72, 0.95), rgba(10, 45, 72, 0.78)),
    url("../img/dip01.jpg") center/cover;
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 56px;
}

.hero-title {
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.28em;
  row-gap: 0;
  margin: 0 0 20px;
}

.hero-title h1,
.hero-title h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.18;
}

.hero-title h1 {
  color: #CEEF00;
}

.hero-title h2 {
  color: #FFFFFF;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-media {
  max-width: 460px;
  justify-self: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  line-height: 1.18;
}

h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.25;
}

h4 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  line-height: 1.25;
}

p {
  margin: 0 0 14px;
}

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

.proof-grid,
.benefit-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.proof-grid {
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-grid article,
.benefit-grid article,
.service-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-grid h3 {
  color: var(--primary-dark);
}

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

.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.clients-section {
  overflow: hidden;
}

.logo-marquee {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-track {
  width: max-content;
  display: flex;
  gap: 36px;
  align-items: center;
  animation: partnerMarquee 28s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-track img {
  flex: 0 0 130px;
  max-height: 58px;
  margin: 0 auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
}

@keyframes partnerMarquee {
  from {
    transform: translateX(0);
  }

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

.service-shell {
  position: relative;
}

.services-carousel {
  display: grid;
  grid-template-columns: repeat(5, minmax(280px, 1fr));
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.services-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.service-card {
  min-height: 390px;
  scroll-snap-align: start;
  user-select: none;
}

.service-card img {
  width: 74px;
  margin-bottom: 22px;
}

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

.carousel-control {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--deep);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-control.prev {
  left: -22px;
}

.carousel-control.next {
  right: -22px;
}

.audience-section {
  color: var(--white);
  background: var(--deep);
}

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

.audience-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.audience-card img {
  width: 64px;
  margin-bottom: 18px;
}

.audience-card h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.audience-card h3 {
  color: var(--white);
}

.audience-card p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 28px;
  padding: 34px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

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

.benefit-grid article {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.benefit-grid img {
  width: 58px;
  margin-bottom: 16px;
}

.benefit-grid p {
  color: rgba(255, 255, 255, 0.82);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 1.6rem;
  font-weight: 700;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-item h3 {
  margin: 0;
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-section {
  color: var(--white);
  background: linear-gradient(120deg, var(--deep), #0b5f83);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.9rem;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #071b2c;
}

.footer-grid {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.footer-grid img {
  width: 120px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.social-links svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.site-footer p {
  margin: 0;
}

.thank-you-page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 27, 44, 0.9), rgba(7, 27, 44, 0.62)),
    url("../img/br-mid.jpg") center/cover no-repeat;
}

.thank-you-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.thank-you-card {
  max-width: 760px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.thank-you-card img {
  width: 180px;
  margin-bottom: 30px;
}

.thank-you-card h1 {
  margin: 0 0 18px;
  color: #CEEF00;
  font-size: clamp(2rem, 3.3vw, 2.35rem);
  line-height: 1.18;
}

.thank-you-card p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-width: 420px;
  }

  .proof-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1140px);
  }

  .section {
    padding: 62px 0;
  }

  .hero-title {
    display: block;
  }

  .hero-title h1,
  .hero-title h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .proof-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .logo-track {
    gap: 24px;
    animation-duration: 22s;
  }

  .logo-track img {
    flex-basis: 105px;
  }

  .carousel-control {
    display: none;
  }

  .service-card {
    min-width: 86vw;
  }

  .contact-form {
    padding: 20px;
  }

  .thank-you-card {
    padding: 28px;
  }
}
