/*
Theme Name: Engli
Theme URI: https://engli.info
Author: Engli Team
Description: Кастомна тема для школи англійської Engli. Світлий м'ятний фон з текстурою паперу, шрифт Inter, фірмові кнопки та стиль з макетів.
Version: 1.0
License: GPL-2.0-or-later
Text Domain: engli
*/

/* === БАЗОВІ СТИЛІ + ФОН === */
:root {
  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --color-bg: #b2e3c7;
  --color-accent: #2EAA6E;
  --color-accent-dark: #228B5A;
  --color-accent-light: #E8F7F0;
  --color-text: #1f2a24;
  --color-text-muted: #4a5c54;
  --color-white: #ffffff;
  --color-card: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100%;
  width: 100%;
  min-height: 100%;

  /* Фон з текстурою паперу одним шматком */
  background-image: url('assets/images/bg-paper.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

body.is-mobile-menu-open {
  overflow: hidden;
}

.site-header,
main,
section,
footer,
.container {
  max-width: 100%;
}

/* === ТИПОГРАФІКА === */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* === КОНТЕЙНЕР === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.card--spacious {
  padding: 40px;
}

.usp-cta-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--color-accent-light);
  padding: 32px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .usp-cta-panel {
    padding: 24px 20px;
  }
}

.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 8px 30px rgba(46, 170, 110, 0.12);
}

@media (min-width: 993px) {
  .pricing-card--featured {
    transform: scale(1.02);
  }
}

/* === ШАПКА САЙТУ === */
.site-header {
  padding: 20px 0;
  position: relative;
  z-index: 100;
}

.header-container {
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url('assets/images/bg-card.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  padding: 10px 32px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(29, 42, 36, 0.04);
  border: none;
  position: relative;
}

.logo {
  flex-shrink: 0;
  line-height: 0;
}

.logo-link {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 72px;
  width: auto;
  max-width: none;
  object-fit: contain;
  transform-origin: center center;
}

.logo:hover .logo-img,
.logo-link:hover .logo-img,
.logo-link:focus-visible .logo-img {
  animation: logo-heartbeat 2.6s ease-in-out infinite;
  animation-play-state: running;
}

@keyframes logo-heartbeat {
  0% {
    transform: scale(1);
  }
  9% {
    transform: scale(1.09);
  }
  18% {
    transform: scale(1);
  }
  27% {
    transform: scale(1.12);
  }
  36% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-link:hover .logo-img,
  .logo-link:focus-visible .logo-img {
    animation: none;
    transform: scale(1.03);
  }
}

/* Меню */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-shrink: 0;
  margin-left: 8px;
}

.header-tools__cta {
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid #c8d5ce;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle__icon {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: background-color 0.2s ease;
}

.mobile-menu-toggle__icon::before,
.mobile-menu-toggle__icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.mobile-menu-toggle__icon::before {
  top: -6px;
}

.mobile-menu-toggle__icon::after {
  top: 6px;
}

.site-header.is-menu-open .mobile-menu-toggle__icon {
  background: transparent;
}

.site-header.is-menu-open .mobile-menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-menu-open .mobile-menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.main-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}

.main-menu a:hover {
  color: var(--color-accent);
}

/* === КНОПКИ === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;

  background-color: #7BC072;
  background-image: url('assets/images/bg-card.png');
  background-blend-mode: multiply;

  color: #ffffff !important;
  border: 1.5px solid #54944b;
  text-shadow: 0 1.5px 2px rgba(0, 0, 0, 0.3);

  /* Stacked paper sheets effect */
  box-shadow:
    0 3px 0 #54944b,
    0 4px 0 #93d489,
    0 7px 0 #437b3b,
    0 8px 0 #84c57b,
    0 11px 0 #34622e,
    0 12px 20px rgba(0, 0, 0, 0.15);

  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
  background-color: #6bb062;
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 #437b3b,
    0 6px 0 #84c57b,
    0 10px 0 #34622e,
    0 11px 0 #76b76d,
    0 15px 0 #284c23,
    0 16px 25px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(6px);
  box-shadow:
    0 1px 0 #34622e,
    0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  /* Inherits base skeuomorphic button styling from .btn */
}

.btn-cta {
  padding: 16px 44px;
  font-size: 17px;
}

/* Full-width safe CTA wrappers (reviews, long labels) */
.reviews-page__cta {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-top: 48px;
  padding: 0 4px;
  box-sizing: border-box;
}

.reviews-page__cta .btn {
  width: 100%;
  max-width: min(420px, 100%);
  min-width: 0;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
  word-break: break-word;
  hyphens: auto;
}

/* === ГЕРОЙ === */
.hero-section {
  padding: 40px 0;
}

.hero-scene {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: visible;
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url('assets/images/bg-card.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform-style: preserve-3d;
  padding: 80px 40px !important;
  text-align: center;
}

.hero-scene h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-shadow: 0 0 15px rgba(123, 192, 114, 0.55), 0 0 5px rgba(123, 192, 114, 0.3);
}

.hero-scene h2 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.5;
  text-shadow: 0 0 12px rgba(123, 192, 114, 0.4);
}

.hero-cta-overlay {
  position: relative;
  display: inline-block;
  z-index: 10;
}


/* === СЕКЦІЇ === */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-text);
}

/* === ФОРМИ: повідомлення про успіх === */
.engli-form__success {
  display: none;
  text-align: center;
}

.engli-form__success.is-visible {
  display: block;
}

