/* ============================================================
   STYLE.CSS
   Order: Fonts → Tokens → Reset → Responsive
   ============================================================ */


/* ============================================================
   FONTS — Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');


/* ============================================================
   TOKENS
   ============================================================ */
:root {

  /* Brand colors */
  --color-blue:         #2952A3;
  --color-yellow:       #F8C312;
  --color-green:        #4BAA48;

  /* Secondary colors */
  --color-blue-light:   #CDE2FB;
  --color-blue-vivid:   #0571EC;

  /* UI / surface colors */
  --color-base:         #FFFFFF;
  --color-light:        #F6F8FD;
  --color-grey:         #616161;
  --color-dark:         #1A1A1A;

  /* Semantic aliases */
  --color-bg:           var(--color-base);
  --color-bg-subtle:    var(--color-light);
  --color-text:         var(--color-dark);
  --color-text-muted:   var(--color-grey);
  --color-primary:      var(--color-blue);
  --color-accent:       var(--color-yellow);
  --color-success:      var(--color-green);
  --color-border:       #E0E0E0;

  /* Fonts */
  --font-sans:          'Poppins', sans-serif;
  --font-serif:         'Merriweather', serif;

  /* Font sizes */
  --text-8:    0.5rem;
  --text-10:   0.625rem;
  --text-12:   0.75rem;
  --text-13:   0.8125rem;
  --text-14:   0.875rem;
  --text-16:   1rem;
  --text-18:   1.125rem;
  --text-20:   1.25rem;
  --text-24:   1.5rem;
  --text-32:   2rem;
  --text-48:   3rem;
  --text-56:   3.5rem;
  --text-64:   4rem;
  --text-80:   5rem;
  --text-96:   6rem;

  /* Line heights */
  --leading-10:  0.625rem;
  --leading-12:  0.75rem;
  --leading-14:  0.875rem;
  --leading-20:  1.25rem;
  --leading-22:  1.375rem;
  --leading-24:  1.5rem;
  --leading-26:  1.625rem;
  --leading-32:  2rem;
  --leading-40:  2.5rem;
  --leading-48:  3rem;
  --leading-64:  4rem;
  --leading-72:  4.5rem;
  --leading-88:  5.5rem;
  --leading-96:  6rem;

  /* Spacing — 4px base scale */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Layout */
  --container-max:      1280px;
  --container-padding:  clamp(1rem, 5vw, 7.5rem);

  /* Border radius */
  --radius-sm:          4px;
  --radius-md:          8px;
  --radius-lg:          16px;
  --radius-xl:          24px;
  --radius-full:        9999px;

  /* Borders */
  --border:             1px solid var(--color-border);

  /* Shadows */
  --shadow-sm:          0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md:          0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:          0 8px 32px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast:    150ms ease;
  --transition-base:    250ms ease;
  --transition-slow:    400ms ease;
}


/* ============================================================
   RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Base: 320px and below — fixed 13.2px */
  font-size: 13.2px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}


/* ============================================================
   RESPONSIVE — Fluid font-size scaling
   ============================================================ */

/* 320px → 768px: 13.2px → 32px */
@media (min-width: 320px) {
  html {
    font-size: clamp(13.2px, -0.2286px + 4.1964vw, 32px);
  }
}

/* 768px → 1024px: 32px → 36px */
@media (min-width: 768px) {
  html {
    font-size: clamp(32px, 20px + 1.5625vw, 36px);
  }
}

/* 1024px → 1440px: vw only, lands on 16px at 1440px */
@media (min-width: 1024px) {
  html {
    font-size: 1.1111vw;
  }
}

/* 1440px and above: fixed 16px */
@media (min-width: 1440px) {
  html {
    font-size: 16px;
  }
}


/* ============================================================
   COMPONENTS — Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: var(--color-base);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--color-yellow) 14%,
    var(--color-green)  52%,
    var(--color-blue)   84%
  );
  opacity: 0.36;
  pointer-events: none;
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.25rem 5rem; /* 20px 80px */
  max-width: 1440px;
  margin: 0 auto;
}

.header__logo {
  width: 9.5625rem; /* 153px */
  height: auto;
  flex-shrink: 0;
  /*margin-right: 14.8125rem;*/ /* 237px */
  margin-right: 7.5rem;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 3rem; /* 48px */
}

.header__nav-link {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 400;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.header__nav-link:hover {
  color: #2B6029;
  text-decoration: underline;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.header__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger.open span:nth-child(2) {
  opacity: 0;
}
.header__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-base);
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.header__mobile-nav.open {
  display: flex;
}

.header__mobile-nav .header__nav-link {
  padding-block: 0.75rem;
  border-bottom: var(--border);
  width: 100%;
}

.header__mobile-nav .header__nav-link:last-child {
  border-bottom: none;
}


/* ============================================================
   COMPONENTS — Hero
   ============================================================ */
.hero {
  background-color: var(--color-base);
  padding-inline: 1rem; /* 16px */
}

.hero__inner {
  background-color: var(--color-light);
  padding-inline: 4rem; /* 64px */
}

.hero__content {
  display: flex;
  align-items: center;
  gap: 4rem; /* 64px */
  padding-top: 5rem;      /* 80px */
  padding-bottom: 3.25rem; /* 52px */
}

/* Left column */
.hero__left {
  flex: 1;
  min-width: 0;
}

/* Top label */
.hero__label {
  /*display: inline-flex;*/
  display: none;
  align-items: center;
  gap: 1rem; /* 16px */
  padding: 0.25rem 1.5rem 0.25rem 0.25rem; /* 4px 24px 4px 4px */
  background-color: var(--color-blue-light);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem; /* 24px */
}

.hero__label-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.hero__label-text {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: 400;
  line-height: var(--leading-26);
  color: var(--color-dark);
}

.hero__label-text strong {
  font-weight: 600;
}

/* Heading */
.hero__heading {
  font-family: var(--font-serif);
  font-size: var(--text-80);
  line-height: var(--leading-88);
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: -0.08em;
}

.translatepress-ru_RU .hero__heading,
.translatepress-uk .hero__heading {
  font-size: 4.5rem;
}

/* Subheading */
.hero__subheading {
  margin-top: 1.5rem; /* 24px */
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-grey);
}

/* Buttons */
.hero__buttons {
  display: flex;
  align-items: center;
  gap: 1rem; /* 16px */
  margin-top: 2.5rem; /* 56px */
}

/* Primary button */
.hero__btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem; /* 12px */
  padding: 0.75rem 1.5rem; /* 14px 24px */
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.hero__btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.hero__btn-primary:hover::before {
  transform: translateX(0);
}

.hero__btn-primary:hover .hero__btn-arrow {
  transform: rotate(45deg);
}

.hero__btn-arrow {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  position: relative; /* stays above ::before overlay */
  z-index: 1;
}

.hero__btn-primary span {
  position: relative;
  z-index: 1;
}

/* Secondary button */
.hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem; /* 14px 24px */
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-dark);
  background-color: transparent;
  border: 1px solid var(--color-blue-vivid);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-base), color var(--transition-base);
  text-decoration: none;
  cursor: pointer;
}

.hero__btn-secondary:hover {
  background-color: var(--color-blue-vivid);
  color: var(--color-base);
}

