/* ========================================
   ONSIGHT ROCK GYM — SHARED DESIGN SYSTEM
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --green-primary: #6BBF3B;
  --green-light: #8DD35F;
  --green-dark: #4A9B1F;
  --green-glow: rgba(107, 191, 59, 0.15);
  --black: #0A0A0A;
  --gray-950: #111111;
  --gray-900: #1A1A1A;
  --gray-800: #2A2A2A;
  --gray-700: #3A3A3A;
  --gray-600: #555555;
  --gray-400: #9A9A9A;
  --gray-300: #BBBBBB;
  --gray-100: #F0F0F0;
  --white: #FFFFFF;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-width: 1200px;
  --container-padding: clamp(1.25rem, 4vw, 2rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-med: 0.4s var(--ease-out);
  --transition-slow: 0.7s var(--ease-out);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ========================================
   NAVIGATION — Dropdown Mega Menu
   ======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition-med), padding var(--transition-med);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 44px; width: auto;
  transition: transform var(--transition-fast);
}
.nav-logo:hover img { transform: scale(1.03); }

/* Nav links with dropdowns */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: 8px;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-item > a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-arrow {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
  opacity: 0.6;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 14px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: 10px;
  transition: all var(--transition-fast);
}
.nav-dropdown a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.nav-dropdown-icon {
  width: 32px; height: 32px;
  background: var(--green-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.nav-dropdown-text {
  display: flex;
  flex-direction: column;
}
.nav-dropdown-text span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}
.nav-dropdown-text small {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 400;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--gray-800);
  margin: 0.35rem 0.5rem;
}

/* CTA button in nav */
.nav-cta {
  background: var(--green-primary) !important;
  color: var(--black) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 8px;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--green-light) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ========================================
   SHARED BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all var(--transition-fast);
}
.btn-primary {
  background: var(--green-primary);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107, 191, 59, 0.3);
}
.btn-outline {
  border: 1.5px solid var(--gray-700);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--gray-400);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}
.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ========================================
   SHARED SECTION STYLES
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-400);
  max-width: 640px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

/* ========================================
   PAGE HERO (sub-pages)
   ======================================== */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.85) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--green-primary);
  transition: color var(--transition-fast);
}
.breadcrumb a:hover { color: var(--green-light); }

/* ========================================
   CONTENT CARDS
   ======================================== */
.content-section { padding: var(--section-padding) 0; }
.content-section.alt-bg { background: var(--gray-950); }

.card-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-med);
}
.card:hover {
  border-color: var(--gray-700);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-image img { transform: scale(1.05); }
.card-body { padding: 1.75rem; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.card-body p {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-primary);
  transition: gap var(--transition-fast);
}
.card-link:hover { gap: 0.75rem; }

/* ========================================
   INFO BLOCKS (text + image side by side)
   ======================================== */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: var(--section-padding) 0;
}
.info-block.reverse .info-text { order: 2; }
.info-block.reverse .info-media { order: 1; }
.info-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.info-text p {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.info-text p strong { color: var(--gray-100); }
.info-text ul {
  list-style: none;
  margin: 1.5rem 0;
}
.info-text ul li {
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  color: var(--gray-300);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.info-text ul li::before {
  content: '\2713';
  color: var(--green-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.info-media {
  border-radius: 20px;
  overflow: hidden;
}
.info-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 350px;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-800);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--green-primary); }
.faq-icon {
  font-size: 1.25rem;
  color: var(--gray-400);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}
.faq-answer p {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.8;
}

/* ========================================
   PRICING CARDS
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition-med);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--green-primary);
  background: linear-gradient(180deg, rgba(107, 191, 59, 0.06) 0%, var(--gray-900) 100%);
}
.pricing-card.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green-primary); color: var(--black);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 1rem; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600;
  color: var(--gray-300); margin-bottom: 1.5rem;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.pricing-amount span {
  font-size: 1rem; color: var(--gray-400); font-weight: 500;
}
.pricing-details {
  margin: 1.5rem 0 2rem; list-style: none;
}
.pricing-details li {
  padding: 0.5rem 0; font-size: 0.875rem; color: var(--gray-400);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.pricing-details li::before {
  content: '\2713'; color: var(--green-primary); font-weight: 700;
}

/* ========================================
   SCHEDULE / HOURS
   ======================================== */
.schedule-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 20px;
  padding: 2.5rem;
}
.schedule-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--white); margin-bottom: 2rem;
}
.hours-row {
  display: flex; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid var(--gray-800);
  font-size: 0.9375rem;
}
.hours-row:last-of-type { border-bottom: none; }
.hours-day { font-weight: 500; color: var(--gray-300); }
.hours-time { color: var(--white); font-weight: 600; }
.hours-row.today {
  background: var(--green-glow);
  margin: 0 -1rem; padding: 1rem;
  border-radius: 10px; border-bottom: none;
}
.hours-row.today .hours-day { color: var(--green-primary); }
.early-hours-note {
  margin-top: 1.5rem; padding: 1rem 1.25rem;
  background: rgba(107, 191, 59, 0.08);
  border-left: 3px solid var(--green-primary);
  border-radius: 0 10px 10px 0;
  font-size: 0.875rem; color: var(--gray-300);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--gray-800);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-logo { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.875rem; color: var(--gray-400);
  line-height: 1.7; max-width: 300px;
}
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer-social a {
  width: 40px; height: 40px;
  background: var(--gray-800); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; transition: all var(--transition-fast);
}
.footer-social a:hover {
  background: var(--green-primary); color: var(--black);
  transform: translateY(-2px);
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.875rem; font-weight: 600;
  color: var(--white); margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.footer-links a {
  font-size: 0.875rem; color: var(--gray-400);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--green-primary); }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input {
  flex: 1; padding: 0.7rem 1rem;
  background: var(--gray-800); border: 1px solid var(--gray-700);
  border-radius: 10px; color: var(--white);
  font-family: var(--font-body); font-size: 0.875rem;
  outline: none; transition: border-color var(--transition-fast);
}
.newsletter-form input::placeholder { color: var(--gray-400); }
.newsletter-form input:focus { border-color: var(--green-primary); }
.newsletter-form button {
  padding: 0.7rem 1.25rem;
  background: var(--green-primary); color: var(--black);
  border-radius: 10px; font-weight: 600; font-size: 0.875rem;
  transition: all var(--transition-fast); white-space: nowrap;
}
.newsletter-form button:hover { background: var(--green-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--gray-800);
  font-size: 0.8125rem; color: var(--gray-400);
}
.footer-bottom a {
  color: var(--gray-400); margin-right: 1.5rem;
  transition: color var(--transition-fast);
}
.footer-bottom a:hover { color: var(--green-primary); }

