:root {
  --color-primary: #0f172a;
  --color-primary-light: #1e293b;
  --color-accent: #0284c7;
  --color-accent-hover: #0369a1;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #334155;
  --color-text-dark: #0f172a;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: white;
}

.btn-text {
  background-color: transparent;
  color: var(--color-primary);
  padding: 0.75rem 0;
}

.btn-text:hover {
  color: var(--color-accent);
}

.btn-block {
  width: 100%;
}

/* ==========================================
   HEADER - ULTRA-PREMIUM CLINICAL GLASS & ANIMATIONS
   (Hardware-accelerated, zero-overhead CSS)
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Subtle luminous energy beam at bottom edge */
.header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(2, 132, 199, 0.2) 20%, 
    #38bdf8 50%, 
    rgba(2, 132, 199, 0.2) 80%, 
    transparent 100%
  );
  background-size: 200% 100%;
  opacity: 0.65;
  pointer-events: none;
  animation: headerGlowLine 7s ease-in-out infinite;
}

@keyframes headerGlowLine {
  0% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
  100% { background-position: -100% 0; }
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
}

.header.scrolled::after {
  opacity: 0.9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.25rem;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled .header-container {
  height: 4.25rem;
}

/* Logo styling with subtle micro-scale */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  outline: none;
}

.logo img,
.site-logo-img {
  height: 52px !important;
  max-height: 54px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.header.scrolled .site-logo-img {
  height: 46px !important;
  max-height: 48px !important;
}

.logo:hover img,
.logo:hover .site-logo-img {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 4px 14px rgba(2, 132, 199, 0.28));
}

.footer-logo .logo {
  max-height: 60px;
}

.footer-logo img,
.site-footer-logo-img {
  height: 54px !important;
  max-height: 56px !important;
  width: auto !important;
  max-width: 250px !important;
  object-fit: contain !important;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 204, 255, 0.2));
}

/* NAV LINKS - Interactive Pills with Animated Underlines */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a:not(.btn) {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: #334155;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
}

/* Dynamic expanding accent bar under links */
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  border-radius: 4px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.nav-links a:not(.btn):hover {
  color: #0284c7;
  background-color: rgba(2, 132, 199, 0.05);
  transform: translateY(-1.5px);
}

.nav-links a:not(.btn):hover::after {
  width: 60%;
  left: 20%;
  opacity: 1;
}

.nav-links a:not(.btn).active {
  color: #0284c7;
  font-weight: 600;
  background-color: rgba(2, 132, 199, 0.07);
}

.nav-links a:not(.btn).active::after {
  width: 60%;
  left: 20%;
  opacity: 1;
}

.nav-links a:not(.btn):active {
  transform: translateY(0);
}

/* High-tech Clinical CTA Button in Header ("Join a Study") */
.header .btn-outline {
  position: relative;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
  border-radius: 9px;
  padding: 0.6rem 1.45rem;
  font-weight: 600;
  font-size: 0.91rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Light shimmer sweep across CTA button on hover */
.header .btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.header .btn-outline:hover::before {
  left: 150%;
}

.header .btn-outline:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header .btn-outline:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3);
}

/* Mobile Menu Button - Modern Glass Look */
.mobile-menu-btn {
  display: none;
  background: rgba(2, 132, 199, 0.05);
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn:hover {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284c7;
  transform: scale(1.05);
}

.mobile-menu-btn svg {
  transition: transform 0.25s ease;
}

.mobile-menu-btn:active svg {
  transform: scale(0.92);
}

/* ==========================================
   HERO - OPTION 2: ULTRA-POLISHED REFINED GLASS
   ========================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 6.5rem;
  padding-bottom: 2.5rem;
  overflow: hidden;
  background-color: #f8fafc;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Position image comfortably to right so vials and molecules are fully appreciated */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 96% center;
  filter: saturate(1.15) contrast(1.05) brightness(1.02);
}

