:root {
  --blue: #0077c8;
  --navy: #002b67;
  --deep: #00225a;
  --pink: #d70a74;
  --text: #112d58;
  --muted: #565d69;
  --soft: #dbe2ee;
  --shadow: 0 16px 34px rgba(0, 31, 83, 0.14);
  --shadow-soft: 0 8px 18px rgba(0, 31, 83, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
  background: #fff;
  overflow-x: hidden;
}

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

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

.section-pad {
  padding: 86px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.7fr;
  align-items: center;
  gap: clamp(48px, 6vw, 110px);
}

.hero-copy {
  max-width: 960px;
}

.hero h1 {
  margin: 0 0 34px;
  color: var(--blue);
  font-size: clamp(2.4rem, 3.5vw, 3.75rem);
  line-height: 1.05;
}

.hero p {
  margin: 0 0 35px;
  font-size: clamp(1.16rem, 1.42vw, 1.72rem);
  line-height: 1.42;
  letter-spacing: 0;
}

.hero strong {
  display: block;
  margin-top: 40px;
  color: var(--deep);
  font-size: clamp(1.05rem, 1.3vw, 1.48rem);
  line-height: 1.25;
}

.hero-image {
  justify-self: end;
  width: min(630px, 100%);
}

.hero-image img {
  width: 100%;
}

.why {
  position: relative;
  min-height: 590px;
  margin-top: 20px;
  color: #fff;
}

.why-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 500px;
  background-image: url("https://imageswl.pandape.com/imbocar/assent/Backgraun1.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  z-index: 0;
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(42px, 5vw, 90px);
  padding-top: 120px;
}

.why-copy {
  min-width: 0;
  max-width: 660px;
}

.why-copy h2 {
  margin: 0 0 38px;
  color: #fff;
  font-size: clamp(2rem, 2.65vw, 3rem);
  line-height: 1.08;
}

.why-copy p {
  margin: 0;
  font-size: clamp(1.08rem, 1.35vw, 1.55rem);
  line-height: 1.32;
}

.reasons-panel {
  min-width: 0;
  text-align: center;
}

.reasons-kicker {
  margin: 0 0 2px;
  color: #fff;
  font-size: clamp(1rem, 1.2vw, 1.35rem);
}

.reasons-panel > h2 {
  display: inline-block;
  margin: 0 0 28px;
  padding: 2px 18px 4px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  font-style: italic;
  line-height: 1;
}

.slider {
  --items: 1;
  --gap: 34px;
  --shadow-space: 26px;
  min-width: 0;
  position: relative;
}

.slider-window {
  min-width: 0;
  overflow: hidden;
  margin: calc(var(--shadow-space) * -1);
  padding: var(--shadow-space);
}

.slider-track {
  display: flex;
  gap: var(--gap);
  min-width: 0;
  transition: transform 0.45s ease;
  will-change: transform;
}

.reason-card {
  flex: 0 0 calc((100% - (var(--gap) * (var(--items) - 1))) / var(--items));
  min-height: 345px;
  padding: 36px 36px 34px;
  text-align: left;
  border-radius: 28px;
  background: #fff;
  color: var(--text);
  box-shadow: none;
  transition: box-shadow 0.25s ease;
}

.reason-card.is-visible {
  box-shadow: rgb(206, 207, 218) 0 0 14px 5px;
}

.reason-card img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 24px;
}

.reason-card h3 {
  margin: 0 0 12px;
  color: var(--deep);
  font-size: clamp(1.25rem, 1.5vw, 1.7rem);
  line-height: 1.1;
}

.reason-card p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1rem, 1.15vw, 1.32rem);
  line-height: 1.34;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.slider-dots button {
  width: 84px;
  height: 8px;
  padding: 0;
  border: 0;
  background: #f3a0c7;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--pink);
}

.testimonials {
  padding-top: 28px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.66fr);
  align-items: center;
  gap: clamp(58px, 7vw, 150px);
}

.testimonial-slider {
  min-width: 0;
  --shadow-space: 30px;
}

.testimonial-card {
  flex: 0 0 100%;
  min-height: 330px;
  padding: 50px 62px 44px;
  border-radius: 28px;
  background: #fff;
  color: #4b4f5b;
  box-shadow: none;
  transition: box-shadow 0.25s ease;
}

.testimonial-card.is-visible {
  box-shadow: rgb(194, 194, 194) 0 0 14px 5px;
}

