/* ==========================================================
   TEALONC - Terapias Alternativas Oncológicas
   Hoja de Estilos Principal (CSS)
   Inspirado en la estética médica moderna y colores de marca
   ========================================================== */

:root {
  --teal-dark: #073046;
  --teal-deep: #0B4564;
  --teal-primary: #179796;
  --teal-secondary: #22A39F;
  --teal-accent: #2EC4B6;
  --teal-light: #E7F7F6;
  --teal-lighter: #F2FBF9;
  --teal-glow: rgba(34, 163, 159, 0.25);
  --dark-text: #0F172A;
  --body-text: #475569;
  --muted-text: #64748B;
  --light-bg: #F8FAFC;
  --white: #FFFFFF;
  --card-border: rgba(23, 151, 150, 0.12);
  --shadow-sm: 0 4px 12px rgba(7, 48, 70, 0.05);
  --shadow-md: 0 10px 25px rgba(7, 48, 70, 0.08);
  --shadow-lg: 0 18px 40px rgba(7, 48, 70, 0.12);
  --shadow-teal: 0 10px 25px rgba(23, 151, 150, 0.22);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ───────── RESET & BASE ───────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background-color: #FFFFFF;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  color: var(--teal-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: var(--teal-primary);
  transition: var(--transition);
}
a:hover {
  color: var(--teal-deep);
}

img {
  max-width: 100%;
  height: auto;
}

/* ───────── TOP BAR ───────── */
.top-bar {
  background: var(--teal-dark);
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a {
  color: #E2E8F0;
}
.top-bar a:hover {
  color: var(--teal-accent);
}
.top-bar-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(46, 196, 182, 0.18);
  color: var(--teal-accent);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.top-bar-dot {
  width: 7px;
  height: 7px;
  background-color: #22C55E;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ───────── NAVBAR ───────── */
.navbar-custom {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(7, 48, 70, 0.06);
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: var(--transition);
}
.navbar-custom.scrolled {
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(7, 48, 70, 0.1);
}

.navbar-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.navbar-custom.scrolled .navbar-brand-logo {
  height: 46px;
}

.nav-link-custom {
  font-family: var(--font-heading);
  color: var(--teal-dark) !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 16px !important;
  border-radius: 8px;
  position: relative;
  transition: var(--transition);
}
.nav-link-custom:hover {
  color: var(--teal-primary) !important;
  background-color: var(--teal-lighter);
}
.nav-link-custom.active {
  color: var(--teal-primary) !important;
}
.nav-link-custom.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-accent));
  border-radius: 2px;
}

/* ───────── BUTTONS ───────── */
.btn-teal {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-secondary));
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  padding: 11px 26px;
  border-radius: 50px;
  box-shadow: var(--shadow-teal);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-teal:hover {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-primary));
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 151, 150, 0.32);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal-primary) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border: 2px solid var(--teal-primary);
  padding: 10px 24px;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-outline-teal:hover {
  background: var(--teal-primary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-dark-teal {
  background: var(--teal-dark);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  padding: 11px 26px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-dark-teal:hover {
  background: var(--teal-deep);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: #FFFFFF;
  color: var(--teal-dark) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-white:hover {
  background: var(--teal-light);
  color: var(--teal-dark) !important;
  transform: translateY(-2px);
}

/* ───────── BADGES & PILLS ───────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal-primary);
  border: 1px solid rgba(23, 151, 150, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.section-badge i {
  font-size: 0.95rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--muted-text);
  max-width: 680px;
  margin-bottom: 0;
}

/* ───────── HERO SLIDER / BANNER ───────── */
.hero-slider-section {
  position: relative;
  background: #061c2d;
  overflow: hidden;
}

.hero-slider-picture {
  display: block;
  width: 100%;
}

.hero-slider-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 280px;
  max-height: 640px;
}

/* Hero Content Overlay (Optional or integrated) */
.hero-banner-wrap {
  position: relative;
}

/* ───────── FLOATING HIGHLIGHTS ROW ───────── */
.floating-highlights-wrap {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  margin-bottom: 40px;
}
@media (max-width: 767.98px) {
  .floating-highlights-wrap {
    margin-top: -30px;
    margin-bottom: 25px;
  }
}

.floating-highlights-bar {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 45px rgba(7, 48, 70, 0.12);
  border: 1px solid var(--card-border);
  padding: 24px 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-right: 1px solid #E2E8F0;
  transition: var(--transition);
}
.highlight-item:last-child {
  border-right: none;
}
.highlight-item:hover {
  transform: translateY(-2px);
}

.highlight-icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}
.highlight-item:hover .highlight-icon-box {
  background: var(--teal-primary);
  color: #FFFFFF;
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 2px;
}
.highlight-desc {
  font-size: 0.84rem;
  color: var(--muted-text);
  margin-bottom: 0;
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .highlight-item {
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    padding: 14px 6px;
  }
  .highlight-item:last-child {
    border-bottom: none;
  }
}

/* ───────── ABOUT / CLINIC SECTION ───────── */
.about-visual-container {
  position: relative;
  padding: 15px;
}
.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.about-floating-card {
  position: absolute;
  bottom: -15px;
  right: 0px;
  width: 250px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 16px 36px rgba(7, 48, 70, 0.15);
  border: 1px solid var(--card-border);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.check-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.check-list-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--teal-light);
  color: var(--teal-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 3px;
}

/* ───────── SERVICES / QUÉ HACEMOS CARDS ───────── */
.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-accent));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(23, 151, 150, 0.35);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--teal-light);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon-box {
  background: var(--teal-primary);
  color: #FFFFFF;
  transform: scale(1.06);
}