/* Very subtle airy fade to keep the background molecules visible */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.20) 38%,
    rgba(255, 255, 255, 0.03) 65%,
    transparent 100%
  );
  pointer-events: none;
}

/* Crystal translucent glass panel (lets background shine through clearly) */
.hero-content {
  max-width: 550px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(7px) saturate(140%);
  -webkit-backdrop-filter: blur(7px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 2.5rem 2.65rem;
  border-radius: 20px;
  box-shadow: 0 16px 36px -10px rgba(10, 25, 47, 0.06),
              inset 0 1px 1px rgba(255, 255, 255, 0.85);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.35s ease;
}

.hero-content:hover {
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.10),
              inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #0284c7;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 0.38rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0284c7;
  box-shadow: 0 0 8px #38bdf8;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.8vw, 3.35rem);
  line-height: 1.14;
  color: #07172c;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.hero p {
  font-size: 1.02rem;
  line-height: 1.68;
  color: #0f2038;
  font-weight: 450;
  margin-bottom: 1.85rem;
  max-width: 530px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 1.85rem;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  padding: 0.8rem 1.65rem;
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-actions .btn-primary svg {
  transition: transform 0.25s ease;
}

.hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

.hero-actions .btn-primary:hover svg {
  transform: translateX(3px);
}

.hero-actions .btn-secondary-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(203, 213, 225, 0.85);
  color: #1e293b;
  border-radius: 9px;
  padding: 0.8rem 1.45rem;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-actions .btn-secondary-glass svg {
  transition: transform 0.25s ease;
  color: #64748b;
}

.hero-actions .btn-secondary-glass:hover {
  background: #ffffff;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
}

.hero-actions .btn-secondary-glass:hover svg {
  transform: translateX(3px);
  color: #0284c7;
}

/* Trust Indicators Row */
.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.hero-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.01em;
}

.hero-trust-chip svg {
  color: #0284c7;
  flex-shrink: 0;
}

/* DOMAINS (Services layout with PS3 Waves) */
.domains {
  position: relative;
  padding: 6.5rem 0 7rem;
  background: radial-gradient(ellipse at 50% 30%, #e0f2fe 0%, #f0f9ff 45%, #f8fafc 100%);
  overflow: hidden;
}

.ps3-waves-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.domains .container {
  position: relative;
  z-index: 2;
}

.domains-header {
  text-align: center;
  margin-bottom: 3rem;
}

.domains-header h2 {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.domains-header h2 span {
  color: var(--color-accent);
}

.domains-header p {
  color: var(--color-text-light);
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.domain-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(2, 132, 199, 0.10), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.domain-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.20), 0 8px 16px rgba(0,0,0,0.06);
  border-color: rgba(56, 189, 248, 0.7);
}

/* Image area: dark gradient bg so white-label vials look intentional */
.domain-img {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle animated shine overlay */
.domain-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(56, 189, 248, 0.08) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.domain-card:hover .domain-img::after {
  opacity: 1;
}

/* Bottom glow line */
.domain-img::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #0ea5e9, transparent);
  z-index: 3;
  opacity: 0.8;
}

.domain-img img {
  width: 80%;
  height: 85%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.35));
}

.domain-card:hover .domain-img img {
  transform: scale(1.08);
  filter: drop-shadow(0 8px 24px rgba(56, 189, 248, 0.25));
}

.domain-content {
  padding: 1.25rem 1.25rem 1rem;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.domain-content h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.domain-content p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  flex: 1;
}

.domain-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--color-accent), #0ea5e9);
  color: white;
  border-radius: 50%;
  align-self: flex-end;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.domain-arrow:hover {
  transform: scale(1.15) translateX(2px);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.5);
}

.domain-arrow svg {
  width: 15px;
  height: 15px;
}


