/* ==========================================================================
   VamoosYA — enhancement layer (polish + interconnection)
   Single accent colour used coherently: #E42125. Flat styling only.
   Scoped to new classes + gentle progressive enhancement so nothing breaks
   when JS is off.
   ========================================================================== */

:root {
  --vm-accent: #e42125;
  --vm-accent-soft: rgba(228, 33, 37, 0.14);
  --vm-ink: #1c1c28;
  --vm-gray: #5d5d70;
  --vm-shadow: 0 18px 44px rgba(20, 20, 40, 0.09);
}

/* ---------- Scroll reveal (class is added by JS, so no-JS = always visible) - */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Header: one clean, consistent shadow (no strange jump) --------- */
header {
  box-shadow: none !important;
  /* let the top utility bar sit flush at the very top edge */
  padding-top: 0 !important;
  transition: box-shadow 0.25s ease;
}
/* shadow only once the page is scrolled (JS toggles .scrolled) */
header.scrolled {
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.08) !important;
}
.header {
  box-shadow: none !important;
}

/* ---------- Card + button hover polish (subtle lift, no gradients) --------- */
.card__item,
.how-it-works__item,
.contact-page__card,
.third-block__cards .card__item,
.business-info__block {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card__item:hover,
.how-it-works__item:hover,
.contact-page__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vm-shadow);
}

.second-block__slider__card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.second-block__slider__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vm-shadow);
}

.register-btn,
.free-btn,
.courses-btn,
.send-btn,
.contact_me__btn,
.question__btn,
.review__btn,
.bottom__btn,
.homepage__btn,
.top__hero__btn,
.contact-us__btn,
.pay-now__btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.register-btn:hover,
.free-btn:hover,
.courses-btn:hover,
.send-btn:hover,
.contact_me__btn:hover,
.question__btn:hover,
.review__btn:hover,
.bottom__btn:hover,
.homepage__btn:hover,
.top__hero__btn:hover,
.contact-us__btn:hover,
.pay-now__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 10px 24px rgba(228, 33, 37, 0.22);
}

/* Nav links get an accent underline on hover */
.header__nav a,
.footer__nav .nav__list a {
  transition: color 0.2s ease;
}
.header__nav a:hover,
.footer__nav .nav__list a:hover {
  color: var(--vm-accent);
}

/* ---------- Footer legal links (were static <p>) --------------------------- */
.footer__legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}
.footer__legal a:hover {
  color: var(--vm-accent);
  opacity: 1;
}

/* Decorative payment logos (converted from dead <a> to <span>) */
.pay-logo {
  display: inline-flex;
  align-items: center;
}
.pay-logo img {
  transition: transform 0.2s ease, filter 0.2s ease;
}
.pay-logo:hover img {
  transform: translateY(-2px);
}

/* ---------- Payment method selector on checkout ---------------------------- */
button.payment__item {
  font: inherit;
  cursor: pointer;
  background: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
button.payment__item:hover {
  transform: translateY(-2px);
}
button.payment__item.selected {
  outline: 2px solid var(--vm-accent);
  outline-offset: 2px;
  border-radius: 12px;
  box-shadow: 0 0 0 4px var(--vm-accent-soft);
}

/* ---------- Legal / policy pages: readable typography inside .cookie -------- */
.cookie__sub.text-gray h3 {
  color: var(--vm-ink);
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 34px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--vm-accent);
}
.cookie__sub.text-gray h3:first-child {
  margin-top: 6px;
}
.cookie__sub.text-gray p {
  color: var(--vm-gray);
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0 0 14px;
}
.cookie__sub.text-gray ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.cookie__sub.text-gray li {
  color: var(--vm-gray);
  font-family: Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.cookie__sub a,
.cookie__sub.text-gray a {
  color: var(--vm-accent);
  text-decoration: none;
  font-weight: 600;
}
.cookie__sub a:hover {
  text-decoration: underline;
}
.cookie__sub .muted {
  display: inline-block;
  margin-top: 8px;
  font-size: 15px;
  color: #6b6b76;
}

/* ---------- Business-info block (contacts page) ---------------------------- */
.business-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
.business-info__block {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 6px 22px rgba(20, 20, 40, 0.05);
}
.business-info__block h4 {
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--vm-ink);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--vm-accent-soft);
}
.business-info__block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.business-info__block li {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--vm-gray);
  margin-bottom: 10px;
}
.business-info__block li strong {
  color: var(--vm-ink);
}
.business-info__block p {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--vm-gray);
  margin: 0 0 16px;
}
.business-info__block a {
  color: var(--vm-accent);
  text-decoration: none;
  font-weight: 600;
}
.business-info__block a:hover {
  text-decoration: underline;
}
.business-info__links li {
  margin-bottom: 12px;
}
.business-info__pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.business-info__pay img {
  height: 26px;
  width: auto;
}
@media (max-width: 1024px) {
  .business-info {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
}

/* ---------- Back-to-top button (injected by JS) ---------------------------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--vm-accent);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, filter 0.2s ease;
  box-shadow: 0 10px 26px rgba(228, 33, 37, 0.35);
  z-index: 900;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

/* ==========================================================================
   Nav icons + redesigned mini-cart (Aug 2026)
   ========================================================================== */

/* ---- Nav-bar icons ---- */
.header__nav ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  opacity: 0.78;
  flex: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.header__nav ul li a:hover .nav-ico {
  opacity: 1;
  transform: translateY(-1px);
}

/* ---- Action icon buttons (cart / profile / search) hover polish ---- */
.header__actions .header__actions_item {
  border-radius: 11px;
  transition: background 0.18s ease;
}
.header__actions .header__actions_item:hover {
  background: rgba(228, 33, 37, 0.08);
}

/* ---- Mini-cart dropdown: clean white product card (replaces yellow blob) - */
.header__actions_item.cart .cart__submenu {
  position: absolute;
  top: 150%;
  right: 50%;
  transform: translateX(50%);
  width: 340px;
  max-width: 92vw;
  height: auto;
  max-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid #ecedf1;
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(20, 20, 40, 0.16);
  transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.28s ease;
  z-index: 60;
}
.header__actions_item.cart.active .cart__submenu {
  max-height: 600px;
  padding: 18px;
  opacity: 1;
  overflow: visible;
}
/* pointer caret */
.header__actions_item.cart .cart__submenu::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 18px;
  height: 18px;
  background: #fff;
  border-left: 1px solid #ecedf1;
  border-top: 1px solid #ecedf1;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.header__actions_item.cart.active .cart__submenu::before {
  opacity: 1;
}

.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cart-panel__head h4 {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--vm-ink);
}
.cart-panel__count {
  color: var(--vm-gray);
  font-size: 13px;
  font-weight: 600;
}
.cart-panel__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
}
.cart-panel__thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}
.cart-panel__info {
  flex: 1;
  min-width: 0;
}
.cart-panel__info h5 {
  margin: 0 0 3px;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--vm-ink);
}
.cart-panel__info span {
  color: var(--vm-gray);
  font-size: 12.5px;
}
.cart-panel__price {
  font-family: Roboto, sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--vm-ink);
  white-space: nowrap;
}
.cart-panel__remove {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #f5f5f8;
  color: var(--vm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease, color 0.16s ease;
}
.cart-panel__remove svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.cart-panel__remove:hover {
  background: var(--vm-accent-soft);
  color: var(--vm-accent);
}
.cart-panel__divider {
  height: 1px;
  background: #ecedf1;
  margin: 14px 0;
}
.cart-panel__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cart-panel__subtotal > span:first-child {
  color: var(--vm-gray);
  font-size: 14px;
  font-weight: 600;
}
.cart-panel__subtotal .amt {
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--vm-ink);
}
.cart-panel__subtotal .amt small {
  font-size: 11px;
  color: var(--vm-gray);
  font-weight: 600;
  margin-left: 3px;
}
.cart-panel__pay,
.cart-panel__view {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px;
  font-family: Roboto, sans-serif;
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.cart-panel__pay {
  background: #ffb800;
  color: #4a3500;
  box-shadow: 0 8px 18px rgba(255, 184, 0, 0.32);
  margin-bottom: 9px;
}
.cart-panel__pay:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}
.cart-panel__view {
  background: #fff;
  color: var(--vm-ink);
  border: 1px solid #ecedf1;
}
.cart-panel__view:hover {
  border-color: var(--vm-accent);
  color: var(--vm-accent);
}
.cart-panel__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--vm-gray);
  font-size: 12px;
  margin-top: 12px;
}
.cart-panel__secure svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
}

/* ==========================================================================
   Top utility bar (dark) — full-bleed inside the fixed padded header
   ========================================================================== */
.topbar {
  /* true edge-to-edge full-bleed regardless of the header's side padding */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #232331;
  color: #e9e9ef;
  margin: 0 0 calc(0.7 * (1vw + 1vh));
  font-family: Roboto, sans-serif;
}
.topbar__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 44px;
  padding-left: calc(3.3333333333 * (1vw + 1vh));
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfcfda;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s ease;
}
.topbar__link svg {
  width: 16px;
  height: 16px;
  color: var(--vm-accent);
}
.topbar__link:hover {
  color: #fff;
}
.topbar__sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.18);
  align-self: center;
}
.topbar__right {
  display: flex;
  align-items: stretch;
}
.topbar__login {
  display: inline-flex;
  align-items: center;
  color: #cfcfda;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 0 22px;
  transition: color 0.18s ease;
}
.topbar__login:hover {
  color: #fff;
}
.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vm-accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 0 26px;
  transition: background 0.18s ease, gap 0.18s ease;
}
.topbar__cta span {
  transition: transform 0.18s ease;
}
.topbar__cta:hover {
  background: #c51a1e;
}
.topbar__cta:hover span {
  transform: translateX(4px);
}
@media screen and (max-width: 1050px) {
  .topbar {
    margin: 0 0 14px;
  }
  .topbar__inner {
    padding-left: 20px;
    min-height: 42px;
  }
}
@media screen and (max-width: 768px) {
  .topbar__sep,
  .topbar__email,
  .topbar__login {
    display: none;
  }
  .topbar__link {
    font-size: 13px;
  }
  .topbar__cta {
    font-size: 13px;
    padding: 0 16px;
  }
}

