/* ==========================================================================
   DentaTips Link-in-Bio & Landing Portal — Awwwards Grade Design System
   ========================================================================== */

:root {
  /* Brand Palette */
  --dt-blue: #1D64F2;
  --dt-blue-light: #3B82F6;
  --dt-blue-dark: #0B3CA6;
  --dt-cyan: #06B6D4;
  --dt-cyan-light: #38BDF8;
  
  --dt-gold: #F59E0B;
  --dt-gold-light: #FBBF24;
  --dt-gold-dark: #D97706;
  --dt-amber: #EA580C;

  --dt-mint: #10B981;
  --dt-mint-light: #34D399;
  --dt-mint-glow: #00F5A0;

  --dt-navy-deep: #050B20;
  --dt-navy-surface: #0A1435;
  --dt-navy-card: #0F1F4D;
  --dt-navy-border: rgba(255, 255, 255, 0.12);

  --dt-light-bg: #F0F6FF;
  --dt-light-surface: #FFFFFF;
  --dt-light-text: #0B1938;
  --dt-light-muted: #5A6987;

  /* Typography */
  --font-display: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;

  /* Geometry & Shadows */
  --radius-pill: 9999px;
  --radius-card: 32px;
  --radius-button: 18px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 12px 35px -8px rgba(11, 26, 66, 0.15);
  --shadow-glow-blue: 0 12px 36px -6px rgba(29, 100, 242, 0.45);
  --shadow-glow-gold: 0 12px 36px -6px rgba(245, 158, 11, 0.42);
  --shadow-glow-mint: 0 12px 36px -6px rgba(16, 185, 129, 0.45);
  --shadow-phone: 0 35px 80px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--dt-light-bg);
  color: var(--dt-light-text);
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Ambient Cursor Spotlight (Desktop) */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(29, 100, 242, 0.03) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* Animated Aurora Background Blobs */
.bg-ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: floatOrb 18s ease-in-out infinite alternate;
  will-change: transform;
}

.aurora-blob-1 {
  top: -10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(29, 100, 242, 0.15) 70%, transparent 100%);
  animation-duration: 22s;
}

.aurora-blob-2 {
  top: 25%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.28) 0%, rgba(245, 158, 11, 0.1) 70%, transparent 100%);
  animation-duration: 26s;
  animation-delay: -5s;
}

.aurora-blob-3 {
  bottom: 10%;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(6, 182, 212, 0.12) 70%, transparent 100%);
  animation-duration: 28s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ==========================================================================
   Top Header & Navigation Bar
   ========================================================================== */

.top-navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1080px, calc(100% - 28px));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(11, 26, 66, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.35s ease;
}

.top-navbar.is-dark {
  background: rgba(10, 20, 53, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mini-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-mini:hover .brand-mini-logo {
  transform: scale(1.04);
}



/* Persona Segmented Switcher */
.persona-switcher {
  display: flex;
  align-items: center;
  background: rgba(15, 31, 77, 0.06);
  padding: 3px;
  border-radius: var(--radius-pill);
  position: relative;
}

.top-navbar.is-dark .persona-switcher {
  background: rgba(255, 255, 255, 0.08);
}

.switcher-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: var(--dt-light-muted);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-navbar.is-dark .switcher-pill {
  color: rgba(255, 255, 255, 0.7);
}

.switcher-pill.active {
  background: #ffffff;
  color: var(--dt-blue);
  box-shadow: 0 3px 12px rgba(11, 26, 66, 0.12);
}

.top-navbar.is-dark .switcher-pill.active {
  background: var(--dt-mint);
  color: #050B20;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(11, 26, 66, 0.05);
  color: var(--dt-light-text);
  font-size: 0.85rem;
  transition: all 0.22s ease;
}

.top-navbar.is-dark .nav-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--dt-blue);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(29, 100, 242, 0.3);
}



/* ==========================================================================
   Page Wrapper & Container
   ========================================================================== */

.page-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
}

/* ==========================================================================
   SECTION 1: Pacientes y Familia (Light Luxury)
   ========================================================================== */

