/* =========================================================
   OneFit Cloudflare Pages Starter
   Premium gym-first website system
   ========================================================= */

:root {
  --green: #acd037;
  --green-hover: #b8df3d;
  --ink: #101010;
  --text: #1f1f1f;
  --muted: rgba(0,0,0,.64);
  --soft: #f6f6f4;
  --line: rgba(0,0,0,.08);
  --card: rgba(255,255,255,.82);
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-soft: 0 24px 70px rgba(0,0,0,.10);
  --shadow-green: 0 18px 48px rgba(172,208,55,.36);
  --container: 1320px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   NAVBAR
========================= */

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  max-width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 14px 12px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 16px;
  background: #101010;
}

.logo img {
  width: 92px;
  height: 42px;
  object-fit: contain;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,0,0,.68);
  transition: color .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-submenu .nav-link {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.nav-submenu .nav-link:hover {
  background: rgba(172,208,55,.14);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: #111;
  margin: 5px auto;
  transition: transform .25s ease, opacity .25s ease;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: #101010;
  box-shadow: 0 10px 30px rgba(172,208,55,.28);
}

.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

.btn-secondary {
  background: rgba(255,255,255,.82);
  color: #111;
  border-color: rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  color: #6f9400;
  box-shadow: 0 14px 35px rgba(0,0,0,.10);
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.08) brightness(.88);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(0,0,0,.16), rgba(0,0,0,.10)),
    linear-gradient(to bottom, rgba(0,0,0,.16), rgba(0,0,0,.46));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding-top: 110px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(0,0,0,.68);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(172,208,55,.18);
}

.hero h1 {
  max-width: 930px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(52px, 8vw, 112px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 900;
  text-shadow: 0 10px 36px rgba(0,0,0,.44);
}

.hero p {
  max-width: 690px;
  margin: 22px auto 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 108px 0;
}

.section-soft {
  background: linear-gradient(to bottom, #fff 0%, #f9fafb 100%);
}

.section-dark {
  background: #101010;
  color: #fff;
}

.section-intro {
  max-width: 800px;
  margin-bottom: 46px;
}

.section-intro.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  color: rgba(0,0,0,.48);
  font-size: 12px;
  letter-spacing: 1.4px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-dark .eyebrow {
  color: rgba(255,255,255,.48);
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.04;
  letter-spacing: -.052em;
  font-weight: 850;
}

.section-dark .section-title {
  color: #fff;
}

.section-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-dark .section-text {
  color: rgba(255,255,255,.68);
}

/* =========================
   FEATURE CARDS
========================= */

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

.feature-card {
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(14px);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(172,208,55,.16), transparent 58%);
  opacity: 0;
  transition: opacity .3s ease;
}

.feature-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: var(--shadow-soft);
}

.feature-card:hover::before {
  opacity: 1;
}

.card-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(172,208,55,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.card-icon img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* =========================
   CLASS TILES
========================= */

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

.class-card {
  position: relative;
  height: 390px;
  border-radius: 26px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}

.class-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,.20);
}

.class-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.class-card:hover .class-image {
  transform: scale(1.08);
}

.class-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,.20), transparent);
}

.class-title {
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 850;
  margin: 0 0 8px;
}

.class-text {
  color: rgba(255,255,255,.90);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
  max-width: 92%;
}

/* =========================
   TESTIMONIALS / REVIEWS
========================= */

.testimonial-section {
  background: #fff;
}

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

.testimonial-card,
.google-review-panel {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0,0,0,.07);
}

.testimonial-card {
  padding: 30px;
}

.stars {
  color: var(--green);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.testimonial-author {
  color: var(--ink);
  font-weight: 850;
}

.google-review-section {
  background: linear-gradient(to bottom, #fff 0%, #f7f7f5 100%);
}

.google-review-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
  padding: 40px;
}

.review-score-card {
  border-radius: 24px;
  background: #101010;
  color: #fff;
  padding: 28px;
  text-align: center;
}

.review-score {
  font-size: 72px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.review-score-card .stars {
  margin: 10px 0 24px;
}

/* =========================
   MAP
========================= */

.map-panel {
  height: min(720px, 78vh);
  margin-top: 34px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #111;
}

.map-panel iframe {
  display: block;
}

.class-card::after {
  content: ">";
  position: absolute;
  right: 22px;
  bottom: 26px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--green);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 800;
  opacity: 0;
  transform: translateX(-8px);
  transition: all .3s ease;
}

.class-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   MEMBERSHIPS / PRICING
========================= */

.membership-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #fff 0%, #f7f7f7 100%);
}

.membership-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: 980px;
  height: 480px;
  background: radial-gradient(circle, rgba(172,208,55,.11), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.pricing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 56px;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(14px);
  transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease;
  opacity: .88;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-grid:hover .pricing-card {
  opacity: .78;
}

.pricing-grid .pricing-card:hover {
  opacity: 1;
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,.10);
}

.pricing-card.featured {
  z-index: 2;
  opacity: 1;
  border: 2px solid var(--green);
  background: linear-gradient(135deg, rgba(172,208,55,.12), rgba(255,255,255,.96));
  box-shadow: 0 24px 70px rgba(172,208,55,.25);
}