/* ==========================================================================
   Catalog: course badges + working filter UI
   ========================================================================== */
.course-card { position: relative; }
.course-card.is-hidden { display: none !important; }
.course-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}
.cbadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1;
}
.cbadge--beginner { background: rgba(14, 159, 142, 0.12); color: #0e9f8e; }
.cbadge--intermediate { background: rgba(91, 91, 214, 0.12); color: #5b5bd6; }
.cbadge--expert { background: rgba(228, 33, 37, 0.10); color: #e42125; }
.cbadge--rating { background: rgba(255, 184, 0, 0.16); color: #b57f00; }

/* filter sidebar */
.catalog__filterhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.catalog__filterhead h4 {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--vm-ink);
}
.filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid #ecedf1;
  border-radius: 8px;
  padding: 6px 12px;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--vm-gray);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.filter-clear svg { width: 14px; height: 14px; }
.filter-clear:hover { border-color: var(--vm-accent); color: var(--vm-accent); transform: translateY(-1px); }

.item__list__value { cursor: pointer; }
.item__list__value label { cursor: pointer; }
input[data-group] { accent-color: var(--vm-accent); cursor: pointer; width: 16px; height: 16px; }

.catalog__resultbar {
  margin: 6px 0 20px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--vm-ink);
  font-variant-numeric: tabular-nums;
}

.catalog__empty {
  width: 100%;
  text-align: center;
  padding: 48px 16px;
  color: var(--vm-gray);
}
.catalog__empty p { margin: 0 0 16px; font-size: 16px; }
.reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vm-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 22px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.reset-btn svg { width: 17px; height: 17px; }
.reset-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ==========================================================================
   Button icons — align with label + keep every CTA animated
   ========================================================================== */
.btn-ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex: none;
  vertical-align: -4px;
  margin-right: 8px;
}
.register-btn,
.free-btn,
.courses-btn,
.bottom__btn,
.contact_me__btn,
.question__btn,
.review__btn,
.send-btn,
.mobile-menu__register-btn {
  align-items: center;
}
/* animation for the two CTAs not already covered above */
.mobile-menu__register-btn,
.pay-now__btn,
.lesson-price-info__btn,
.filter-clear,
.reset-btn,
.cart-panel__pay,
.cart-panel__view,
.topbar__cta,
.send-btn,
button.payment__item {
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.mobile-menu__register-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* ==========================================================================
   Premium course cards (.pcard) — used in the catalog grid and homepage slider
   ========================================================================== */
.catalog .catalog__cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px !important;
  width: 100%;
  align-items: stretch !important;
}
@media screen and (max-width: 1050px) {
  .catalog .catalog__cards {
    display: grid !important;
    grid-template-columns: 1fr;
  }
}

.pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(20, 20, 40, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(20, 20, 40, 0.12);
  border-color: #e2e2ea;
}
.pcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #faf9f6;
  overflow: hidden;
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.pcard:hover .pcard__media img {
  transform: scale(1.06);
}
.pcard__level {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
}
.pcard__level--beginner { background: #0e9f8e; }
.pcard__level--intermediate { background: #5b5bd6; }
.pcard__level--expert { background: #e42125; }
.pcard__rating {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(20, 20, 30, 0.66);
  color: #ffd36b;
  font-family: Roboto, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.pcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.pcard__cat {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: Roboto, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--vm-accent);
  margin-bottom: 8px;
}
.pcard__title {
  font-family: Roboto, sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--vm-ink);
  line-height: 1.3;
  margin: 0 0 8px;
}
.pcard__desc {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  color: var(--vm-gray);
  line-height: 1.55;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.pcard__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  color: var(--vm-gray);
  font-weight: 600;
}
.pcard__meta svg { color: var(--vm-accent); flex: none; }
.pcard__divider {
  height: 1px;
  background: #eeeef2;
  margin-top: auto;
}
.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
}
.pcard__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pcard__old {
  color: #a6a6b2;
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 600;
}
.pcard__now {
  color: var(--vm-ink);
  font-family: Roboto, sans-serif;
  font-size: 22px;
  font-weight: 800;
}
.pcard__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--vm-accent);
  color: #fff;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 10px;
  transition: gap 0.2s ease, filter 0.2s ease;
}
.pcard:hover .pcard__btn {
  filter: brightness(1.06);
  gap: 10px;
}
/* homepage slider slides fill their swiper slide cleanly */
.second-block__slider .swiper-slide.pcard {
  height: auto;
}

/* ==========================================================================
   Register / Login page — balanced 50/50 layout (Aug 2026)
   Owner feedback: the image dominated; make form + image roughly equal,
   with the image taking noticeably LESS space than before.
   Old approach: flex row, form ~23.3vw, image ~26.7vw (image wider than form).
   New approach: two equal columns (1fr 1fr), image capped so it never
   outgrows the form. Stacks to a single column on mobile (form first).
   ========================================================================== */
.register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: calc(2.6666666667 * (1vw + 1vh));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(3.3333333333 * (1vw + 1vh));
  padding-right: calc(3.3333333333 * (1vw + 1vh));
}
/* form column: fill its half, but keep inputs a comfortable reading width */
.register .register__form {
  width: 100%;
  max-width: 460px;
  align-items: stretch;
}
.register form,
.register form.active {
  width: 100%;
}
/* image column: fill its half so it reads as a true 50/50, not a tiny inset */
.register .register__img {
  width: 100%;
  height: auto;
  max-width: 620px;
  justify-self: center;
  object-fit: contain;
  border-radius: 20px;
}
/* submit buttons: icon alignment + hover animation (site-wide consistency) */
.register .register__btn {
  gap: 8px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.register .register__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 10px 24px rgba(255, 184, 0, 0.3);
}
/* keep the button icon on the yellow button visually balanced */
.register .register__btn .btn-ico {
  margin-right: 0;
}
/* stack on mobile — form first (DOM order), image below */
@media screen and (max-width: 1050px) {
  .register {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 24px;
  }
  .register .register__form,
  .register .register__img {
    max-width: none;
  }
}

/* ==========================================================================
   Premium footer — CTA band + refined columns/socials
   ========================================================================== */
.footer-cta {
  /* match the footer's own horizontal padding so the band lines up with the
     footer columns / sections instead of sticking out wider */
  max-width: none;
  margin: 0 0 54px;
  padding-left: calc(8 * (1vw + 1vh));
  padding-right: calc(8 * (1vw + 1vh));
  box-sizing: border-box;
}
@media screen and (max-width: 1050px) {
  .footer-cta {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.footer-cta__inner {
  position: relative;
  overflow: hidden;
  background: #1c1c28;
  border-radius: 24px;
  padding: 44px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 28px 64px rgba(20, 20, 40, 0.20);
}
.footer-cta__inner::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 33, 37, 0.38), transparent 70%);
  pointer-events: none;
}
.footer-cta__text { position: relative; z-index: 1; }
.footer-cta__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffb800;
  margin-bottom: 10px;
}
.footer-cta__text h3 {
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 10px;
  max-width: 540px;
}
.footer-cta__text p {
  color: #b9b9c6;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}
.footer-cta__form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.footer-cta__form input {
  border: none;
  outline: none;
  padding: 12px 16px;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  min-width: 230px;
  border-radius: 10px;
  color: var(--vm-ink);
}
.footer-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vm-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-family: Roboto, sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, filter 0.18s ease, gap 0.18s ease;
}
.footer-cta__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  gap: 12px;
}
@media (max-width: 860px) {
  .footer-cta__inner { padding: 32px 26px; flex-direction: column; align-items: flex-start; }
  .footer-cta__form { width: 100%; flex-direction: column; }
  .footer-cta__form input { min-width: 0; width: 100%; }
  .footer-cta__btn { justify-content: center; }
  .footer-cta__text h3 { font-size: 22px; }
}

/* refined footer columns + socials */
.footer__nav .nav__title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 6px;
}
.footer__nav .nav__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--vm-accent);
}
.footer .footer__nav .nav__list a {
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.footer .footer__nav .nav__list a:hover {
  color: var(--vm-accent);
  padding-left: 4px;
}
.footer .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f4f8;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.footer .icon:hover {
  background: var(--vm-accent-soft);
  transform: translateY(-2px);
}

/* ==========================================================================
   Course card covers — warm Spanish (red/gold) gradient + centered icon
   (replaces the generic photo covers)
   ========================================================================== */
.pcard__cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pcard__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 25% 18%, rgba(255, 255, 255, 0.30), transparent 55%);
}
.pcard__cover::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 16px solid rgba(255, 255, 255, 0.12);
}
.pcard__glyph {
  position: relative;
  z-index: 1;
  display: inline-flex;
  color: #fff;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22));
  transition: transform 0.4s ease;
}
.pcard__glyph svg { width: 62px; height: 62px; }
.pcard:hover .pcard__glyph { transform: scale(1.09) rotate(-2deg); }