.section-patients {
  position: relative;
  min-height: 100vh;
  padding: clamp(90px, 12vh, 120px) 18px clamp(60px, 8vh, 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Stage container holding the card and the floating bubbles */
.patients-stage {
  position: relative;
  width: min(540px, 100%);
  margin: 0 auto;
}

/* ── Floating Photographic Bubbles with Rellax Parallax ── */
.floating-bubble {
  position: absolute;
  border-radius: 50%;
  overflow: visible;
  z-index: 10;
  will-change: transform;
}

.bubble-float-anim {
  width: 100%;
  height: 100%;
  position: relative;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.anim-bob-1 {
  animation: floatBob1 5.4s ease-in-out infinite alternate;
}

.anim-bob-2 {
  animation: floatBob2 6.2s ease-in-out infinite alternate;
  animation-delay: -1.2s;
}

.anim-bob-3 {
  animation: floatBob3 5.8s ease-in-out infinite alternate;
  animation-delay: -2.5s;
}

.bubble-float-anim:hover {
  transform: scale(1.14) translateY(-4px);
  z-index: 25;
}

.bubble-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.45));
  box-shadow: 0 16px 38px -6px rgba(11, 26, 66, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
  display: block;
}

.bubble-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.4s ease;
}

.bubble-float-anim:hover .bubble-inner img {
  transform: scale(1.12);
}

/* Tooltip on Bubble Hover */
.bubble-tooltip {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(11, 26, 66, 0.92);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.22s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.bubble-float-anim:hover .bubble-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Coordinates and sizing for the 5 bubbles */
.bubble-top-left {
  width: 86px;
  height: 86px;
  top: -24px;
  left: -48px;
}

.bubble-top-right {
  width: 96px;
  height: 96px;
  top: -16px;
  right: -52px;
}

.bubble-mid-right {
  width: 82px;
  height: 82px;
  top: 42%;
  right: -58px;
}

.bubble-mid-left {
  width: 78px;
  height: 78px;
  top: 48%;
  left: -54px;
}

.bubble-bottom-left {
  width: 90px;
  height: 90px;
  bottom: 80px;
  left: -50px;
}

@keyframes floatBob1 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes floatBob2 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(-3deg); }
}

@keyframes floatBob3 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(1.5deg); }
}

/* ── Main Patients Card ── */
.patient-card {
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-card);
  box-shadow: 
    0 30px 80px -15px rgba(11, 26, 66, 0.12),
    0 10px 30px -10px rgba(29, 100, 242, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: clamp(28px, 5vw, 42px) clamp(22px, 4vw, 36px);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Brand Logo at Card Top */
.card-brand-header {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.card-logo-img {
  max-width: 210px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(29, 100, 242, 0.15));
  transition: transform 0.25s ease;
}

.card-logo-img:hover {
  transform: scale(1.03);
}

.card-brand-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--dt-light-muted);
}

.card-brand-tagline span {
  color: var(--dt-blue);
}

/* Headline */
.card-heading {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.8vw, 1.6rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--dt-light-text);
  margin-bottom: 22px;
}

.card-heading .blue-gradient-text {
  display: block;
  background: linear-gradient(135deg, #1D64F2 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Primary Search Pill ── */
.search-pill-wrapper {
  margin-bottom: 18px;
}

.btn-search-ideal {
  width: 100%;
  min-height: 60px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 
    0 12px 30px -5px rgba(37, 99, 235, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-search-ideal::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shineSweeper 4.5s infinite;
}

@keyframes shineSweeper {
  0%, 70% { left: -120%; }
  100% { left: 180%; }
}

.btn-search-ideal:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 
    0 18px 40px -5px rgba(37, 99, 235, 0.55),
    0 0 0 2px rgba(255, 255, 255, 0.4) inset;
  filter: brightness(1.05);
}

.btn-search-ideal:active {
  transform: translateY(-1px);
}

.search-icon-orb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.search-btn-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.search-btn-title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
}

.search-btn-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

/* Quick Filter Tags */
.quick-tags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.quick-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(29, 100, 242, 0.06);
  color: var(--dt-blue);
  border: 1px solid rgba(29, 100, 242, 0.12);
  transition: all 0.2s ease;
}