/* STATS BAR - ULTRA-PREMIUM CLINICAL GLASS */
.stats-bar {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(14, 30, 55, 0.97) 50%, rgba(8, 47, 73, 0.96) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0;
  color: white;
  border-radius: 22px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  margin: 1.5rem auto 4.5rem;
  max-width: 1240px;
  position: relative;
  z-index: 10;
  box-shadow: 0 25px 60px -15px rgba(2, 132, 199, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 1.5px rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.stats-glow-ambient {
  position: absolute;
  top: -50%;
  left: 20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.25rem 2.75rem;
  position: relative;
  z-index: 2;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 1;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(2, 132, 199, 0.06) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-wrap {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.28) 0%, rgba(2, 132, 199, 0.15) 100%);
  border-color: rgba(56, 189, 248, 0.6);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.45);
}

.stat-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-number-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.stat-number-row h3 {
  font-size: 2.3rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 40%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.stat-number-row h3 span {
  color: #38bdf8;
  -webkit-text-fill-color: #38bdf8;
  font-weight: 700;
  font-size: 1.8rem;
  margin-left: 1px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0.35rem 0 0.1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.stat-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.stat-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: translateY(-2px);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.35); }
}

.stat-divider {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .stats-container {
    padding: 2rem;
    gap: 1.25rem;
  }
  .stat-number-row h3 {
    font-size: 1.95rem;
  }
}

@media (max-width: 900px) {
  .stats-bar {
    margin: -2rem 1.25rem 3.5rem;
    border-radius: 20px;
  }
  .stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 580px) {
  /* ==========================================================
     MODO CELULAR EXCLUSIVO: FONDO DE IMAGEN VISIBLE EN HERO
     (No aplica a PC, Laptop ni Tablet)
     ========================================================== */
  .hero {
    min-height: 85vh;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-image img {
    object-position: center center;
    filter: saturate(1.22) contrast(1.08) brightness(1.02);
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.1) 45%,
      rgba(255, 255, 255, 0.28) 100%
    ) !important;
  }

  .hero-content {
    background: rgba(255, 255, 255, 0.28) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 16px 36px -10px rgba(10, 25, 47, 0.18),
                inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
    padding: 2.2rem 1.35rem 2rem !important;
    border-radius: 24px !important;
  }

  .eyebrow {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(6px) !important;
    border-color: rgba(2, 132, 199, 0.35) !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12) !important;
  }

  .hero h1 {
    font-size: 2.2rem !important;
    line-height: 1.18 !important;
    color: #07172c !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95),
                 0 2px 10px rgba(255, 255, 255, 0.65) !important;
  }

  .hero p {
    color: #0b1f33 !important;
    font-weight: 500 !important;
    font-size: 0.93rem !important;
    line-height: 1.55 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9) !important;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn-text {
    color: #0284c7 !important;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 8px !important;
    padding: 0.65rem 1rem !important;
  }

  .stats-bar {
    margin: -1.5rem 1rem 3rem;
    border-radius: 24px;
    background: linear-gradient(160deg, #0b1528 0%, #071222 60%, #040914 100%);
    border: 1px solid rgba(56, 189, 248, 0.22);
    box-shadow: 0 20px 48px -10px rgba(2, 132, 199, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    padding: 1.15rem 1rem;
  }
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 16px;
    padding: 1.1rem 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
  }
  .stat-item:active {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(0.97);
  }
  .stat-item-highlight {
    background: linear-gradient(145deg, rgba(2, 132, 199, 0.2) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-color: rgba(56, 189, 248, 0.38);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 6px 18px rgba(2, 132, 199, 0.22);
  }
  .stat-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #38bdf8;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15);
  }
  .stat-icon-wrap svg {
    width: 20px;
    height: 20px;
  }
  .stat-text {
    width: 100%;
  }
  .stat-number-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.15rem;
  }
  .stat-number-row h3 {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.05;
    background: linear-gradient(180deg, #ffffff 40%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
  }
  .stat-number-row h3 span {
    font-size: 1.25rem;
    color: #38bdf8;
    -webkit-text-fill-color: #38bdf8;
    font-weight: 700;
    margin-left: 1px;
  }
  .stat-live-pulse {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 20px;
    background: rgba(52, 211, 153, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
    letter-spacing: 0.4px;
    transform: translateY(-1px);
  }
  .stat-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #f8fafc;
    margin: 0.35rem 0 0.15rem;
    line-height: 1.25;
  }
  .stat-sub {
    font-size: 0.64rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 380px) {
  .stats-container {
    padding: 0.95rem 0.75rem;
    gap: 0.65rem;
  }
  .stat-item {
    padding: 0.95rem 0.8rem;
    border-radius: 14px;
  }
  .stat-number-row h3 {
    font-size: 1.45rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }
  .stat-sub {
    font-size: 0.6rem;
  }
}

/* WHY CHOOSE US */
.why-choose {
  position: relative;
  padding: 5rem 0 6.5rem;
  background-color: #f8fafc;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.ps3-waves-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.why-choose-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem;
}

.why-img-col {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.why-img-col .main-bldg {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.floating-mission {
  position: absolute;
  bottom: 0; right: 0;
  background-color: var(--color-accent);
  color: white;
  padding: 1.5rem;
  border-top-left-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 85%;
}

.mission-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mission-icon svg { width: 24px; height: 24px; }

.floating-mission strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.floating-mission p {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.95;
}

.why-text-col {
  padding: 1rem 0;
}

.why-text-col h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.why-text-col h2 span { color: var(--color-accent); }

.why-sub {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.check-list {
  list-style: none;
  margin-bottom: 2rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.95rem;
}

.check-list svg {
  width: 20px; height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.why-action-col {
  background-color: var(--color-primary);
  border-radius: 12px;
  padding: 2.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.why-action-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-action-col p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.btn-phone {
  background-color: white;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  margin-bottom: 2rem;
  align-self: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-phone:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.action-img-wrap {
  margin-top: auto;
  border-radius: 8px;
  overflow: hidden;
  height: 120px;
}

.action-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}

/* RESEARCH AREAS */
.research-areas {
  padding: 5rem 0;
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 2;
}

.eyebrow-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.22);
  padding: 0.38rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.05);
}

.eyebrow-dark::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0284c7;
  box-shadow: 0 0 8px #38bdf8;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: #0b192c;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-header .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: #0284c7;
  border-radius: 9px;
  padding: 0.65rem 1.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.08);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header .btn-outline:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35);
}