.service-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ───────── VIRUS ONCOLÍTICOS SPOTLIGHT ───────── */
.oncolytic-spotlight {
  background: linear-gradient(135deg, #072B3E 0%, #0C4662 50%, #0F5E7B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(7, 43, 62, 0.25);
}
.oncolytic-spotlight::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.25) 0%, rgba(46, 196, 182, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.oncolytic-spotlight .section-badge {
  background: rgba(46, 196, 182, 0.2);
  color: #5EEAD4;
  border-color: rgba(94, 234, 212, 0.3);
}

.oncolytic-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.oncolytic-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.oncolytic-img-wrapper:hover .oncolytic-img {
  transform: scale(1.04);
}

/* ───────── PROPÓSITO: LLEGAR A TIEMPO ───────── */
.proposito-card {
  background: linear-gradient(135deg, #F0FDFB, #E6F7F6);
  border: 1px solid rgba(23, 151, 150, 0.25);
  border-radius: var(--radius-xl);
  padding: 50px 45px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.proposito-quote-mark {
  font-size: 3.8rem;
  color: var(--teal-primary);
  opacity: 0.2;
  line-height: 1;
  position: absolute;
  top: 30px;
  right: 40px;
}

/* ───────── VALUES CARDS ───────── */
.value-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  height: 100%;
}
.value-card:hover {
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.value-card:hover .value-icon {
  background: var(--teal-primary);
  color: #FFFFFF;
}

/* ───────── LOCATION & CONTACT (LOS PINOS STYLE) ───────── */
.contact-info-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
  height: 100%;
}

.map-container-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #E2E8F0;
  height: 100%;
  min-height: 380px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ───────── FOOTER ───────── */
.footer-corporate {
  background: #061A28;
  color: #94A3B8;
  padding-top: 65px;
  border-top: 3px solid var(--teal-primary);
}
.footer-title {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--teal-accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}
.footer-links a i {
  color: var(--teal-accent);
  font-size: 0.8rem;
}

.footer-bottom {
  background: #030F18;
  padding: 20px 0;
  margin-top: 50px;
  font-size: 0.84rem;
  color: #64748B;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.libro-reclamaciones-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: var(--transition);
}
.libro-reclamaciones-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* ───────── FLOATING WHATSAPP BUTTON ───────── */
.btn-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  transition: var(--transition);
  animation: wa-pulse 2.2s infinite;
}
.btn-whatsapp-float:hover {
  transform: scale(1.12);
  background: #20BA5A;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ───────── INNER PAGES HEADER BANNER ───────── */
.page-hero-banner {
  background: linear-gradient(135deg, #072B3E 0%, #0C4662 60%, #179796 100%);
  padding: 75px 0 65px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.page-hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: #FFFFFF;
  clip-path: ellipse(50% 100% at 50% 100%);
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.page-hero-breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.page-hero-breadcrumb a {
  color: var(--teal-accent);
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .oncolytic-spotlight {
    padding: 36px 24px;
  }
  .proposito-card {
    padding: 32px 24px;
  }
}