.hero__logos {
  margin-top: 3.5rem;
  /*display: flex;*/
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.hero__logos-title {
  font-size: var(--text-20);
  line-height: var(--leading-32);
  font-weight: 300;
  color: var(--color-dark);
}

.hero__logos-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero__logos-wrapper a {
  width: 9.5rem;
  border-radius: 0.5rem;
}

.hero__logos-wrapper a:hover {
  border: 1px solid var(--color-blue-vivid);
}

/* Right column */
.hero__right {
  flex-shrink: 0;
  width: 35rem; /* 560px */
}

.hero__image {
  width: 35rem;      /* 560px */
  height: 40.3125rem; /* 645px */
  object-fit: cover;
}


/* ============================================================
   RESPONSIVE — Header + Hero (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Header */
  .header__inner {
    padding: 1.25rem 1.5rem; /* 20px 24px */
    justify-content: space-between;
  }

  .header__logo {
    width: 6.9375rem; /* 111px */
    margin-right: 0;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-inline: 0.5rem; /* 8px */
  }

  .hero__inner {
    padding-inline: 0.75rem; /* 12px */
  }

  .hero__content {
    flex-direction: column;
    padding-top: 3.75rem;     /* 60px */
    padding-bottom: 2rem;     /* 32px */
    gap: 3.5rem;              /* 56px */
  }

  .hero__label {
    /*display: flex;*/
    display: none;
    width: 100%;
    padding: 0.25rem;
    justify-content: flex-start;
  }

  .hero__heading {
    font-size: var(--text-32);
    line-height: var(--leading-48);
    text-align: center;
    padding-inline: 0.5rem;
  }
	
  .translatepress-ru_RU .hero__heading,
  .translatepress-uk .hero__heading {
    font-size: var(--text-32);
  }

  .hero__subheading {
    text-align: justify;
    margin-top: 1.5rem;
    font-size: var(--text-16);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem; /* 24px */
  }

  .hero__btn-primary {
    padding: 0.75rem 1.25rem; /* 12px 20px */
    font-size: var(--text-14);
    line-height: var(--leading-20);
  }

  .hero__btn-arrow {
    width: 1rem;
    height: 1rem;
  }

  .hero__btn-secondary {
    padding: 0.75rem 1.25rem; /* 12px 20px */
    font-size: var(--text-14);
    line-height: var(--leading-20);
  }
	
  .hero__logos {
	 margin-top: 2rem;
  }

  .hero__logos-title {
	 font-size: var(--text-16);
	 line-height: var(--leading-26);
	 text-align: center;
  }

  .hero__logos-wrapper {
	 gap: 0.5rem;
	 flex-wrap: wrap;
   }
	
  .hero__logos-wrapper a {
	 width: 10.5rem;	
  }

  .hero__right {
    width: 100%;
  }

  .hero__image {
    width: 100%;
    height: auto;
  }
}

/* ============================================================
   SECTION — Who We Work With
   ============================================================ */
.clients {
  background-color: var(--color-base);
  padding-inline: 1em; /* 16px — same as hero outer */
}

.clients__inner {
  background-color: var(--color-light);
  padding-inline: 4rem; /* 64px — same as hero inner */
  padding-top: 1.25rem;   /* 20px */
  padding-bottom: 7rem;   /* 112px */
  border-radius: 0 0 1.6875rem 1.6875rem; /* 27px bottom only */
}

.clients__heading {
  font-family: var(--font-serif);
  font-size: var(--text-56);
  line-height: var(--leading-72);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-dark);
  text-align: center;
}

.clients__subheading {
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-grey);
  text-align: center;
  margin-top: 1.5rem; /* 24px */
}

/* Grid */
.clients__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;  /* 24px */
  row-gap: 2rem;       /* 32px */
  margin-top: 3.25rem; /* 52px */
}

/* Card */
.clients__card {
  position: relative;
  padding: 2rem 1.5rem; /* 32px 24px */
  border-radius: 1.25rem; /* 20px */
  background-color: var(--color-blue-light);
  transition: background var(--transition-base);
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.clients__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #5A99E1 0%, #73DB70 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.clients__card:hover::before,
.clients__card:active::before {
  opacity: 1;
}

.clients__card:hover .clients__card-heading,
.clients__card:hover .clients__card-text,
.clients__card:active .clients__card-heading,
.clients__card:active .clients__card-text {
  color: var(--color-base);
}

/* Icon wrapper */
.clients__card-icon-wrap {
  position: relative;
  z-index: 1;
  width: 5rem;   /* 80px */
  height: 5rem;  /* 80px */
  padding: 1.25rem; /* 20px */
  background-color: var(--color-base);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients__card-icon {
  width: 2.5rem;  /* 40px */
  height: 2.5rem; /* 40px */
}

/* Card body */
.clients__card-body {
  position: relative;
  z-index: 1;
  margin-top: 2rem; /* 32px */
}

.clients__card-heading {
  font-family: var(--font-serif);
  font-size: var(--text-32);
  line-height: var(--leading-40);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--color-dark);
  transition: color var(--transition-base);
}

.clients__card-text {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-grey);
  margin-top: 1rem; /* 16px */
  transition: color var(--transition-base);
}

/* ============================================================
   RESPONSIVE — Who We Work With (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .clients {
    padding-inline: 0.5rem; /* 8px */
  }

  .clients__inner {
    padding-inline: 0.75rem; /* 12px */
    padding-top: 3.5rem;     /* 56px */
    padding-bottom: 1.5rem;  /* 24px */
  }

  .clients__heading {
    font-size: var(--text-32);
    line-height: var(--leading-40);
  }

  .clients__subheading {
    font-size: var(--text-16);
    line-height: var(--leading-26);
    margin-top: 1rem; /* 16px */
    letter-spacing: -0.02em;
  }

  .clients__grid {
    grid-template-columns: 1fr;
    row-gap: 1rem;       /* 16px */
    margin-top: 2rem;    /* 32px */
  }

  .clients__card {
    padding: 1.25rem 1rem; /* 20px 16px */
  }

  .clients__card-icon-wrap {
    position: absolute;
    top: 1.25rem;  /* 20px */
    right: 1rem;   /* 16px */
    width: 3.625rem;  /* 58px */
    height: 3.625rem; /* 58px */
    padding: 0;
  }

  .clients__card-body {
    margin-top: 0;
  }

  .clients__card-heading {
    font-size: var(--text-24);
    line-height: var(--leading-40);
    padding-right: 4rem; /* 64px */
  }

  .clients__card-text {
    margin-top: 0.25rem; /* 4px */
  }
}

/* ============================================================
   SECTION — What You Get
   ============================================================ */
.wyg {
  background-color: var(--color-base);
  padding-inline: 5rem;  /* 80px */
  padding-block: 5.625rem; /* 90px */
}

.wyg__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem; /* 40px */
}

/* Left column */
.wyg__left {
  width: 40%;
  flex-shrink: 1;
  flex-grow: 1;
}

.wyg__heading {
  font-family: var(--font-serif);
  font-size: var(--text-56);
  line-height: var(--leading-72);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-dark);
  text-align: left;
}

.wyg__subheading {
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-grey);
  margin-top: 0.5rem; /* 8px */
}

/* Button */
.wyg__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-base);
  background-color: var(--color-green);
  border-radius: var(--radius-full);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
  margin-top: 1.875rem; /* 30px */
  margin-bottom: 1.5rem; /* 24px */
}

.wyg__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.wyg__btn:hover::before {
  transform: translateX(0);
}

.wyg__btn:hover .wyg__btn-arrow {
  transform: rotate(45deg);
}

.wyg__btn-arrow {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  position: relative;
  z-index: 1;
}

.wyg__btn span {
  position: relative;
  z-index: 1;
}

.wyg__btn--mobile {
  display: none;
}

.wyg__image {
  width: 100%;
  height: auto;
}

/* Right column */
.wyg__right {
  width: 57%;
  flex-shrink: 1;
  flex-grow: 1;
}

/* Grid */
.wyg__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 14rem 14rem 13.25rem; /* 224px 224px 212px */
  row-gap: 1.25rem;   /* 20px */
  column-gap: 1.5rem; /* 24px */
}

/* Card */
.wyg__card {
  background-color: rgba(25, 187, 20, 0.36);
  padding: 1.125rem 1.5rem; /* 18px 24px */
  border-radius: 0.625rem;  /* 10px */
  position: relative;
  overflow: hidden;
}

.wyg__card--wide {
  grid-column: 1 / -1;
}

.wyg__card-num {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-32);
  line-height: var(--leading-40);
  font-weight: 700;
  color: var(--color-green);
}

.wyg__card-text {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: 500;
  color: var(--color-dark);
  margin-top: 2.5rem; /* 40px */
}

/* Decorative bg images */
.wyg__card--bg-1 {
  background-image: url('../images/2-1.png');
  background-repeat: no-repeat;
  background-size: 2.0625rem auto; /* 33px width, auto height */
  background-position: right bottom;
}

.wyg__card--bg-2 {
  background-image: url('../images/2-2.png');
  background-repeat: no-repeat;
  background-size: 22.875rem auto; /* 366px width, auto height */
  background-position: left bottom;
}