.compound-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  position: relative;
  z-index: 2;
}

.compound-card {
  display: flex;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.compound-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(2, 132, 199, 0.18), 0 0 0 1px rgba(2, 132, 199, 0.4);
  border-color: #0284c7;
}

.compound-img {
  width: 38%;
  min-height: 220px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.compound-img img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.1));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.compound-card:hover .compound-img img {
  transform: scale(1.08) translateY(-3px);
}

.compound-info {
  width: 65%;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compound-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: #f0f9ff;
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.compound-info h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.compound-info p {
  color: var(--color-text-light);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.compound-card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 0.65rem;
}

.compound-btn-plus {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  border: 2.5px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  box-shadow: 0 5px 18px rgba(2, 132, 199, 0.48), inset 0 1px 1.5px rgba(255, 255, 255, 0.6);
}

.compound-btn-plus:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.62), inset 0 1px 1.5px rgba(255, 255, 255, 0.7);
}

.compound-btn-plus:active {
  transform: translateY(0) scale(0.96);
}

.compound-btn-plus svg {
  width: 26px;
  height: 26px;
  stroke-width: 3.2;
}

.compound-details {
  list-style: none;
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.compound-details li {
  font-size: 0.8rem;
  color: var(--color-text);
}

.compound-details li strong {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  letter-spacing: 0.5px;
}

/* CONTACT SECTION REDESIGN */
.contact-section {
  position: relative;
  background-color: var(--color-bg);
  padding-bottom: 0;
}

.contact-header {
  position: relative;
  padding: 8rem 0 12rem;
  color: white;
  text-align: center;
  overflow: hidden;
}

.contact-header-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.contact-header-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.3) saturate(0.8);
}

