:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --blue: #63c7ee;
  --blue-dark: #269dcc;
  --blue-soft: #eaf8ff;
  --yellow: #ffd75e;
  --yellow-soft: #fff5ca;
  --pink: #ff8fa8;
  --green: #83d3a5;
  --text: #20303c;
  --muted: #6f7c84;
  --border: rgba(32, 48, 60, .08);
  --shadow: 0 20px 60px rgba(50, 105, 130, .12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.section {
  padding: 105px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section-heading h2,
.contacts-content h2,
.cta h2 {
  margin: 18px 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.section-heading h2 span,
.contacts-content h2 span,
.cta h2 span {
  color: var(--blue-dark);
}

.section-heading p,
.contacts-intro {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border-radius: 16px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 800;
  transition: .25s ease;
  box-shadow: 0 10px 30px rgba(38, 157, 204, .2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(38, 157, 204, .28);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-light {
  background: rgba(255, 255, 255, .17);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: none;
}

.btn-small {
  min-height: 44px;
  padding: 0 19px;
  border-radius: 13px;
  font-size: 14px;
}


/* HEADER */

.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  transition: .3s;
}

.header.scrolled {
  background: rgba(255, 253, 248, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 35px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.logo-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  font-size: 24px;
  box-shadow: 0 8px 25px rgba(32, 48, 60, .08);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  line-height: 1;
}

.logo-text span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav a {
  color: #44535d;
  font-size: 14px;
  font-weight: 700;
  transition: .2s;
}

.nav a:hover {
  color: var(--blue-dark);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 10px;
  background: var(--text);
}


/* HERO */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(99, 199, 238, .22), transparent 30%),
    radial-gradient(circle at 12% 85%, rgba(255, 215, 94, .20), transparent 28%),
    var(--bg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}

.hero-content h1 {
  max-width: 720px;
  margin: 22px 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(52px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
}

.hero-content h1 span {
  display: block;
  color: var(--blue-dark);
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 35px;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #56656e;
  font-size: 13px;
  font-weight: 700;
}

.point-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3f8eb;
  color: #4ba874;
  font-size: 12px;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 42px;
  background: rgba(255, 255, 255, .6);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 40px rgba(32, 48, 60, .13);
  backdrop-filter: blur(12px);
}

.floating-card-one {
  left: -45px;
  bottom: 80px;
}

.floating-card-two {
  top: 60px;
  right: -35px;
}

.floating-icon {
  font-size: 27px;
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  font-size: 13px;
}

.floating-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-decoration-one {
  width: 220px;
  height: 220px;
  top: -80px;
  left: -70px;
  background: rgba(255, 143, 168, .09);
}

.hero-decoration-two {
  width: 300px;
  height: 300px;
  right: -160px;
  bottom: -100px;
  background: rgba(131, 211, 165, .12);
}


/* ABOUT */

.about {
  background: #fff;
}

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

.about-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: .3s ease;
}

.about-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.about-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 18px;
  background: var(--yellow-soft);
  font-size: 27px;
}

.about-card:nth-child(2) .about-icon {
  background: #e7f8ed;
}

.about-card:nth-child(3) .about-icon {
  background: #ffedf1;
}

.about-card h3,
.benefit-card h3 {
  margin: 0 0 10px;
  font-family: "Nunito", sans-serif;
  font-size: 22px;
}

.about-card p,
.benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}


/* FORMATS */

.formats {
  background: linear-gradient(180deg, #eefaff 0%, #fffdf8 100%);
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.format-card {
  position: relative;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 15px 50px rgba(50, 105, 130, .08);
}

.format-card-featured {
  border: 2px solid rgba(38, 157, 204, .35);
  transform: translateY(-12px);
}

.popular-label {
  position: absolute;
  top: -15px;
  left: 50%;
  padding: 7px 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.format-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.format-tag {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.format-top h3 {
  margin: 6px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: 38px;
}

.format-emoji {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--yellow-soft);
  font-size: 29px;
}

.format-description {
  min-height: 52px;
  margin: 24px 0;
  color: var(--muted);
  line-height: 1.65;
}

.format-list {
  display: grid;
  gap: 13px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.format-list li {
  position: relative;
  padding-left: 30px;
  color: #4d5d67;
  font-size: 14px;
}

.format-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5f8ed;
  color: #45a56f;
  font-size: 11px;
  font-weight: 900;
}

.format-btn {
  width: 100%;
}

.individual-price {
  max-width: 1000px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 24px;
  background: var(--yellow-soft);
}

.individual-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: #fff;
  font-size: 25px;
}

.individual-price strong {
  font-family: "Nunito", sans-serif;
  font-size: 18px;
}

.individual-price p {
  margin: 4px 0 0;
  color: #756b4c;
  font-size: 13px;
  line-height: 1.55;
}


/* BENEFITS */

.benefits {
  background: #fff;
}

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

.benefit-card {
  padding: 30px;
  border-radius: 25px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: .3s;
}

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

.benefit-card > span {
  display: block;
  margin-bottom: 20px;
  font-size: 31px;
}


/* REVIEWS */

.reviews {
  overflow: hidden;
  background: #f4fbff;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 20px;
}

.review-image-card {
  overflow: hidden;
  padding: 8px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(32, 48, 60, .08);
  transition: .3s;
}

.review-image-card:hover {
  transform: translateY(-5px) rotate(-1deg);
}

.review-image-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 21px;
}


/* CTA */

.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: 50px;
  padding: 55px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.18), transparent 35%),
    var(--blue-dark);
  color: #fff;
}