.wyg__card--bg-3 {
  background-image: url('../images/2-3.png');
  background-repeat: no-repeat;
  background-size: 26.5rem auto; /* 424px width, auto height */
  background-position: calc(100% + 1rem) top; /* shift right beyond card edge */
}


/* ============================================================
   RESPONSIVE — What You Get (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .wyg {
    padding-inline: 1.25rem; /* 20px */
    padding-block: 1.5rem;   /* 24px */
  }

  .wyg__inner {
    flex-direction: column;
    gap: 1.5rem; /* 24px */
  }

  .wyg__left {
    width: 100%;
  }

  .wyg__heading {
    font-size: var(--text-32);
    line-height: var(--leading-40);
    text-align: center;
  }

  .wyg__subheading {
    font-size: var(--text-16);
    margin-top: 2rem; /* 32px */
    text-align: center;
  }

  .wyg__btn--desktop {
    display: none;
  }

  .wyg__image {
    display: none;
  }

  .wyg__right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .wyg__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 12rem); /* 192px each */
    row-gap: 1.5rem; /* 24px */
  }
	
  .translatepress-ru_RU .wyg__grid,
  .translatepress-uk .wyg__grid {
	grid-template-rows: repeat(5, auto); /* 192px each */	
  }

  .wyg__card {
    padding: 1.5rem; /* 24px */
  }

  .wyg__card--wide {
    grid-column: 1;
  }

  .wyg__card--bg-1,
  .wyg__card--bg-2,
  .wyg__card--bg-3 {
    background-image: none;
  }

  .wyg__btn--mobile {
    display: inline-flex;
    margin-top: 1.5rem; /* 24px */
    margin-bottom: 0;
  }
}

/* ============================================================
   SECTION — Brazil Is Both Promising And Hard
   ============================================================ */
.brazil {
  background-color: var(--color-base);
  padding-inline: 5rem;   /* 80px */
  padding-block: 3.125rem; /* 50px */
}

.brazil__heading {
  font-family: var(--font-serif);
  font-size: var(--text-56);
  line-height: var(--leading-72);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-dark);
  text-align: center;
}

/* Grid */
.brazil__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem; /* 20px */
  margin-top: 3.5rem; /* 56px */
}

/* Cards */
.brazil__card {
  border-radius: 1.25rem; /* 20px */
  background-color: rgba(248, 195, 18, 0.4);
  padding: 1.25rem; /* 20px */
  height: 16.5rem; /* 264px */
  transition: background-color var(--transition-base), border var(--transition-base);
  border: 2px solid transparent;
}

.brazil__card:hover {
  background-color: #ACE6AA;
  border-color: var(--color-blue-vivid);
}

.is-mobile {
  display: none;
}

.brazil__card--image {
  grid-column: 1 / -1;
  height: auto;
  padding: 0;
  background-color: transparent;
  border: none;
  overflow: hidden;
}

.brazil__card--image:hover {
  background-color: transparent;
  border-color: transparent;
}

.brazil__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem; /* 20px */
}

/* Card heading */
.brazil__card-heading {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
}

/* List */
.brazil__list {
  list-style: disc;
  padding-left: 1.25rem;
}

.brazil__list li {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: 400;
  color: var(--color-grey);
  text-align: left;
  margin-top: 1rem; /* 16px */
}

/* Button */
.brazil__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3rem; /* 48px */
}

.brazil__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.brazil__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.brazil__btn:hover::before {
  transform: translateX(0);
}

.brazil__btn:hover .brazil__btn-arrow {
  transform: rotate(45deg);
}

.brazil__btn-arrow {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  position: relative;
  z-index: 1;
}

.brazil__btn span {
  position: relative;
  z-index: 1;
}


/* ============================================================
   RESPONSIVE — Brazil (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .brazil {
    padding-inline: 0.625rem; /* 10px */
    padding-block: 1.5rem;    /* 24px */
  }

  .brazil__heading {
    font-size: var(--text-32);
    line-height: var(--leading-40);
  }
	
  .translatepress-ru_RU .brazil__heading,
  .translatepress-uk .brazil__heading {
	font-size: 1.75rem;	
  }

  .brazil__grid {
	grid-template-columns: 1fr;
    margin-top: 2rem;  /* 32px */
    gap: 0.625rem;     /* 10px */
  }

  .brazil__card {
    height: auto; /* 216px */
    padding: 0.625rem; /* 10px */
  }

  .brazil__card-heading {
    font-size: var(--text-20);
    line-height: var(--leading-32);
    padding-inline: 1rem;
  }

  .brazil__list li {
    font-size: var(--text-12);
    line-height: var(--leading-20);
    margin-top: 0.25rem; /* 8px */
  }

  .brazil__card--image {
    padding: 0;
    height: auto;
  }

  .is-mobile {
    display: block;
  }

  .is-desktop {
    display: none;
  }

  .brazil__btn-wrap {
    margin-top: 1.5rem; /* 24px */
  }
}

/* ============================================================
   SECTION — Our Services
   ============================================================ */
.services {
  background-color: var(--color-light);
  padding: 5rem; /* 80px */
}

.services__heading {
  font-family: var(--font-serif);
  font-size: var(--text-56);
  line-height: var(--leading-72);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-dark);
  text-align: center;
}

/* Grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;    /* 32px */
  row-gap: 2.25rem;    /* 36px */
  margin-top: 2.25rem; /* 36px */
}

/* Card */
.services__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0.5rem; /* 32px 8px */
  min-height: 17.75rem; /* 284px */
  cursor: pointer;
}

/* Icon wrapper */
.services__icon-wrap {
  width: 5rem;    /* 80px */
  height: 5rem;   /* 80px */
  border-radius: var(--radius-full);
  background-color: var(--color-yellow);
  padding: 1.25rem; /* 20px */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-base);
}

.services__card:hover .services__icon-wrap {
  background-color: var(--color-green);
}

.services__icon {
  width: 2.5rem;  /* 40px */
  height: 2.5rem; /* 40px */
}

/* Card text */
.services__card-heading {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: 500;
  color: var(--color-dark);
  text-align: center;
  margin-top: 2.5rem; /* 40px */
}

.services__card-text {
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-grey);
  text-align: center;
  margin-top: 1rem; /* 16px */
}

/* Button */
.services__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem; /* 36px */
}

.services__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-base);
  background-color: var(--color-green);
  border-radius: var(--radius-full);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.services__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.services__btn:hover::before {
  transform: translateX(0);
}

.services__btn span {
  position: relative;
  z-index: 1;
}


/* ============================================================
   RESPONSIVE — Our Services (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .services {
    padding: 1.5rem 1.875rem; /* 24px 30px */
  }

  .services__heading {
    font-size: var(--text-32);
    line-height: var(--leading-40);
  }

  .services__grid {
    grid-template-columns: 1fr;
    row-gap: 1rem;    /* 16px */
    margin-top: 2rem; /* 32px */
  }

  .services__card {
    padding: 1.5rem; /* 24px */
    min-height: unset;
    height: auto;
  }

  .services__card-heading {
    margin-top: 1.5rem; /* 24px */
  }

  .services__card-text {
    font-size: var(--text-16);
  }

  .services__btn-wrap {
    margin-top: 1.5rem; /* 24px */
  }
}

/* ============================================================
   SECTION — Team
   ============================================================ */
.team {
  background-color: var(--color-light);
  padding: 2.5rem 4rem; /* 40px 64px */
}

.team__heading {
  font-family: var(--font-serif);
  font-size: var(--text-56);
  line-height: var(--leading-72);
  font-weight: var(--font-weight-reg);
  letter-spacing: 0;
  color: var(--color-dark);
  text-align: center;
}

/* Slider wrap — holds arrows + slider */
.team__slider-wrap {
  display: flex;
  align-items: center;
  margin-top: 2.5rem; /* 40px */
  gap: 4rem;
  position: relative;
}

/* Arrows */
.team__arrow {
  flex-shrink: 0;
  width: 4rem;   /* 64px */
  height: 4rem;  /* 64px */
  border-radius: var(--radius-full);
  background-color: rgba(25, 187, 20, 0.36);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base);
  z-index: 2;
}

.team__arrow:hover {
  background-color: var(--color-green);
}

.team__arrow-icon {
  width: 1.5rem;  /* 24px */
  height: 1.5rem; /* 24px */
}

.team__arrow--prev .team__arrow-icon {
  transform: scaleX(-1);
}