.quick-tag:hover {
  background: var(--dt-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ── Social Row ── */
.social-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 24px;
}

.social-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1.5px solid var(--dt-gold);
  color: var(--dt-gold-dark);
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
  transition: all 0.25s ease;
}

.social-circle-btn:hover {
  transform: translateY(-3px) scale(1.1);
  background: var(--dt-gold);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.social-handle {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dt-light-text);
  letter-spacing: -0.01em;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.social-handle:hover {
  background: rgba(11, 26, 66, 0.05);
  color: var(--dt-blue);
}

/* ── Section Dividers / Group Labels ── */
.group-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dt-light-text);
  margin: 22px 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.group-label::before,
.group-label::after {
  content: "";
  height: 1px;
  width: 32px;
  background: linear-gradient(90deg, transparent, rgba(11, 26, 66, 0.18), transparent);
}

/* ── Action Link Buttons ── */
.action-cards-grid {
  display: grid;
  gap: 11px;
}

.btn-action-pill {
  width: 100%;
  min-height: 54px;
  padding: 10px 18px;
  border-radius: var(--radius-button);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.btn-action-pill:hover {
  transform: translateY(-2.5px);
  filter: brightness(1.04);
}

.btn-action-pill:active {
  transform: translateY(-1px);
}

.pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.pill-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pill-title {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.pill-sub {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.88;
  margin-top: 1px;
}

.pill-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  transition: transform 0.22s ease;
}

.btn-action-pill:hover .pill-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.4);
}

/* Warm Golden Buttons (Ofertas & Tratamientos) */
.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #ffffff;
  box-shadow: 
    0 10px 24px -5px rgba(245, 158, 11, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.btn-gold:hover {
  box-shadow: 
    0 14px 30px -5px rgba(245, 158, 11, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.35) inset;
}

.btn-gold .pill-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Blue Button (Infografías) */
.btn-blue {
  background: linear-gradient(135deg, #1D64F2 0%, #0B45D8 100%);
  color: #ffffff;
  box-shadow: 
    0 10px 24px -5px rgba(29, 100, 242, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.btn-blue:hover {
  box-shadow: 
    0 14px 30px -5px rgba(29, 100, 242, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.35) inset;
}

.btn-blue .pill-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* ── Kids TV Mascot Badge ── */
.kids-tv-card {
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 248, 235, 0.95), rgba(240, 249, 255, 0.95));
  border: 1.5px dashed rgba(245, 158, 11, 0.45);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}

.kids-tv-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--dt-gold);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.22);
}

.kids-tv-logo-img {
  width: min(230px, 85%);
  height: auto;
  max-height: 85px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(245, 158, 11, 0.2));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.kids-tv-card:hover .kids-tv-logo-img {
  transform: scale(1.06) rotate(-1.5deg);
  filter: drop-shadow(0 10px 20px rgba(245, 158, 11, 0.35));
}

.modal-kids-logo-img {
  max-width: 240px;
  width: 80%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(245, 158, 11, 0.25));
}

.kids-tv-sub {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--dt-light-muted);
}

.kids-tv-sparkle {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1rem;
  color: var(--dt-gold);
  animation: pulseSparkle 2.2s infinite;
}

