/*
 * ============================================================
 *  COWORKDOC — Components
 *  css/components.css
 *
 *  Reusable UI components used across all pages.
 *  Always load AFTER design-tokens.css:
 *
 *  <link rel="stylesheet" href="css/design-tokens.css">
 *  <link rel="stylesheet" href="css/components.css">
 * ============================================================
 */


/* ============================================================
 *  NAVIGATION
 * ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--bg-overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 60px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow var(--transition-base);
}

.nav.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

/* Logo wordmark — CSS only, no image file needed */
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.nav-logo-wordmark {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  line-height: 1;
}

.nav-logo-wordmark .cowork {
  color: var(--brand-cobalt);
}

.nav-logo-wordmark .doc {
  color: var(--brand-sky);
}

/* Centred nav links */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  letter-spacing: var(--tracking-normal);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--blue-light);
}

/* Right side: lang toggle + WhatsApp */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  border: 1px solid rgba(90, 176, 224, 0.22);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.lang-toggle button {
  background: none;
  border: none;
  padding: 6px 13px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-toggle button.active {
  background: var(--blue);
  color: var(--text-primary);
}

.lang-toggle button:not(.active):hover {
  color: rgba(255, 255, 255, 0.75);
}

/* WhatsApp CTA button in nav */
.nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #25d366;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.nav-wa:hover {
  background: rgba(37, 211, 102, 0.20);
  border-color: rgba(37, 211, 102, 0.40);
}

.nav-wa svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Mobile hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-page);
  z-index: var(--z-overlay);
  flex-direction: column;
  padding: 40px 32px;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.nav-drawer a:hover,
.nav-drawer a.active {
  color: var(--blue-light);
}


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

.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 60px 40px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-wordmark {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  margin-bottom: 10px;
}

.footer-brand-wordmark .cowork { color: var(--brand-cobalt); }
.footer-brand-wordmark .doc    { color: var(--brand-sky); }

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: var(--weight-light);
  max-width: 260px;
  line-height: var(--leading-relaxed);
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    background var(--transition-fast);
}

.footer-social a:hover {
  color: var(--blue-light);
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-heading {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-certs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-certs-heading {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1.75;
  max-width: 680px;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.35);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-faint);
  white-space: nowrap;
  padding-top: 2px;
}


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

/* Primary — solid blue */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: var(--text-primary);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-normal);
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  white-space: nowrap;
}

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

/* Ghost — transparent with border */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-primary);
}

/* Teal CTA — high-conversion actions */
.btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--teal);
  color: var(--bg-page);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  cursor: pointer;
  transition:
    filter var(--transition-fast),
    transform var(--transition-fast);
  white-space: nowrap;
}

.btn-teal:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Small variant — add .btn-sm to any button */
.btn-sm {
  padding: 9px 20px;
  font-size: var(--text-sm);
}

/* Disabled state */
.btn-primary:disabled,
.btn-ghost:disabled,
.btn-teal:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


/* ============================================================
 *  SECTION HEADER
 * ============================================================ */

.sec-header {
  text-align: center;
  margin-bottom: 60px;
}

.sec-header.left {
  text-align: left;
}

.sec-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.sec-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  margin-bottom: 14px;
}

.sec-title em {
  font-style: italic;
  color: var(--blue-light);
}

.sec-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-light);
}

.sec-header.left .sec-desc {
  margin: 0;
}


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

/* Base card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition:
    transform var(--transition-spring),
    box-shadow var(--transition-slow),
    border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-light);
}

/* Top accent bar that slides in on hover */
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
  z-index: var(--z-raised);
}

.card:hover::after {
  transform: scaleX(1);
}

/* Card body padding */
.card-body {
  padding: 28px 34px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}


/* ============================================================
 *  BADGES, PILLS & CHIPS
 * ============================================================ */

/* Certification pill — ISO, FDA etc. */
.cert-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 79, 160, 0.15);
  border: 1px solid var(--border-light);
  color: var(--blue-light);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Sub-specialty chip — e.g. Nose · Ear · Throat */
.sub-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 79, 160, 0.13);
  border: 1px solid rgba(90, 176, 224, 0.16);
  color: var(--blue-light);
  font-size: 12px;
  font-weight: var(--weight-medium);
  padding: 5px 13px;
  border-radius: 14px;
  letter-spacing: var(--tracking-normal);
  transition: background var(--transition-fast);
}

.card:hover .sub-chip {
  background: rgba(26, 79, 160, 0.22);
}

/* Status / live badge with pulsing dot */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 196, 167, 0.10);
  border: 1px solid rgba(0, 196, 167, 0.28);
  color: var(--teal);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: blink 2s ease infinite;
  flex-shrink: 0;
}