.cta .section-label {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.cta h2 {
  max-width: 720px;
  margin-bottom: 15px;
}

.cta h2 span {
  color: var(--yellow);
}

.cta p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-actions .btn:first-child {
  background: var(--yellow);
  color: #4d4324;
  box-shadow: none;
}


/* CONTACTS */

.contacts {
  background: #fff;
}

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

.contacts-content h2 {
  margin-top: 20px;
}

.contact-items {
  display: grid;
  gap: 15px;
  margin: 35px 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border-radius: 19px;
  background: var(--bg);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--blue-soft);
  font-size: 20px;
}

.contact-item div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-item small {
  color: var(--muted);
}

.contact-item strong,
.contact-item a {
  font-size: 15px;
  font-weight: 700;
}

.contact-item a:hover {
  color: var(--blue-dark);
}

.contact-buttons {
  display: flex;
  gap: 10px;
}

.contact-visual {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: min(100%, 430px);
  padding: 55px 40px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(255,215,94,.35), transparent 35%),
    var(--blue-soft);
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-rainbow {
  font-size: 90px;
}

.contact-card h3 {
  margin: 20px 0 8px;
  font-family: "Nunito", sans-serif;
  font-size: 39px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card-line {
  width: 60px;
  height: 3px;
  margin: 25px auto;
  border-radius: 10px;
  background: var(--yellow);
}

.contact-card > span {
  font-weight: 800;
}


/* FOOTER */

.footer {
  padding: 30px 0;
  background: #172630;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: "Nunito", sans-serif;
  font-size: 20px;
}

.footer-brand span,
.footer p,
.footer a {
  color: rgba(255,255,255,.6);
  font-size: 12px;
}


/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .75s ease,
    transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* TABLET */

@media (max-width: 1000px) {
  .nav {
    display: none;
  }

  .hero-grid {
    gap: 40px;
  }

  .floating-card-two {
    right: -10px;
  }

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

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

  .contacts-grid {
    gap: 40px;
  }
}


/* MOBILE */

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

  .section {
    padding: 75px 0;
  }

  .header {
    padding: 10px 0;
  }

  .header-inner {
    gap: 10px;
  }

  .header-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px;
    border-radius: 12px;
  }

  .nav a:hover {
    background: var(--blue-soft);
  }

  .hero {
    min-height: auto;
    padding: 115px 0 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    width: min(88%, 460px);
    margin: 0 auto;
  }

  .floating-card-one {
    left: -15px;
    bottom: 30px;
  }

  .floating-card-two {
    top: 25px;
    right: -15px;
  }

  .about-grid,
  .format-grid,
  .benefits-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .format-card-featured {
    transform: none;
    margin-top: 12px;
  }

  .individual-price {
    grid-template-columns: auto 1fr;
  }

  .individual-price .btn {
    grid-column: 1 / -1;
  }

  .reviews-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 5px 2px 25px;
    scrollbar-width: none;
  }

  .reviews-track::-webkit-scrollbar {
    display: none;
  }

  .review-image-card {
    min-width: 82vw;
    scroll-snap-align: center;
  }

  .review-image-card img {
    height: 520px;
  }

  .cta {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 27px;
    border-radius: 30px;
    text-align: center;
  }

  .cta-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .contacts-content {
    text-align: center;
  }

  .contact-item {
    text-align: left;
  }

  .contact-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* SMALL MOBILE */