@keyframes pulseSparkle {
  0%, 100% { transform: scale(0.9) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

/* ==========================================================================
   Transition Wave Divider (Morphing to Dark B2B)
   ========================================================================== */

.portal-divider {
  position: relative;
  width: 100%;
  margin-top: 40px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wave-svg {
  width: 100%;
  height: clamp(80px, 12vw, 150px);
  display: block;
  fill: var(--dt-navy-deep);
  filter: drop-shadow(0 -8px 20px rgba(5, 11, 32, 0.15));
}

.divider-pill-badge {
  position: absolute;
  top: -20px;
  z-index: 10;
  background: var(--dt-navy-deep);
  color: var(--dt-mint-light);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(14px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dt-mint-glow);
  box-shadow: 0 0 10px var(--dt-mint-glow);
  animation: pulseDotAnim 1.8s infinite;
}

@keyframes pulseDotAnim {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* ==========================================================================
   SECTION 2: Odontólogos y Clínicas (Deep Obsidian B2B Luxury)
   ========================================================================== */

.section-b2b {
  position: relative;
  background-color: var(--dt-navy-deep);
  color: #ffffff;
  padding: clamp(60px, 8vh, 90px) 20px clamp(80px, 10vh, 120px);
  overflow: hidden;
}

/* Ambient glow in dark section */
.b2b-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.35;
}

.b2b-glow-1 {
  top: 10%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #1E40AF 0%, transparent 70%);
}

.b2b-glow-2 {
  bottom: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #059669 0%, transparent 70%);
}

.b2b-container {
  position: relative;
  z-index: 5;
  max-width: 1080px;
  margin: 0 auto;
}

.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(30px, 6vw, 70px);
}

/* ── Interactive 3D Smartphone Mockup (iPhone 16 Pro) ── */
.phone-mockup-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: min(320px, 100%);
  background: #000000;
  border-radius: 46px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  border: 3.5px solid #2B3242;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  cursor: pointer;
}

.phone-mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 43px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
  z-index: 30;
}

.phone-screen {
  background: #0B142F;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  padding: 14px 14px 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.phone-island {
  width: 90px;
  height: 24px;
  background: #000000;
  border-radius: var(--radius-pill);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  position: relative;
  z-index: 20;
}

.island-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111A2E;
  border: 1px solid #1E293B;
}

.island-sensor {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #082F49;
}

/* Doctor Profile Header Inside Phone */
.doctor-profile-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--dt-light-text);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.doctor-avatar-wrapper {
  position: relative;
  width: 78px;
  height: 78px;
  margin-bottom: 8px;
}

.doctor-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 18px rgba(11, 26, 66, 0.2);
}

.verified-badge-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--dt-blue);
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
}

.doctor-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0B1938;
}

.doctor-specialty {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dt-blue);
  margin-top: 1px;
}

.doctor-cedula {
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748B;
  margin-top: 2px;
}

.doctor-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin: 6px 0;
}

.doctor-location {
  font-size: 0.64rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Profile Action Buttons inside phone */
.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  width: 100%;
  margin-top: 12px;
}

.btn-phone-cta {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 8px 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.2s ease;
}

.btn-phone-agenda {
  background: var(--dt-blue);
  color: #ffffff;
}

.btn-phone-contact {
  background: #E2E8F0;
  color: #1E293B;
}

/* Live Floating Notification Badge on Phone */
.phone-live-notification {
  margin-top: 12px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34D399;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  flex-shrink: 0;
  animation: pulseDotAnim 1.5s infinite;
}

/* ── B2B Content Column ── */
.b2b-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.b2b-eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dt-mint-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.b2b-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.emerald-gradient-text {
  display: block;
  background: linear-gradient(135deg, #34D399 0%, #00F5A0 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CTAs in B2B Section */
.b2b-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.btn-b2b-primary {
  width: 100%;
  min-height: 58px;
  padding: 14px 26px;
  border-radius: var(--radius-button);
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-glow-gold);
  position: relative;
  overflow: hidden;
  transition: all 0.26s ease;
}

.btn-b2b-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shineSweeper 4.5s infinite;
  animation-delay: 2s;
}

.btn-b2b-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px -6px rgba(245, 158, 11, 0.6);
  filter: brightness(1.08);
}

.b2b-subtext {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
  margin-top: -2px;
}

.btn-b2b-secondary {
  width: 100%;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: var(--radius-button);
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow-mint);
  transition: all 0.26s ease;
}

.btn-b2b-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px -6px rgba(16, 185, 129, 0.6);
  filter: brightness(1.08);
}

/* Floating Dentist Avatar Testimonial (Female Specialist) */
.b2b-testimonial-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 14px 18px;
  margin-top: 10px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.b2b-testimonial-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(52, 211, 153, 0.3);
}

.specialist-b2b-thumb {
  position: relative;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
}

.specialist-b2b-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--dt-mint-light);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

.specialist-quote-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