.contact-title {
  position: relative;
  z-index: 2;
}

.contact-title h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-title p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-container {
  position: relative;
  margin-top: -8rem;
  z-index: 10;
  margin-bottom: 0;
}

.contact-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
  display: flex;
  overflow: hidden;
}

.contact-info-panel {
  flex: 1;
  padding: 3rem;
  background-color: #fafbfc;
  border-right: 1px solid #cbd5e1;
}

.contact-info-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-info-panel > p {
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 40px; height: 40px;
  background-color: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px; height: 20px;
}

.info-text strong {
  display: block;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-text span {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-form-panel {
  flex: 1.5;
  padding: 3rem;
}

.contact-form-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.input-group input:hover,
.input-group select:hover,
.input-group textarea:hover {
  border-color: #94a3b8;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.15);
}

/* FORM STATUS NOTIFICATION (INLINE, MODERN) */
.form-status-msg {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  animation: fadeInStatus 0.3s ease-out;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

@keyframes fadeInStatus {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-status-msg .status-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  margin-right: 0.85rem;
}

.form-status-msg .status-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status-msg.success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.form-status-msg.success .status-icon {
  color: #16a34a;
}

.form-status-msg.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.form-status-msg.error .status-icon {
  color: #dc2626;
}

.form-status-msg.info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.form-status-msg.info .status-icon {
  color: #0284c7;
}

.full-map {
  width: 100%;
  height: 450px;
  margin-top: 4rem;
  display: block;
  background-color: #f8fafc;
  background-image: 
    linear-gradient(to right, #e2e8f0 1px, transparent 1px),
    linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
  background-size: 30px 30px;
  position: relative;
  overflow: hidden;
}

.full-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  position: relative;
  z-index: 2;
  filter: contrast(1.05) saturate(1.15);
}

/* FOOTER REDESIGN */
.footer {
  background-color: var(--color-primary);
  color: #94a3b8;
  padding: 4rem 0 0;
  font-size: 0.85rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
}

.footer-logo .logo-text {
  color: white;
  font-size: 1.5rem;
}

.footer-email-contact {
  display: flex;
  align-items: center;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 50px;
  color: #38bdf8;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-email-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.footer-email-link svg {
  width: 16px;
  height: 16px;
}

.footer-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.branch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-weight: 500;
}

.branch-link svg {
  width: 16px; height: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.85rem;
}

.footer-col a:hover {
  color: white;
}

.newsletter-col p {
  margin-bottom: 1.25rem;
}

.newsletter-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  background-color: white;
  color: var(--color-primary);
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-accent);
}

.newsletter-form button {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
}