/* Slider viewport */
.team__slider {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.team__track {
  display: flex;
  gap: 20px; /* 20px */
  transition: transform 400ms ease;
  will-change: transform;
}

/* Slide */
.team__slide {
  flex-shrink: 0;
  /*width: calc((100% - 2 * 1.25rem) / 3);*/ /* 3 visible, 2 gaps */
}

/* Card flip container */
.team__card {
  position: relative;
  width: 100%;
  aspect-ratio: 339 / 443;
  transform-style: preserve-3d;
  transition: transform 600ms ease;
  border-radius: 1.25rem; /* 20px */
  cursor: pointer;
}


.team__card:hover {
  transform: rotateY(180deg);
}

/* Front */
.team__card-front,
.team__card-back {
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.team__card-front {
  display: flex;
  flex-direction: column;
}

.team__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team__card-img.is-mobile {
  display: none;
}

.team__card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem; /* 24px */
  text-align: center;
}

.team__card-name {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: var(--font-weight-med);
  color: var(--color-base);
}

.team__card-role {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: var(--font-weight-light);
  color: #BDBDBD;
  margin-top: 0.25rem; /* 4px */
}

/* Back */
.team__card-back {
  background-color: var(--color-blue-vivid);
  border: 4px solid var(--color-blue);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
}

.team__card-back-content {
  padding: 1.5rem; /* 24px */
  width: 100%;
}

.team__card-back .team__card-name {
  font-size: var(--text-24);
  line-height: var(--leading-32);
}

.team__card-back .team__card-role {
  margin-top: 0.375rem; /* 6px */
  line-height: var(--leading-20);
}

.team__card-p {
  font-family: var(--font-sans);
  font-size: var(--text-14);
  line-height: var(--leading-20);
  font-weight: var(--font-weight-light);
  color: #BDBDBD;
  text-align: left;
}

.team__card-p--1 {
  margin-top: 1rem; /* 6px — gap after role */
}

.team__card-p--2 {
  margin-top: 1rem; /* 24px */
}


.team__card-socials {
  display: flex;
  align-items: center;
  gap: 1rem; /* 16px */
  margin-top: 1.5rem; /* 24px */
}

.team__card-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team__card-socials img {
  width: 1.5rem;  /* 24px */
  height: 1.5rem; /* 24px */
}

/* Button */
.team__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem; /* 40px */
}

.team__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: var(--font-weight-med);
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.team__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.team__btn:hover::before {
  transform: translateX(0);
}

.team__btn:hover .team__btn-arrow {
  transform: rotate(45deg);
}

.team__btn-arrow {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  position: relative;
  z-index: 1;
}

.team__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.team__btn span {
  position: relative;
  z-index: 1;
}


/* ============================================================
   RESPONSIVE — Team (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .team {
    padding: 1.5rem 0.5rem; /* 24px 8px */
  }

  .team__heading {
    font-size: var(--text-32);
    line-height: var(--leading-40);
  }

  .team__slider-wrap {
    flex-direction: column;
    margin-top: 1.5rem; /* 24px */
    gap: 0;
  }

  .team__slider {
    width: 100%;
  }

  .team__track {
    gap: 8px; /* 8px */
  }

  .team__slide {
    /*width: calc((100% - 1rem) / 2);*/ /* 2 visible, 1 gap */
  }

  .team__card {
    aspect-ratio: 186 / 222;
  }
	
  .team__card:hover {
    transform: none;
  }
	
  .team__card.is-flipped {
	transform: rotateY(180deg);
  }

  .team__card-img.is-mobile {
    display: block;
  }

  .team__card-img.is-desktop {
    display: none;
  }

  .team__arrows-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem; /* 16px */
    margin-top: 1.5rem; /* 24px */
  }

  .team__arrow--prev,
  .team__arrow--next {
    width: 2.5rem;  /* 40px */
    height: 2.5rem; /* 40px */
  }

  .team__arrow-icon {
    width: 1rem;  /* 16px */
    height: 1rem; /* 16px */
  }

  .team__card-name {
    font-size: var(--text-20);
    line-height: var(--leading-26);
  }

  .team__card-role {
    font-size: var(--text-16);
    line-height: var(--leading-26);
  }

  .team__card-info {
    padding: 2rem; /* 12px */
  }

  .team__card-back-content {
    padding: 0.75rem; /* 12px */
  }

  .team__card-back .team__card-name {
    font-size: var(--text-20);
    line-height: var(--leading-26);
  }

  .team__card-back .team__card-role {
    margin-top: 0.375rem; /* 6px */
    font-size: var(--text-18);
    line-height: var(--leading-26);
  }

  .team__card-p {
    font-size: var(--text-14);
    line-height: var(--leading-20);
  }

  .team__card-p--1 {
    margin-top: 1rem; /* 4px */
  }

  .team__card-p--2 {
    margin-top: 1rem; /* 16px */
  }

  .team__card-socials {
    margin-top: 2rem; /* 16px */
  }

  .team__btn-wrap {
    margin-top: 1.5rem; /* 24px */
  }
	
  .team__card-socials img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .team__slider {
    overflow: hidden;
    touch-action: pan-y;
  }

  .team__track {
    touch-action: pan-y;
  }
	
  .team__card-img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
  }
}

/* ============================================================
   SECTION — How We Work
   ============================================================ */
.how {
  background-color: var(--color-base);
  padding: 5rem; /* 80px */
}

.how__heading {
  font-family: var(--font-serif);
  font-size: var(--text-56);
  line-height: var(--leading-72);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-dark);
  text-align: center;
}

.how__subheading {
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-grey);
  text-align: center;
  max-width: 43.625rem; /* 698px */
  margin: 1.5rem auto 0; /* 24px, centered */
}

/* Slider wrap */
.how__slider-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem; /* 64px */
  gap: 0;
}

/* Arrows — hidden on desktop */
.how__arrow {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background-color: rgba(25, 187, 20, 0.36);
  border: none;
  cursor: pointer;
  display: none; /* hidden desktop */
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base);
  z-index: 2;
}

.how__arrow:hover {
  background-color: var(--color-green);
}

.how__arrow-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.how__arrow--prev .how__arrow-icon {
  transform: scaleX(-1);
}

/* Slider viewport */
.how__slider {
  overflow: visible; /* desktop: all cards visible */
}

/* Track — desktop: flex row centered */
.how__track {
  display: flex;
  gap: 1rem; /* 16px */
  justify-content: center;
  flex-wrap: nowrap;
}

/* Card */
.how__card {
  flex-shrink: 0;
  width: 13.75rem;  /* 220px */
  height: 10.25rem; /* 164px */
  border-radius: 1.25rem; /* 20px */
  padding: 2rem 1.5rem;   /* 32px 24px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Card backgrounds */
.how__card--1 {
  background-color: rgba(5, 113, 236, 0.4);
}

.how__card--2 {
  background: linear-gradient(90deg,
    rgba(5, 113, 236, 0.36) 0%,
    rgba(38, 187, 20, 0.36) 100%
  );
}

.how__card--3 {
  background-color: rgba(25, 187, 20, 0.36);
}

.how__card--4 {
  background: linear-gradient(90deg,
    rgba(38, 187, 20, 0.4) 0%,
    rgba(248, 195, 18, 0.4) 100%
  );
}

.how__card--5 {
  background-color: rgba(248, 195, 18, 0.4);
}

/* Card text */
.how__card-heading {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: 500;
  color: var(--color-dark);
  text-align: center;
}

.how__card-text {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-dark);
  text-align: center;
  margin-top: 1rem; /* 16px */
}

/* Button */
.how__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4rem; /* 64px */
}

.how__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.how__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.how__btn:hover::before {
  transform: translateX(0);
}

.how__btn span {
  position: relative;
  z-index: 1;
}