/* Coming soon badge */
.coming-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(7, 20, 40, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.40);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

/* Category pill for blog */
.cat-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 79, 160, 0.18);
  border: 1px solid var(--border-light);
  color: var(--blue-light);
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}


/* ============================================================
 *  VIDEO SLOT PLACEHOLDER
 * ============================================================ */

/*
  Usage:
  <div class="video-slot" data-src="YOUR_VIDEO.mp4" data-poster="YOUR_POSTER.jpg">
    <div class="video-slot-inner">
      [label text]
    </div>
  </div>

  Replace the entire .video-slot div with a real <video> tag when files are ready.
  See comments inside each HTML page for the exact replacement code.
*/

.video-slot {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(145deg, #071c34 0%, #0b2a46 50%, #071c34 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  cursor: pointer;
}

/* Animated scan line */
.video-slot::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  background: linear-gradient(0deg, transparent, rgba(90, 176, 224, 0.03), transparent);
  animation: scan 6s linear infinite;
  top: -50%;
  pointer-events: none;
}

.video-slot-play-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-slot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(90, 176, 224, 0.18);
  animation: pulse-ring 3.5s ease-in-out infinite;
}

.video-slot-ring-outer {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(90, 176, 224, 0.07);
  animation: pulse-ring 3.5s 1s ease-in-out infinite;
}

.video-slot-btn {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(26, 79, 160, 0.20);
  border: 1.5px solid rgba(90, 176, 224, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background var(--transition-base), transform var(--transition-base);
}

.video-slot:hover .video-slot-btn {
  background: rgba(26, 79, 160, 0.40);
  transform: scale(1.08);
}

.video-slot-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 4px;
}

.video-slot-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(90, 176, 224, 0.32);
  font-weight: var(--weight-medium);
}


/* ============================================================
 *  CONTACT FORM
 * ============================================================ */

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 7px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  outline: none;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast);
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-light);
  background: rgba(255, 255, 255, 0.09);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select option {
  background: #0c2348;
  color: var(--text-primary);
}

.form-textarea {
  resize: none;
  height: 90px;
  line-height: var(--leading-relaxed);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-error {
  font-size: 11px;
  color: var(--error);
  margin-top: 5px;
  display: none;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: var(--error);
}

.form-group.has-error .form-error {
  display: block;
}

.form-submit {
  width: 100%;
  background: var(--blue);
  color: var(--text-primary);
  border: none;
  padding: 13px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-normal);
  cursor: pointer;
  margin-top: 6px;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.form-submit:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

/* Trust row below form submit */
.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.form-trust-item {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 196, 167, 0.12);
  border: 1px solid rgba(0, 196, 167, 0.30);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin-bottom: 10px;
}

.form-success-msg {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}


/* ============================================================
 *  WHATSAPP FAB
 * ============================================================ */

.wa-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.38);
  z-index: var(--z-toast);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--transition-spring),
    box-shadow var(--transition-base);
  animation: wa-entrance 0.6s 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.50);
}

.wa-fab svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Pulse ring */
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.5s ease-out infinite;
  pointer-events: none;
}

/* Tooltip */
.wa-tooltip {
  position: absolute;
  right: 66px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--bg-page);
}

.wa-fab:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}


/* ============================================================
 *  BREADCRUMB
 * ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--blue-light);
}

.breadcrumb-sep {
  color: var(--text-faint);
  font-size: 10px;
}

.breadcrumb-current {
  color: var(--text-muted);
}


/* ============================================================
 *  CONTACT DETAIL ROW
 * ============================================================ */

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.contact-detail a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-detail a:hover {
  color: var(--text-primary);
}

.detail-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon svg {
  width: 15px;
  height: 15px;
}


/* ============================================================
 *  PARTNER / INFO CARD
 * ============================================================ */

.partner-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition:
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.partner-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(26, 79, 160, 0.18);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--blue-light);
  letter-spacing: var(--tracking-wide);
}

.partner-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.partner-role {
  font-size: 12px;
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}


/* ============================================================
 *  STICKY CTA BAR
 *  Appears after 60% scroll on specialty pages
 * ============================================================ */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-dropdown);
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 14px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.30);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-bar.dismissed {
  display: none;
}

.sticky-cta-context {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.sticky-cta-context strong {
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

.sticky-cta-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-cta-dismiss {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--transition-fast);
}

.sticky-cta-dismiss:hover {
  color: var(--text-muted);
}


/* ============================================================
 *  POST-VIDEO TOAST
 *  Appears after lightbox closes
 * ============================================================ */

.video-toast {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: var(--z-toast);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 300px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base);
  pointer-events: none;
}