.footer-bottom-wrapper {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  background-color: #0b1120;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a:hover {
  color: white;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.75rem; }
  .impact-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .impact-stats { border-left: none; padding-left: 0; }
  .domains-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .compound-grid { grid-template-columns: repeat(2, 1fr); }
  .why-choose-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-card { flex-direction: column; }
  .contact-info-panel { border-right: none; border-bottom: 1px solid #cbd5e1; }
  .contact-info-panel, .contact-form-panel { padding: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-btn { display: block; }
  .hero-overlay { background: rgba(255,255,255,0.85); }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; flex-direction: column; }
  .domains-header { flex-direction: column; gap: 1rem; text-align: center; }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .compound-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .compound-card { 
    flex-direction: column; 
    border-radius: 16px; 
    overflow: hidden; 
    border: 2px solid #cbd5e1;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  }
  .compound-img { 
    width: 100%; 
    height: 230px; 
    min-height: 230px; 
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%);
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1.5px solid #e2e8f0;
  }
  .compound-img img {
    width: 100%;
    height: 100%;
    max-height: 195px;
    object-fit: contain;
    object-position: center;
  }
  .compound-info { width: 100%; padding: 1.25rem 1.25rem 1.5rem; }
  .impact-stats { grid-template-columns: 1fr; gap: 2rem; }
  
  /* WHY CHOOSE US - MOBILE STYLES */
  .why-choose {
    padding: 3.5rem 0 4.5rem;
  }
  .why-choose-grid { 
    grid-template-columns: 1fr !important; 
    gap: 2.25rem; 
  }
  .why-text-col {
    order: 1;
    padding: 0;
  }
  .why-text-col h2 {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .why-img-col {
    order: 2;
    width: 100%;
    border-radius: 12px;
  }
  .why-img-col .main-bldg { 
    min-height: 240px; 
    height: 260px;
    width: 100%;
    object-fit: cover;
  }
  .floating-mission {
    padding: 1.15rem;
    max-width: 92%;
    font-size: 0.88rem;
  }
  .why-action-col {
    order: 3;
    width: 100%;
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }
  .why-action-col h3 {
    font-size: 1.4rem;
  }
  .why-action-col .btn-phone {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.88rem;
    word-break: break-all;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
  }
  .action-img-wrap {
    height: 140px;
  }
  
  .contact-header { padding: 5rem 0 7rem; }
  .contact-title p { font-size: 0.95rem; padding: 0 1rem; line-height: 1.5; }
  .contact-container { margin-top: -4rem; }
  .contact-card { border: 1px solid #e2e8f0; }
  .info-item { gap: 0.75rem; }
  .info-text strong { font-size: 0.95rem; }
  .info-text span { font-size: 0.85rem; }
  
  .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-col h4 { margin-bottom: 0.85rem; }
  .footer-col li { margin-bottom: 0.5rem; }
  .branch-link { justify-content: center; }
  .footer-bottom-wrapper { padding-bottom: 5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.8rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .domains-grid { grid-template-columns: 1fr; }
  .why-text-col h2 { font-size: 1.6rem; }
  .floating-mission {
    position: relative;
    bottom: auto;
    right: auto;
    max-width: 100%;
    border-top-left-radius: 0;
    border-radius: 0 0 12px 12px;
    padding: 1rem;
  }
}

/* COMPOUND FOOTER & MODAL TRIGGER BUTTON */
.compound-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.compound-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
  padding: 0;
  outline: none;
}

.compound-btn:hover {
  background-color: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  transform: scale(1.12) rotate(-45deg);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.compound-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

/* CLINICAL PRODUCT MODAL */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-modal-container {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  max-width: 740px;
  width: 94%;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.product-modal.active .product-modal-container {
  transform: translateY(0) scale(1);
}

.product-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 1.35rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  line-height: 1;
}

.product-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.08);
}

/* SHOWCASE IMAGE-CENTRIC MODAL */
.modal-showcase-card {
  display: flex;
  flex-direction: row;
  min-height: 330px;
}

.modal-showcase-img-pane {
  width: 44%;
  background: linear-gradient(150deg, #f0fdf4 0%, #f8fafc 45%, #e0f2fe 100%);
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 1.25rem;
  position: relative;
}

.modal-showcase-img-pane img {
  width: 100%;
  height: 240px;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.18));
  transition: transform 0.35s ease;
}

.modal-showcase-img-pane:hover img {
  transform: scale(1.05);
}

.modal-showcase-purity {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  border: 1px solid #bbf7d0;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.1);
}

.modal-showcase-info-pane {
  width: 56%;
  padding: 2rem 2.25rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-showcase-info-pane h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--color-primary);
  margin: 0.25rem 0 0.2rem;
  line-height: 1.2;
}

.modal-showcase-badge {
  font-size: 0.84rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.65rem;
  display: block;
}

.modal-showcase-desc {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 1.15rem;
}