.pcard__cover--v1 { background: linear-gradient(135deg, #e42125, #ff6a2c); }
.pcard__cover--v2 { background: linear-gradient(135deg, #f0640a, #ff9a2e); }
.pcard__cover--v3 { background: linear-gradient(135deg, #c4161c, #e42125); }
.pcard__cover--v4 { background: linear-gradient(135deg, #f5515f, #e11d48); }
.pcard__cover--v5 { background: linear-gradient(135deg, #ff7a18, #e42125); }
.pcard__cover--v6 { background: linear-gradient(135deg, #e42125, #a6141a); }

/* ==========================================================================
   Login modal (opens from the account icon; blurs the page behind)
   ========================================================================== */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-modal.open { display: flex; }
.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 28, 0.55);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.login-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 22px;
  padding: 34px 34px 30px;
  box-shadow: 0 40px 90px rgba(10, 10, 25, 0.35);
  animation: loginIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes loginIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .login-modal__dialog { animation: none; }
}
.login-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: #f4f4f8;
  color: var(--vm-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease, color 0.16s ease;
}
.login-modal__close svg { width: 16px; height: 16px; stroke: currentColor; }
.login-modal__close:hover { background: var(--vm-accent-soft); color: var(--vm-accent); }
.login-modal__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e42125, #ff6a2c);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
}
.login-modal__avatar svg { width: 30px; height: 30px; stroke: currentColor; }
.login-modal__title {
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 23px;
  font-weight: 800;
  color: var(--vm-ink);
  margin: 0 0 4px;
}
.login-modal__sub {
  text-align: center;
  color: var(--vm-gray);
  font-size: 14.5px;
  margin: 0 0 22px;
}
.login-modal__form { display: flex; flex-direction: column; gap: 14px; }
.login-modal__field { display: flex; flex-direction: column; gap: 6px; }
.login-modal__field span {
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--vm-ink);
}
.login-modal__field input {
  border: 1px solid #e3e3ea;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: Roboto, sans-serif;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.login-modal__field input:focus {
  border-color: var(--vm-accent);
  box-shadow: 0 0 0 3px var(--vm-accent-soft);
}
.login-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}
.login-modal__remember {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--vm-gray);
  cursor: pointer;
}
.login-modal__remember input { accent-color: var(--vm-accent); width: 15px; height: 15px; }
.login-modal__link {
  color: var(--vm-accent);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.login-modal__link:hover { text-decoration: underline; }
.login-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  background: var(--vm-accent);
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 13px;
  font-family: Roboto, sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.login-modal__submit:hover { transform: translateY(-2px); filter: brightness(1.05); }
.login-modal__submit .btn-ico { margin-right: 0; }
.login-modal__foot {
  text-align: center;
  color: var(--vm-gray);
  font-size: 14px;
  margin: 18px 0 0;
}
.login-modal__foot a { color: var(--vm-accent); font-weight: 700; text-decoration: none; }
.login-modal__foot a:hover { text-decoration: underline; }

/* ---------- Footer: smaller payment icons + removed socials ---------------- */
.footer .pay-list img,
.footer .pay-logo img {
  height: 22px;
  width: auto;
  /* index.css forces min-width/min-height:max-content on these, which on small
     screens distorts the icons and pushes them past the row so they clip into
     slivers. Neutralise it and keep the real aspect ratio. */
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100%;
  flex: 0 0 auto;
  object-fit: contain;
}
/* Always stack the payment row: the "Secure payment…" label on its own line,
   the card icons on a line UNDER it — so the icons never overflow into the
   neighbouring footer columns. */
.footer .pay-list {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px 14px;
}
.footer .pay-list .secure {
  font-size: 13px;
  flex-basis: 100%; /* forces the icons onto the next line, beneath the text */
}
.footer .pay-list > .flex-center {
  flex-wrap: wrap;
  gap: 14px;
}
@media screen and (max-width: 1050px) {
  .footer .pay-list,
  .footer .pay-list > .flex-center { justify-content: center; }
  .footer .pay-list { text-align: center; }
  .footer .pay-list img,
  .footer .pay-logo img { height: 20px; }
}

/* ==========================================================================
   "Start your first free lesson" — bigger phone field + country selector
   ========================================================================== */
.registration__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--vm-accent);
  margin-bottom: 12px;
}
.registration__lead {
  color: var(--vm-gray);
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0 24px;
  max-width: 460px;
}
.registration .phone-field {
  display: flex;
  align-items: stretch;
  gap: 10px;
  background: #fff;
  border: 1px solid #e6e6ee;
  border-radius: 16px;
  padding: 9px;
  box-shadow: 0 10px 30px rgba(20, 20, 40, 0.08);
  max-width: 560px;
  margin-bottom: 18px;
}
.registration .phone-code {
  border: none;
  background: #f5f5f8;
  border-radius: 11px;
  padding: 0 14px;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--vm-ink);
  cursor: pointer;
  outline: none;
  transition: box-shadow 0.16s ease;
}
.registration .phone-code:focus { box-shadow: 0 0 0 3px var(--vm-accent-soft); }
.registration .phone-field input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 15px 12px;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  color: var(--vm-ink);
  background: transparent;
}
.registration .phone-field .contact_me__btn {
  white-space: nowrap;
  border-radius: 11px;
}
.registration .accept_terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 560px;
  cursor: pointer;
}
.registration .accept_terms input { accent-color: var(--vm-accent); margin-top: 3px; flex: none; }
.registration .accept_terms span { color: var(--vm-gray); font-size: 13.5px; line-height: 1.55; }
.registration .accept_terms a { color: var(--vm-accent); font-weight: 600; text-decoration: none; }
.registration .accept_terms a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .registration .phone-field { flex-wrap: wrap; }
  .registration .phone-field input { flex: 1 1 60%; }
  .registration .phone-field .contact_me__btn { flex: 1 1 100%; order: 3; justify-content: center; }
}

/* ==========================================================================
   CONTACT + ABOUT PAGE REDESIGN  (appended block — owns these two pages)
   Loaded after index.css, so equal-specificity selectors win by source order.
   Goals: cap oversized images, raise text to comfortable sizes, add rhythm,
   and a self-contained (.vm-reveal / .in-view) entrance animation.
   ========================================================================== */

/* ---- Shared scoped scroll-reveal (JS adds .vm-reveal so no-JS = visible) --- */
.vm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.vm-reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .vm-reveal,
  .vm-reveal.in-view {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================  CONTACTS PAGE  ============================== */
/* Stacked, centred layout instead of the cramped 3-column flex row. */
.contact-page {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  gap: 0;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 24px) 24px;
}

.contact-page .contact-page__hero {
  width: 100%;
  align-items: center;
  margin-bottom: 8px;
}
.contact-page .hero__top {
  align-items: center;
  text-align: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 40px;
}
.contact-page .page-title {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 0;
}
.contact-page .page-subtitle {
  width: 100%;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  letter-spacing: 0;
}

/* 3-up card grid */
.contact-page .contact-page__cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-page .contact-page__card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(20, 20, 40, 0.05);
}
/* Icon sits in a soft accent badge; kill the max-content min-size that was
   forcing the SVG to its (over-large) intrinsic box. */
.contact-page .contact-page__card__img {
  width: 34px;
  height: 34px;
  min-width: 0;
  min-height: 0;
  padding: 13px;
  box-sizing: content-box;
  object-fit: contain;
  background: var(--vm-accent-soft);
  border-radius: 14px;
}
.contact-page .contact-page__card__hero {
  gap: 6px;
}
.contact-page .contact-page__card__hero .hero__title {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--vm-ink);
  letter-spacing: 0;
}
.contact-page .contact-page__card__hero .hero__phone,
.contact-page .contact-page__card__hero .hero__mail {
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}
.contact-page .contact-page__card__hero .hero__social {
  width: 24px;
  height: 24px;
  min-width: 0;
  min-height: 0;
  transition: transform 0.2s ease;
}
.contact-page .contact-page__card__hero a:hover .hero__social {
  transform: translateY(-2px);
}

/* Business-info fills the centred column */
.contact-page .business-info {
  max-width: none;
  margin: 8px 0 36px;
  padding: 0;
}

/* Support form — one clean, centred card */
.contact-page .support__contact {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 20px;
  padding: 36px clamp(20px, 4vw, 34px) 40px;
  box-shadow: var(--vm-shadow);
}
.contact-page .support__contact h4 {
  font-size: 26px;
  line-height: 1.25;
}
.contact-page .support__contact p {
  font-size: 16px;
  line-height: 1.6;
}
.contact-page .support__contact .fields__item label {
  font-size: 15px;
  line-height: 1.5;
}
.contact-page .support__contact .fields__item.w-full {
  width: 100%;
}
.contact-page .support__contact .fields__item #support__name,
.contact-page .support__contact .fields__item #registration__phone,
.contact-page .support__contact .fields__item #support__message {
  background: #fff;
  border: 1.5px solid #e6e6ee;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--vm-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.contact-page .support__contact .fields__item #support__message {
  height: 130px;
}
.contact-page .support__contact .fields__item #support__name:focus,
.contact-page .support__contact .fields__item #registration__phone:focus,
.contact-page .support__contact .fields__item #support__message:focus {
  border-color: var(--vm-accent);
  box-shadow: 0 0 0 3px var(--vm-accent-soft);
  outline: none;
}
.contact-page .support__contact .send-btn {
  gap: 10px;
  padding: 15px 26px;
  font-size: 16px;
  line-height: 1;
}
.contact-page .support__contact .send-btn .btn-ico {
  width: 18px;
  height: 18px;
}

