/* ==========================================================================
   GenLives - Modern Redesign
   ========================================================================== */

/* Custom Properties */
:root {
  --primary:      #3d8c84;
  --primary-dark: #2a6b63;
  --accent:       #9880cc;
  --accent-dark:  #7860b0;
  --text:         #334155;
  --text-light:   #64748b;
  --light:        #f0f8f7;
  --white:        #ffffff;
  --border:       #e2e8f0;
  --shadow:       0 4px 24px rgba(61,140,132,0.12);
  --shadow-sm:    0 2px 8px rgba(61,140,132,0.08);
  --radius:       0.75rem;
  --radius-lg:    1.25rem;
  --transition:   0.3s ease;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

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

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

/* ==========================================================================
   NAVBAR
   ========================================================================== */
#mainNav {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(61,140,132,0.08);
  padding: 0.75rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}

#mainNav .navbar-brand img {
  height: 52px;
  transition: height var(--transition);
}

#mainNav .nav-link {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  transition: color var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--primary-dark);
}

#mainNav .dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 220px;
}

#mainNav .dropdown-item {
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 0.4rem;
  padding: 0.5rem 0.9rem;
  transition: background var(--transition), color var(--transition);
}

#mainNav .dropdown-item:hover {
  background: var(--light);
  color: var(--primary);
}

#mainNav .dropdown-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  padding: 0.6rem 0.9rem 0.2rem;
}

.btn-nav-contact {
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 2rem;
  padding: 0.45rem 1.2rem !important;
  font-weight: 600;
  font-size: 0.9rem !important;
  transition: background var(--transition), transform var(--transition);
}

.btn-nav-contact:hover {
  background: var(--accent-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Scrolled state */
#mainNav.scrolled {
  box-shadow: 0 4px 20px rgba(61,140,132,0.13);
}

/* ==========================================================================
   HERO (Homepage)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/slides/DNA-gen.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.65;
  transition: opacity 0.5s;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 30%, #5db8ae 100%);
  opacity: 0.72;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--white);
  opacity: 0.88;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.2rem;
}

/* ==========================================================================
   PAGE HEADER (Interior pages)
   ========================================================================== */
.page-header {
  background: linear-gradient(120deg, var(--primary-dark) 0%, #4a9890 100%);
  color: var(--white);
  padding: 3.5rem 0 2.5rem;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}

.page-header .breadcrumb-item.active {
  color: rgba(255,255,255,0.9);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.35);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.65rem 1.6rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,140,132,0.22);
}

.btn-accent {
  background: var(--accent);
  border: none;
  color: var(--white);
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.65rem 1.6rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(152,128,204,0.3);
}

.btn-outline-primary {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.63rem 1.6rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.63rem 1.6rem;
  transition: background var(--transition), border-color var(--transition);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-tag {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ==========================================================================
   FEATURE CARDS (Homepage pillars)
   ========================================================================== */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-dark);
  margin-bottom: 1.2rem;
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   STUDY CARDS
   ========================================================================== */
.study-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.study-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.study-card-header.accent {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #9870d0 100%);
}

.study-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white) !important;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.25);
}

.study-card-header h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0;
  font-size: 1rem;
}

.study-card-body {
  padding: 1.4rem;
  flex: 1;
}

.study-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.study-card-footer {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(152,128,204,0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-banner p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ==========================================================================
   TEAM CARDS
   ========================================================================== */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  padding-top: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.team-card > img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto 0.25rem;
}

.team-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-card-body .role {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Team modal */
.team-modal-btn {
  margin-top: auto;
  background: var(--light);
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.team-modal-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--white);
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  border-radius: var(--radius) !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--light);
  color: var(--primary);
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232a6b63'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 1rem 1.4rem 1.2rem;
}

.faq-accordion .accordion-body a {
  color: var(--accent-dark);
  font-weight: 600;
}

/* ==========================================================================
   STEPS / PROCESS
   ========================================================================== */
.step-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step-content h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */
.content-section {
  padding: 5rem 0;
}

.content-section.bg-light-custom {
  background: var(--light);
}