.specialist-quote-author {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: normal;
  color: var(--dt-mint-light);
  margin-top: 4px;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.portal-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-social-row {
  display: flex;
  gap: 12px;
}

.footer-social-orb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--dt-navy-border);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.footer-social-orb:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--dt-mint-light);
  color: var(--dt-mint-light);
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.footer-web-link {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-web-link:hover {
  color: var(--dt-mint-light);
}

.footer-ecosystem-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-ecosystem-tag a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.footer-ecosystem-tag a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Modals & Drawers (Search, Share, QR, Kids TV)
   ========================================================================== */

.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 32, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop-custom.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog-custom {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  z-index: 210;
  width: min(460px, calc(100% - 32px));
  max-height: 85vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  padding: 30px 24px;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease, visibility 0.32s ease;
}

.modal-dialog-custom.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 26, 66, 0.06);
  color: var(--dt-light-text);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.modal-close-btn:hover {
  transform: rotate(90deg);
  background: #EF4444;
  color: #ffffff;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dt-light-text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 0.82rem;
  color: var(--dt-light-muted);
  margin-bottom: 20px;
}

/* Search Modal Form */
.modal-search-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F1F5F9;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.modal-search-input-box:focus-within {
  background: #ffffff;
  border-color: var(--dt-blue);
  box-shadow: 0 0 0 4px rgba(29, 100, 242, 0.15);
}

.modal-search-input-box input {
  border: none;
  background: none;
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dt-light-text);
  outline: none;
}

.filter-chips-section {
  margin-top: 18px;
}

.filter-chips-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dt-light-muted);
  margin-bottom: 8px;
}

.filter-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip-btn {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #F1F5F9;
  color: #334155;
  transition: all 0.2s ease;
}

.filter-chip-btn.is-active,
.filter-chip-btn:hover {
  background: var(--dt-blue);
  color: #ffffff;
}

.modal-submit-search {
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  border-radius: 14px;
  background: var(--dt-blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(29, 100, 242, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.modal-submit-search:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* Share & QR Code Layout */
.share-targets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.share-target-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 8px;
  transition: all 0.22s ease;
  color: var(--dt-light-text);
}

.share-target-item:hover {
  transform: translateY(-3px);
  border-color: var(--dt-blue);
  background: #EFF6FF;
  color: var(--dt-blue);
}

.share-target-item i {
  font-size: 1.4rem;
}

.share-target-item span {
  font-size: 0.72rem;
  font-weight: 700;
}

.qr-code-box {
  background: #F8FAFC;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qr-svg-holder {
  width: 150px;
  height: 150px;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.copy-link-bar {
  display: flex;
  align-items: center;
  background: #E2E8F0;
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 14px;
  width: 100%;
}

.copy-link-text {
  flex: 1;
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy-action {
  background: var(--dt-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease;
}

.btn-copy-action.is-copied {
  background: var(--dt-mint);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: #050B20;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 900px) {
  .b2b-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .b2b-eyebrow {
    justify-content: center;
  }

  .b2b-testimonial-card {
    text-align: left;
  }

  .phone-mockup-wrapper {
    order: 2;
    margin-top: 20px;
  }

  .b2b-content {
    order: 1;
  }
}

@media (max-width: 640px) {
  .top-navbar {
    width: calc(100% - 20px);
    padding: 6px 12px;
  }



  .switcher-pill {
    padding: 5px 10px;
    font-size: 0.74rem;
  }

  /* Make floating bubbles subtle & well arranged on small screens */
  .bubble-top-left {
    width: 66px;
    height: 66px;
    top: -18px;
    left: -14px;
  }

  .bubble-top-right {
    width: 72px;
    height: 72px;
    top: -14px;
    right: -16px;
  }

  .bubble-mid-right {
    width: 60px;
    height: 60px;
    right: -18px;
  }

  .bubble-mid-left {
    width: 58px;
    height: 58px;
    left: -16px;
  }

  .bubble-bottom-left {
    width: 64px;
    height: 64px;
    bottom: 50px;
    left: -14px;
  }

  .card-heading {
    font-size: 1.25rem;
  }

  .search-btn-title {
    font-size: 0.9rem;
  }

  .btn-search-ideal {
    min-height: 54px;
    padding: 10px 14px;
  }
}