.modal-showcase-chips {
  display: none !important;
}

.spec-chip {
  display: none !important;
}

.modal-showcase-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* RESPONSIVE PARA CELULAR */
@media (max-width: 640px) {
  .product-modal {
    padding: 0.85rem 0.65rem;
  }

  .product-modal-container {
    max-height: 92vh;
    overflow-y: auto;
    width: 96%;
    max-width: 540px;
    border-radius: 20px;
  }

  .modal-showcase-card {
    flex-direction: column;
  }

  .modal-showcase-img-pane {
    width: 100%;
    min-height: auto;
    padding: 1.75rem 1rem 1rem;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .modal-showcase-img-pane img {
    height: 190px;
    max-height: 200px;
  }

  .modal-showcase-info-pane {
    width: 100%;
    padding: 1.35rem 1.35rem 1.5rem;
  }

  .modal-showcase-info-pane h2 {
    font-size: 1.45rem;
  }

  .modal-showcase-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-showcase-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .product-modal {
    padding: 0.65rem 0.4rem;
  }

  .product-modal-container {
    width: 98%;
    border-radius: 18px;
  }

  .modal-showcase-info-pane {
    padding: 1.2rem 1.15rem 1.4rem;
  }
}

/* DOSSIER FULL PAGE STYLES */
.dossier-hero {
  padding: 9rem 0 3.5rem;
  background: radial-gradient(ellipse at 50% 20%, #e0f2fe 0%, #f0f9ff 45%, #f8fafc 100%);
  text-align: center;
}

.dossier-hero-content {
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.dossier-hero-content h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-primary);
  margin: 0.5rem 0 1rem;
}

.dossier-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-tab {
  background: white;
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.35rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filter-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.dossier-section {
  padding: 4rem 0 7rem;
  background-color: #f8fafc;
/* DOSSIER FULL PAGE STYLES */
.dossier-hero {
  padding: 8rem 0 3.5rem;
  background: radial-gradient(ellipse at 50% 20%, #e0f2fe 0%, #f0f9ff 45%, #f8fafc 100%);
  text-align: center;
}

.dossier-hero-content {
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.dossier-hero-content h1 {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  color: var(--color-primary);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.5px;
}

.dossier-hero-content p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.6;
}

.dossier-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-tab {
  background: white;
  border: 1px solid var(--color-border);
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.filter-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.filter-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.dossier-section {
  padding: 4rem 0 7rem;
  background-color: #f8fafc;
}

.dossier-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.dossier-full-card {
  background: white;
  border-radius: 24px;
  border: 2px solid #cbd5e1;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.dossier-full-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(2, 132, 199, 0.35);
  border-color: var(--color-accent);
}

/* BIG IMAGE SHOWCASE LAYOUT */
.dossier-card-showcase {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.dossier-card-img-col {
  width: 40%;
  min-width: 340px;
  max-width: 420px;
  height: 380px;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f0fdf4 55%, #e0f2fe 100%);
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.8), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.dossier-card-img-col img.dossier-vial-img {
  width: 100%;
  height: 290px;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.16));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dossier-full-card:hover .dossier-card-img-col img.dossier-vial-img {
  transform: scale(1.06) translateY(-4px);
}

.dossier-purity-tag {
  margin-top: 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #059669;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  border: 1px solid #bbf7d0;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.2px;
}

.dossier-card-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.dossier-card-info-col .compound-tag {
  margin-bottom: 0.5rem;
}

.dossier-product-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--color-primary);
  margin: 0.1rem 0 0.25rem;
  line-height: 1.18;
  font-weight: 700;
}

.dossier-badge-sub {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.85rem;
}

.summary-text {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 1.35rem;
  max-width: 650px;
}

.dossier-quick-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  background: #f8fafc;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.35rem;
}

.spec-cell {
  display: flex;
  flex-direction: column;
}

.spec-cell .spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}

.spec-cell .spec-value {
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.3;
}

.dossier-indications-box {
  margin-bottom: 1.6rem;
}

.indications-label {
  display: block;
  font-size: 0.78rem;
  color: var(--color-primary);
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.dossier-indications-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.3;
  font-weight: 500;
}

.chip-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.dossier-card-action {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.dossier-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 50px;
  padding: 0.78rem 1.75rem;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.dossier-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
}

.dossier-secondary-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .dossier-card-showcase {
    gap: 2rem;
  }
  .dossier-card-img-col {
    width: 320px;
    min-width: 280px;
    height: 350px;
  }
  .dossier-card-img-col img.dossier-vial-img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .dossier-hero {
    padding: 7rem 0 2.5rem;
  }
  .dossier-hero-content h1 {
    font-size: 2.2rem;
  }
  .dossier-full-card {
    padding: 1.5rem;
    border-radius: 20px;
  }
  .dossier-card-showcase {
    flex-direction: column;
    gap: 1.75rem;
    align-items: stretch;
  }
  .dossier-card-img-col {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    height: 320px;
    padding: 1.5rem 1rem;
  }
  .dossier-card-img-col img.dossier-vial-img {
    height: 240px;
  }
  .dossier-product-title {
    font-size: 1.85rem;
  }
  .dossier-quick-specs {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .dossier-card-action {
    flex-direction: column;
    align-items: stretch;
  }
  .dossier-cta-btn,
  .dossier-secondary-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  .dossier-full-card {
    padding: 1.25rem;
  }
  .dossier-card-img-col {
    height: 280px;
  }
  .dossier-card-img-col img.dossier-vial-img {
    height: 210px;
  }
  .dossier-product-title {
    font-size: 1.6rem;
  }
  .summary-text {
    font-size: 0.9rem;
  }
}

/* ==========================================
   SCROLL-TRIGGERED ENTRANCE ANIMATIONS (SUBTLE & ELEGANT)
   ========================================== */
.scroll-animate,
.scroll-reveal {
  opacity: 0 !important;
  transform: translateY(22px) !important;
  transition: opacity 0.55s ease-out,
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.scroll-animate.in-view,
.scroll-reveal.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Subtle directional reveals if used */
.check-list li.scroll-animate,
.info-item.scroll-animate,
.scroll-reveal.from-left {
  transform: translateY(18px) !important;
}

.check-list li.scroll-animate.in-view,
.info-item.scroll-animate.in-view,
.scroll-reveal.from-left.is-revealed {
  transform: translateY(0) !important;
}

.why-action-col.scroll-animate,
.scroll-reveal.from-right {
  transform: translateY(20px) !important;
}

.why-action-col.scroll-animate.in-view,
.scroll-reveal.from-right.is-revealed {
  transform: translateY(0) !important;
}

/* Dossier full card subtle entrance */
.dossier-full-card.scroll-animate {
  opacity: 0 !important;
  transform: translateY(24px) !important;
  transition: opacity 0.6s ease-out,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dossier-full-card.scroll-animate.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-reveal,
  .dossier-full-card.scroll-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================
   BACK TO TOP FLOATING BUTTON
   ========================================== */
.back-to-top-btn {
  position: fixed !important;
  bottom: 2.2rem !important;
  right: 2.2rem !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45), 0 3px 8px rgba(0, 0, 0, 0.2) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(20px) scale(0.85) !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease,
              background 0.25s ease,
              box-shadow 0.25s ease !important;
  z-index: 999999 !important;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top-btn svg {
  display: block;
  stroke: #ffffff;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.back-to-top-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.65), 0 6px 14px rgba(0, 0, 0, 0.25) !important;
}

.back-to-top-btn:hover svg {
  transform: translateY(-2.5px);
}

.back-to-top-btn:active {
  transform: translateY(0) scale(0.95) !important;
}

.back-to-top-btn.visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    width: 46px !important;
    height: 46px !important;
  }
}