@media (max-width: 430px) {
  .logo-text span {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-points {
    flex-direction: column;
    align-items: center;
  }

  .floating-card {
    padding: 10px 12px;
  }

  .floating-card small {
    display: none;
  }

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

  .format-top h3 {
    font-size: 32px;
  }

  .individual-price {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .individual-icon {
    margin: auto;
  }

  .review-image-card {
    min-width: 88vw;
  }

  .review-image-card img {
    height: 470px;
  }
}

/* HERO POLISH */

.hero-grid {
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
}

.hero-card {
  padding: 12px;
  border-radius: 30px;
  transform: none;
  box-shadow: 0 20px 55px rgba(50, 105, 130, .11);
}

.hero-image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

.floating-card-one {
  display: none;
}

.floating-card-two {
  top: 34px;
  right: -18px;
}

@media (max-width: 760px) {
  .hero-grid {
    gap: 42px;
  }

  .floating-card-two {
    top: 18px;
    right: -8px;
  }
}

/* HERO FINAL SIZE + BOTH BADGES */

.hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.hero-visual {
  transform: scale(1.12);
  transform-origin: center;
}

.floating-card-one {
  display: flex !important;
  left: -18px;
  bottom: 28px;
}

.floating-card-two {
  display: flex !important;
  top: 28px;
  right: -12px;
}

@media (max-width: 760px) {
  .hero-visual {
    transform: none;
  }

  .floating-card-one {
    left: -5px;
    bottom: 18px;
  }

  .floating-card-two {
    right: -5px;
    top: 18px;
  }
}

/* Fix excessive gap between sections */
.formats,
#formats {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 60px !important;
    margin-bottom: 0 !important;
}

.benefits,
#benefits {
    margin-top: 0 !important;
    padding-top: 70px !important;
}


/* BENEFITS POLISH */

.benefits-grid {
  gap: 22px;
}

.benefit-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 34px;
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: 0 12px 35px rgba(40, 70, 90, .06);
}

.benefit-card:nth-child(2) {
  background: #eef9ff;
}

.benefit-card:nth-child(3) {
  background: #f1fbf4;
}

.benefit-card:nth-child(4) {
  background: #fff0f4;
}

.benefit-card:nth-child(5) {
  background: #f3f1ff;
}

.benefit-card:nth-child(6) {
  background: #fff7df;
}

.benefit-card > span {
  font-size: 40px;
  margin-bottom: 24px;
}

.benefit-card h3 {
  font-size: 23px;
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.75;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(40, 70, 90, .11);
}

@media (max-width: 760px) {
  .benefit-card {
    min-height: auto;
    padding: 28px;
  }
}

/* Rounded accent stripe */
.benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  bottom: 32px;
  width: 6px;
  border-radius: 0 10px 10px 0;
  background: #29a8d8;
}


/* UNIFIED BENEFIT CARDS */

.benefit-card,
.benefit-card:nth-child(2),
.benefit-card:nth-child(3),
.benefit-card:nth-child(4),
.benefit-card:nth-child(5),
.benefit-card:nth-child(6) {
  background: #f4fbff;
  border: 2px solid #a9def3;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(35, 169, 216, 0.07);
}