.testimonial-card p {
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.08vw, 1.26rem);
  line-height: 1.38;
}

.testimonial-card h3 {
  margin: 0 0 3px;
  color: #313748;
  font-size: clamp(1rem, 1.1vw, 1.26rem);
  line-height: 1.1;
}

.testimonial-card span,
.testimonial-card strong {
  display: block;
  color: #313748;
  font-size: clamp(0.95rem, 1vw, 1.16rem);
  line-height: 1.18;
}

.testimonial-controls {
  position: absolute;
  right: 72px;
  bottom: 46px;
  display: flex;
  gap: 14px;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #e2e5ea;
  border-radius: 50%;
  color: var(--blue);
  background: #f7f8fa;
  font-size: 2rem;
  line-height: 0.7;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.testimonial-copy {
  position: relative;
  max-width: 620px;
  justify-self: start;
  padding-left: 58px;
  padding-right: clamp(28px, 4vw, 72px);
  color: var(--deep);
}



.testimonial-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 0.95;
}

.testimonial-copy h2 strong {
  display: block;
  color: var(--pink);
}

.testimonial-copy p {
  margin: 0;
  font-size: clamp(1.16rem, 1.55vw, 1.75rem);
  line-height: 1.16;
}

.quote-mark,
.quote-end {
  position: absolute;
  color: var(--deep);
  font-size: clamp(3.2rem, 4vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
}

.quote-mark {
  left: 0;
  top: 68px;
}

.quote-end {
  right: clamp(0px, 1.2vw, 22px);
  bottom: -22px;
}

.cv {
  margin-top: 18px;
  min-height: 288px;
  padding: 100px 0 100px;
  background-image: url("https://imageswl.pandape.com/imbocar/assent/Backgraun2.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.cv-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.cv-copy p {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.18;
}

.cv-copy h2 {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: clamp(1.65rem, 2.25vw, 2.45rem);
  line-height: 1.08;
}

.cv-form {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 690px;
  justify-self: end;
  width: 100%;
}

.cv-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.cv-form input {
  min-width: 0;
  height: 70px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px 0 0 12px;
  color: #5a6574;
  font-size: clamp(1.1rem, 1.35vw, 1.55rem);
}

.cv-form button {
  height: 70px;
  padding: 0 34px;
  border: 0;
  border-radius: 0 12px 12px 0;
  color: #fff;
  background: var(--blue);
  font-size: clamp(1.2rem, 1.65vw, 2rem);
  font-weight: 800;
  cursor: pointer;
}

@media (min-width: 901px) {
  .reasons-slider {
    --items: 2;
  }
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 44px, 980px);
  }

  .hero-grid,
  .why-grid,
  .testimonials-grid,
  .cv-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    justify-self: center;
    width: min(520px, 90%);
  }

  .why {
    color: #fff;
    background: linear-gradient(110deg, #0077c8, #002b67);
  }

  .why-bg {
    display: none;
  }

  .why-grid {
    padding: 80px 0 70px;
  }

  .why-copy {
    max-width: 100%;
  }

  .testimonials {
    padding-top: 76px;
  }

  .testimonial-copy {
    order: -1;
    max-width: 100%;
  }

  .cv {
    padding: 116px 0 90px;
    background-position: center;
  }

  .cv-form {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 520px);
  }

  .section-pad {
    padding: 58px 0;
  }

  .hero p {
    margin-bottom: 22px;
  }

  .why-grid {
    padding-top: 58px;
  }

  .reason-card {
    min-height: 360px;
    padding: 28px 24px;
    border-radius: 20px;
  }

  .slider-dots button {
    width: 44px;
  }

  .testimonial-card {
    min-height: 420px;
    padding: 34px 26px 88px;
    border-radius: 20px;
  }

  .testimonial-controls {
    right: 28px;
    bottom: 28px;
  }

  .testimonial-copy {
    padding-left: 34px;
  }

  .testimonial-copy::before {
    top: -38px;
    left: 0;
    width: 96px;
  }

  .quote-mark {
    top: 80px;
  }

  .quote-end {
    right: 0;
  }

  .cv {
    min-height: auto;
    padding: 78px 0;
  }

  .cv-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cv-form input,
  .cv-form button {
    width: 100%;
    height: 58px;
    border-radius: 10px;
  }
}