/* ========================================
   DEMO CHAT WIDGET
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.chat-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1300;
  font-family: var(--font-body);
}
.chat-launcher {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--black);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.chat-launcher:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(107, 191, 59, 0.14);
}
.chat-launcher:focus-visible,
.chat-close:focus-visible,
.chat-prompts button:focus-visible,
.chat-form button:focus-visible,
.chat-form input:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 3px;
}
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(390px, calc(100vw - 2rem));
  max-height: min(640px, calc(100vh - 7rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity var(--transition-med), transform var(--transition-med), visibility var(--transition-med);
}
.chat-open .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.chat-open .chat-launcher {
  transform: scale(0.92);
}
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.875rem;
  background: linear-gradient(180deg, rgba(107, 191, 59, 0.12), rgba(17, 17, 17, 0));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chat-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--gray-400);
}
.chat-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow: 0 0 12px rgba(107, 191, 59, 0.72);
}
.chat-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gray-300);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.chat-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}
.chat-messages {
  min-height: 250px;
  max-height: 380px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  padding: 1rem;
  scrollbar-color: var(--gray-700) transparent;
}
.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}
.chat-message-user {
  align-self: flex-end;
  align-items: flex-end;
}
.chat-message-bot {
  align-self: flex-start;
  align-items: flex-start;
}
.chat-bubble {
  width: fit-content;
  max-width: 100%;
  padding: 0.72rem 0.86rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.chat-message-user .chat-bubble {
  background: var(--green-primary);
  color: var(--black);
  border-bottom-right-radius: 5px;
}
.chat-message-bot .chat-bubble {
  background: var(--gray-800);
  color: var(--gray-100);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 5px;
}
.chat-typing .chat-bubble {
  color: var(--gray-400);
  font-style: italic;
}
.chat-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.chat-sources a {
  padding: 0.25rem 0.5rem;
  background: rgba(107, 191, 59, 0.09);
  border: 1px solid rgba(107, 191, 59, 0.22);
  border-radius: 999px;
  color: var(--green-light);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.chat-sources a:hover {
  background: rgba(107, 191, 59, 0.18);
  color: var(--white);
}
.chat-prompts {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 0.85rem;
  overflow-x: auto;
}
.chat-prompts button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--gray-700);
  border-radius: 999px;
  color: var(--gray-300);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.chat-prompts button:hover {
  border-color: var(--green-primary);
  background: rgba(107, 191, 59, 0.1);
  color: var(--white);
}
.chat-form {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem;
  background: var(--gray-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.chat-form input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 0.95rem;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 999px;
  color: var(--white);
  font: inherit;
  font-size: 0.875rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.chat-form input::placeholder {
  color: var(--gray-400);
}
.chat-form input:focus {
  background: var(--gray-900);
  border-color: var(--green-primary);
}
.chat-form button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--black);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.chat-form button:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .info-block { grid-template-columns: 1fr; gap: 2rem; }
  .info-block.reverse .info-text { order: 1; }
  .info-block.reverse .info-media { order: 2; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.98);
    justify-content: center; align-items: center;
    gap: 0.25rem; z-index: 999;
    backdrop-filter: blur(20px);
  }
  .nav-links.open .nav-item > a { font-size: 1.25rem; padding: 0.75rem 2rem; }
  .nav-links.open .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 1rem;
    min-width: auto;
  }
  .nav-links.open .nav-dropdown a { justify-content: center; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .chat-widget {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .chat-panel {
    right: 0;
    bottom: 72px;
    width: calc(100vw - 1.5rem);
    max-height: calc(100dvh - 6rem);
    border-radius: 14px;
  }
  .chat-messages {
    max-height: calc(100dvh - 18rem);
  }
}
