/* ==========================================================================
   COMPONENT STYLES - DR. LUIS FERNANDO SAÑUDO PORTILLO
   Editorial Medical Layout, Candidate Quiz, Verification & Travel Modules
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FIXED APPLE-STYLE NAVIGATION BAR
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), backdrop-filter var(--transition-smooth);
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.brand-name {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.nav-links-center {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Language Toggle Switch */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.2rem 0.4rem;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-opt {
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  transition: all var(--transition-fast);
}

.lang-opt.active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.btn-nav-cta {
  padding: 0.6rem 1.35rem;
  font-size: 0.84rem;
}

/* Mobile Hamburger */
.mobile-menu-trigger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu Overlay */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(28px);
  z-index: 95;
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 3rem;
  transform: translateY(-100%);
  transition: transform var(--transition-smooth);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
}

.mobile-nav-drawer .nav-link {
  font-size: 1.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   2. EDITORIAL PAGE SECTIONS (POST-CANVAS)
   -------------------------------------------------------------------------- */
.editorial-section {
  position: relative;
  padding: 7.5rem 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.editorial-section.elevated {
  background-color: var(--bg-secondary);
}

.section-header-block {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

/* --------------------------------------------------------------------------
   3. INTERACTIVE CANDIDATE QUALIFICATION ASSESSMENT (STEPPER)
   -------------------------------------------------------------------------- */
.quiz-widget-container {
  background: rgba(14, 16, 20, 0.85);
  border: 1px solid var(--border-accent);
  border-radius: 28px;
  padding: 3rem;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.85), 0 0 40px -10px var(--accent-cyan-glow);
  position: relative;
}

.quiz-stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.quiz-progress-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
}

.quiz-progress-track {
  flex: 1;
  max-width: 280px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  margin: 0 1.5rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 16.66%;
  background: var(--accent-cyan);
  transition: width var(--transition-smooth);
}

.quiz-step-panel {
  display: none;
  animation: fadeInStep 0.4s ease forwards;
}

.quiz-step-panel.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step-title {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.quiz-step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Multi-Choice Option Cards */
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.quiz-option-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.quiz-option-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.quiz-option-card.selected {
  background: rgba(70, 199, 232, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(70, 199, 232, 0.15);
}

.option-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.quiz-option-card.selected .option-checkbox {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.quiz-option-card.selected .option-checkbox::after {
  content: '✓';
  color: #050505;
  font-size: 0.8rem;
  font-weight: 800;
}

.option-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.option-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Quiz Controls Footer */
.quiz-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Dynamic Candidate Result Card */
.quiz-result-card {
  background: rgba(10, 15, 20, 0.95);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: rgba(70, 199, 232, 0.12);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan-light);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.result-heading {
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.result-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   4. ABOUT THE TREATMENT: SUPPLEMENTATION VS. REGULATION
   -------------------------------------------------------------------------- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.comparison-card {
  background: rgba(16, 18, 22, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.75rem;
  backdrop-filter: blur(20px);
}

.comparison-card.positive {
  border-color: rgba(70, 199, 232, 0.35);
  background: rgba(12, 20, 26, 0.75);
}

.comparison-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comparison-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.comparison-card.positive .comparison-icon {
  background: rgba(70, 199, 232, 0.15);
  color: var(--accent-cyan);
}

.comparison-card.negative .comparison-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.comparison-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-list li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.comparison-card.positive .comparison-list li::before {
  content: '•';
  color: var(--accent-cyan);
  font-weight: bold;
}

.comparison-card.negative .comparison-list li::before {
  content: '✕';
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   5. HOW THE PROCESS WORKS: 4-STEP PATIENT JOURNEY
   -------------------------------------------------------------------------- */
.journey-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.journey-step-card {
  background: rgba(16, 18, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.journey-step-card:hover {
  background: rgba(22, 25, 30, 0.8);
  border-color: rgba(70, 199, 232, 0.3);
  transform: translateY(-4px);
}

.journey-step-num {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.journey-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.journey-step-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. PHYSICIAN PROFILE: DR. LUIS FERNANDO SAÑUDO PORTILLO
   -------------------------------------------------------------------------- */
.physician-profile-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.physician-visual-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at center, #121418 0%, #050505 100%);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-elevation);
}

.physician-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform var(--transition-slow);
}

.physician-visual-wrapper:hover .physician-portrait-img {
  transform: scale(1.025);
}

.physician-editorial-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3.5rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 10, 0.65) 45%, rgba(5, 7, 10, 0.96) 100%);
  pointer-events: none;
}

.physician-meta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.physician-title-group {
  margin-bottom: 2rem;
}

.physician-name {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.physician-subtitle {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.physician-narrative {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Verifiable Credential Module */
.credential-disclosure-box {
  background: rgba(16, 18, 22, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.75rem;
  margin-top: 2rem;
}

.credential-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
}

.credential-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.credential-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.credential-check {
  color: var(--accent-cyan);
  font-weight: bold;
}

.credential-notice {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   7. CARE ACROSS THE BORDER: U.S. PATIENT MODULES
   -------------------------------------------------------------------------- */
.border-care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.border-module-card {
  background: rgba(16, 18, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(70, 199, 232, 0.08);
  border: 1px solid rgba(70, 199, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.module-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.module-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Southern California Transit Proximity Widget */
.proximity-widget {
  margin-top: 3rem;
  background: rgba(12, 14, 18, 0.9);
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.proximity-map-mock {
  position: relative;
  background: #08090b;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.proximity-pin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.pin-location {
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pin-time {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. SCIENCE OF JOINT MOVEMENT SECTION
   -------------------------------------------------------------------------- */
.science-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3.5rem;
  align-items: center;
}

.science-diagram-card {
  background: rgba(14, 16, 20, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.joint-mechanics-visual {
  height: 260px;
  border-radius: 16px;
  background: radial-gradient(circle at center, rgba(70, 199, 232, 0.12) 0%, rgba(5, 5, 5, 0.9) 75%);
  border: 1px solid rgba(70, 199, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fluid-simulation-track {
  width: 80%;
  height: 60px;
  background: rgba(70, 199, 232, 0.18);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 30px var(--accent-cyan-glow);
  position: relative;
}

.fluid-molecule {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-cyan-light);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: moleculeFloat 3s ease-in-out infinite alternate;
}

.fluid-molecule:nth-child(2) { animation-delay: 0.6s; }
.fluid-molecule:nth-child(3) { animation-delay: 1.2s; }
.fluid-molecule:nth-child(4) { animation-delay: 1.8s; }

@keyframes moleculeFloat {
  0% { transform: translateY(-4px) scale(0.9); }
  100% { transform: translateY(4px) scale(1.1); }
}

/* --------------------------------------------------------------------------
   9. PATIENT PERSPECTIVES (EVIDENCE-AWARE REVIEWS)
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: rgba(16, 18, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  font-style: normal;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.author-location {
  font-size: 0.78rem;
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   10. CLINICAL EVIDENCE-BASED FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion-list {
  max-width: 860px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(16, 18, 22, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.open {
  background: rgba(18, 21, 26, 0.85);
  border-color: rgba(70, 199, 232, 0.3);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 1.75rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   11. CLOSING CALL TO ACTION & FOOTER
   -------------------------------------------------------------------------- */
.final-cta-section {
  position: relative;
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 30%, rgba(70, 199, 232, 0.08) 0%, #050505 70%);
  text-align: center;
  overflow: hidden;
}

.site-footer {
  background: #020202;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 3rem;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  margin-top: 1rem;
}

.footer-col-title {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--accent-cyan);
}

.footer-disclaimer-card {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   12. EVALUATION MODAL & CONTACT DRAWER
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content-window {
  background: var(--bg-modal);
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.9), 0 0 40px -10px var(--accent-cyan-glow);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-overlay.open .modal-content-window {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

/* Form Styles inside Modal */
.intake-form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.intake-form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.intake-form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.intake-form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan-glow);
}

/* --------------------------------------------------------------------------
   14. WHATSAPP BUTTONS (HERO & FLOATING QUICK CONNECT)
   -------------------------------------------------------------------------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
  background: rgba(37, 211, 102, 0.08);
  transition: all var(--transition-fast);
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.8rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: #20ba59;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6), 0 6px 18px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.floating-whatsapp-btn svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.84rem;
  }
}