/* === КАРТКИ (Загальні стилі паперових карток) === */
.card {
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url('assets/images/bg-card.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  padding: 32px;
  position: relative;
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 1px 4px rgba(29, 42, 36, 0.04);
}

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

/* === КУРСИ === */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.course-icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.level-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 999px;
}

.course-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--color-text);
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-features li {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 24px;
}

.course-features li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

/* === МЕТОДИКА ТА ПЕРЕВАГИ === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 28px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px;
}

.benefit-icon-box {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}

.benefit-card p {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* === ЛОКАЦІЇ === */
.location-card {
  padding: 40px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.location-map {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.ukraine-3d-map {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

.map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-kyiv-3d {
  top: 40%;
  left: 48%;
}

.pin-lviv-3d {
  top: 44%;
  left: 21%;
}

.pin-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px var(--color-accent);
}

.pin-pulse {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: rgba(46, 170, 110, 0.4);
  border-radius: 50%;
  animation: pin-pulse-anim 2s infinite;
  z-index: 1;
}

@keyframes pin-pulse-anim {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.location-addresses {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.address-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.address-marker {
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--color-accent-light);
}

.address-details h5 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 6px;
}

.address-details p {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* === КОНТАКТИ / TRIAL FORM === */
.contact-card {
  padding: 40px;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-info {
  min-width: 0;
  max-width: 100%;
}

/* Trial block on homepage — keep form panel inside the card */
.section-trial .contact-card,
.section-trial .contact-grid,
.section-trial .contact-form-side,
.section-trial .paper-form {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.section-trial .contact-form-side {
  width: 100%;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}

.contact-desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.method-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.method-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.method-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.method-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.method-val:hover {
  color: var(--color-accent);
}

/* Форма */
.contact-form-side {
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url('assets/images/bg-card.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  border: none;
  padding: 32px;
  box-shadow: 0 10px 24px rgba(29, 42, 36, 0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.paper-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-group label {
  display: none;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-primary);
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('assets/images/bg-card.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  border-radius: 4px;
  color: var(--color-text);
  outline: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: -3px 3px 8px rgba(29, 42, 36, 0.08);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    url('assets/images/bg-card.png'),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231d2a24' fill-opacity='0.55' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, right 18px center;
  padding-right: 44px;
}

.form-group select:invalid {
  color: rgba(29, 42, 36, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('assets/images/bg-card.png');
  box-shadow: -2px 2px 4px rgba(29, 42, 36, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(29, 42, 36, 0.5);
  font-weight: 500;
}

.form-group input.custom-form-field--error,
.form-group select.custom-form-field--error {
  box-shadow: -3px 3px 8px rgba(138, 46, 42, 0.18), inset 0 0 0 1.5px #d97973;
}

.contact-grid,
.paper-form,
.form-group {
  overflow: visible;
}

/* Contain paper curl / shadows so the form panel does not spill past the card */
.contact-card {
  overflow: hidden;
}

.contact-form-side {
  overflow: hidden;
}

.form-group select {
  position: relative;
  z-index: 2;
}

.btn-submit {
  align-self: center;
  margin-top: 15px;
  min-width: 160px;
  border-radius: 14px;
  background-color: #8AD47B;
  background-image: url('assets/images/bg-card.png');
  background-blend-mode: multiply;
  color: #1d2a24 !important;
  font-weight: 800;
  border: none !important;
  box-shadow: -4px 4px 10px rgba(29, 42, 36, 0.15) !important;
  text-shadow: none !important;
  transform: none;
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background-color: #7bc072;
  transform: translate(-1px, 1px);
  box-shadow: -3px 3px 8px rgba(29, 42, 36, 0.2) !important;
}

.btn-submit:active {
  transform: translate(2px, -2px);
  box-shadow: -1px 1px 4px rgba(29, 42, 36, 0.15) !important;
}

/* === ЕФЕКТ ПРИПІДНЯТИХ ПАПЕРОВИХ КУТКІВ (Curved Shadows / Page Curl) === */
.card,
.hero-scene,
.contact-form-side,
.header-container {
  position: relative;
  transform-style: preserve-3d;
}

.card::before,
.card::after,
.hero-scene::before,
.hero-scene::after,
.contact-form-side::before,
.contact-form-side::after,
.header-container::before,
.header-container::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: transparent;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Лівий тіньовий пелюсток: припіднімає верхній лівий та нижній лівий кутки */
.card::before,
.hero-scene::before,
.contact-form-side::before,
.header-container::before {
  top: 12px;
  bottom: 12px;
  left: 8px;
  width: 30%;
  box-shadow: -15px 0 15px rgba(29, 42, 36, 0.22);
  transform: translate3d(0, 0, -1px) rotate(-3deg) skewY(-3deg);
}

/* Нижній правий тіньовий пелюсток: припіднімає нижній правий куток */
.card::after,
.hero-scene::after,
.contact-form-side::after,
.header-container::after {
  bottom: 8px;
  right: 12px;
  width: 50%;
  height: 30%;
  box-shadow: 0 16px 14px rgba(29, 42, 36, 0.24);
  transform: translate3d(0, 0, -1px) rotate(3deg) skewX(3deg);
}

/* Інтерактивний ховер для тіней */
.card:hover::before,
.hero-scene:hover::before,
.contact-form-side:hover::before {
  left: 12px;
  box-shadow: -18px 0 20px rgba(29, 42, 36, 0.28);
  transform: translate3d(0, 0, -1px) rotate(-4deg) skewY(-4deg);
}

.card:hover::after,
.hero-scene:hover::after,
.contact-form-side:hover::after {
  bottom: 12px;
  box-shadow: 0 20px 18px rgba(29, 42, 36, 0.32);
  transform: translate3d(0, 0, -1px) rotate(4deg) skewX(4deg);
}

/* Плавний підйом при ховері */
.course-card:hover,
.benefit-card:hover {
  transform: translateY(-8px);
}

/* === ФУТЕР === */
footer {
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* === АДАПТИВНІСТЬ === */
@media (max-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
  }

  .contact-card {
    overflow: hidden;
    padding: 28px 20px;
  }

  .contact-form-side {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    box-shadow: 0 6px 18px rgba(29, 42, 36, 0.08);
  }

  .contact-form-side::before,
  .contact-form-side::after {
    display: none;
  }

  .section-trial .contact-card {
    padding: 24px 16px;
  }

  .section-trial .contact-form-side {
    padding: 18px 14px;
  }

  .section-trial .form-group input,
  .section-trial .form-group select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .section-trial .btn-submit {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    box-shadow: 0 4px 10px rgba(29, 42, 36, 0.12) !important;
  }

  .site-header {
    padding: 10px 0;
  }

  .header-container {
    flex-wrap: wrap;
    gap: 10px 12px;
    border-radius: 0;
    padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)) !important;
  }

  .header-container .logo {
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
  }

  .header-tools {
    order: 2;
    gap: 8px 10px;
    margin-left: 0;
  }

  .header-tools__cta {
    padding: 8px 16px !important;
    font-size: 13px !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    order: 4;
    flex: 1 0 100%;
    width: 100%;
    padding: 4px 0 8px;
    justify-content: flex-start;
  }

  .site-header.is-menu-open .site-nav {
    display: block;
  }

  .main-menu {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-top: 1.5px solid #e0ebe5;
  }

  .main-menu li {
    border-bottom: 1px solid #edf3ef;
  }

  .main-menu li:last-child {
    border-bottom: none;
  }

  .main-menu a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
  }

  .logo-img {
    height: 44px;
    max-width: 100%;
  }

  .pricing-card--featured {
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .btn {
    white-space: normal !important;
    text-align: center;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    letter-spacing: 0.03em !important;
    word-break: break-word;
  }

  .btn-cta {
    padding: 12px 18px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .reviews-page__cta {
    margin-top: 36px;
    padding: 0;
  }

  .reviews-page__cta .btn {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px !important;
    box-shadow:
      0 2px 0 #54944b,
      0 6px 14px rgba(0, 0, 0, 0.12);
  }

  .reviews-page__cta .btn:hover,
  .reviews-page__cta .btn:active {
    transform: none;
  }

  body {
    background-attachment: scroll;
  }

  .container {
    padding: 0 16px;
  }

  .card--spacious {
    padding: 24px 20px;
  }

  .hero-scene {
    padding: 48px 20px !important;
  }

  .card,
  .benefit-card {
    padding: 24px 20px;
  }

  .location-card,
  .contact-card {
    padding: 20px 14px;
  }

  .contact-form-side {
    padding: 16px 12px;
  }

  .section-trial .contact-card {
    padding: 18px 12px;
  }

  .section-trial .contact-form-side {
    padding: 14px 10px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    max-width: 100%;
    min-width: 0;
  }

  .paper-form,
  .form-group,
  .contact-form-side {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .paper-form .btn,
  .paper-form .btn-submit,
  .paper-form .btn-cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    box-shadow:
      0 2px 0 #54944b,
      0 6px 14px rgba(0, 0, 0, 0.12);
  }

  .paper-form .btn:hover,
  .paper-form .btn:active,
  .paper-form .btn-submit:hover,
  .paper-form .btn-submit:active {
    transform: none;
    box-shadow:
      0 2px 0 #54944b,
      0 6px 14px rgba(0, 0, 0, 0.12);
  }

  .course-card,
  .benefit-card {
    transform: none !important;
  }

  .course-card:hover,
  .benefit-card:hover {
    transform: translateY(-4px) !important;
  }

  .card::before,
  .card::after,
  .hero-scene::before,
  .hero-scene::after,
  .contact-form-side::before,
  .contact-form-side::after,
  .header-container::before,
  .header-container::after {
    display: none;
  }

  .card,
  .contact-card,
  .contact-form-side {
    transform-style: flat;
  }

  .form-group select {
    -webkit-appearance: menulist;
    appearance: auto;
    font-size: 16px;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
      url('assets/images/bg-card.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-right: 18px;
  }

  .form-group select:focus {
    transform: none;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
      url('assets/images/bg-card.png');
  }
}

@media (hover: none) and (pointer: coarse) {
  .card,
  .contact-card,
  .contact-form-side {
    transform-style: flat;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
  }

  .form-group select {
    -webkit-appearance: menulist;
    appearance: auto;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
      url('assets/images/bg-card.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-right: 18px;
  }

  .form-group select:focus {
    transform: none;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }

  .btn-cta {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }

  .reviews-page__cta .btn {
    padding: 12px 12px !important;
    font-size: 13px !important;
  }

  .container {
    padding: 0 12px;
  }

  .header-container {
    padding: 8px 12px !important;
    gap: 8px 10px;
  }

  .logo-img {
    height: 38px;
  }

  .header-tools__cta {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  .hero-scene {
    padding: 40px 16px !important;
  }

  .hero-scene h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 28px;
  }
}

/* === БІЛЬ КЛІЄНТА === */
.pain-section {
  padding: 24px 0 48px;
}

.pain-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 56px 40px;
  overflow: visible;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.pain-section--visible .pain-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pain-card__inner {
  position: relative;
  z-index: 3;
}

.pain-card__title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 36px;
  color: var(--color-text);
  letter-spacing: -0.03em;
  text-shadow: 0 0 14px rgba(123, 192, 114, 0.35);
  opacity: 0;
  transform: translateY(12px);
  cursor: default;
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s,
    text-shadow 0.45s ease, filter 0.45s ease, letter-spacing 0.45s ease;
}

.pain-section--visible .pain-card__title {
  opacity: 1;
  transform: translateY(0);
  animation: pain-title-alive 3s ease-in-out 0.8s infinite;
}

.pain-section--visible .pain-card__title:hover {
  animation: none;
  transform: translateY(-2px) scale(1.035);
  letter-spacing: 0.02em;
  filter: brightness(1.06);
  text-shadow:
    0 0 6px rgba(46, 170, 110, 0.7),
    0 0 18px rgba(123, 192, 114, 0.85),
    0 0 36px rgba(46, 170, 110, 0.5),
    0 0 56px rgba(123, 192, 114, 0.3);
}

.pain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-text);
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(232, 247, 240, 0.45);
  border: 1px solid rgba(46, 170, 110, 0.12);
  opacity: 0;
  transform: translateX(-24px);
  cursor: default;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.pain-section--visible .pain-item {
  opacity: 1;
  transform: translateX(0);
}

.pain-section--visible .pain-item:nth-child(1) { transition-delay: 0.25s; }
.pain-section--visible .pain-item:nth-child(2) { transition-delay: 0.38s; }
.pain-section--visible .pain-item:nth-child(3) { transition-delay: 0.51s; }
.pain-section--visible .pain-item:nth-child(4) { transition-delay: 0.64s; }
.pain-section--visible .pain-item:nth-child(5) { transition-delay: 0.77s; }

.pain-section--visible .pain-item:hover {
  transform: translateX(8px);
  background: rgba(232, 247, 240, 0.92);
  border-color: rgba(46, 170, 110, 0.38);
  box-shadow: 0 6px 20px rgba(46, 170, 110, 0.16);
  color: var(--color-text);
}

.pain-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3dbd78 0%, var(--color-accent) 55%, #228b5a 100%);
  box-shadow: 0 3px 8px rgba(34, 139, 90, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.35);
  position: relative;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.pain-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.pain-section--visible .pain-item .pain-check {
  transform: scale(1);
}

.pain-section--visible .pain-item:hover .pain-check {
  transform: scale(1.18) rotate(-4deg);
  box-shadow: 0 5px 14px rgba(34, 139, 90, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.pain-section--visible .pain-item:nth-child(1) .pain-check { transition-delay: 0.35s; }
.pain-section--visible .pain-item:nth-child(2) .pain-check { transition-delay: 0.48s; }
.pain-section--visible .pain-item:nth-child(3) .pain-check { transition-delay: 0.61s; }
.pain-section--visible .pain-item:nth-child(4) .pain-check { transition-delay: 0.74s; }
.pain-section--visible .pain-item:nth-child(5) .pain-check { transition-delay: 0.87s; }

.pain-footer {
  position: relative;
  text-align: center;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  padding: 22px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, rgba(255, 255, 255, 0.7) 100%);
  background-size: 200% 200%;
  border: 1.5px solid rgba(46, 170, 110, 0.2);
  box-shadow: 0 6px 24px rgba(46, 170, 110, 0.1);
  opacity: 0;
  transform: translateY(20px);
  cursor: default;
  transition: opacity 0.6s ease 0.95s, transform 0.6s ease 0.95s,
    box-shadow 0.4s ease, border-color 0.4s ease;
}

.pain-footer::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  background: radial-gradient(ellipse at center, rgba(46, 170, 110, 0.18) 0%, transparent 70%);
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.pain-section--visible .pain-footer {
  opacity: 1;
  transform: translateY(0);
  animation: pain-footer-breathe 2.25s ease-in-out 1.4s infinite;
}

.pain-section--visible .pain-footer:hover {
  animation: none;
  transform: translateY(-5px) scale(1.025);
  border-color: rgba(46, 170, 110, 0.48);
  box-shadow: 0 14px 42px rgba(46, 170, 110, 0.28), 0 0 0 5px rgba(46, 170, 110, 0.1);
  background-position: 100% 100%;
}

.pain-section--visible .pain-footer:hover::before {
  opacity: 1;
}

.pain-footer__accent {
  display: block;
  margin-top: 4px;
  color: var(--color-accent-dark);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent), var(--color-accent-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pain-accent-shimmer 5s linear 1.6s infinite;
  transition: transform 0.35s ease, letter-spacing 0.35s ease;
}

.pain-footer:hover .pain-footer__accent {
  transform: scale(1.04);
  letter-spacing: 0.02em;
  animation-duration: 2.5s;
}

.pain-float {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
}

.pain-section--visible .pain-float {
  opacity: 1;
}

.pain-float-q {
  width: 72px;
  top: -28px;
  left: -18px;
  animation: float-medium 6.5s ease-in-out infinite alternate;
}

.pain-float-mic {
  width: 68px;
  top: 20px;
  right: -22px;
  animation: float-fast 5s ease-in-out infinite alternate;
}

.pain-float-speech {
  width: 58px;
  bottom: -20px;
  right: 12%;
  animation: float-slow 7s ease-in-out infinite alternate;
}

@keyframes pain-title-alive {
  0%, 100% {
    transform: translateY(0) scale(1);
    letter-spacing: -0.03em;
    text-shadow:
      0 0 12px rgba(123, 192, 114, 0.35),
      0 0 26px rgba(46, 170, 110, 0.14);
  }
  50% {
    transform: translateY(-3px) scale(1.02);
    letter-spacing: 0.01em;
    text-shadow:
      0 0 16px rgba(123, 192, 114, 0.55),
      0 0 30px rgba(46, 170, 110, 0.32),
      0 0 44px rgba(123, 192, 114, 0.14);
  }
}

@keyframes pain-footer-breathe {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 24px rgba(46, 170, 110, 0.1);
    border-color: rgba(46, 170, 110, 0.2);
    background-position: 0% 0%;
  }
  50% {
    transform: translateY(-3px) scale(1.018);
    box-shadow: 0 12px 38px rgba(46, 170, 110, 0.26), 0 0 0 4px rgba(46, 170, 110, 0.07);
    border-color: rgba(46, 170, 110, 0.36);
    background-position: 100% 100%;
  }
}

@keyframes pain-accent-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@media (max-width: 768px) {
  .pain-card {
    padding: 36px 22px 28px;
  }

  .pain-item {
    font-size: 15px;
    padding: 12px 14px;
  }

  .pain-float-q {
    width: 52px;
    top: -18px;
    left: -8px;
  }

  .pain-float-mic {
    width: 50px;
    top: 8px;
    right: -10px;
  }

  .pain-float-speech {
    width: 44px;
    bottom: -14px;
    right: 6%;
  }
}

@media (max-width: 480px) {
  .pain-float {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pain-card,
  .pain-card__title,
  .pain-item,
  .pain-check,
  .pain-footer,
  .pain-float {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .pain-section--visible .pain-item:hover,
  .pain-section--visible .pain-footer:hover,
  .pain-section--visible .pain-card__title:hover {
    transform: none !important;
    filter: none !important;
    text-shadow: none !important;
  }

  .pain-footer::before {
    display: none;
  }

  .pain-footer__accent {
    -webkit-text-fill-color: var(--color-accent-dark);
    background: none;
  }
}

/* === ВАШ ШЛЯХ (TIMELINE) === */
.journey-section {
  background-color: rgba(29, 42, 36, 0.02);
}

.journey-section .section-title {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

.journey-section--visible .section-title {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.journey-lead {
  text-align: center;
  max-width: 480px;
  margin: -28px auto 40px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-muted);
  line-height: 1.5;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(12px);
  transition: opacity 0.7s ease 0.1s, filter 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.journey-section--visible .journey-lead {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.journey-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 40px 36px;
  overflow: hidden;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-section--visible .journey-wrap {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.journey-blur-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease 0.4s;
}

.journey-section--visible .journey-blur-orb {
  opacity: 1;
}

.journey-blur-orb--1 {
  width: 220px;
  height: 220px;
  top: -60px;
  left: -40px;
  background: radial-gradient(circle, rgba(46, 170, 110, 0.35) 0%, transparent 70%);
  filter: blur(32px);
  animation: journey-orb-drift 9s ease-in-out infinite alternate;
}

.journey-blur-orb--2 {
  width: 260px;
  height: 260px;
  bottom: -80px;
  right: -50px;
  background: radial-gradient(circle, rgba(123, 192, 114, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  animation: journey-orb-drift 11s ease-in-out infinite alternate-reverse;
}

.journey-track {
  position: relative;
  z-index: 2;
  margin-bottom: 36px;
}

.journey-track__rail {
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: rgba(46, 170, 110, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.journey-track__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-accent) 0%, #8ad47b 50%, var(--color-accent-dark) 100%);
  box-shadow: 0 0 12px rgba(46, 170, 110, 0.45);
  transition: width 2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.journey-section--visible .journey-track__fill {
  width: 100%;
}

.journey-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-section--visible .journey-step {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.journey-section--visible .journey-step:nth-child(1) { transition-delay: 0.45s; }
.journey-section--visible .journey-step:nth-child(2) { transition-delay: 0.58s; }
.journey-section--visible .journey-step:nth-child(3) { transition-delay: 0.71s; }
.journey-section--visible .journey-step:nth-child(4) { transition-delay: 0.84s; }
.journey-section--visible .journey-step:nth-child(5) { transition-delay: 0.97s; }

.journey-step__node {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 0%, var(--color-accent-light) 100%);
  border: 2px solid rgba(46, 170, 110, 0.25);
  box-shadow: 0 6px 20px rgba(46, 170, 110, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, filter 0.35s ease;
}

.journey-step__num {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 26px;
  box-shadow: 0 3px 8px rgba(46, 170, 110, 0.35);
}

.journey-step__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.journey-step__text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text);
  max-width: 160px;
  transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.journey-step:hover .journey-step__node {
  transform: translateY(-4px) scale(1.06);
  border-color: rgba(46, 170, 110, 0.5);
  box-shadow: 0 10px 28px rgba(46, 170, 110, 0.22);
  filter: drop-shadow(0 0 14px rgba(46, 170, 110, 0.35));
}

.journey-step:hover .journey-step__icon {
  transform: scale(1.1);
}

.journey-step:hover .journey-step__text {
  color: var(--color-accent-dark);
  transform: translateY(-2px);
}

.journey-goal {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, rgba(255, 255, 255, 0.85) 100%);
  border: 1.5px solid rgba(46, 170, 110, 0.25);
  opacity: 0;
  filter: blur(10px);
  transform: translateY(16px);
  transition: opacity 0.7s ease 1.1s, filter 0.7s ease 1.1s, transform 0.7s ease 1.1s,
    box-shadow 0.4s ease, border-color 0.4s ease;
}

.journey-section--visible .journey-goal {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  animation: journey-goal-glow 3s ease-in-out 1.6s infinite;
}

.journey-goal:hover {
  border-color: rgba(46, 170, 110, 0.45);
  box-shadow: 0 10px 32px rgba(46, 170, 110, 0.2);
  filter: blur(0);
}

.journey-goal__icon {
  width: 52px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
  animation: float-medium 6s ease-in-out infinite alternate;
}

.journey-goal__text {
  margin: 0;
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  text-align: center;
}

.journey-goal__value {
  display: inline-block;
  margin: 0 6px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  color: var(--color-accent-dark);
  text-shadow: 0 0 16px rgba(46, 170, 110, 0.35);
}

@keyframes journey-orb-drift {
  0% { transform: translate(0, 0) scale(1); filter: blur(32px); }
  100% { transform: translate(18px, -12px) scale(1.08); filter: blur(44px); }
}

@keyframes journey-goal-glow {
  0%, 100% { box-shadow: 0 4px 18px rgba(46, 170, 110, 0.1); }
  50% { box-shadow: 0 8px 30px rgba(46, 170, 110, 0.24); }
}

@media (max-width: 991px) {
  .journey-wrap {
    padding: 40px 24px 28px;
  }

  .journey-steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 420px;
    margin: 0 auto;
  }

  .journey-track__rail {
    top: 0;
    bottom: 0;
    left: 37px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .journey-track__fill {
    width: 100%;
    height: 0;
    transition: height 2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
  }

  .journey-section--visible .journey-track__fill {
    width: 100%;
    height: 100%;
  }

  .journey-step {
    flex-direction: row;
    text-align: left;
    gap: 18px;
    padding: 18px 0;
    transform: translateX(-20px);
  }

  .journey-section--visible .journey-step {
    transform: translateX(0);
  }

  .journey-step__node {
    flex-shrink: 0;
  }

  .journey-step__text {
    max-width: none;
    flex: 1;
    padding-top: 14px;
  }

  .journey-goal {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-section .section-title,
  .journey-lead,
  .journey-wrap,
  .journey-step,
  .journey-goal,
  .journey-blur-orb {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .journey-section--visible .journey-track__fill {
    width: 100%;
    height: 100%;
  }
}

/* === FLOATING 3D HERO ELEMENTS === */
.hero-float {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
  z-index: 2;
}

.hero-float-book {
  width: 130px;
  top: -45px;
  left: 8%;
  animation: float-slow 7s ease-in-out infinite alternate;
}

.hero-float-speech {
  width: 85px;
  top: -30px;
  right: 12%;
  animation: float-medium 6s ease-in-out infinite alternate;
}

.hero-float-flag {
  width: 110px;
  top: 50px;
  right: 4%;
  animation: float-slow 8s ease-in-out infinite alternate;
}

.hero-float-mic {
  width: 85px;
  bottom: 40px;
  left: 4%;
  animation: float-fast 5s ease-in-out infinite alternate;
}

.hero-float-q {
  width: 75px;
  bottom: -35px;
  left: 22%;
  animation: float-medium 6.5s ease-in-out infinite alternate;
}

.hero-float-target {
  width: 105px;
  bottom: -25px;
  right: 18%;
  animation: float-slow 7.5s ease-in-out infinite alternate;
}

.hero-float-cube1 {
  width: 55px;
  top: 130px;
  left: 7%;
  animation: float-fast 5.5s ease-in-out infinite alternate;
}

.hero-float-cube2 {
  width: 75px;
  bottom: 110px;
  right: 7%;
  animation: float-medium 6.8s ease-in-out infinite alternate;
}

/* Animations */
@keyframes float-slow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes float-medium {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-7px) rotate(-3deg); }
}

@keyframes float-fast {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-5px) rotate(1.5deg); }
}

/* Responsive adjustment for floating elements */
@media (max-width: 991px) {
  .hero-float-book { width: 90px; top: -30px; left: 4%; }
  .hero-float-speech { width: 65px; top: -20px; right: 6%; }
  .hero-float-flag { width: 80px; top: 40px; right: 2%; }
  .hero-float-mic { width: 65px; bottom: 30px; left: 2%; }
  .hero-float-q { width: 55px; bottom: -20px; left: 18%; }
  .hero-float-target { width: 80px; bottom: -15px; right: 14%; }
  .hero-float-cube1 { width: 40px; top: 100px; left: 4%; }
  .hero-float-cube2 { width: 55px; bottom: 90px; right: 4%; }
}

@media (max-width: 768px) {
  .hero-float {
    display: none !important;
  }
}

/* === LOADING SCREEN === */
html.engli-is-loading,
body.engli-is-loading {
  overflow: hidden;
}

.engli-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  background-image: url('assets/images/bg-paper.png');
  background-size: cover;
  background-position: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.engli-loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.engli-loader--hide .engli-loader__flag,
.engli-loader--hide .engli-loader__brand {
  animation-play-state: paused;
}

.engli-loader--removed {
  display: none;
}

.engli-loader__inner {
  width: min(94vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.engli-loader__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.engli-loader__flag-cycle {
  position: relative;
  width: clamp(280px, 72vw, 460px);
  height: clamp(150px, 38vw, 250px);
}

.engli-loader__flag {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity;
  animation-duration: 3.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.engli-loader__flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 12px 22px rgba(29, 42, 36, 0.2));
}

.engli-loader__flag--us {
  animation-name: engli-flag-slot-us;
}

.engli-loader__flag--ua {
  animation-name: engli-flag-slot-ua;
}

.engli-loader__flag--ca {
  animation-name: engli-flag-slot-ca;
}

.engli-loader__flag--gb {
  animation-name: engli-flag-slot-gb;
}

.engli-loader__brand {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 3rem);
  letter-spacing: -0.04em;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(10px);
  animation: engli-brand-in 3.2s ease forwards;
}

@keyframes engli-flag-slot-us {
  0% {
    opacity: 0;
    transform: scale(0.88) rotate(-4deg);
  }
  5% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  18% {
    opacity: 1;
    transform: scale(1.03) translateY(-4px) rotate(2deg);
  }
  22% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  27% {
    opacity: 0;
    transform: scale(0.94) rotate(3deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.94);
  }
}

@keyframes engli-flag-slot-ua {
  0%, 24% {
    opacity: 0;
    transform: scale(0.88) rotate(4deg);
  }
  29% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  42% {
    opacity: 1;
    transform: scale(1.03) translateY(-4px) rotate(-2deg);
  }
  46% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  51% {
    opacity: 0;
    transform: scale(0.94) rotate(-3deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.94);
  }
}

@keyframes engli-flag-slot-ca {
  0%, 48% {
    opacity: 0;
    transform: scale(0.88) rotate(-4deg);
  }
  53% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  66% {
    opacity: 1;
    transform: scale(1.03) translateY(-4px) rotate(2deg);
  }
  70% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  75% {
    opacity: 0;
    transform: scale(0.94) rotate(3deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.94);
  }
}

@keyframes engli-flag-slot-gb {
  0%, 72% {
    opacity: 0;
    transform: scale(0.88) rotate(4deg);
  }
  77% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  90% {
    opacity: 1;
    transform: scale(1.03) translateY(-4px) rotate(-2deg);
  }
  94% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes engli-brand-in {
  0%, 78% {
    opacity: 0;
    transform: translateY(10px);
  }
  88% {
    opacity: 1;
    transform: translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .engli-loader__flag,
  .engli-loader__brand {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }

  .engli-loader__flag--us,
  .engli-loader__flag--gb {
    opacity: 1 !important;
    transform: none !important;
  }

  .engli-loader__flag--ua,
  .engli-loader__flag--ca {
    opacity: 0 !important;
  }

  .engli-loader__brand {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === TIMED CTA MODAL === */
.engli-cta-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.engli-cta-modal--open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.engli-cta-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 42, 36, 0.58);
  backdrop-filter: blur(6px);
}

.engli-cta-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100dvh - 32px);
  margin: auto 0;
  padding: 44px 36px 36px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(24px) scale(0.94);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  box-shadow:
    0 1px 4px rgba(29, 42, 36, 0.04),
    0 24px 48px rgba(29, 42, 36, 0.14);
}

.engli-cta-modal__dialog:hover {
  transform: translateY(24px) scale(0.94);
}

.engli-cta-modal--open .engli-cta-modal__dialog:hover {
  transform: translateY(0) scale(1);
}

.engli-cta-modal--open .engli-cta-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.engli-cta-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(29, 42, 36, 0.06);
  color: var(--color-text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.engli-cta-modal__close:hover {
  background: rgba(29, 42, 36, 0.1);
  color: var(--color-text);
  transform: rotate(90deg);
}

.engli-cta-modal__deco {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(29, 42, 36, 0.12));
}

.engli-cta-modal__deco--left {
  width: 72px;
  top: -28px;
  left: -18px;
  animation: engli-cta-float 5s ease-in-out infinite alternate;
}

.engli-cta-modal__deco--right {
  width: 92px;
  top: -34px;
  right: -22px;
  animation: engli-cta-float 6.5s ease-in-out infinite alternate-reverse;
}

.engli-cta-modal__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.engli-cta-modal__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  line-height: 1.2;
  color: var(--color-text);
}

.engli-cta-modal__text {
  margin: 0 auto 20px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.engli-cta-modal__perks {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  text-align: left;
}

.engli-cta-modal__perks li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.engli-cta-modal__perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.engli-cta-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.engli-cta-modal__cta {
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
}

.engli-cta-modal__later {
  border: none;
  background: none;
  color: var(--color-text-muted);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 16px;
  min-height: 44px;
  transition: color 0.2s ease;
}

.engli-cta-modal__later:hover {
  color: var(--color-text);
}

@keyframes engli-cta-float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(3deg);
  }
}

@media (max-width: 560px) {
  .engli-cta-modal__dialog {
    padding: 36px 20px 24px;
    max-height: calc(100dvh - 24px);
  }

  .engli-cta-modal__deco {
    display: none;
  }
}

/* === CALLBACK MODAL === */
.callback-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(29, 42, 36, 0.6);
  backdrop-filter: blur(4px);
}

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

.callback-modal__content {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100dvh - 32px);
  margin: auto 0;
  padding: 32px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

.callback-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(29, 42, 36, 0.06);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callback-modal__title {
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.callback-modal__lead {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.callback-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.callback-modal__form .form-group {
  margin-bottom: 0;
}

.callback-modal__form input {
  border-radius: 999px;
  text-align: center;
  border: 1.5px solid #d1dcd6;
  font-size: 16px;
}

.callback-modal__success-icon {
  font-size: 48px;
  color: var(--color-accent);
  margin-bottom: 16px;
  line-height: 1;
}

@media (max-width: 480px) {
  .callback-modal__content {
    padding: 28px 20px;
    max-height: calc(100dvh - 24px);
  }
}

/* === FAQ PAGE === */
.faq-page__lead {
  max-width: 680px;
  margin: -16px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 500;
}

.faq-page__section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.faq-page__section-title {
  margin: 0 0 24px;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
}

.faq-page__list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-page__item {
  padding: 22px 24px;
}

.faq-page__q {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.35;
}

.faq-page__a {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.faq-page__cta {
  max-width: 840px;
  margin: 32px auto 0;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-page__cta-copy {
  flex: 1 1 280px;
  text-align: left;
}

.faq-page__cta-copy h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
}

.faq-page__cta-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.faq-page__final {
  padding-top: 24px;
  padding-bottom: 64px;
}

.faq-page__final-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 28px;
  text-align: center;
  background: linear-gradient(165deg, rgba(61, 153, 112, 0.08) 0%, rgba(29, 42, 36, 0.03) 100%);
  border: 1px solid rgba(61, 153, 112, 0.14);
}

.faq-page__final-title {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--color-text);
}

.faq-page__final-text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .faq-page__cta {
    flex-direction: column;
    text-align: center;
  }

  .faq-page__cta-copy {
    text-align: center;
  }

  .faq-page__item {
    padding: 18px 16px;
  }
}

/* === TRIAL MODAL (pain + USP + form) === */
.trial-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  align-items: flex-start;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(29, 42, 36, 0.6);
  backdrop-filter: blur(5px);
}

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

.trial-modal__backdrop {
  position: absolute;
  inset: 0;
}

.trial-modal__content {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: calc(100dvh - 32px);
  margin: auto 0;
  padding: 36px 32px 32px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: left;
  box-shadow:
    0 1px 4px rgba(29, 42, 36, 0.04),
    0 24px 48px rgba(29, 42, 36, 0.14);
}

.trial-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(29, 42, 36, 0.06);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trial-modal__close:hover {
  background: rgba(29, 42, 36, 0.12);
  color: var(--color-text);
}

.trial-modal__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.trial-modal__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(61, 153, 112, 0.12);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trial-modal__title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}

.trial-modal__lead {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.trial-modal__section-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
}

.trial-modal__pain {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(29, 42, 36, 0.035);
  border: 1px solid rgba(29, 42, 36, 0.06);
}

.trial-modal__pain-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trial-modal__pain-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text);
  font-weight: 500;
}

.trial-modal__pain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(198, 90, 72, 0.85);
  box-shadow: 0 0 0 3px rgba(198, 90, 72, 0.12);
}

.trial-modal__pain-footer {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.trial-modal__accent {
  color: var(--color-accent);
}

.trial-modal__usp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trial-modal__usp-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  position: relative;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.trial-modal__usp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.trial-modal__usp-list strong {
  color: var(--color-text);
  font-weight: 800;
}

.trial-modal__form-col {
  padding: 22px 20px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(61, 153, 112, 0.08) 0%, rgba(29, 42, 36, 0.03) 100%);
  border: 1px solid rgba(61, 153, 112, 0.14);
  text-align: center;
}

.trial-modal__deco {
  width: 72px;
  height: auto;
  margin: 0 auto 12px;
  object-fit: contain;
  display: block;
}

.trial-modal__form-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
}

.trial-modal__form-lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.trial-modal__perks {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.trial-modal__perks li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.trial-modal__perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.trial-modal__form {
  text-align: left;
}

.trial-modal__form .form-group {
  margin-bottom: 12px;
}

.trial-modal__form label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.trial-modal__form input,
.trial-modal__form select {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1.5px solid #d1dcd6;
  font-size: 16px;
  padding: 12px 14px;
  background: #fff;
}

.trial-modal__form input:focus,
.trial-modal__form select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(61, 153, 112, 0.15);
}

.trial-modal__success {
  text-align: center;
  padding: 40px 12px;
}

.trial-modal__success-icon {
  font-size: 48px;
  color: var(--color-accent);
  margin-bottom: 16px;
  line-height: 1;
}

.trial-modal__success .trial-modal__title {
  text-align: center;
}

.trial-modal__success .trial-modal__lead {
  text-align: center;
  margin-bottom: 0;
}

@media (max-width: 780px) {
  .trial-modal__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trial-modal__content {
    padding: 32px 20px 24px;
  }

  .trial-modal__form-col {
    order: -1;
  }
}

@media (max-width: 480px) {
  .trial-modal__content {
    padding: 28px 16px 20px;
    max-height: calc(100dvh - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .engli-cta-modal,
  .engli-cta-modal__dialog,
  .engli-cta-modal__deco {
    transition: none !important;
    animation: none !important;
  }

  .engli-cta-modal--open .engli-cta-modal__dialog {
    transform: none;
    opacity: 1;
  }
}