/* ============================================================
   RESPONSIVE — How We Work (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .how {
    padding: 1rem 1.5rem; /* 16px 24px */
  }

  .how__heading {
    font-size: var(--text-32);
    line-height: var(--leading-40);
  }

  .how__subheading {
    font-size: var(--text-16);
    margin-top: 1rem; /* 16px */
  }

  .how__slider-wrap {
    margin-top: 1.5rem; /* 24px */
    align-items: center;
  }

  .how__arrow {
    display: flex;
    width: 2.5rem;  /* 40px */
    height: 2.5rem; /* 40px */
  }

  .how__arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .how__arrow-icon {
    width: 1rem;  /* 16px */
    height: 1rem; /* 16px */
  }

  .how__slider {
    overflow: hidden;
    display: flex;
  }

  .how__track {
    justify-content: flex-start;
    transition: transform 400ms ease;
    will-change: transform;
    gap: 24px; /* 24px */
  }

  .how__card {
    width: 13.75rem; /* 220px — fixed, centered */
  }

  .how__card--1 {
    margin-left: 20px;
  }

  .how__btn-wrap {
    margin-top: 1.5rem; /* 24px */
  }
}

/* ============================================================
   SECTION — Why Trust Us
   ============================================================ */
.trust {
  background-color: var(--color-base);
  padding: 1.25rem 5.75rem; /* 20px 92px */
}

.trust__heading {
  font-family: var(--font-serif);
  font-size: var(--text-56);
  line-height: var(--leading-72);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-dark);
  text-align: center;
}

/* Grid */
.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2.5rem; /* 40px */
}

/* Card */
.trust__card {
  padding: 1.5rem; /* 24px */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust__card-img {
  width: 100%;
  height: auto;
  border-radius: 1.25rem; /* 20px */
  display: block;
}

.trust__card-text {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-40);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #212121;
  text-align: center;
  width: 75%;
  margin-top: 1rem;
}

.translatepress-ru_RU .trust__card-text,
.translatepress-uk .trust__card-text {
  width: 90%;
}


/* ============================================================
   RESPONSIVE — Why Trust Us (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .trust {
    padding: 1.5rem 0.625rem; /* 24px 10px */
  }

  .trust__heading {
    font-size: var(--text-32);
    line-height: var(--leading-40);
  }

  .trust__grid {
    margin-top: 3rem;        /* 48px */
    column-gap: 0.625rem;    /* 10px */
    row-gap: 1rem;           /* 16px */
  }

  .trust__card {
    padding: 0;
  }

  .trust__card-img {
    border-radius: 0.5rem; /* 8px */
    /*content: attr(src);*/ /* swap handled via srcset below */
  }

  .trust__card-text,
  .translatepress-ru_RU .trust__card-text,
  .translatepress-uk .trust__card-text {
    font-size: var(--text-13);
    line-height: var(--leading-24);
    width: 100%;
    margin-top: 0.5rem;
  }
	
}

/* ============================================================
   SECTION — FAQ
   ============================================================ */
.faq {
  background-color: var(--color-base);
  padding: 4rem 5rem 5rem; /* 64px 80px 80px */
}

.faq__heading {
  font-family: var(--font-serif);
  font-size: var(--text-56);
  line-height: var(--leading-72);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-dark);
  text-align: center;
}

.faq__subheading {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-grey);
  text-align: center;
  max-width: 37.5rem; /* 600px */
  margin: 1.5rem auto 0; /* 24px */
}

/* List */
.faq__list {
  margin-top: 2.25rem; /* 36px */
  padding-inline: 7.5rem; /* 120px */
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* 24px */
}

.faq__item--hidden {
  display: none;
}

/* Item */
.faq__item {
  background-color: var(--color-blue-light);
  border-radius: 0.625rem; /* 10px */
  position: relative;
}

.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2rem 5rem 2rem 2rem; /* 32px 80px 32px 32px */
  position: relative;
  display: block;
}

.faq__question-text {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-40);
  font-weight: 500;
  color: var(--color-dark);
  text-align: left;
}

.faq__arrow {
  position: absolute;
  top: 2rem;   /* 32px */
  right: 2rem; /* 32px */
  width: 2.5rem;  /* 40px */
  height: 2.5rem; /* 40px */
  transition: transform var(--transition-base);
  transform: rotate(180deg); /* closed = flipped (down) */
}

.faq__item.is-open .faq__arrow {
  transform: rotate(0deg); /* open = pointing up (default svg) */
}

/* Answer — collapsible */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
  overflow: hidden;
  padding-inline: 2rem; /* 32px, matches question left padding */
}

.faq__answer p {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-grey);
  text-align: left;
  min-height: 0;
  overflow: hidden;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
  padding-bottom: 2rem; /* 32px */
}

/* Button */
.faq__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem; /* 24px */
}

.faq__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.faq__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.faq__btn:hover::before {
  transform: translateX(0);
}

.faq__btn span {
  position: relative;
  z-index: 1;
}

.faq__btn-wrap--hidden {
  display: none;
}


/* ============================================================
   RESPONSIVE — FAQ (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .faq {
    padding: 1.5rem; /* 24px */
  }

  .faq__heading {
    font-size: var(--text-32);
    line-height: var(--leading-40);
    padding-inline: 2rem;
  }

  .faq__list {
    margin-top: 1.5rem; /* 24px */
    padding-inline: 0;
    gap: 1.5rem; /* 24px */
  }

  .faq__question {
    padding: 2rem 4rem 2rem 1.25rem; /* 32px 64px 32px 20px */
  }

  .faq__question-text {
    font-size: var(--text-24);
    line-height: var(--leading-32);
  }

  .faq__arrow {
    top: 2.5rem;  /* 60px */
    right: 1.25rem; /* 20px */
  }

  .faq__answer {
    padding-inline: 1.25rem; /* 20px */
  }

  .faq__item.is-open .faq__answer {
    padding-bottom: 2rem; /* 32px */
  }

  .faq__btn-wrap {
    margin-top: 1.5rem; /* 24px */
  }
}

/* ============================================================
   SECTION — CTA
   ============================================================ */
.cta {
  background-image: url('../images/cta-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 9rem 5rem; /* 144px 80px */
}

.cta__block {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 1.875rem; /* 30px */
  padding: 1.5rem 6rem 2rem; /* 24px 100px 32px */
}

.translatepress-ru_RU .cta__block,
.translatepress-uk .cta__block {
  padding: 1.5rem 12rem 2rem;
}


.cta__heading {
  font-family: var(--font-serif);
  font-size: var(--text-56);
  line-height: var(--leading-72);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-dark);
  text-align: center;
}

.cta__subheading {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: 300;
  color: var(--color-dark);
  text-align: center;
  margin-top: 1.5rem; /* 24px */
}

/* Button */
.cta__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem; /* 36px */
}

.cta__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.cta__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.cta__btn:hover::before {
  transform: translateX(0);
}

.cta__btn span {
  position: relative;
  z-index: 1;
}


/* ============================================================
   RESPONSIVE — CTA (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .cta {
    background-image: url('../images/cta-bg-mob.webp');
    padding: 5.125rem 1.5rem; /* 82px 24px */
  }

  .cta__block {
    padding: 3.5rem 3rem; /* 56px */
  }
	
  .translatepress-ru_RU .cta__block,
  .translatepress-uk .cta__block {
    padding: 3.5rem 1.5rem; /* 56px */
  }

  .cta__heading {
    font-size: var(--text-32);
    line-height: var(--leading-40);
  }

  .cta__subheading {
    font-size: var(--text-14);
    line-height: var(--leading-24);
    margin-top: 0.75rem; /* 12px */
  }

  .cta__btn-wrap {
    margin-top: 1.5rem; /* 24px */
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-image: url('../images/footer.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 2.25rem 5rem 1.25rem; /* 36px 80px 20px */
}

/* Row 1 */
.footer__logo {
  width: 9.5625rem; /* 153px */
  height: auto;
}

.footer__logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Row 2 */
.footer__columns {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;    /* 48px */
  margin-bottom: 1.5rem; /* 24px */
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-32);
  font-weight: 500;
  color: var(--color-dark);
  text-align: left;
  margin-bottom: 1rem; /* 16px */
}

.footer__text {
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-dark);
  text-align: left;
}

/* Subscribe column */
.footer__col--subscribe {
  width: 23.75rem; /* 380px */
}

.footer__socials {
  display: flex;
  gap: 1rem; /* 16px */
  margin-top: 1.5rem; /* 24px */
}

.footer__social-icon {
  width: 2.5rem;  /* 40px */
  height: 2.5rem; /* 40px */
  border-radius: var(--radius-full);
  background-color: var(--color-blue-vivid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base);
}

.footer__social-icon:hover {
  background-color: var(--color-green);
}

