:root {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --text: #25272d;
  --muted: #666b76;
  --line: #e3e5ea;
  --primary: #5a3df0;
  --primary-dark: #4629de;
  --green: #25a45d;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --r24-gutter: 15px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

.r24-landing {
  width: 100%;
}

.r24-landing a {
  text-decoration: none;
}

.r24-landing main,
.r24-landing section,
.r24-landing .container {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Hide Hello theme header/footer on landing to avoid double wrappers */
body.home #site-header,
body.home #site-footer {
  display: none !important;
}

/* Hide block-theme (Twenty Twenty-Five) header/title area on homepage */
body.home .wp-site-blocks > header,
body.home .wp-site-blocks .wp-block-template-part,
body.home .wp-block-post-title,
body.home .entry-header {
  display: none !important;
}

body.home .entry-title,
body.home .page-header {
  display: none !important;
}

body.home h1.entry-title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

h1,
h2,
h3,
.logo {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.container {
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding-left: var(--r24-gutter);
  padding-right: var(--r24-gutter);
}

/* Keep custom header/footer full-bleed independently from theme containers */
.r24-site-header,
.r24-site-footer {
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.r24-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 0;
  background: linear-gradient(180deg, rgba(243, 244, 247, 0.95) 0%, rgba(243, 244, 247, 0.8) 100%);
  backdrop-filter: blur(14px);
}

.header-main {
  width: 100%;
  min-height: 74px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #dce2ee;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #212226;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--primary);
}

.header-chip {
  border: 1px solid #d9deea;
  background: #fff;
  color: #545b6c;
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f6fb;
  border: 1px solid #e1e6f1;
}

.header-nav a {
  text-decoration: none;
  color: #3d4455;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
}

.header-nav a::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  font-weight: 700;
  color: #505565;
}

.phone {
  color: #2b2f3b;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f6f8fc;
  border: 1px solid #e0e5ef;
  font-size: 0.9rem;
}

.lang-static {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d5d9e4;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  color: #3c4150;
}

.lang-switch {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid #d6dbe7;
  background: #eef1f7;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #5a6070;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-btn.active {
  background: #1f2432;
  color: #fff;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

.header-cta {
  padding: 10px 14px;
  border-radius: 10px;
}

.header-subnav {
  border-bottom: 1px solid var(--line);
}

.header-subnav__inner {
  min-height: 52px;
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.header-subnav__inner a {
  color: #5b6070;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.hero-media {
  background: url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1900&q=80")
    center/cover no-repeat;
}

.hero-copy {
  position: relative;
  background: #efeff2;
  padding: clamp(36px, 7vw, 96px);
  display: grid;
  align-content: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-copy p {
  margin: 20px 0 0;
  font-size: 1.22rem;
  color: var(--muted);
}

.order-bubble {
  position: absolute;
  left: -84px;
  bottom: 48px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  text-decoration: none;
  background: radial-gradient(circle at 30% 30%, #7053ff, var(--primary));
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.25;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 18px 34px rgba(90, 61, 240, 0.32);
}

.section {
  padding: 84px 0;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.section-head p,
.subtitle {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 23, 34, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(18, 23, 34, 0.12);
}

.card-media {
  height: 178px;
}

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

.card-body {
  padding: 16px 16px 18px;
  display: grid;
  gap: 10px;
}

.card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  min-height: 44px;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.service-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  color: #565d6f;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.service-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.service-meta span {
  border-radius: 999px;
  border: 1px solid #dfe2ea;
  background: #f8f9fe;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #4e5463;
}

.service-btn {
  width: 100%;
  margin-top: 4px;
  padding: 11px 12px;
  font-size: 0.9rem;
}

.reviews-strip {
  padding-top: 18px;
  background: radial-gradient(circle at 20% 15%, rgba(111, 89, 255, 0.08), transparent 34%),
    radial-gradient(circle at 80% 85%, rgba(90, 230, 214, 0.08), transparent 32%);
}

.reviews-track {
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews-line {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviews-scroll 56s linear infinite;
}

.review-card {
  margin: 0;
  width: min(400px, 86vw);
  min-height: 320px;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, #f9faff 100%);
  border: 1px solid #e4e8f4;
  color: #2f3442;
  padding: 20px;
  box-shadow: 0 16px 34px rgba(18, 23, 34, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px rgba(18, 23, 34, 0.14);
}

.review-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.review-person {
  display: grid;
  gap: 3px;
}

.review-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(28, 33, 44, 0.12);
}

.review-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.review-role {
  margin: 4px 0 0;
  width: fit-content;
  font-size: 0.82rem;
  color: #636a7b;
  font-weight: 800;
  background: #f0f2f8;
  border: 1px solid #e2e6f0;
  border-radius: 999px;
  padding: 4px 8px;
}

.review-stars {
  color: #ffb547;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.review-text {
  margin: 0;
  color: #555d70;
  font-weight: 600;
  line-height: 1.55;
}

.review-date {
  margin: auto 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8a92a4;
}

@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.gallery-section {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  filter: saturate(1.08);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 12, 18, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-image {
  max-width: min(1200px, 96vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.prices-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #dde2ec;
  border-radius: 14px;
  background: #f9faff;
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 2px;
  color: #575f72;
}

.price-table {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8f9fd;
  padding: 13px 14px;
}

.booking-section {
  background: radial-gradient(circle at 15% 15%, #ebe7ff 0, transparent 34%),
    radial-gradient(circle at 85% 85%, #e6f4ff 0, transparent 28%),
    linear-gradient(135deg, #f2f4ff, #f7f3ff);
}

.quiz-shell {
  background: #fff;
  border: 1px solid #dfdef1;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  box-shadow: 0 28px 60px rgba(31, 22, 72, 0.14);
}

.quiz-head {
  padding: 26px 30px 22px;
  background: radial-gradient(circle at 85% 20%, rgba(114, 90, 255, 0.22), transparent 40%), #f3f1ff;
  border-bottom: 1px solid #e7e3ff;
}

.quiz-kicker {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  font-weight: 800;
}

.quiz-head h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.1;
}

.quiz-head p {
  margin: 0;
  color: var(--muted);
}

.quiz-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.quiz-aside {
  border-left: 1px solid #eceaf9;
  background: #faf9ff;
  padding: 28px 22px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.quiz-aside h3 {
  margin: 0;
  font-size: 1.1rem;
}

.quiz-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.quiz-aside li {
  position: relative;
  padding-left: 16px;
  color: #5d6171;
  font-weight: 600;
}

.quiz-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.quiz-aside-badges {
  display: grid;
  gap: 8px;
}

.quiz-aside-badges span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid #e1def7;
  background: #fff;
  padding: 7px 11px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #4c436f;
}

.quiz {
  padding: 34px;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.quiz-meta span {
  background: #f5f6fb;
  border: 1px solid #e1e4ee;
  color: #5b6170;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.quiz-progress {
  width: 100%;
  height: 11px;
  border-radius: 999px;
  background: #ebe8ff;
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-progress__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #6a4dff, #7a60ff);
  transition: width 0.25s ease;
}

.quiz-step h3 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-calendar {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.quiz-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quiz-cal-head strong {
  text-transform: capitalize;
  font-size: 1rem;
}

.quiz-cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #dde0ea;
  background: #fff;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quiz-cal-nav:hover:not(:disabled) {
  border-color: #8b74ff;
  background: rgba(106, 77, 255, 0.12);
  color: #4a32c9;
  transform: translateY(-1px);
}

.quiz-cal-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quiz-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.quiz-cal-weekdays span {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #7a8191;
  text-transform: uppercase;
}

.quiz-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.quiz-cal-empty {
  min-height: 42px;
}

.quiz-cal-day {
  border: 1px solid #dde0ea;
  border-radius: 12px;
  min-height: 42px;
  background: #fff;
  font: inherit;
  font-weight: 700;
  color: #3f4555;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.quiz-cal-day:hover {
  transform: translateY(-1px);
  border-color: #8b74ff;
  background: rgba(106, 77, 255, 0.12);
  color: #4a32c9;
}

.quiz-cal-day.selected {
  border-color: var(--primary);
  background: rgba(90, 61, 240, 0.08);
  color: #2e236f;
}

.quiz-cal-day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.quiz-option {
  border: 1px solid #dde0ea;
  border-radius: 16px;
  padding: 15px 15px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.quiz-option:hover {
  transform: translateY(-1px);
  border-color: #8b74ff;
  background: rgba(106, 77, 255, 0.12);
  color: #2f2667;
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(90, 61, 240, 0.08);
}

.quiz-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quiz-fields input,
.quiz-fields select,
.quiz-fields textarea {
  width: 100%;
  border: 1px solid #dde0ea;
  border-radius: 14px;
  padding: 14px 13px;
  font: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quiz-fields input:hover,
.quiz-fields select:hover,
.quiz-fields textarea:hover {
  border-color: #9d8aff;
  background: #fcfbff;
}

.quiz-fields input:focus,
.quiz-fields select:focus,
.quiz-fields textarea:focus {
  outline: none;
  border-color: #a695ff;
  box-shadow: 0 0 0 4px rgba(106, 77, 255, 0.12);
}

.quiz-actions .btn--light:hover {
  background: rgba(106, 77, 255, 0.12);
  color: #3f2aa8;
}

.quiz-fields .full {
  grid-column: 1 / -1;
}

.quiz-actions {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.contacts-section {
  background: #fff;
}

.contacts-grid {
  display: grid;
  gap: 8px;
}

.contacts-grid a {
  text-decoration: none;
  color: #242a39;
  font-weight: 700;
}

.r24-site-footer {
  background: radial-gradient(1200px 320px at 20% -10%, #353e57 0%, #171923 60%, #151721 100%);
  color: #cfd3de;
  margin: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Prevent overlap with WordPress top admin bar */
body.admin-bar .r24-site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .r24-site-header {
    top: 46px;
  }
}

.footer-grid {
  width: 100%;
  padding: 56px 18px 30px;
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: 24px;
}

.footer-logo {
  color: #fff;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.footer-logo span {
  color: #9f8dff;
}

.footer-note {
  margin: 12px 0 16px;
  color: #aab1c1;
  max-width: 360px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 14px;
}

.footer-social {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #30384b;
  background: #1b2231;
  color: #fff;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social--facebook svg {
  fill: currentColor;
  stroke: none;
}

.footer-social:hover {
  transform: translateY(-2px);
  border-color: #4a5a7f;
  background: #24304a;
}

.footer-cta {
  min-width: 180px;
}

.footer-grid .footer-cta {
  display: inline-flex;
  width: auto;
  margin-top: 10px;
  margin-bottom: 0;
}

.footer-col h4,
.footer-col p,
.footer-col a {
  text-wrap: balance;
}

.footer-grid h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #fff;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 8px;
  color: #cfd3de;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  width: 100%;
  padding-left: 18px;
  padding-right: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid #2a3040;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #9ba2b3;
}

.btn {
  border: none;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  padding: 13px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--light {
  background: #eef0f6;
  color: #333948;
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.muted {
  color: var(--muted);
}

.anim-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--d, 0ms);
}

.anim-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Elementor editor mode: keep all blocks visible while editing */
body.elementor-editor-active .anim-item,
body.elementor-editor-preview .anim-item,
body.elementor-editor .anim-item {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: auto auto;
    gap: 10px 14px;
    padding: 12px 14px;
  }

  .header-nav {
    flex-wrap: wrap;
    width: 100%;
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .header-actions {
    justify-self: end;
  }

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

  .hero-media {
    min-height: 380px;
  }

  .order-bubble {
    left: 26px;
    bottom: -70px;
  }

  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .quiz-shell {
    grid-template-columns: 1fr;
  }

  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .quiz-aside {
    border-left: 0;
    border-top: 1px solid #eceaf9;
  }

  .footer-grid {
    padding: 56px 14px 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .r24-site-header {
    padding: 0;
  }

  .header-subnav__inner {
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 0;
  }

  .header-actions {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
  }

  .phone {
    display: none;
  }

  .header-main {
    grid-template-columns: 1fr;
    padding: 10px 12px;
    gap: 10px;
  }

  .header-left,
  .header-actions,
  .header-nav {
    justify-self: center;
  }

  .header-nav {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .hero-copy {
    padding: 28px 20px 80px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .order-bubble {
    width: 132px;
    height: 132px;
    font-size: 0.9rem;
    left: 18px;
    bottom: -62px;
  }

  .section {
    padding: 64px 0;
  }

  .cards-4,
  .gallery-grid,
  .quiz-fields {
    grid-template-columns: 1fr;
  }

  .review-card {
    width: min(340px, 92vw);
    min-height: 300px;
  }

  .review-card img {
    width: 82px;
    height: 82px;
  }

  .review-top {
    align-items: flex-start;
  }

  .quiz {
    padding: 20px;
  }

  .quiz-head {
    padding: 22px 20px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
  }
}