@media (max-width: 820px) {
  .contact-page .contact-page__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================  ABOUT PAGE  ============================== */
.about-page {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
  padding-top: 40px;
}
.about-page > .page-title {
  align-self: stretch;
  text-align: center;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}
.about-page > .page-subtitle {
  align-self: stretch;
  text-align: center;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.about-page .about-page__items {
  gap: 56px;
  padding-top: 44px;
  padding-bottom: 64px;
}
.about-page .about-page__item {
  align-items: center;
  gap: 48px;
}
.about-page .item__hero {
  width: auto;
  flex: 1 1 0;
  gap: 16px;
}
.about-page .item__hero h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.3;
}
.about-page .item__hero p {
  font-size: clamp(16px, 1.4vw, 17px);
  line-height: 1.7;
  letter-spacing: 0;
}
/* Cap the feature images (were forced to 1083px intrinsic by max-content) */
.about-page .about-page__item__img {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  flex: 0 0 auto;
  max-width: min(46%, 440px);
  /* transparent illustrations — no card frame or shadow */
  border-radius: 0;
  box-shadow: none;
}

/* Experts */
.about-page .about-page__experts {
  gap: 40px;
  padding-top: 56px;
}
.about-page .experts__hero {
  width: 100%;
  max-width: 760px;
  gap: 14px;
}
.about-page .experts__hero .page-title {
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.25;
  letter-spacing: 0;
}
.about-page .experts__hero .page-subtitle {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  letter-spacing: 0;
}
.about-page .experts__cards {
  gap: 24px;
}
.about-page .experts__card {
  width: calc(25% - 18px);
  gap: 0;
}
/* Slim the chunky 20px border to a tasteful frame */
.about-page .card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid #ffb800;
  border-radius: 22px;
  margin-bottom: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.about-page .experts__card:hover .card__img {
  border: 4px solid var(--vm-accent);
  transform: translateY(-4px);
}
.about-page .card__title {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.about-page .card__sub {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

@media (max-width: 1050px) {
  .about-page .about-page__items {
    gap: 40px;
    padding-bottom: 40px;
  }
  .about-page .about-page__item {
    gap: 24px;
  }
  .about-page .item__hero {
    width: 100%;
  }
  .about-page .about-page__item__img {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 900px) {
  .about-page .experts__card {
    width: calc(50% - 12px);
  }
  .about-page .experts__cards {
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .about-page .experts__card {
    width: 100%;
  }
}

/* ---------- FAQ illustration was forced to full size (max-content) --------- */
.question__img {
  min-width: 0 !important;
  min-height: 0 !important;
  width: min(500px, 78%) !important;
  height: auto !important;
  margin-top: 10px;
}

/* ============================================================================
   COURSE DETAIL PAGE — merged two-column layout (.coursepro__ prefix, scoped)
   ONE sticky red→orange pricing card in the sidebar replaces the two old
   redundant price boxes. Left column: header, about, curriculum, teacher,
   reviews + ask-a-question, who, FAQ. Brand: red #e42125 / yellow #ffb800.
   Appended block — self-contained, cannot clash with existing styles.
   ========================================================================== */

/* ---- two-column shell (centered, max 1200, ~62/34) ---- */
.catalog-card.coursepro {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 24px 8px;
}
.catalog-card.coursepro .coursepro__main {
  width: 62%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.catalog-card.coursepro .coursepro__aside {
  width: 34%;
  flex: 0 0 34%;
  align-self: stretch;
}
.catalog-card.coursepro .coursepro__main > * { width: 100%; }
@media (max-width: 900px) {
  .catalog-card.coursepro { flex-direction: column; gap: 30px; padding: 24px 18px 8px; }
  .catalog-card.coursepro .coursepro__main,
  .catalog-card.coursepro .coursepro__aside { width: 100%; flex-basis: auto; }
}

/* ---- shared section heading ---- */
.coursepro__h3 {
  font-size: 24px;
  font-weight: 800;
  color: #12100e;
  margin: 38px 0 6px;
  letter-spacing: -0.01em;
}
.coursepro__sub {
  font-size: 14px;
  font-weight: 600;
  color: #e42125;
  margin: 0 0 16px;
}

/* ---- curriculum: modules + lessons ---- */
.coursepro__modules { display: grid; gap: 12px; }
.coursepro__module {
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.coursepro__module[open] {
  border-color: #f4c1c2;
  box-shadow: 0 14px 34px -24px rgba(228,33,37,.55);
}
.coursepro__module > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 700;
}
.coursepro__module > summary::-webkit-details-marker { display: none; }
.coursepro__mod-head { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.coursepro__mod-num {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #e42125;
}
.coursepro__mod-title { font-size: 16px; font-weight: 700; color: #17140f; }
.coursepro__mod-count {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 700;
  color: #6a6560;
  background: #f6f2ea;
  border-radius: 100px;
  padding: 6px 12px;
  position: relative;
}
.coursepro__mod-count::after {
  content: "+";
  margin-left: 10px;
  color: #e42125;
  font-weight: 700;
  display: inline-block;
  transition: transform .2s ease;
}
.coursepro__module[open] .coursepro__mod-count::after { transform: rotate(45deg); }
.coursepro__lessons {
  list-style: none;
  margin: 0;
  padding: 0 18px 8px;
  counter-reset: cplesson;
}
.coursepro__lessons li {
  counter-increment: cplesson;
  position: relative;
  padding: 12px 0 12px 42px;
  border-top: 1px solid #f2f0ec;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.coursepro__lessons li::before {
  content: counter(cplesson);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg,#e42125,#ff7a18);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coursepro__lesson-title { font-size: 14.5px; font-weight: 700; color: #201d19; }
.coursepro__lesson-desc { font-size: 13.5px; color: #6a6560; line-height: 1.5; }

/* ---- your teacher ---- */
.coursepro__teacher-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 16px 40px -30px rgba(0,0,0,.4);
}
.coursepro__teacher-photo {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px -14px rgba(228,33,37,.5);
}
.coursepro__teacher-info h4 { font-size: 19px; font-weight: 800; color: #17140f; margin: 0 0 2px; }
.coursepro__teacher-role {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #e42125;
  margin-bottom: 8px;
}
.coursepro__teacher-info p { font-size: 14px; line-height: 1.6; color: #55514c; margin: 0; }

/* ---- student reviews ---- */
.coursepro__review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.coursepro__review {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 18px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.coursepro__review:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(228,33,37,.5); }
.coursepro__review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.coursepro__review-name { font-size: 14.5px; font-weight: 800; color: #201d19; }
.coursepro__stars { display: inline-flex; gap: 2px; }
.coursepro__stars img { width: 15px; height: 15px; }
.coursepro__review p { margin: 0; font-size: 14px; line-height: 1.6; color: #55514c; font-style: italic; }

/* ---- ask a question ---- */
.coursepro__ask {
  background: #faf7f2;
  border: 1px solid #efe9df;
  border-radius: 18px;
  padding: 22px;
}
.coursepro__ask h4 { font-size: 18px; font-weight: 800; color: #17140f; margin: 0 0 4px; }
.coursepro__ask-sub { font-size: 13.5px; color: #6a6560; margin: 0 0 16px; }
.coursepro__ask-form { display: grid; gap: 12px; }
.coursepro__ask-form input,
.coursepro__ask-form textarea {
  width: 100%;
  border: 1px solid #ddd6cc;
  border-radius: 12px;
  padding: 13px 15px;
  font: inherit;
  font-size: 14.5px;
  color: #201d19;
  background: #fff;
  resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.coursepro__ask-form input:focus,
.coursepro__ask-form textarea:focus {
  outline: none;
  border-color: #e42125;
  box-shadow: 0 0 0 3px rgba(228,33,37,.12);
}
.coursepro__ask-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  cursor: pointer;
  background: #e42125;
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 100px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 12px 24px -14px rgba(228,33,37,.7);
}
.coursepro__ask-btn svg { width: 18px; height: 18px; transition: transform .18s ease; }
.coursepro__ask-btn:hover { background: #c81a1e; transform: translateY(-2px); }
.coursepro__ask-btn:hover svg { transform: translateX(3px) rotate(8deg); }

/* ---- sticky pricing / enroll card (red→orange gradient) ---- */
.coursepro__pricecard {
  position: sticky;
  top: 110px;
  color: #fff;
  border-radius: 22px;
  padding: 26px 24px;
  background: linear-gradient(150deg,#e42125 0%,#ff6a2b 100%);
  box-shadow: 0 30px 60px -30px rgba(228,33,37,.7);
  overflow: hidden;
}
.coursepro__pricecard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 130% at 100% 0%, rgba(255,255,255,.28), transparent 55%);
  pointer-events: none;
}
.coursepro__pricecard > * { position: relative; z-index: 1; }
.coursepro__pc-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 10px;
}
.coursepro__pc-priceline { display: flex; align-items: baseline; gap: 12px; }
.coursepro__pc-now { font-size: 40px; font-weight: 800; line-height: 1; }
.coursepro__pc-was { font-size: 20px; text-decoration: line-through; opacity: .72; }
.coursepro__pc-save {
  display: inline-block;
  margin-top: 10px;
  background: #ffb800;
  color: #241c00;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 100px;
}
.coursepro__pc-stats {
  list-style: none;
  margin: 20px 0 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.28);
  display: grid;
  gap: 12px;
}
.coursepro__pc-stats li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14.5px;
}
.coursepro__pc-num {
  flex: 0 0 auto;
  min-width: 40px;
  font-size: 20px;
  font-weight: 800;
}
.coursepro__pc-lab { opacity: .95; }
.coursepro__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15.5px;
  padding: 15px 22px;
  border-radius: 100px;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.coursepro__btn svg { width: 19px; height: 19px; transition: transform .18s ease; }
.coursepro__btn--enroll {
  background: #ffb800;
  color: #241c00;
  border: 2px solid #ffb800;
  box-shadow: 0 14px 28px -14px rgba(0,0,0,.5);
  margin-bottom: 12px;
}
.coursepro__btn--enroll:hover {
  background: #ffc734;
  border-color: #ffc734;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgba(0,0,0,.55);
}
.coursepro__btn--enroll:hover svg:last-child { transform: translateX(4px); }
.coursepro__btn--cart {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 2px solid rgba(255,255,255,.75);
  backdrop-filter: blur(3px);
}
.coursepro__btn--cart:hover {
  background: #fff;
  color: #e42125;
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(0,0,0,.5);
}
.coursepro__btn--cart:hover svg { transform: scale(1.12) rotate(90deg); }
.coursepro__pc-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  opacity: .92;
}
.coursepro__pc-secure svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------- Dynamic cart (localStorage) bits ------------------------------ */
.cart-panel__empty {
  padding: 20px 4px;
  text-align: center;
  color: var(--vm-gray);
  font-size: 14px;
}
.cart-panel__thumb--grad {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e42125, #ff6a2c);
}
.cart-panel__thumb--grad svg { width: 26px; height: 26px; }

/* ==========================================================================
   Unified button style — match the course-page pill CTA the owner likes
   (fully-rounded pill, bold, yellow primary #ffb800 + dark text, lift hover)
   ========================================================================== */
.register-btn,
.free-btn,
.courses-btn,
.send-btn,
.contact_me__btn,
.question__btn,
.review__btn,
.bottom__btn,
.homepage__btn,
.top__hero__btn,
.contact-us__btn,
.pay-now__btn,
.lesson-price-info__btn,
.mobile-menu__register-btn,
.pcard__btn,
.cart-panel__pay,
.cart-panel__view,
.footer-cta__btn,
.login-modal__submit,
.pay__pay,
.reset-btn {
  border-radius: 100px !important;
  font-weight: 800 !important;
  gap: 10px;
}

/* primary CTAs → solid yellow pill with dark text */
.register-btn,
.free-btn,
.courses-btn,
.send-btn,
.contact_me__btn,
.question__btn,
.bottom__btn,
.homepage__btn,
.top__hero__btn,
.contact-us__btn,
.pay-now__btn,
.lesson-price-info__btn,
.mobile-menu__register-btn,
.pcard__btn,
.cart-panel__pay,
.footer-cta__btn,
.login-modal__submit,
.pay__pay,
.reset-btn {
  background: #ffb800 !important;
  color: #241c00 !important;
  border: 2px solid #ffb800 !important;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.4) !important;
}
.register-btn:hover,
.free-btn:hover,
.courses-btn:hover,
.send-btn:hover,
.contact_me__btn:hover,
.question__btn:hover,
.bottom__btn:hover,
.homepage__btn:hover,
.top__hero__btn:hover,
.contact-us__btn:hover,
.pay-now__btn:hover,
.lesson-price-info__btn:hover,
.mobile-menu__register-btn:hover,
.pcard__btn:hover,
.cart-panel__pay:hover,
.footer-cta__btn:hover,
.login-modal__submit:hover,
.pay__pay:hover,
.reset-btn:hover {
  background: #ffc734 !important;
  border-color: #ffc734 !important;
  color: #241c00 !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgba(0, 0, 0, 0.45) !important;
}
/* the icons inside these buttons inherit the dark text colour */
.register-btn .btn-ico,
.free-btn .btn-ico,
.courses-btn .btn-ico,
.send-btn .btn-ico,
.contact_me__btn .btn-ico,
.question__btn .btn-ico,
.bottom__btn .btn-ico,
.pcard__btn svg,
.cart-panel__pay .btn-ico,
.footer-cta__btn svg,
.login-modal__submit .btn-ico,
.reset-btn svg {
  color: #241c00 !important;
  stroke: #241c00;
}

/* secondary "View cart" → outlined pill */
.cart-panel__view {
  background: #fff !important;
  border: 2px solid #ececf1 !important;
}
.cart-panel__view:hover {
  border-color: #e42125 !important;
  color: #e42125 !important;
}

/* ==========================================================================
   Button corrections
   - nav "Register" (.register-btn): restore the ORIGINAL orange button (white
     text) — do NOT force black text.
   - login/register page buttons (.register__btn): make them the EXACT pill,
     identical to the course "Enroll now" button.
   ========================================================================== */
.register-btn {
  border-radius: 8px !important;
  background: #ffb800 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}
.register-btn:hover {
  background: #e42125 !important;
  color: #fff !important;
  border-color: #e42125 !important;
}
.register-btn .btn-ico { color: #fff !important; stroke: #fff !important; }

.register__btn {
  border-radius: 100px !important;
  font-weight: 800 !important;
  gap: 10px;
  background: #ffb800 !important;
  color: #241c00 !important;
  border: 2px solid #ffb800 !important;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.4) !important;
}
.register__btn:hover {
  background: #ffc734 !important;
  border-color: #ffc734 !important;
  color: #241c00 !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgba(0, 0, 0, 0.45) !important;
}
.register__btn .btn-ico { color: #241c00 !important; stroke: #241c00 !important; }

/* ==========================================================================
   Language switcher (top bar)
   ========================================================================== */
.lang-switch { position: relative; display: flex; align-items: center; }
.lang-switch__current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e9e9ef;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.16s ease;
}
.lang-switch__current:hover { background: rgba(255, 255, 255, 0.16); }
.lang-switch__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(10, 10, 25, 0.25);
  padding: 6px;
  min-width: 168px;
  display: none;
  z-index: 200;
}
.lang-switch.open .lang-switch__list { display: block; }
.lang-switch__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  color: #1c1c28;
  cursor: pointer;
  transition: background 0.14s ease;
}
.lang-switch__opt:hover { background: #f5f5f8; }
.lang-switch__opt.is-active { background: var(--vm-accent-soft); color: var(--vm-accent); font-weight: 700; }
.lang-switch__opt span { font-size: 17px; }

/* ---------- Thank-you pop-up icon (reuses .login-modal styling) ------------ */
.thanks__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(18, 161, 80, 0.12);
  color: #12a150;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 16px;
}
.thanks__icon svg { width: 32px; height: 32px; }

/* ==========================================================================
   Thank-you pop-up — branded two-column (illustration + logo/message)
   ========================================================================== */
.vm-thanks {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.vm-thanks.open { display: flex; }
.vm-thanks__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 28, 0.55);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.vm-thanks__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 44px 90px rgba(10, 10, 25, 0.4);
  animation: loginIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vm-thanks__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: #6b6b7b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease, color 0.16s ease;
}
.vm-thanks__close svg { width: 16px; height: 16px; stroke: currentColor; }
.vm-thanks__close:hover { background: var(--vm-accent-soft); color: var(--vm-accent); }
.vm-thanks__media {
  background: linear-gradient(160deg, #fff7ea 0%, #ffe7c4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.vm-thanks__media img { width: 100%; max-width: 300px; height: auto; object-fit: contain; }
.vm-thanks__content {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 34px;
}
.vm-thanks__logo { height: 34px; width: auto; align-self: flex-start; }
.vm-thanks__body { margin-top: auto; } /* message pinned to the bottom */
.vm-thanks__check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(18, 161, 80, 0.12);
  color: #12a150;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.vm-thanks__check svg { width: 30px; height: 30px; }
.vm-thanks .thanks__title {
  font-family: Roboto, sans-serif;
  font-size: 23px;
  font-weight: 800;
  color: var(--vm-ink);
  margin: 0 0 6px;
  line-height: 1.25;
}
.vm-thanks .thanks__sub {
  color: var(--vm-gray);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}
.vm-thanks .thanks__ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: #ffb800;
  color: #241c00;
  border: none;
  border-radius: 100px;
  padding: 13px 28px;
  font-family: Roboto, sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.vm-thanks .thanks__ok:hover { transform: translateY(-2px); filter: brightness(1.04); }
@media (max-width: 640px) {
  .vm-thanks__dialog { grid-template-columns: 1fr; max-width: 400px; }
  .vm-thanks__media { display: none; }
  .vm-thanks__content { padding: 40px 26px 28px; }
}

/* ==========================================================================
   Register / Login page v2 — clean segmented tabs, centered columns,
   larger illustration (overrides the earlier register block)
   ========================================================================== */
.register {
  align-items: center;
  max-width: 1120px;
  gap: 48px;
  padding-top: 24px;
  padding-bottom: 64px;
}
.register .register__form { justify-self: center; max-width: 440px; }
.register .register__img {
  justify-self: center;
  max-width: 560px;
  border-radius: 0; /* transparent illustration — no frame */
  box-shadow: none;
}
/* segmented pill toggle (was the "strange" gray control) */
.register .tabs {
  display: flex;
  gap: 4px;
  background: #f4f4f8;
  border: 1px solid #ececf1;
  border-radius: 12px;
  padding: 5px;
  margin: 22px 0 24px;
}
.register .tabs__item {
  flex: 1;
  text-align: center;
  padding: 11px 12px;
  border-radius: 9px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--vm-gray);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.register .tabs__item.active {
  background: #fff;
  color: var(--vm-ink);
  box-shadow: 0 4px 12px rgba(20, 20, 40, 0.08);
}
@media screen and (max-width: 1050px) {
  .register { gap: 28px; }
  .register .register__img { max-width: 420px; }
}

/* register tabs: match the full width of the fields below them */
.register .register__form { display: flex; flex-direction: column; align-items: stretch; }
.register .tabs { width: 100%; box-sizing: border-box; }
.register .tabs__item { box-sizing: border-box; }

/* ==========================================================================
   Contact page v2 — two columns: form + illustration; footer legal one-line
   ========================================================================== */
.contact-two {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  max-width: 1120px;
  margin: 10px auto 20px;
  padding: 0 24px;
}
.contact-two .support__contact {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
}
.contact-two__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.contact-two__img { width: 100%; max-width: 440px; height: auto; }
.contact-two__quick {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}
.contact-two__quick a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--vm-ink);
  text-decoration: none;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 18px;
  border: 1px solid #ececf1;
  border-radius: 12px;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.contact-two__quick a:hover { border-color: var(--vm-accent); color: var(--vm-accent); transform: translateY(-2px); }
.contact-two__quick svg { width: 20px; height: 20px; color: var(--vm-accent); flex: none; }
@media screen and (max-width: 900px) {
  .contact-two { grid-template-columns: 1fr; gap: 28px; }
  .contact-two__aside { order: -1; }
  .contact-two__img { max-width: 320px; }
}

/* footer legal links: each on one line, wrap the row instead of the text */
.footer__legal {
  flex-wrap: wrap;
  gap: 14px 26px !important;
}
.footer__legal a { white-space: nowrap; }

/* ==========================================================================
   Login modal — larger, two-column (illustration + form panel)
   ========================================================================== */
.login-modal__dialog {
  max-width: 780px;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  padding: 0;
  overflow: hidden;
}
.login-modal__media {
  background: linear-gradient(160deg, #fff7ea 0%, #ffe7c4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.login-modal__media img { width: 100%; max-width: 300px; height: auto; }
.login-modal__panel { padding: 38px 36px 32px; }
.login-modal__avatar { margin-left: 0; } /* left-align inside the panel */
.login-modal__title, .login-modal__sub { text-align: left; }
@media (max-width: 640px) {
  .login-modal__dialog { grid-template-columns: 1fr; max-width: 420px; }
  .login-modal__media { display: none; }
  .login-modal__panel { padding: 38px 26px 28px; }
}


/* FAQ section bottom breathing room (gap before the free-consultation band) */
.question { padding-bottom: calc(5 * (1vw + 1vh)) !important; }
@media (max-width: 1050px) { .question { padding-bottom: 60px !important; } }

/* ==========================================================================
   MOBILE HARDENING — responsive safety net across every page/component
   ========================================================================== */
html, body { overflow-x: hidden; }
/* neutralise the template's `min-width:max-content` on images (it forced them
   to full intrinsic size and overflowed narrow screens) + keep them fluid */
img { max-width: 100%; min-width: 0 !important; min-height: 0 !important; }

@media (max-width: 768px) {
  /* every content illustration scales to its container */
  .contact-two__img, .register__img, .question__img, .about-page__item__img,
  .registration__img, .vm-thanks__media img, .login-modal__media img,
  .pcard__media img, .main-block__img { max-width: 100%; height: auto; }

  /* two-column custom blocks collapse to one column */
  .footer-cta__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-cta__form { width: 100%; flex-direction: column; }
  .footer-cta__form input { width: 100%; min-width: 0; }
  .footer-cta__btn { justify-content: center; width: 100%; }
  .business-info { grid-template-columns: 1fr !important; }
  .contact-two { grid-template-columns: 1fr !important; }
  .catalog .catalog__cards { grid-template-columns: 1fr !important; }

  /* buttons never overflow; allow wrap; keep a comfortable tap size */
  .register-btn, .free-btn, .courses-btn, .send-btn, .contact_me__btn,
  .question__btn, .review__btn, .bottom__btn, .homepage__btn, .top__hero__btn,
  .contact-us__btn, .pay-now__btn, .pcard__btn, .cart-panel__pay, .cart-panel__view,
  .footer-cta__btn, .login-modal__submit, .reset-btn, .register__btn, .coursepro__btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  /* top bar stays on screen (phone + flag + CTA); email already hidden */
  .topbar__inner { padding-left: 14px; flex-wrap: wrap; gap: 6px 12px; }
  .topbar__cta { padding: 0 14px; }

  /* registration "first free lesson" phone row stacks */
  .registration .phone-field { flex-wrap: wrap; }
  .registration .phone-field .contact_me__btn { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .topbar__link { font-size: 12px; }
  .topbar__cta { font-size: 12px; padding: 0 12px; }
  .login-modal__dialog, .vm-thanks__dialog { grid-template-columns: 1fr; }
  .vm-thanks__media, .login-modal__media { display: none; }
  .pay__grid, .coursepro__grid { grid-template-columns: 1fr !important; }
  h1, .page-title { font-size: clamp(26px, 8vw, 34px) !important; }
}

/* ==========================================================================
   MOBILE FIXES v2 — FAQ section centering + button text sizing
   ========================================================================== */
@media (max-width: 1050px) {
  /* FAQ / question section: make both columns full-width and centre the hero */
  .question { align-items: center !important; }
  .question__hero {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  .question__content { width: 100% !important; }
  .question__img { margin-left: auto !important; margin-right: auto !important; }
  .question__btn { align-self: center; }
}

@media (max-width: 768px) {
  /* long button labels: shrink the text instead of wrapping awkwardly, and
     keep icon + text centred as one group */
  .register-btn, .free-btn, .courses-btn, .send-btn, .contact_me__btn,
  .question__btn, .review__btn, .bottom__btn, .homepage__btn, .top__hero__btn,
  .contact-us__btn, .pay-now__btn, .pcard__btn, .cart-panel__pay, .cart-panel__view,
  .footer-cta__btn, .login-modal__submit, .reset-btn, .register__btn, .coursepro__btn {
    font-size: 14px !important;
    line-height: 1.3 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center !important;
    text-align: center !important;
  }
  /* the longest labels a touch smaller */
  .free-btn, .footer-cta__btn { font-size: 13.5px !important; }
  .free-btn .btn-ico, .contact_me__btn .btn-ico { margin-right: 6px; }
}

/* language dropdown was trapped behind the cart: the top bar's transform makes
   its own stacking context — lift it above the header row so the dropdown wins */
.topbar { z-index: 70; }
.lang-switch__list { z-index: 300; }

/* ==========================================================================
   Client feedback pass — logo scaling, consent checkboxes, cookie banner
   ========================================================================== */

/* ---------- Logo: never crop on small screens ------------------------------
   The header/footer logo containers have fixed boxes but the <img> had no
   sizing rules, so the SVG could overflow and get clipped. Make it scale to
   fit its box on every screen. */
.header__logo img,
.footer__logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
@media screen and (max-width: 600px) {
  .header__logo {
    width: auto !important;
    max-width: 44vw;
    height: 38px !important;
  }
  .footer__logo {
    width: auto !important;
    max-width: 60vw;
    height: 52px !important;
  }
}

/* ---------- Consent checkbox on the checkout summary ----------------------- */
.pay__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--vm-gray);
  cursor: pointer;
}
.pay__consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--vm-accent);
  cursor: pointer;
}
.pay__consent a {
  color: var(--vm-accent);
  font-weight: 600;
  text-decoration: none;
}
.pay__consent a:hover { text-decoration: underline; }

/* keep the register-page consent aligned like the other stacked fields */
.accept_terms--register { margin: 4px 0 18px; }

/* ---------- Cookie consent banner ----------------------------------------- */
.vm-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 400;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  color: var(--vm-ink);
  border-radius: 16px;
  box-shadow: var(--vm-shadow);
  border: 1px solid rgba(20, 20, 40, 0.08);
  padding: 20px 22px;
  transform: translateY(140%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.vm-cookie.open { transform: none; }
.vm-cookie__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
}
.vm-cookie__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--vm-gray);
  margin: 0 0 16px;
}
.vm-cookie__text a { color: var(--vm-accent); font-weight: 600; text-decoration: none; }
.vm-cookie__text a:hover { text-decoration: underline; }
.vm-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.vm-cookie__btn {
  flex: 1 1 auto;
  min-width: 120px;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease;
}
.vm-cookie__btn--accept { background: var(--vm-accent); color: #fff; }
.vm-cookie__btn--accept:hover { filter: brightness(0.94); }
.vm-cookie__btn--reject { background: #f1f1f5; color: var(--vm-ink); }
.vm-cookie__btn--reject:hover { background: #e7e7ee; }
.vm-cookie__btn--settings {
  background: transparent;
  color: var(--vm-gray);
  flex: 1 1 100%;
  padding: 6px;
  text-decoration: underline;
}
/* settings / preferences panel */
.vm-cookie__panel { display: none; margin: 4px 0 16px; }
.vm-cookie.show-settings .vm-cookie__panel { display: block; }
.vm-cookie.show-settings .vm-cookie__text { display: none; }
.vm-cookie__opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(20, 20, 40, 0.08);
}
.vm-cookie__opt:first-child { border-top: 0; }
.vm-cookie__opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--vm-accent); }
.vm-cookie__opt input:disabled { opacity: 0.55; }
.vm-cookie__opt h5 { margin: 0 0 2px; font-size: 13.5px; font-weight: 700; }
.vm-cookie__opt p { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--vm-gray); }
.vm-cookie__optmeta { display: flex; flex-direction: column; }
@media screen and (max-width: 480px) {
  .vm-cookie { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .vm-cookie__btn { flex: 1 1 100%; }
}

/* ---- Auth + payment UI (added with accounts/checkout) ---- */
.auth-error{color:#e42125;background:#fdecec;border:1px solid #f6c9ca;border-radius:10px;
  padding:9px 12px;font-size:13.5px;margin:8px 0 0;line-height:1.45}
.pay__gws{display:flex;flex-direction:column;gap:8px;margin:14px 0 4px}
.pay__gw{display:flex;align-items:center;gap:9px;border:1px solid #e3e3ea;border-radius:11px;
  padding:11px 13px;font-size:14px;cursor:pointer;transition:border-color .15s,background .15s}
.pay__gw:hover{border-color:#c9c9d4}
.pay__gw input{accent-color:#e42125;width:16px;height:16px}
.pay__gw:has(input:checked){border-color:#e42125;background:rgba(228,33,37,.04)}
.auth-ok{color:#12a150;background:#e9f8ef;border:1px solid #bfe6cd;border-radius:10px;
  padding:9px 12px;font-size:13.5px;margin:8px 0 0;line-height:1.45}
.dash-empty{padding:26px;border:1px dashed #d9d9e3;border-radius:14px;text-align:center;color:#5d5d70}
.dash-empty p{margin:0 0 14px}

/* ================= Client dashboard — clean layout (scoped .vmdash*) ============== */
.dashboard__home .vmdash__welcome{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;
  background:#fff;border:1px solid #ececf1;border-radius:18px;padding:22px 26px;margin-bottom:22px;box-shadow:0 6px 22px rgba(20,20,40,.05)}
.dashboard__home .vmdash__welcome h1{margin:0 0 6px;font-size:24px;font-weight:800;color:#1c1c28;letter-spacing:-.01em;line-height:1.2}
.dashboard__home .vmdash__welcome h1 strong{color:#e42125}
.dashboard__home .vmdash__welcome p{margin:0;color:#6b6b7b;font-size:14.5px}
.vmdash__stats{display:flex;gap:14px;flex:none}
.vmdash__stat{background:linear-gradient(135deg,#e42125,#ff6a2c);color:#fff;border-radius:14px;padding:12px 20px;text-align:center;min-width:86px}
.vmdash__statnum{display:block;font-size:26px;font-weight:800;line-height:1}
.vmdash__statlbl{display:block;font-size:12px;opacity:.9;margin-top:3px}
.dashboard__home .vmdash__sectionhead{width:100%;display:flex;align-items:center;justify-content:space-between;margin:4px 0 16px}
.dashboard__home .vmdash__sectionhead h2{margin:0;font-size:19px;font-weight:800;color:#1c1c28}
.vmdash__browse{display:inline-flex;align-items:center;gap:6px;color:#e42125;font-weight:700;font-size:14px}
.vmdash__browse svg{width:16px;height:16px}
.vmdash__grid{width:100%;display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}
.vmdash__card{background:#fff;border:1px solid #ececf1;border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:14px;
  box-shadow:0 6px 22px rgba(20,20,40,.05);transition:transform .16s,box-shadow .16s}
.vmdash__card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(20,20,40,.10)}
.vmdash__card-top{display:flex;gap:14px;align-items:flex-start}
.vmdash__ic{width:48px;height:48px;flex:none;border-radius:12px;background:linear-gradient(135deg,#e42125,#ff6a2c);
  display:flex;align-items:center;justify-content:center;color:#fff}
.vmdash__ic svg{width:26px;height:26px}
.vmdash__card-h h3{margin:0 0 4px;font-size:16px;font-weight:700;color:#1c1c28;line-height:1.3}
.vmdash__meta{font-size:12.5px;color:#6b6b76}
.vmdash__prog{width:100%;height:8px;border-radius:99px;background:#f0f0f4;overflow:hidden}
.vmdash__bar{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#e42125,#ff6a2c)}
.vmdash__progrow{display:flex;justify-content:space-between;font-size:12.5px;color:#6b6b7b;margin-top:-6px}
.vmdash__open{margin-top:2px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#ffb800;color:#4a3500;
  border-radius:11px;padding:12px;font-weight:800;font-size:14.5px;transition:transform .16s,filter .16s}
.vmdash__open:hover{transform:translateY(-2px);filter:brightness(1.04)}
.vmdash__open svg{width:17px;height:17px}
.vmdash__empty{width:100%;background:#fff;border:1px dashed #d9d9e3;border-radius:16px;padding:44px 24px;text-align:center;color:#6b6b7b}
.vmdash__empty-ic{width:60px;height:60px;margin:0 auto 14px;border-radius:16px;background:linear-gradient(135deg,#e42125,#ff6a2c);color:#fff;display:flex;align-items:center;justify-content:center}
.vmdash__empty-ic svg{width:32px;height:32px}
.vmdash__empty h3{margin:0 0 6px;color:#1c1c28;font-size:18px}
.vmdash__empty p{margin:0 0 18px}
.vmdash__cta{display:inline-flex;background:#e42125;color:#fff;border-radius:11px;padding:12px 24px;font-weight:800}
@media(max-width:720px){.dashboard__home .vmdash__welcome{flex-direction:column;align-items:flex-start}}

/* ---- a11y + UX additions (2026-09-06) ---- */
.vm-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.show-password{cursor:pointer;opacity:.6;transition:opacity .15s}
.show-password:hover{opacity:1}

/* ---- Course learning area (scoped .vmcourse*) ---- */
.vmcourse__back{display:inline-flex;align-items:center;gap:7px;color:#e42125;font-weight:700;font-size:14px;margin-bottom:14px}
.vmcourse__back svg{width:17px;height:17px}
.vmcourse__head{width:100%;background:#fff;border:1px solid #ececf1;border-radius:16px;padding:22px 24px;margin-bottom:20px;box-shadow:0 6px 22px rgba(20,20,40,.05)}
.vmcourse__head h1{margin:0 0 12px;font-size:24px;font-weight:800;color:#1c1c28;letter-spacing:-.01em}
.vmcourse__progwrap{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.vmcourse__prog{flex:1;min-width:180px;height:8px;border-radius:99px;background:#f0f0f4;overflow:hidden}
.vmcourse__prog span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#e42125,#ff6a2c)}
.vmcourse__pct{font-size:12.5px;color:#6b6b7b}
.vmcourse__grid{width:100%;display:grid;grid-template-columns:1fr 340px;gap:20px;align-items:start}
@media(max-width:900px){.vmcourse__grid{grid-template-columns:1fr}}
.vmcourse__main{display:flex;flex-direction:column;gap:18px}
.vmcourse__player{position:relative;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#1c1c28,#3a2b2b);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center}
.vmcourse__player::after{content:"";position:absolute;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 8px 24px rgba(0,0,0,.3)}
.vmcourse__player::before{content:"";position:absolute;z-index:2;width:0;height:0;border-left:20px solid #e42125;border-top:12px solid transparent;border-bottom:12px solid transparent;margin-left:6px}
.vmcourse__player img{display:none}
.vmcourse__badge{position:absolute;top:12px;left:12px;z-index:3;background:rgba(0,0,0,.55);color:#fff;font-size:11px;font-weight:700;padding:4px 10px;border-radius:99px;letter-spacing:.04em;text-transform:uppercase}
.vmcourse__lessonmeta,.vmcourse__materials{background:#fff;border:1px solid #ececf1;border-radius:16px;padding:22px;box-shadow:0 6px 22px rgba(20,20,40,.05)}
.vmcourse__lessonmeta h3{margin:0 0 8px;font-size:18px;color:#1c1c28}
.vmcourse__lessonmeta p{margin:0 0 16px;color:#6b6b7b;font-size:14.5px;line-height:1.5}
.vmcourse__actions{display:flex;gap:12px;flex-wrap:wrap}
.vmcourse__btn{background:#e42125;color:#fff;border-radius:11px;padding:11px 20px;font-weight:700;font-size:14px}
.vmcourse__btn2{background:#fff;color:#1c1c28;border:1px solid #e3e3ea;border-radius:11px;padding:11px 20px;font-weight:700;font-size:14px}
.vmcourse__materials h4{margin:0 0 12px;font-size:15px;color:#1c1c28}
.vmcourse__empty{color:#6b6b76;font-size:14px;background:#f7f7fa;border:1px dashed #e0e0e8;border-radius:10px;padding:16px}
.vmcourse__side{background:#fff;border:1px solid #ececf1;border-radius:16px;padding:20px;box-shadow:0 6px 22px rgba(20,20,40,.05)}
.vmcourse__side>h4{margin:0 0 14px;font-size:16px;color:#1c1c28}
.vmcourse__module{margin-bottom:16px}
.vmcourse__mhead{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
.vmcourse__mnum{font-size:11px;font-weight:800;color:#e42125;text-transform:uppercase;letter-spacing:.04em}
.vmcourse__mtitle{font-size:14px;font-weight:700;color:#1c1c28}
.vmcourse__lesson{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:9px;color:#6b6b7b;font-size:13.5px}
.vmcourse__lesson:hover{background:#f7f7fa}
.vmcourse__lock{width:15px;height:15px;flex:none;color:#b5b5c0}
.vmcourse__ltitle{flex:1}
.vmcourse__soon{font-size:11px;color:#b5b5c0}

/* ---- Dashboard mobile drawer ---- */
.vm-dash-burger{display:none;position:fixed;top:12px;left:12px;z-index:70;width:44px;height:44px;border:none;border-radius:10px;background:#e42125;color:#fff;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.2)}
.vm-dash-burger svg{width:22px;height:22px}
.vm-dash-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:55}
@media(max-width:1050px){
  .dashboard .sidebar{transform:translateX(-100%);transition:transform .25s ease;z-index:60;width:270px;overflow-y:auto}
  .dashboard .sidebar.sidebar--open{transform:none}
  .dashboard .sidebar-over{display:none}
  .dashboard .dashboard__home,.dashboard .dashboard__course,.dashboard .dashboard__setting{width:100%!important}
  .vm-dash-burger{display:flex}
  .vm-dash-overlay.show{display:block}
}

/* ---- Password reset page (scoped .vmreset*) ---- */
.vmreset{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px 18px;background:linear-gradient(135deg,#ffefc4 0%,#fff 100%)}
.vmreset__card{width:100%;max-width:420px;background:#fff;border:1px solid #ececf1;border-radius:18px;padding:34px 30px;box-shadow:0 14px 40px rgba(20,20,40,.10)}
.vmreset__logo{display:block;margin:0 auto 18px;height:34px}
.vmreset__card h1,.vmreset__card h2{font-size:22px;font-weight:800;color:#1c1c28;margin:0 0 6px;text-align:center}
.vmreset__card p.sub{color:#6b6b7b;font-size:14px;text-align:center;margin:0 0 22px}
.vmreset__field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px;position:relative}
.vmreset__field label{font-size:13px;font-weight:600;color:#1c1c28}
.vmreset__field input{height:46px;border:1px solid #e3e3ea;border-radius:11px;padding:0 14px;font-size:15px;font-family:inherit;outline:none}
.vmreset__field input:focus{border-color:#e42125;box-shadow:0 0 0 3px rgba(228,33,37,.14)}
.vmreset__btn{width:100%;background:#e42125;color:#fff;border:none;border-radius:11px;padding:13px;font-weight:800;font-size:15px;cursor:pointer;margin-top:4px}
.vmreset__foot{text-align:center;margin-top:16px;font-size:13.5px}
.vmreset__foot a{color:#e42125;font-weight:700}

/* ============ 2026-09-10: dashboard settings redesign + avatars ============ */

/* Sidebar user chip */
.vmside-user{display:flex;align-items:center;gap:11px;width:100%;margin:18px 0 6px;padding:10px 12px;background:#f7f7f9;border:1px solid #ececf1;border-radius:14px;box-sizing:border-box}
.vmside-user__ava{flex:0 0 44px;width:44px;height:44px;border-radius:50%;overflow:hidden;background:#e42125;display:flex;align-items:center;justify-content:center}
.vmside-user__ava img{width:100%;height:100%;object-fit:cover;display:block}
.vmside-user__init{color:#fff;font-weight:800;font-size:16px;letter-spacing:.5px}
.vmside-user__meta{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.vmside-user__meta strong{font-size:14px;color:#161616;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vmside-user__meta span,.vmside-user__meta a{font-size:12px;color:#8a8a94;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}
.vmside-user__meta a{color:#e42125;font-weight:700}

/* Settings page */
.vmset{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding:38px 44px 60px;max-width:980px;box-sizing:border-box}
.vmset__head h1{font-size:30px;font-weight:800;color:#161616;margin:0 0 4px}
.vmset__head p{color:#77777f;font-size:15px;margin:0}
.vmset__card{width:100%;box-sizing:border-box;background:#fff;border:1px solid #ececf1;border-radius:18px;padding:26px 28px;box-shadow:0 6px 24px rgba(22,22,22,.05)}
.vmset__profile{display:flex;align-items:center;gap:24px}
.vmset__ava{flex:0 0 96px;width:96px;height:96px;border-radius:50%;overflow:hidden;background:#e42125;display:flex;align-items:center;justify-content:center}
.vmset__ava img{width:100%;height:100%;object-fit:cover;display:block}
.vmset__ava .vmside-user__init,.vmset__init{color:#fff;font-weight:800;font-size:32px;letter-spacing:1px}
.vmset__who{min-width:0}
.vmset__who h2{font-size:21px;font-weight:800;color:#161616;margin:0 0 2px}
.vmset__who>span{color:#8a8a94;font-size:14px}
.vmset__ava-actions{display:flex;align-items:center;gap:14px;margin-top:12px}
.vmset__upload{display:inline-flex;align-items:center;gap:8px;background:#e42125;color:#fff;font-weight:700;font-size:14px;border-radius:10px;padding:9px 16px;cursor:pointer}
.vmset__upload:hover{background:#c81b1f}
.vmset__ava-remove{background:none;border:none;color:#8a8a94;font-size:14px;font-weight:600;cursor:pointer;text-decoration:underline;padding:0;font-family:inherit}
.vmset__ava-remove:hover{color:#e42125}
.vmset__ava-hint{color:#6b6b76;font-size:12.5px;margin:8px 0 0}
.vmset__card-title{font-size:17px;font-weight:800;color:#161616;margin:0 0 16px}
.vmset__card-title--gap{margin-top:26px}
.vmset__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
.vmset__field{display:flex;flex-direction:column;gap:6px;min-width:0}
.vmset__field label{font-size:13px;font-weight:700;color:#55555e}
.vmset__field input{height:46px;border:1px solid #e3e3ea;border-radius:11px;padding:0 14px;font-size:15px;font-family:inherit;outline:none;background:#fff;width:100%;box-sizing:border-box}
.vmset__field input:focus{border-color:#e42125;box-shadow:0 0 0 3px rgba(228,33,37,.14)}
.vmset__pw{position:relative}
.vmset__pw input{padding-right:44px}
.vmset__pw .show-password{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:20px;cursor:pointer;opacity:.6}
.vmset__news{display:flex;align-items:center;justify-content:flex-start;width:auto;gap:14px;margin-top:24px;cursor:pointer}
.vmset__news .switch-slider{flex:none}
.vmset__news-txt{display:flex;flex-direction:column;line-height:1.3}
.vmset__news-txt strong{font-size:14.5px;color:#161616}
.vmset__news-txt span{font-size:13px;color:#8a8a94}
.vmset__actions{margin-top:22px}
.vmset__save{background:#e42125;color:#fff;border:none;border-radius:11px;padding:13px 34px;font-weight:800;font-size:15px;cursor:pointer;font-family:inherit}
.vmset__save:hover{background:#c81b1f}
.vmset__save:disabled{opacity:.6;cursor:default}
@media (max-width: 1050px){
  .vmset{padding:26px 18px 40px}
  .vmset__grid{grid-template-columns:1fr}
  .vmset__profile{flex-direction:column;align-items:flex-start;gap:16px}
}

/* Dashboard footer must not slide over the fixed sidebar.
   NOTE: class "dashboard__footer" is ALSO used on marketing pages (legacy
   template naming) — scope via the .dashboard sibling so only real
   dashboard pages (which have the fixed sidebar) get the offset. */
.dashboard ~ .dashboard__footer{margin-left:18%}
@media(max-width:1050px){.dashboard ~ .dashboard__footer{margin-left:0}}

/* Messages page (scoped .vmmsg*) */
.vmmsg__card{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden}
.vmmsg__thread{display:flex;flex-direction:column;gap:12px;padding:24px;max-height:440px;overflow-y:auto;background:#fafafc}
.vmmsg__empty{color:#8a8a94;font-size:14.5px;text-align:center;padding:40px 12px}
.vmmsg__row{display:flex}
.vmmsg__row--me{justify-content:flex-end}
.vmmsg__row--staff{justify-content:flex-start}
.vmmsg__bubble{max-width:72%;padding:12px 16px;border-radius:16px;font-size:14.5px;line-height:1.5;white-space:pre-wrap;word-break:break-word;text-align:left}
.vmmsg__row--me .vmmsg__bubble{background:#e42125;color:#fff;border-bottom-right-radius:6px}
.vmmsg__row--staff .vmmsg__bubble{background:#fff;border:1px solid #e7e7ee;color:#1c1c28;border-bottom-left-radius:6px}
.vmmsg__time{display:block;font-size:11px;opacity:.7;margin-top:6px}
.vmmsg__composer{padding:18px 24px 22px;border-top:1px solid #ececf1;background:#fff}
.vmmsg__composer textarea{width:100%;box-sizing:border-box;border:1px solid #e3e3ea;border-radius:12px;padding:12px 14px;font-size:15px;font-family:inherit;resize:vertical;min-height:76px;outline:none}
.vmmsg__composer textarea:focus{border-color:#e42125;box-shadow:0 0 0 3px rgba(228,33,37,.14)}
.vmmsg__actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;flex-wrap:wrap}
.vmmsg__hint{color:#6b6b76;font-size:12.5px}

/* 2026-09-10 responsive audit fixes */
/* register.html: index.css gives the submit button padding:18px 140px at <=1050px,
   whose nowrap min-content (>360px) blows the whole form out on phones. */
@media (max-width: 640px){
  .register .register__btn{padding:18px 24px}
}
/* <=480px header: logo + full Register/Dashboard button + icons don't fit — icon-only button */
@media (max-width: 480px){
  .header .register-btn span{display:none}
  .header .register-btn{padding:10px 13px}
}
.vmset__field--full{grid-column:1/-1}
.vmset__opt{color:#6b6b76;font-weight:500;font-size:12px}

/* keyboard focus ring for the dark footer CTA input (was outline:none with no replacement) */
.footer-cta__form input:focus{box-shadow:0 0 0 3px rgba(255,255,255,.4);outline:none}