.footer__social-icon img {
  width: 1.5rem;  /* 24px */
  height: 1.5rem; /* 24px */
}

/* Menu + Contact row */
.footer__menu-contact-row {
  display: flex;
  gap: 4rem; /* 56px */
}

/* Menu column */
.footer__col--menu {
  width: auto;
}

.footer__menu-cols {
  display: flex;
  gap: 4rem; /* 106px */
}

.footer__menu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* 16px */
}

.footer__menu-list a {
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__menu-list a:hover,
.footer__contact-list a:hover {
  text-decoration: underline;
}

/* Contact column */
.footer__col--contact {
  width: 22rem;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* 16px */
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem; /* 16px */
}

.footer__contact-icon {
  width: 1.5rem;  /* 24px */
  height: 1.5rem; /* 24px */
  flex-shrink: 0;
}

.footer__contact-list span {
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-26);
  font-weight: 300;
  color: var(--color-dark);
  text-align: left;
}

/* Row 3 */
.footer__bottom {
  width: 100%;
  padding-block: 0.5rem; /* 8px */
  border-top: 1px solid var(--color-blue-vivid);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__privacy {
  font-family: var(--font-sans);
  font-size: var(--text-14);
  line-height: var(--leading-22);
  font-weight: 300;
  color: var(--color-dark);
  text-decoration: none;
}

.footer__privacy:hover {
  text-decoration: underline;
}

.footer__copyright {
  font-family: var(--font-sans);
  font-size: var(--text-14);
  line-height: var(--leading-22);
  font-weight: 300;
  color: var(--color-dark);
}


/* ============================================================
   RESPONSIVE — Footer (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .footer {
    background-image: url('../images/footer-mob.webp');
    padding: 2.25rem 1.5rem 1.5rem 1.5rem; /* 24px 36px 24px 24px */
  }

  .footer__logo {
    width: 9.5625rem; /* 153px — stays same on mobile per spec */
  }

  .footer__columns {
    flex-direction: column;
    margin-top: 2.25rem;    /* 36px */
    margin-bottom: 2.25rem; /* 36px */
  }

  .footer__heading {
    margin-bottom: 0.5rem; /* 8px */
  }

  /* Subscribe column */
  .footer__col--subscribe {
    width: 100%;
    margin-right: 0;
    margin-bottom: 2.25rem; /* 36px gap to row below */
  }

  .footer__text {
    font-size: var(--text-18);
  }

  .footer__socials {
    margin-top: 1rem; /* 16px */
  }

  /* Menu + Contact row */
  .footer__menu-contact-row {
    display: flex;
	  flex-direction: column;
    justify-content: flex-start;
    gap: 1rem; /* 56px */
  }

  .footer__col--menu,
  .footer__col--contact {
    width: 80%;
  }

  .footer__menu-cols {
    flex-direction: column;
    gap: 0; /* looks like one list */
  }

  .footer__menu-list {
    gap: 0.25rem; /* 4px */
  }

  .footer__menu-list a {
    font-size: var(--text-14);
    line-height: var(--leading-26);
    font-weight: 400;
    color: var(--color-grey);
  }

  .footer__contact-list {
    gap: 0.25rem; /* 4px */
  }

  .footer__contact-icon {
    display: none;
  }

  .footer__contact-list span {
    font-size: var(--text-14);
    line-height: var(--leading-26);
    font-weight: 400;
    color: var(--color-grey);
  }

  /* Row 3 */
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem; /* 16px */
    padding-top: 1.5rem; /* 24px */
    padding-bottom: 0;
    border-top: 1px solid var(--color-blue-vivid);
  }

  .footer__privacy,
  .footer__copyright {
    text-align: left;
  }
}

/* ============================================================
   POPUP — Contact Form
   Targets Contact Form 7's standard rendered classes:
   .wpcf7-form, .wpcf7-form-control, .wpcf7-not-valid-tip, etc.
   ============================================================ */

/* Overlay + container */
.popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.popup.is-open {
  display: flex;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.5);
  cursor: pointer;
}

/* Box */
.popup__box {
  position: relative;
  width: 50.625rem;       /* 810px */
  min-height: 34.375rem;  /* 550px */
  background-color: var(--color-blue-light);
  border-radius: 1.25rem; /* 20px */
  padding: 4rem 9rem 2rem; /* 64px 120px */
  display: flex;
  align-items: center;
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
}

.popup__content {
  width: 100%;
}

/* Close button */
.popup__close {
  position: absolute;
  top: 1rem;    /* 16px */
  right: 1.125rem; /* 18px */
  width: 2.75rem;  /* 44px */
  height: 2.75rem; /* 44px */
  border-radius: var(--radius-full);
  border: 1px solid #6CA4E4;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.popup__close:hover {
  background-color: rgba(108, 164, 228, 0.15);
}

.popup__close-icon {
  width: 1.25rem;  /* 20px */
  height: 1.25rem; /* 20px */
}

/* Heading */
.popup__heading {
  font-family: var(--font-serif);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: 400;
  color: var(--color-dark);
  text-align: center;
}

/* ============================================================
   FORM — CF7 standard classes
   ============================================================ */
.popup-form__shortcode-wrap {
  margin-top: 2rem; /* 32px */
}

.wpcf7-form {
  width: 100%;
}

.popup-form__row {
  margin-bottom: 1rem; /* 16px gap between inputs */
}

.popup-form__row:last-of-type {
  margin-bottom: 0;
}

/* Text + email inputs */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email {
  width: 17rem; /* 272px */
  height: auto;
  border-radius: 0.5rem; /* 8px */
  padding: 0.75rem 1rem; /* 12px 16px */
  background-color: var(--color-base);
  border: 1px solid #A2C7F1;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: 1;
  color: var(--color-dark);
  display: block;
  margin: 0 auto;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.wpcf7-form-control.wpcf7-text::placeholder,
.wpcf7-form-control.wpcf7-email::placeholder {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: 1rem; /* 16px */
  font-weight: 400;
  color: #B3B3B3;
  text-align: left;
}

.wpcf7-form-control.wpcf7-text:hover,
.wpcf7-form-control.wpcf7-email:hover {
  border-color: var(--color-blue-vivid);
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus {
  outline: none;
  border-color: var(--color-blue-vivid);
  box-shadow: 0 0 0 3px rgba(5, 113, 236, 0.15);
}

/* CF7 validation error state */
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #E53935;
}

.wpcf7-not-valid-tip {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-12);
  line-height: var(--leading-14);
  color: #E53935;
  text-align: center;
  margin-top: 0.375rem; /* 6px */
}

/* Acceptance checkbox row */
.popup-form__checkbox-row {
  margin-top: 1.5rem; /* 24px */
}

.wpcf7-acceptance {
  display: flex;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item > label {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* 12px */
}

.wpcf7-list-item-label {
  cursor: pointer;
}

/* Hide native checkbox, build custom box */
.wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;  /* 20px */
  height: 1.25rem; /* 20px */
  background-color: var(--color-base);
  border: 1px solid var(--color-base);
  border-radius: 0.25rem; /* 4px */
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}

.wpcf7-acceptance input[type="checkbox"]::after {
  content: '';
  position: absolute;
  left: 55%;
  top: 0.25rem; /* 2px from top */
  transform: translateX(-50%);
  width: 1rem; /* 12px */
  height: 0.75rem;
  background-image: url('../icons/check.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
}

.wpcf7-acceptance input[type="checkbox"]:checked::after {
  opacity: 1;
}

.wpcf7-list-item-label .acceptance-text,
.wpcf7-acceptance .wpcf7-list-item-label {
  font-family: var(--font-sans);
  font-size: 0.75rem; /* 12px */
  line-height: var(--leading-14);
  font-weight: 400;
  color: #1A1A1A;
  text-align: left;
}

.wpcf7-acceptance a {
  color: #1A1A1A;
  text-decoration: underline;
}

/* CF7 wraps acceptance error differently — keep consistent */
.wpcf7-acceptance + .wpcf7-not-valid-tip {
  text-align: left;
  margin-top: 0.5rem;
}

/* Submit button */
.popup-form__submit-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem; /* 32px */
}

.popup-form__submit-row > p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wpcf7-form-control.wpcf7-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  border: none;
  overflow: hidden;
  cursor: pointer;
}