.pricing-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(172,208,55,.32);
}

.pricing-card.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.42), transparent 40%);
  pointer-events: none;
}

.pricing-label {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-weight: 850;
  margin-bottom: 18px;
}

.pricing-title {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--ink);
}

.pricing-text {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  color: rgba(0,0,0,.68);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-features li {
  position: relative;
  padding-left: 20px;
  margin: 10px 0;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-card.featured .btn-primary {
  box-shadow: 0 15px 40px rgba(172,208,55,.45);
}

.pricing-grid-detailed {
  align-items: stretch;
}

.pricing-grid-detailed .pricing-card {
  min-height: 560px;
}

/* =========================
   PAGE HERO / INNER PAGES
========================= */

.page-hero {
  padding: 170px 0 88px;
  background: linear-gradient(to bottom, #fff, #f8f8f6);
}

.page-title {
  max-width: 950px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 900;
}

.page-subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

/* =========================
   CONTACT / FORMS
========================= */

.form-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 32px;
}

.input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  background: #fff;
}

.input:focus,
textarea:focus,
select:focus {
  border-color: rgba(172,208,55,.9);
  box-shadow: 0 0 0 4px rgba(172,208,55,.18);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #0f0f0f;
  color: #fff;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 44px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  width: 142px;
  height: 54px;
  object-fit: contain;
}

.footer-description {
  max-width: 340px;
  margin-top: 14px;
  color: rgba(255,255,255,.62);
  line-height: 1.6;
}

.footer-heading {
  color: rgba(255,255,255,.95);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  color: rgba(255,255,255,.62);
  margin: 12px 0;
  font-size: 14px;
  transition: color .2s ease;
}

.footer-link:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 54px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,.44);
  font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */

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

  .mobile-toggle {
    display: block;
  }

  .nav-menu.is-open {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.is-open .nav-dropdown {
    width: 100%;
  }

  .nav-menu.is-open .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 12px;
  }

  .nav-menu.is-open .nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    min-width: 0;
    box-shadow: none;
    background: rgba(172,208,55,.08);
    margin-top: 4px;
  }

  .feature-grid,
  .classes-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .google-review-panel {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured,
  .pricing-card.featured:hover {
    transform: scale(1);
  }

  .section {
    padding: 84px 0;
  }

  .hero-content {
    padding: 110px 24px 90px;
  }

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

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .hero-actions,
  .memberships-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .feature-grid,
  .classes-grid,
  .pricing-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .google-review-panel {
    padding: 28px;
  }

  .review-score-card {
    padding: 24px;
  }

  .map-panel {
    height: 560px;
    border-radius: 22px;
  }

  .class-card {
    height: 320px;
  }

  .section-intro.center {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .navbar {
    top: 10px;
    max-width: calc(100% - 20px);
  }

  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .class-card {
    height: 300px;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Reveal utilities */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   CHATBOT
========================= */

#of-chatbot,
#of-chatbot * {
  box-sizing: border-box;
}

#of-chatbot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.of-chat-toggle {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #101010;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 20px 44px rgba(0,0,0,.26), var(--shadow-green);
}

.of-chat-window {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: 360px;
  max-width: calc(100vw - 28px);
  height: 560px;
  max-height: calc(100vh - 120px);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: #101010;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.of-chat-window.is-open {
  display: flex;
}

.of-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: #fff;
  background: #171717;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.of-chat-title {
  font-weight: 850;
  letter-spacing: 0;
}

.of-chat-header-actions {
  display: flex;
  gap: 8px;
}

.of-chat-icon-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}

.of-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(172,208,55,.14), transparent 34%),
    #101010;
}

.of-msg {
  max-width: 92%;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #1b1b1b;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-line;
}

.of-msg.of-user {
  margin-left: auto;
  background: var(--green);
  color: #101010;
  font-weight: 700;
}

.of-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.of-action-btn {
  border: 1px solid rgba(172,208,55,.85);
  border-radius: 999px;
  background: rgba(172,208,55,.10);
  color: #fff;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.of-input-wrap {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.of-input-wrap input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #1b1b1b;
  color: #fff;
  padding: 12px 13px;
  outline: none;
}

.of-input-wrap button {
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #101010;
  font-weight: 850;
  padding: 0 14px;
  cursor: pointer;
}

@media (max-width: 479px) {
  #of-chatbot {
    right: 12px;
    bottom: 12px;
  }

  .of-chat-window {
    width: calc(100vw - 24px);
    height: 70vh;
  }
}

/* =========================
   PROMO POPUP
========================= */

.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.46);
  backdrop-filter: blur(10px);
}

.promo-popup.is-visible {
  display: flex;
}

.promo-dialog {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(172,208,55,.20), transparent 46%),
    rgba(255,255,255,.96);
  box-shadow: 0 34px 90px rgba(0,0,0,.25);
  padding: 38px;
}

.promo-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -.05em;
}

.promo-dialog p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 16px 0 24px;
}

.promo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #101010;
  color: #fff;
  cursor: pointer;
}

.promo-form {
  display: grid;
  gap: 12px;
}

.promo-status {
  min-height: 22px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