.highlight-box {
  background: var(--light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.highlight-box h6 {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.highlight-box p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Info list */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.info-list li:last-child { border-bottom: none; }

.info-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.contact-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Form */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(152,128,204,0.15);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 4rem;
}

.site-footer h6 {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.4rem;
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 1rem 0;
  margin-top: 2.5rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.social-links { display: flex; gap: 0.75rem; }

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-accent { color: var(--accent-dark) !important; }
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-accent { background: var(--accent) !important; }

.rounded-xl { border-radius: var(--radius-lg) !important; }
.rounded-lg { border-radius: var(--radius) !important; }

.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

.divider {
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* Alert / notification boxes */
.info-alert {
  background: rgba(152,128,204,0.08);
  border: 1px solid rgba(152,128,204,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--primary-dark);
  font-size: 0.93rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.info-alert i { color: var(--accent-dark); font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ==========================================================================
   STUDY PAGE SIDEBAR
   ========================================================================== */
.study-sidebar {
  align-self: start;
}

@media (min-width: 992px) {
  .study-sidebar {
    position: sticky;
    top: 80px;
  }
}

/* Study fact card — replaces plain white contact-card in study sidebars */
.study-fact-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.study-fact-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}

.study-fact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  background: var(--white);
}

.study-fact-row:last-child { border-bottom: none; }

.study-fact-label {
  color: var(--text-light);
  font-weight: 600;
  min-width: 44%;
  flex-shrink: 0;
}

.study-fact-value {
  color: var(--text);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
  #mainNav .dropdown-menu {
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    min-width: auto;
  }

  #mainNav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .hero {
    min-height: 70vh;
    padding: 4rem 0;
  }

  .hero h1 { font-size: 2rem; }

  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 767.98px) {
  .content-section, .section-pad { padding: 3rem 0; }
  .cta-banner { padding: 2rem 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   TESTIMONIOS CAROUSEL
   ========================================================================== */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 3rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  max-width: 720px;
  min-height: 260px;
}

.testimonial-quote {
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 0.25rem;
  opacity: 0.5;
}

.testimonial-text {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* Controles carousel testimonios */
.testimonial-control {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-control:hover { background: var(--accent); opacity: 1; }

.testimonial-control i {
  color: #fff;
  font-size: 1rem;
}

.testimonial-indicators {
  position: relative;
  bottom: auto;
  margin: 1.5rem 0 0;
}

.testimonial-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  opacity: 1;
  margin: 0 4px;
}

.testimonial-indicators .active {
  background: var(--accent);
}

@media (max-width: 767.98px) {
  .testimonial-card { padding: 1.75rem 1.5rem; }
  .testimonial-text { font-size: 0.93rem; }
}

/* ==========================================================================
   RECONOCIMIENTOS TEASER (HOME)
   ========================================================================== */
.home-award-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: background 0.2s;
}

.home-award-item:hover {
  background: rgba(255,255,255,0.12);
}

.home-award-icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.home-award-org {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.4rem;
}

.home-award-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

/* ==========================================================================
   PRENSA
   ========================================================================== */

/* Featured quote */
.press-featured-quote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 0;
  background: var(--bg-light, #f8f9fa);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.press-featured-quote p {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.press-featured-quote footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Media outlets grid */
.press-outlets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.press-outlet-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.press-outlet-badge i {
  color: var(--accent);
  font-size: 1rem;
}
.press-outlet-featured {
  border-color: var(--accent);
  background: rgba(152,128,204,0.06);
}
.press-outlet-featured img {
  height: 16px;
  width: auto;
  max-width: 60px;
}

/* Stats strip */
.press-stats-strip {
  background: var(--primary);
  padding: 3rem 0 2.5rem;
  margin-top: 3rem;
  color: #fff;
}
.press-topic-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.press-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.press-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.press-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.press-outlet {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  margin-bottom: 0.4rem;
}

.press-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.press-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  flex: 1;
}

.press-excerpt {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.press-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  margin-top: auto;
}

.press-link:hover { color: var(--accent); text-decoration: underline; }

/* Teaser en home */
.press-teaser-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.press-teaser-outlet {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.press-teaser-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.press-teaser-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.4rem;
}

/* ==========================================================================
   RECONOCIMIENTOS / AWARDS
   ========================================================================== */
.award-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.25rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-left: 4px solid var(--accent);
  transition: box-shadow 0.2s, transform 0.2s;
}

.award-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.11);
  transform: translateY(-2px);
}

.award-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.award-org {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-dark);
  margin-bottom: 0.2rem;
}

.award-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
}

.award-year {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.award-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.award-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}

.award-link:hover { color: var(--accent); text-decoration: underline; }

/* Awards page – profile photo */
.awards-portrait {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
}

/* Awards page – Nature quote box */
.awards-quote-box {
  background: var(--light);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.awards-quote-box blockquote {
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text);
  margin: 0 0 0.6rem 0;
  line-height: 1.6;
}

.awards-quote-box figcaption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
}

.nature-cite-logo {
  height: 14px;
  width: auto;
}

/* Awards page – stat cards */
.awards-stat-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: center;
}

.awards-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.awards-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.3rem;
  line-height: 1.3;
}

/* Award icon with logo image (light background) */
.award-icon-light {
  background: #f0f4f8 !important;
  border: 1px solid var(--border);
}

.award-logo-img {
  max-width: 72px;
  max-height: 36px;
  object-fit: contain;
}

/* ─── Language Switcher ─────────────────────────────────────────── */
/* Uses Bootstrap dropdown — .show class controlled by Bootstrap JS */
.lang-dropdown-btn {
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.5;
  user-select: none;
  transition: color 0.18s;
}
.lang-dropdown-btn::after {
  content: '▾';
  font-size: 0.65rem;
  margin-left: 2px;
  opacity: 0.55;
}
.lang-dropdown-btn:hover,
.lang-switcher.show .lang-dropdown-btn {
  color: var(--accent);
}
/* Override Bootstrap dropdown-menu defaults for our styling */
.lang-menu {
  padding: 4px;
  min-width: 140px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.lang-menu .lang-btn {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  display: block;
}
.lang-menu .lang-btn:hover {
  background: #f4f6f8;
}
.lang-menu .lang-btn.active {
  color: var(--accent);
  font-weight: 600;
  background: rgba(152,128,204,0.10);
}
/* On mobile (collapsed navbar) show inline, not floating */
@media (max-width: 991.98px) {
  .lang-dropdown-btn {
    padding: 0.5rem 1rem;
    width: 100%;
    justify-content: flex-start;
  }
  .lang-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    padding: 0 0 0.5rem 1rem;
    min-width: unset;
  }
}