.wpcf7-form-control.wpcf7-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.wpcf7-form-control.wpcf7-submit:hover::before {
  transform: translateX(0);
}

/* CF7 response output (success/spam/error messages) */
.wpcf7-response-output {
  font-family: var(--font-sans);
  font-size: var(--text-14);
  text-align: center;
  margin-top: 1rem;
  border-radius: 0.5rem;
}


/* ============================================================
   RESPONSIVE — Popup (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .popup__box {
    width: 21rem;          /* 336px */
    min-height: 32.5rem;   /* 520px */
    padding: 6.375rem 1rem 3rem; /* 102px 16px 48px */
  }

  .popup__heading {
    font-size: var(--text-16);
    line-height: var(--leading-20);
    background-color: var(--color-base);
    width: 100%;
    height: auto;
    padding: 0.75rem 1.5rem; /* 12px 24px */
    border-radius: 0.5rem;   /* 8px */
  }

  .popup-form__shortcode-wrap {
    margin-top: 1.75rem; /* 28px */
  }

  .popup-form__row {
    margin-bottom: 0.625rem; /* 10px */
  }

  .wpcf7-form-control.wpcf7-text,
  .wpcf7-form-control.wpcf7-email {
    width: 100%;
  }

  .popup-form__checkbox-row {
    margin-top: 1.5rem; /* 24px */
  }

  .wpcf7-list-item-label {
    align-items: flex-start;
  }

  .popup-form__submit-row {
    margin-top: 1.75rem; /* 28px */
  }

  .popup__close {
    top: 1rem;     /* 16px */
    right: 1.25rem; /* 20px */
    width: 2.375rem;  /* 38px */
    height: 2.375rem; /* 38px */
  }

  .popup__close-icon {
    width: 1.125rem;  /* 18px */
    height: 1.125rem; /* 18px */
  }
}

/* ============================================================
   SECTION — 404
   ============================================================ */
.error-404 {
  background-image: url('../images/page-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 7.5rem 5rem; /* 120px 80px */
}

.error404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error404__heading {
  font-family: var(--font-serif);
  font-size: var(--text-96);
  line-height: var(--leading-96);
  font-weight: 400;
  color: var(--color-dark);
  text-align: center;
  letter-spacing: -0.08em;
}

.error404__subheading {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: 300;
  color: var(--color-grey);
  text-align: center;
  width: 52.5rem; /* 840px */
  margin-top: 1.5rem; /* 24px */
}

.error404__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
  margin-top: 2.5rem; /* 40px */
}

.error404__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.error404__btn:hover::before {
  transform: translateX(0);
}

.error404__btn span {
  position: relative;
  z-index: 1;
}


/* ============================================================
   RESPONSIVE — 404 (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .error-404 {
    background-image: url('../images/page-bg-mob.webp');
    padding: 7.5rem 2.5rem; /* 120px 40px */
  }

  .error404__heading {
    font-size: var(--text-64);
    line-height: var(--leading-72);
  }

  .error404__subheading {
    font-size: var(--text-20);
    line-height: var(--leading-32);
    width: 100%;
  }

  .error404__btn {
    margin-top: 2.5rem; /* 40px */
  }
}

/* ============================================================
   SECTION — Privacy Policy
   ============================================================ */
.policy {
  background-color: #EFF8FF;
  padding: 7.5rem 11.25rem; /* 120px 180px */
}
 
.policy__heading {
  font-family: var(--font-serif);
  font-size: var(--text-96);
  line-height: var(--leading-96);
  font-weight: 400;
  color: var(--color-dark);
  text-align: center;
}
 
.policy__content {
  margin-top: 6rem; /* 96px */
}
 
.policy__subheading {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-26);
  font-weight: 500;
  color: var(--color-dark);
  text-align: left;
  margin-bottom: 1.125rem; /* 18px */
}
 
.policy__h2 {
  font-family: var(--font-sans);
  font-size: var(--text-24);
  line-height: var(--leading-26);
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
}
 
.policy__h3 {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 400;
  color: var(--color-dark);
  text-align: left;
  margin-top: 1rem; /* 16px */
}
 
.policy__p {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: 400;
  color: var(--color-dark);
  text-align: left;
  margin-top: 0.75rem; /* 12px */
}
 
.policy__link {
  color: var(--color-blue-vivid);
  text-decoration: underline;
}
 
.policy__divider {
  border: none;
  border-top: 1px solid var(--color-dark);
  width: 100%;
  margin: 1.5rem 0; /* 24px top and bottom */
}
 
 
/* ============================================================
   RESPONSIVE — Privacy Policy (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
 
  .policy {
    padding: 5rem 2.5rem; /* 80px 40px */
  }
 
  .policy__heading {
    font-size: var(--text-48);
    line-height: var(--leading-64);
  }
 
  .policy__content {
    margin-top: 2.5rem; /* 40px */
  }
 
  .policy__subheading {
    font-size: var(--text-16);
    line-height: var(--leading-20);
    margin-bottom: 2.5rem; /* 40px */
  }
 
  .policy__h2 {
    font-size: var(--text-14);
    line-height: var(--leading-26);
  }
 
  .policy__h3,
  .policy__p {
    font-size: var(--text-14);
    line-height: var(--leading-26);
  }
}

/* ============================================================
   QUIZ POPUP
   ============================================================ */
.quiz {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.quiz.is-open {
  display: flex;
}

.quiz__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.5);
  cursor: pointer;
}

/* Box */
.quiz__box {
  position: relative;
  width: 50.625rem;  /* 810px */
  height: 34.375rem; /* 550px */
  background-color: var(--color-blue-light);
  border-radius: 1.25rem; /* 20px */
  padding: 1.5rem 1.25rem 4rem; /* 24px 20px 64px */
  display: flex;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
}

/* Close */
.quiz__close {
  position: absolute;
  top: 1rem;
  right: 1.125rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid #6CA4E4;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
  z-index: 2;
}

.quiz__close:hover {
  background-color: rgba(108, 164, 228, 0.15);
}

.quiz__close-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Progress bar */
.quiz__progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem; /* 8px */
}

.quiz__progress-bar {
  width: 9.375rem; /* 150px */
  height: 0.75rem; /* 12px */
  border-radius: 0.625rem; /* 10px */
  background-color: var(--color-base);
  transition: background-color var(--transition-base);
}

.quiz__progress-bar.is-active {
  background-color: #0571EC;
}

/* Steps */
.quiz__steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.quiz__step {
  display: none;
  flex-direction: column;
  flex: 1;
}

.quiz__step.is-active {
  display: flex;
}

/* Intro + question */
.quiz__intro {
  font-family: var(--font-serif);
  font-size: var(--text-24);
  line-height: 1.875rem; /* 30px */
  font-weight: var(--font-weight-reg);
  color: var(--color-dark);
  max-width: 39rem; /* 624px */
  margin-top: 1.5rem; /* 24px */
  text-align: center;
  align-self: center;
}

.quiz__question {
  font-family: var(--font-sans);
  font-size: var(--text-32);
  line-height: var(--leading-32);
  font-weight: var(--font-weight-semi);
  color: var(--color-dark);
  margin-top: 1.5rem; /* 24px */
  text-align: center;
  letter-spacing: -0.04rem;
}

/* Answers block */
.quiz__answers-block {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem; /* 24px */
  flex: 1;
  min-height: 0;
}

.quiz__left {
  width: 26.25rem; /* 420px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 13.5rem;
}

.quiz__right {
  width: 20rem; /* 320px */
  height: 13.5rem;
}

.quiz__img {
  width: 100%;
  height: 100%;
}

.quiz__img--desktop {
  display: block;
}

.quiz__img--mobile {
  display: none;
}

