/* GenesWell BCT Latinoamérica - Design System & Custom CSS */
:root {
  --primary-teal: #00b5b5;
  --primary-teal-dark: #008b8b;
  --primary-teal-light: #e6f7f7;
  --danger-red: #e63946;
  --danger-red-light: #fde8e9;
  --green-ref: #708238;
  --green-ref-light: #f2f5eb;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 30px -10px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* TOP BAR - LETRAS BLANCAS */
/* TOP BAR - 100% ANCHO COMPLETO */
.top-bar {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}
.top-bar-container {
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-info {
  display: flex;
  align-items: center;
  gap: 28px;
}
.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f8fafc;
  font-weight: 500;
  white-space: nowrap;
}
.top-bar-info i {
  color: var(--primary-teal);
}
.flag-icon-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  margin-right: 2px;
}
/* DROPDOWN DE IDIOMAS & BANDERAS DE SUDAMÉRICA Y EL CARIBE */
.lang-dropdown {
  position: relative;
  display: inline-block;
}
.lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 4px 14px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.lang-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--primary-teal);
}
.lang-btn-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}
.lang-btn-info .lang-country {
  font-weight: 700;
  font-size: 0.78rem;
  color: #ffffff;
}
.lang-btn-info .lang-phone {
  font-size: 0.7rem;
  color: var(--primary-teal);
  font-weight: 600;
}
.lang-dropdown-btn i.fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}
.lang-dropdown.active .lang-dropdown-btn i.fa-chevron-down {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 270px;
  max-height: 360px;
  overflow-y: auto;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 2500;
  display: none;
  padding: 6px 0;
}
.lang-dropdown-menu.show {
  display: block;
  animation: fadeIn 0.2s ease;
}

.lang-dropdown-menu::-webkit-scrollbar {
  width: 5px;
}
.lang-dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--primary-teal);
  border-radius: 4px;
}

.dropdown-header {
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-teal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}
.lang-option:hover, .lang-option.active {
  background: rgba(0, 181, 181, 0.2);
  color: #ffffff;
}

.lang-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.lang-info .country-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.88rem;
}
.lang-info .country-phone {
  font-size: 0.76rem;
  color: var(--primary-teal);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* NAVBAR - 100% ANCHO Y PERFECTAMENTE ORDENADO */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  width: 100%;
}
.navbar-container {
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: 20px;
}
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.official-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.official-logo-img-footer {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.brand-logo .logo-subtext, .footer-logo .logo-subtext {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--primary-teal);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.88rem;
  position: relative;
  padding: 8px 2px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-teal);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary-teal);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-contact {
  background: var(--primary-teal);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(0, 181, 181, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-contact:hover {
  background: var(--primary-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 181, 181, 0.45);
}

.mobile-toggle-btn {
  display: none;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-toggle-btn:hover {
  background: var(--primary-teal-light);
  color: var(--primary-teal);
  border-color: var(--primary-teal);
}

/* LAYOUT CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO SLIDER - MUCHO MÁS GRANDE (Full screen view / 780px) */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 780px;
  background: #0f172a;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}
.slide.active {
  opacity: 1;
}
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.slide.active .slide-content {
  transform: translateY(0);
}
.slide-tag {
  display: inline-block;
  background: rgba(0, 181, 181, 0.95);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.slide-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.slide-desc {
  font-size: 1.3rem;
  line-height: 1.7;
  opacity: 0.95;
  margin: 0 auto 36px auto;
  max-width: 820px;
}
.slider-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background: var(--primary-teal);
  width: 40px;
  border-radius: 12px;
}

/* GENERAL SECTION STYLES - CADA SECCIÓN INDEPENDIENTE */
.section {
  padding: 100px 0;
  position: relative;
}
.section-bg-light {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 64px auto;
}
.section-subtitle {
  color: var(--primary-teal);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

/* CARDS / FEATURES (Imagen 2) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 36px;
  margin-bottom: 60px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-teal);
}
.feature-icon-wrapper {
  width: 72px;
  height: 72px;
  background: var(--primary-teal-light);
  color: var(--primary-teal);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 28px;
}
.feature-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text-dark);
}
.feature-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.btn-card {
  background: var(--primary-teal);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-card:hover {
  background: var(--primary-teal-dark);
  box-shadow: 0 6px 16px rgba(0,181,181,0.35);
}

.banner-vs {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  padding: 36px 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-xl);
}
.banner-vs h4 {
  font-size: 1.4rem;
  font-weight: 800;
}

/* TARGET PATIENTS SECTION (Imágenes 3 y 4) */
.target-patients-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}
.target-patients-hero {
  position: relative;
  height: 420px;
}
.target-patients-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.target-patients-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  color: #fff;
}
.target-patients-overlay h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.target-patients-overlay p {
  font-size: 1.15rem;
  max-width: 850px;
  opacity: 0.95;
  line-height: 1.6;
}

/* STEPPER CRITERIA (1, 2, 3, 4) */
.criteria-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}
.step-item {
  background: var(--bg-white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step-item.active {
  border-color: var(--primary-teal);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}
.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  transition: var(--transition);
}
.step-item.active .step-badge {
  background: var(--primary-teal);
  color: #fff;
}
.step-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
}

/* STAGE TABLE (Imagen 4) */
.stage-table-wrapper {
  padding: 44px;
}
.stage-table-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.stage-table-title span.number-pill {
  background: var(--primary-teal);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.stage-table-title h4 {
  font-size: 1.4rem;
  font-weight: 800;
}
.custom-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.custom-table th {
  background: #1e293b;
  color: #fff;
  padding: 18px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
}
.custom-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 1rem;
}
.custom-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

/* BCT PROGNOSIS SCORE SECTION (Imagen 5) */
.score-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 54px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}
.score-visual {
  display: flex;
  gap: 44px;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: 44px;
  border-radius: var(--radius-md);
}
.meter-bar-container {
  position: relative;
  width: 28px;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}