/* убираем предыдущую полоску */
.benefit-card::before {
  display: none !important;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: #29a8d8;
  box-shadow: 0 16px 38px rgba(35, 169, 216, 0.13);
}


/* BORDER AROUND BENEFIT CARDS */

.benefit-card {
  border: 2px solid rgba(41, 168, 216, 0.22);
  border-radius: 28px;
}

.benefit-card::before {
  display: none !important;
}

.benefit-card:hover {
  border-color: rgba(41, 168, 216, 0.55);
}


/* FINAL BENEFIT CARD COLORS */

.benefit-card:nth-child(1) {
  background: #fffaf0 !important;
  border-color: #f3cf72 !important;
}

.benefit-card:nth-child(2) {
  background: #eef9ff !important;
  border-color: #8fd4f2 !important;
}

.benefit-card:nth-child(3) {
  background: #f1fbf4 !important;
  border-color: #9eddb0 !important;
}

.benefit-card:nth-child(4) {
  background: #fff0f4 !important;
  border-color: #f2a9bd !important;
}

.benefit-card:nth-child(5) {
  background: #f3f1ff !important;
  border-color: #bdb3f2 !important;
}

.benefit-card:nth-child(6) {
  background: #fff7df !important;
  border-color: #f2cf75 !important;
}

.benefit-card {
  border-width: 2px !important;
  border-style: solid !important;
  border-radius: 28px;
}


/* WIDER BENEFIT CARDS */

#benefits .container {
  width: min(1280px, calc(100% - 40px));
}

.benefits-grid {
  gap: 18px;
}

@media (max-width: 760px) {
  #benefits .container {
    width: min(100% - 28px, 1180px);
  }
}


/* REVIEWS - 3 PER ROW */

.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1050px;
  margin: 0 auto;
}

.review-image-card {
  width: 100%;
}

.review-image-card img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top;
}

.review-image-card:nth-child(4) {
  grid-column: 2;
}

@media (max-width: 760px) {
  .reviews-track {
    display: flex;
    max-width: none;
    overflow-x: auto;
  }

  .review-image-card {
    min-width: 84vw;
  }

  .review-image-card:nth-child(4) {
    grid-column: auto;
  }
}


/* REVIEWS - 2x2 DESKTOP */

.reviews-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 850px;
  margin: 0 auto;
}

.review-image-card:nth-child(4) {
  grid-column: auto;
}

.review-image-card img {
  height: 590px;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 760px) {
  .reviews-track {
    display: flex;
    max-width: none;
    overflow-x: auto;
  }

  .review-image-card {
    min-width: 84vw;
  }

  .review-image-card img {
    height: 520px;
  }
}

/* CONTACTS POLISH */

.contacts {
  padding-top: 65px !important;
  padding-bottom: 75px !important;
}

.contacts-grid {
  gap: 55px;
}

.contact-card {
  padding: 45px 35px;
}

.contact-rainbow {
  font-size: 72px;
}

@media (max-width: 760px) {
  .contacts {
    padding-top: 55px !important;
  }
}

/* Instagram button */

.contact-buttons a[href*="instagram"] {
  background: #29a8d8;
  color: #fff;
  border-color: #29a8d8;
  box-shadow: 0 10px 28px rgba(41, 168, 216, .18);
}

.contact-buttons a[href*="instagram"]:hover {
  background: #218fba;
  border-color: #218fba;
}


/* MOBILE HERO FIX */

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-content {
    text-align: left !important;
  }

  .hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px auto 0 !important;
    transform: none !important;
  }

  .hero-card {
    width: 100% !important;
    padding: 9px !important;
    border-radius: 24px !important;
  }

  .hero-image {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 18px !important;
  }

  .floating-card-one {
    left: 8px !important;
    bottom: 18px !important;
  }

  .floating-card-two {
    right: 8px !important;
    top: 18px !important;
  }
}

/* MOBILE FORMATS POLISH */

@media (max-width: 760px) {
  #formats {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }

  .format-grid {
    gap: 16px !important;
  }

  .format-card-featured {
    margin-top: 0 !important;
  }

  .format-card {
    border-radius: 26px;
  }
}