/* Answer item */
.quiz__answer {
  display: flex;
  align-items: center;
  gap: 0.625rem; /* 10px */
  width: 100%;
  height: 2.75rem; /* 44px */
  padding: 0 0.5rem 0 0.75rem; /* 0 8px 0 12px */
  background-color: var(--color-base);
  border-radius: 0.5rem; /* 8px */
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.quiz__radio {
  display: none;
}

.quiz__circle {
  width: 1.125rem;  /* 18px */
  height: 1.125rem; /* 18px */
  border-radius: var(--radius-full);
  background-color: var(--color-base);
  border: 2px solid #0571EC;
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.quiz__answer-text {
  font-family: var(--font-sans);
  font-size: var(--text-20);
  line-height: var(--leading-24);
  font-weight: var(--font-weight-light);
  color: var(--color-dark);
  transition: color var(--transition-fast);
}

/* Active answer */
.quiz__answer.is-selected {
  background-color: #6CA4E4;
}

.quiz__answer.is-selected .quiz__circle {
  background-color: #0571EC;
}

.quiz__answer.is-selected .quiz__answer-text {
  color: var(--color-base);
}

/* Bottom row */
.quiz__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1.25rem; /* 16px 20px */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz__bottom-col {
  flex: 1;
  display: flex;
}

.quiz__bottom-col--back {
  justify-content: flex-start;
}

.quiz__bottom-col--skip {
  justify-content: center;
}

.quiz__bottom-col--next {
  justify-content: flex-end;
}

/* Back button */
.quiz__btn-back {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: var(--font-weight-med);
  color: #6CA4E4;
  background-color: transparent;
  border: 1px solid #6CA4E4;
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  transition: opacity var(--transition-fast);
}

/* Next button */
.quiz__btn-next {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: var(--font-weight-med);
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  overflow: hidden;
}

.quiz__btn-next::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.quiz__btn-next:hover::before {
  transform: translateX(0);
}

.quiz__btn-next span {
  position: relative;
  z-index: 1;
}

/* Skip link */
.quiz__btn-skip {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  line-height: var(--leading-16);
  font-weight: var(--font-weight-med);
  color: #6CA4E4;
  text-decoration: underline;
}

/* Step states — back hidden on step 1, next/skip hidden on last step */
.quiz__btn-back.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.quiz__btn-next.is-hidden,
.quiz__btn-skip.is-hidden {
  opacity: 0;
  pointer-events: none;
}


/* ============================================================
   RESPONSIVE — Quiz (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .quiz__box {
    width: 21rem;   /* 336px */
    height: 40.625rem; /* 650px */
    padding: 3.5rem 1rem 1rem; /* 64px 16px 16px */
  }
	
  .quiz__step {
	flex: 0;
  }

  .quiz__close {
    top: 1rem;
    right: 1.25rem;
    width: 2rem;
    height: 2rem;
  }

  .quiz__close-icon {
    width: 1rem;
    height: 1rem;
  }

  .quiz__progress {
    gap: 0.25rem; /* 4px */
  }

  .quiz__progress-bar {
    width: 4.5rem;  /* 72px */
    height: 0.375rem; /* 6px */
  }

  .quiz__intro {
    font-size: var(--text-16);
    line-height: var(--leading-20);
    margin-top: 1rem;
    max-width: 100%;
    text-align: center;
  }

  .quiz__question {
    font-size: 1.375rem; /* 22px */
    line-height: var(--leading-32);
    margin-top: 0.5rem; /* 8px */
    background-color: var(--color-base);
    border-radius: 0.5rem;
    padding: 0.375rem 0; /* 6px 0 */
    width: 100%;
    text-align: center;
  }

  .quiz__answers-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem; /* 20px */
    margin-top: 1rem; /* 20px */
  }

  .quiz__left {
    width: 100%;
    gap: 0.625rem; /* 10px */
    justify-content: flex-start;
	height: auto;
  }

  .quiz__answer {
    height: auto;
    min-height: 2.25rem; /* 36px */
    padding: 0.25rem 3rem 0.25rem 1rem; /* 4px 48px 4px 16px */
  }
	
  .quiz__answer-text {
    font-size: var(--text-16);
	line-height: var(--leading-20);
  }

  .quiz__right {
    width: 100%;
	height: auto;
  }

  .quiz__img--desktop {
    display: none;
  }

  .quiz__img--mobile {
    display: block;
    width: 100%;
    height: auto;
    object-fit: unset;
  }

  .quiz__bottom {
    padding: 0.75rem 1rem;
  }
	
  .quiz__btn-next, .quiz__btn-back {
	padding: 0.625rem 1.5rem; 	
  }
}

/* Step without intro — adjusted spacing */
.quiz__question--no-intro {
  margin-top: 4.5rem; /* 60px */
}

.quiz__answers-block--no-intro {
  margin-top: 3.5rem; /* 48px */
}

@media (max-width: 1024px) {
  .quiz__question--no-intro {
    margin-top: 3rem; /* 32px */
  }

  .quiz__answers-block--no-intro {
    margin-top: 2rem; /* 24px */
  }
}

/* ============================================================
   QUIZ — Step 5 Form
   ============================================================ */
.quiz__form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}

.quiz__form-heading {
  font-family: var(--font-serif);
  font-size: var(--text-24);
  line-height: var(--leading-32);
  font-weight: var(--font-weight-reg);
  color: var(--color-dark);
  text-align: center;
  max-width: 90%; 
}

.quiz__form {
  width: 100%;
  margin-top: 2rem; /* 32px */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz__form-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem; /* 16px */
}

.quiz__form-row:last-of-type {
  margin-bottom: 0;
}

.quiz__input {
  width: 17rem; /* 272px */
  height: auto;
  padding: 0.75rem 1rem; /* 12px 16px */
  background-color: var(--color-base);
  border: 1px solid #A2C7F1;
  border-radius: 0.5rem; /* 8px */
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: 1;
  color: var(--color-dark);
  display: block;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.quiz__input::placeholder {
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: 1;
  font-weight: var(--font-weight-reg);
  color: #B3B3B3;
}

.quiz__input:hover {
  border-color: var(--color-blue-vivid);
}

.quiz__input:focus {
  outline: none;
  border-color: var(--color-blue-vivid);
  box-shadow: 0 0 0 3px rgba(5, 113, 236, 0.15);
}

.quiz__input.is-invalid {
  border-color: #E53935;
}

/* Errors */
.quiz__error {
  display: none;
  font-family: var(--font-sans);
  font-size: var(--text-12);
  line-height: var(--leading-14);
  color: #E53935;
  text-align: center;
  margin-top: 0.375rem;
}

.quiz__error.is-visible {
  display: block;
}

/* Checkbox */
.quiz__form-checkbox {
  width: 80%; /* 272px — match input width */
  display: flex;
  flex-direction: column;
}

.quiz__checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* 12px */
  cursor: pointer;
}

.quiz__checkbox {
  display: none;
}

.quiz__checkbox-box {
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--color-base);
  border: 1px solid var(--color-base);
  border-radius: 0.25rem;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.125rem; /* 2px from top */
}

.quiz__check-icon {
  width: 1rem; /* 12px */
  height: 0.75rem;
  margin-top: 0.125rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.quiz__checkbox:checked + .quiz__checkbox-box .quiz__check-icon {
  opacity: 1;
}

.quiz__checkbox-text {
  font-family: var(--font-sans);
  font-size: 0.8125rem; /* 13px */
  line-height: var(--leading-14);
  font-weight: var(--font-weight-reg);
  color: var(--color-dark);
}

.quiz__checkbox-link {
  color: var(--color-dark);
  text-decoration: underline;
}

/* Submit button */
.quiz__form-submit {
  margin-top: 2rem; /* 32px */
}

.quiz__submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--leading-26);
  font-weight: var(--font-weight-med);
  color: var(--color-base);
  background-color: var(--color-blue-vivid);
  border-radius: var(--radius-full);
  border: none;
  overflow: hidden;
  cursor: pointer;
}

.quiz__submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.quiz__submit-btn:hover::before {
  transform: translateX(0);
}

.quiz__submit-btn span {
  position: relative;
  z-index: 1;
}


/* ============================================================
   RESPONSIVE — Quiz Step 5 (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .quiz__form-heading {
    font-size: var(--text-16);
    line-height: var(--leading-20);
    background-color: var(--color-base);
    border-radius: 0.5rem;
    padding: 0.75rem;
    width: 100%;
    max-width: 100%;
	margin-top: 2rem;
  }
	
  .quiz__input {
    width: 100%;
  }

  .quiz__form-checkbox {
    width: 100%;
  }

  .quiz__checkbox-label {
    align-items: flex-start;
  }
	
  .quiz__checkbox-text {
	font-size: var(--text-12);	
  }
}

.trp-floating-switcher {
	right: 5rem !important;
}