.video-toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.video-toast-msg {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: var(--leading-relaxed);
}

.video-toast-actions {
  display: flex;
  gap: 8px;
}

.video-toast-actions a,
.video-toast-actions button {
  font-size: 12px;
  font-weight: var(--weight-semibold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.toast-btn-watch {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.toast-btn-watch:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.toast-btn-contact {
  background: var(--teal);
  border: none;
  color: var(--bg-page);
}

.toast-btn-contact:hover {
  filter: brightness(1.1);
}


/* ============================================================
 *  RESPONSIVE — MOBILE
 * ============================================================ */

@media (max-width: 1024px) {
  .nav {
    padding: 0 32px;
  }

  .footer {
    padding: 48px 32px 32px;
  }

  .sticky-cta-bar {
    padding: 14px 32px;
  }
}

@media (max-width: 768px) {

  /* Nav */
  .nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-wa span {
    display: none; /* hide text, show icon only */
  }

  /* Footer */
  .footer {
    padding: 40px 20px 28px;
  }

  .footer-main {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }

  /* Section */
  .sec-title {
    font-size: var(--text-2xl);
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Sticky CTA */
  .sticky-cta-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    gap: 12px;
  }

  /* Toast */
  .video-toast {
    right: 16px;
    left: 16px;
    max-width: none;
    bottom: 80px;
  }

  /* WhatsApp FAB */
  .wa-fab {
    bottom: 20px;
    right: 20px;
  }
}


/* ============================================================
 *  "MORE VIDEOS" DISABLED BUTTON
 * ============================================================ */

.btn-more-videos {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.28);
  cursor: not-allowed;
  opacity: 0.7;
  transition: none;
  pointer-events: none;
}


/* ============================================================
 *  VIDEO CARD SCROLL CUE
 * ============================================================ */

.vc-scroll-cue {
  display: block;
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: rgba(90, 176, 224, 0.45);
  margin-top: 8px;
  transition: color var(--transition-base);
}

.video-card-info:hover .vc-scroll-cue {
  color: rgba(90, 176, 224, 0.75);
}


/* ============================================================
 *  NAV DROPDOWN (ENT specialty menu)
 * ============================================================ */

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: var(--tracking-normal);
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-dropdown-trigger:hover,
.nav-dropdown-wrap.open .nav-dropdown-trigger {
  color: var(--text-primary);
}

.nav-dropdown-trigger:hover::after,
.nav-dropdown-wrap.open .nav-dropdown-trigger::after,
.nav-dropdown-trigger.active::after {
  width: 100%;
}

.nav-dropdown-trigger.active {
  color: var(--blue-light);
}

.nav-dd-chevron {
  width: 11px;
  height: 11px;
  opacity: 0.45;
  transition: transform var(--transition-base), opacity var(--transition-fast);
  flex-shrink: 0;
}

.nav-dropdown-wrap.open .nav-dd-chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 228px;
  background: var(--bg-overlay);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--transition-base),
    transform var(--transition-base),
    visibility 0s var(--transition-base);
  z-index: 200;
}

/* bridge prevents accidental hover-out over the gap */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base),
    visibility 0s;
}

/* Dropdown items */
.nav-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.60);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
}

a.nav-dd-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.nav-dd-item--disabled {
  color: rgba(255, 255, 255, 0.22);
  cursor: default;
}

.nav-dd-coming {
  font-size: 10px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Sub-item group (Turbilon / rf-hook / Bisuctor) */
.nav-dd-sub {
  display: block;
  padding: 2px 0 2px 10px;
  margin: 0 0 2px 14px;
  border-left: 1px solid var(--border-subtle);
}

.nav-dd-subitem {
  display: block;
  width: 100%;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: var(--weight-normal);
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
  box-sizing: border-box;
}

.nav-dd-subitem::after {
  display: none;
}

.nav-dd-subitem:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.nav-dd-separator {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 10px;
}

/* ── Scroll offset for sticky nav ── */
#turbilon,
#rfhook,
#bisuctor,
#rfmax,
#form {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

/* ── Mobile drawer sub-items ── */
.nav-drawer-sub {
  display: flex;
  flex-direction: column;
  padding: 4px 0 8px 20px;
  border-left: 1px solid var(--border-subtle);
  margin-left: 4px;
  gap: 0;
}

.nav-drawer-sub a {
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: none;
  transition: color var(--transition-fast);
}

.nav-drawer-sub a:hover { color: var(--blue-light); }

.nav-drawer-sub-disabled {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  color: rgba(255, 255, 255, 0.22);
  padding: 8px 0;
}