.meter-high {
  height: 60%;
  background: linear-gradient(to bottom, #d62828, #e63946);
}
.meter-low {
  height: 40%;
  background: linear-gradient(to bottom, #00b5b5, #02c39a);
}

.meter-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 360px;
}
.meter-group {
  padding: 10px 0;
}
.meter-group.high {
  color: var(--danger-red);
}
.meter-group.high h5 {
  font-size: 1.3rem;
  font-weight: 800;
}
.meter-group.low {
  color: var(--primary-teal);
}
.meter-group.low h5 {
  font-size: 1.3rem;
  font-weight: 800;
}

.score-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}
.score-box {
  padding: 26px;
  border-radius: var(--radius-md);
  border-left: 6px solid;
}
.score-box.high-risk {
  background: var(--danger-red-light);
  border-color: var(--danger-red);
}
.score-box.high-risk h4 {
  color: var(--danger-red);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.score-box.low-risk {
  background: var(--primary-teal-light);
  border-color: var(--primary-teal);
}
.score-box.low-risk h4 {
  color: var(--primary-teal);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* 9 GENES SECTION (Imágenes 6 y 7) */
.dna-interactive-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 54px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  margin-bottom: 50px;
}
.dna-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 44px;
}

.dna-strand-visual {
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 44px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 44px;
}
.genes-tag-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 950px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.gene-pill {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.gene-pill.prolog {
  background: rgba(230, 57, 70, 0.2);
  color: #ff6b6b;
  border: 1px solid #e63946;
}
.gene-pill.immune {
  background: rgba(0, 181, 181, 0.2);
  color: #38ef7d;
  border: 1px solid #00b5b5;
}
.gene-pill.reference {
  background: rgba(112, 130, 56, 0.25);
  color: #a8ff78;
  border: 1px solid #708238;
}

.svg-dna-wave {
  width: 100%;
  max-width: 950px;
  height: 90px;
}

.genes-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.gene-info-card {
  padding: 34px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
}
.gene-info-card.prognostic {
  border-top: 5px solid var(--danger-red);
}
.gene-info-card.reference {
  border-top: 5px solid var(--green-ref);
}
.gene-info-card h4 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

/* CLINICAL STUDIES ACCORDION (Imágenes 8 y 9) */
.studies-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.studies-sidebar {
  background: var(--bg-light);
  padding: 36px 24px;
  border-right: 1px solid var(--border-color);
}
.studies-sidebar h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-dark);
}
.study-nav-btn {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}
.study-nav-btn.active, .study-nav-btn:hover {
  background: var(--bg-white);
  color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
}
.studies-content {
  padding: 44px;
}
.study-panel {
  display: none;
}
.study-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}
.study-paper-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}
.study-authors {
  color: var(--primary-teal);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 24px;
}
.study-abstract {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* CONTACT SECTION */
.contact-card {
  background: linear-gradient(135deg, var(--text-dark), #0f172a);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.contact-info p {
  opacity: 0.9;
  margin-bottom: 34px;
  line-height: 1.7;
  font-size: 1.05rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
}
.contact-detail-item i {
  color: var(--primary-teal);
  font-size: 1.4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font-family);
  font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  background: rgba(255,255,255,0.12);
}
.btn-submit {
  background: var(--primary-teal);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover {
  background: var(--primary-teal-dark);
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 34px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
  color: #fff;
}

/* FOOTER PROFESIONAL */
.main-footer {
  background: linear-gradient(to bottom, #0f172a, #090d16);
  color: #94a3b8;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-col .footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col .footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--primary-teal);
  border-radius: 2px;
}

/* Columna Branding */
.footer-brand-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.footer-brand-title span {
  color: #ffffff;
}
.footer-brand-title sup {
  font-size: 0.85rem;
  font-weight: 400;
  vertical-align: super;
}
.brand-col .footer-logo .logo-subtext {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: 16px;
  display: block;
}
.footer-about {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}
.footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.badge-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Enlaces */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a i {
  font-size: 0.75rem;
  color: var(--primary-teal);
  transition: var(--transition);
}
.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.footer-links a:hover i {
  color: #ffffff;
}

/* Disclaimer y Cobertura */
.footer-disclaimer {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}
.coverage-box {
  background: rgba(0, 181, 181, 0.1);
  border: 1px solid var(--primary-teal);
  color: #5eead4;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Contacto Footer */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-contact-list .contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
}
.footer-contact-list .contact-item i {
  font-size: 1.4rem;
}
.footer-contact-list .contact-item span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
}
.footer-contact-list .contact-item strong {
  color: #ffffff;
  font-size: 0.98rem;
}
.footer-btn-wa {
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}
.footer-btn-wa:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Copyright Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}
.footer-bottom-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-links a:hover {
  color: var(--primary-teal);
}

/* BOTÓN NAV Y BOTÓN FLOTANTE EVALÚATE */
.btn-evaluate-nav {
  background: linear-gradient(135deg, var(--danger-red), #c1121f);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-evaluate-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.5);
}

.btn-eval-float {
  position: fixed;
  bottom: 30px;
  right: 110px;
  background: linear-gradient(135deg, var(--danger-red), #c1121f);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.45);
  z-index: 2000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-eval-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(230, 57, 70, 0.65);
}

/* MODAL POP-UP EVALÚATE */
.eval-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.eval-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.eval-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 1px solid var(--border-color);
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.eval-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.eval-modal-close:hover {
  background: #e2e8f0;
}

.eval-modal-header {
  text-align: center;
  margin-bottom: 28px;
}
.modal-badge {
  background: var(--primary-teal-light);
  color: var(--primary-teal);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.eval-modal-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.eval-modal-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.eval-step {
  display: none;
}
.eval-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
.eval-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  display: block;
  margin-bottom: 18px;
}
.eval-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  font-weight: 600;
}
.radio-card:hover {
  background: #ffffff;
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
}
.radio-card input {
  accent-color: var(--primary-teal);
  width: 18px;
  height: 18px;
}

.step-nav-btns {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.btn-step-next {
  background: var(--primary-teal);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-step-next:hover {
  background: var(--primary-teal-dark);
}
.btn-step-prev {
  background: #e2e8f0;
  color: var(--text-dark);
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-step-prev:hover {
  background: #cbd5e1;
}

.eval-result-banner {
  background: var(--primary-teal-light);
  border: 1px solid var(--primary-teal);
  padding: 18px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 14px;
  align-items: center;
}
.eval-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-family);
  font-size: 0.95rem;
}
.eval-input:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(0,181,181,0.15);
}
.btn-submit-eval {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}
.btn-submit-eval:hover {
  background: #1eb956;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN COMPLETO Y FLUIDO */
@media (max-width: 1200px) {
  .top-bar-container, .navbar-container {
    padding: 0 24px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .btn-contact, .btn-evaluate-nav {
    padding: 9px 16px;
    font-size: 0.84rem;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 1080px) {
  .mobile-toggle-btn {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 30px;
    gap: 16px;
    border-bottom: 3px solid var(--primary-teal);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    display: none;
    z-index: 1000;
  }
  .nav-links.active {
    display: flex;
    animation: fadeIn 0.25s ease-in-out;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    font-size: 1rem;
    width: 100%;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links a::after {
    display: none;
  }
  .hero-slider {
    height: 580px;
  }
  .slide-title {
    font-size: 2.2rem;
  }
  .criteria-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .score-container, .genes-two-col, .studies-layout, .contact-card {
    grid-template-columns: 1fr;
  }
  .studies-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .btn-eval-float {
    right: 20px;
    bottom: 95px;
    font-size: 0.85rem;
    padding: 10px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .top-bar-container {
    flex-direction: column;
    gap: 10px;
    padding: 10px 16px;
    text-align: center;
  }
  .top-bar-info {
    justify-content: center;
    font-size: 0.78rem;
    gap: 12px;
    flex-wrap: wrap;
  }
  .lang-dropdown-menu {
    right: 50%;
    transform: translateX(50%);
    width: 290px;
    max-width: 90vw;
  }
  .btn-evaluate-nav {
    display: none;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .hero-slider {
    height: 520px;
  }
  .slide-title {
    font-size: 1.8rem;
  }
  .slide-desc {
    font-size: 0.95rem;
  }
  .banner-vs {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .banner-vs h4 {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .navbar-container {
    padding: 0 16px;
    height: 72px;
  }
  .official-logo-img {
    height: 32px;
  }
  .hero-slider {
    height: 540px;
  }
  .slide-title {
    font-size: 1.55rem;
  }
  .slide-desc {
    font-size: 0.9rem;
  }
  .criteria-steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .main-footer {
    padding: 50px 0 20px 0;
  }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 28px;
    bottom: 20px;
    right: 16px;
  }
  .btn-eval-float {
    right: 16px;
    bottom: 84px;
    font-size: 0.8rem;
    padding: 9px 15px;
  }
  .eval-modal-content {
    padding: 24px 18px;
    width: 95%;
  }
}

