/* ═══════════════════════════════════════════════
   ANDES MEDIKEEP SpA — Premium Stylesheet
   v=20260526
   ═══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --navy:       #1E3A6E;
  --navy-deep:  #0A1628;
  --navy-mid:   #122040;
  --teal:       #2BBFAA;
  --teal-light: #50D4C2;
  --silver:     #A8B4C0;
  --silver-dim: #6B7A8D;
  --white:      #F4F7FC;
  --pure:       #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-circ:  cubic-bezier(0.4, 0, 0.2, 1);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-card: 0 8px 40px rgba(0,0,0,0.35), 0 1px 0 rgba(43,191,170,0.1);
  --shadow-glow: 0 0 60px rgba(43,191,170,0.2);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Logo on dark bg ── */
/* Nav: logo transparente a color completo */
.nav-logo-img {
  height: 54px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  background: none;
  padding: 0;
  border-radius: 0;
  filter: none;
  transition: opacity 0.2s;
}
.nav-brand:hover .nav-logo-img { opacity: 0.85; }

/* Footer: logo transparente */
.footer-logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: none;
  padding: 0;
  border-radius: 0;
  filter: none;
  margin-bottom: 1rem;
}

/* Splash: logo sobre panel glassmorphism */

/* ── Reveal base ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Safety net — JS may be slow/cached */
.reveal[data-split] { opacity: 1; transform: none; }

/* ── Typography ── */
.sec-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(43,191,170,0.1);
  border: 1px solid rgba(43,191,170,0.25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.sec-title em { color: var(--teal); font-style: italic; }
.sec-title.centered { text-align: center; }
.sec-sub {
  text-align: center;
  color: var(--silver);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}
.sec-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--teal);
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(43,191,170,0.35);
}
.btn-primary:hover {
  background: var(--teal-light);
  box-shadow: 0 6px 30px rgba(43,191,170,0.5);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(168,180,192,0.4);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn-nav {
  background: rgba(43,191,170,0.12);
  color: var(--teal);
  border: 1.5px solid rgba(43,191,170,0.3);
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn-nav:hover { background: rgba(43,191,170,0.22); border-color: var(--teal); }
.btn-lg { padding: 16px 36px; font-size: 0.95rem; }
.btn-full { width: 100%; }
.mt-1 { margin-top: 0.75rem; }

/* ── Glass card ── */
.glass {
  background: rgba(18, 32, 64, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(43,191,170,0.15);
  border-radius: var(--radius-md);
}

/* ══════════════════════════
   SPLASH SCREEN
══════════════════════════ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
#splash-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.splash-center {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.splash-logo-wrap {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.splash-logo-wrap img {
  max-width: 300px;
  max-height: 140px;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 40px rgba(43,191,170,0.55))
    drop-shadow(0 0 12px rgba(43,191,170,0.3));
}
.splash-tagline {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease-out) 0.5s, transform 0.8s var(--ease-out) 0.5s;
}

/* Text-based logo fallback */
.logo-text-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  filter: drop-shadow(0 0 30px rgba(43,191,170,0.5));
}
.ltm-andes {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
}
.ltm-bar {
  width: 2px;
  height: 48px;
  background: var(--teal);
}
.ltm-medikeep {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
}
.ltm-spa {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--silver);
  align-self: flex-end;
  margin-bottom: 4px;
}

/* ══════════════════════════
   NAVIGATION
══════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.site-nav.scrolled {
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(43,191,170,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img { height: 38px; width: auto; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--silver);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(24px);
  z-index: 850;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(30,58,110,0.4) 0%, rgba(10,22,40,0.95) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(43,191,170,0.1);
  border: 1px solid rgba(43,191,170,0.3);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 1.8rem;
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  max-width: 680px;
}
.h1-line { display: block; }
.h1-accent { color: var(--teal); font-style: italic; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--silver);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-hint span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.scroll-line-anim {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--teal));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ══════════════════════════
   STATS BAND
══════════════════════════ */
.stats-band {
  padding: 5rem 0;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(43,191,170,0.4), transparent);
}
.stats-band::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(43,191,170,0.4), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { transition-delay: calc(var(--i, 0) * 0.1s); }
.stat-val {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-val span:last-child { font-size: 0.6em; color: var(--silver); }
.stat-item p { color: var(--silver); font-size: 0.9rem; }

/* ══════════════════════════
   ABOUT / NOSOTROS
══════════════════════════ */
.about {
  padding: 7rem 0;
  background: var(--navy-deep);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-frame.img-placeholder {
  background: linear-gradient(135deg, var(--navy-mid) 0%, rgba(43,191,170,0.08) 100%);
}
.about-img-frame.img-placeholder::after {
  content: 'Foto del equipo / instalaciones';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-dim);
  font-size: 0.9rem;
  font-style: italic;
}
.about-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.6) 0%, transparent 60%);
  pointer-events: none;
}
.about-float-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--navy-mid);
  border: 1px solid rgba(43,191,170,0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
}
.afb-icon {
  font-size: 1.4rem;
  color: var(--teal);
  line-height: 1;
}
.about-float-badge strong { display: block; font-size: 0.9rem; color: var(--white); }
.about-float-badge small { font-size: 0.78rem; color: var(--silver); }

.about-copy p { color: var(--silver); margin-bottom: 1.2rem; }
.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(43,191,170,0.15);
}
.av-item { display: flex; gap: 1rem; align-items: flex-start; }
.av-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 8px rgba(43,191,170,0.6);
}
.av-item strong { display: block; font-size: 0.95rem; color: var(--white); margin-bottom: 2px; }
.av-item span { font-size: 0.85rem; color: var(--silver); }

/* ══════════════════════════
   SERVICES
══════════════════════════ */
.services {
  padding: 7rem 0;
  background: var(--navy-mid);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(43,191,170,0.3), transparent);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.svc-card {
  padding: 2.2rem 1.8rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: rgba(43,191,170,0.4);
}
.svc-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.4rem;
}
.svc-icon svg { width: 100%; height: 100%; }
.svc-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.svc-card p { font-size: 0.9rem; color: var(--silver); line-height: 1.65; }

/* ══════════════════════════
   CATALOG
══════════════════════════ */
.catalog {
  padding: 7rem 0;
  background: var(--navy-deep);
}
.catalog-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(43,191,170,0.06);
  border: 1px solid rgba(43,191,170,0.18);
  color: var(--silver);
  transition: all 0.25s var(--ease-out);
}
.filter-btn:hover { border-color: var(--teal); color: var(--white); }
.filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy-deep);
  font-weight: 600;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.product-card {
  background: rgba(18,32,64,0.7);
  border: 1px solid rgba(43,191,170,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  animation: fadeInUp 0.5s var(--ease-out) both;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(43,191,170,0.35);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pc-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy-mid);
  overflow: hidden;
}
.pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-mid), rgba(43,191,170,0.06));
}
.pc-img-placeholder svg { width: 52px; height: 52px; opacity: 0.25; }
.pc-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--teal);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.pc-body { padding: 1.4rem; }
.pc-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.pc-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.pc-desc {
  font-size: 0.85rem;
  color: var(--silver);
  margin-bottom: 0.8rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-specs {
  font-size: 0.76rem;
  color: var(--silver-dim);
  margin-bottom: 1.2rem;
  padding: 0.6rem 0.8rem;
  background: rgba(43,191,170,0.05);
  border-radius: var(--radius-sm);
  border-left: 2px solid rgba(43,191,170,0.3);
}
.pc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.2s, opacity 0.2s;
}
.pc-cta:hover { gap: 10px; }
.catalog-footer {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(43,191,170,0.1);
}
.catalog-footer p { color: var(--silver); margin-bottom: 1.2rem; }

/* ══════════════════════════
   TRUST BAND
══════════════════════════ */
.trust {
  padding: 5rem 0;
  background: var(--navy-mid);
  position: relative;
}
.trust::before, .trust::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(43,191,170,0.25), transparent);
}
.trust::before { top: 0; }
.trust::after  { bottom: 0; }
.trust-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.trust-pill {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--silver);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.trust-pill:hover { color: var(--white); }
.trust-sep { color: var(--teal); opacity: 0.5; font-size: 0.6rem; }

/* ══════════════════════════
   CONTACT
══════════════════════════ */
.contact {
  padding: 7rem 0;
  background: var(--navy-deep);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info p { color: var(--silver); margin-bottom: 2rem; }
.cinfo-list { display: flex; flex-direction: column; gap: 1.25rem; }
.cinfo-item { display: flex; gap: 1rem; align-items: flex-start; }
.cinfo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(43,191,170,0.08);
  border: 1px solid rgba(43,191,170,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cinfo-icon svg { width: 18px; height: 18px; }
.cinfo-item strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.cinfo-item a, .cinfo-item span { font-size: 0.9rem; color: var(--silver); transition: color 0.2s; }
.cinfo-item a:hover { color: var(--teal); }

.cform {
  padding: 2.5rem;
}
.cf-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.25rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-group label { font-size: 0.82rem; font-weight: 600; color: var(--silver); letter-spacing: 0.04em; }
.cf-group input,
.cf-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168,180,192,0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}
.cf-group input::placeholder, .cf-group textarea::placeholder { color: var(--silver-dim); }
.cf-group input:focus, .cf-group textarea:focus {
  border-color: rgba(43,191,170,0.5);
  background: rgba(43,191,170,0.04);
}
.cf-success {
  text-align: center;
  padding: 14px;
  background: rgba(43,191,170,0.12);
  border: 1px solid rgba(43,191,170,0.35);
  border-radius: var(--radius-sm);
  color: var(--teal);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.cf-note { font-size: 0.75rem; color: var(--silver-dim); text-align: center; margin-top: 1rem; }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.site-footer {
  padding: 5rem 0 2rem;
  background: var(--navy-mid);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(43,191,170,0.3), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo { height: 44px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.88rem; color: var(--silver); line-height: 1.6; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col strong { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.3rem; }
.footer-col a, .footer-col span { font-size: 0.88rem; color: var(--silver); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(168,180,192,0.1);
}
.footer-bottom p { font-size: 0.82rem; color: var(--silver-dim); }
.footer-admin-link {
  font-size: 0.78rem;
  color: rgba(168,180,192,0.3);
  transition: color 0.2s;
}
.footer-admin-link:hover { color: var(--silver); }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }

  .hero-h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-float-badge { position: static; margin-top: 1.5rem; display: inline-flex; }

  .services-grid { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cf-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 100px 16px 60px; }
  .sec-title { font-size: 1.9rem; }
  .splash-logo-wrap img { max-width: 200px; }
  .ltm-andes, .ltm-medikeep { font-size: 1.8rem; }
}

/* ══════════════════════════
   WHATSAPP WIDGET
══════════════════════════ */
#wa-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

#wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  flex-shrink: 0;
}
#wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
#wa-btn svg { width: 36px; height: 36px; display: block; }

.wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #FF3B3B;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0A1628;
  animation: wa-pulse 2s infinite;
}
.wa-badge.hidden { display: none; }

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

#wa-popup {
  width: 300px;
  background: #1A2A4A;
  border: 1px solid rgba(43,191,170,0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  transform-origin: bottom right;
  animation: wa-popup-in 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
#wa-popup[hidden] { display: none; }

@keyframes wa-popup-in {
  from { opacity: 0; transform: scale(0.85) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.wa-popup-header {
  background: linear-gradient(135deg, #1E3A6E 0%, #163060 100%);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.wa-avatar svg { width: 100%; height: 100%; display: block; }
.wa-popup-info { flex: 1; }
.wa-popup-info strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}
.wa-status {
  font-size: 0.75rem;
  color: #2BBFAA;
  display: flex;
  align-items: center;
  gap: 5px;
}
.wa-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  display: inline-block;
  animation: wa-blink 2s infinite;
}
@keyframes wa-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.wa-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}
.wa-close:hover { color: #fff; }

.wa-popup-body { padding: 16px; }

.wa-bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(43,191,170,0.12);
  border-radius: 12px 12px 12px 2px;
  padding: 12px 14px;
  position: relative;
}
.wa-bubble p {
  color: #C8D8E8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 6px;
}
.wa-bubble p:last-child { margin-bottom: 0; }
.wa-bubble strong { color: #2BBFAA; }

.wa-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 16px 16px;
  padding: 12px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.wa-start-btn:hover {
  background: #20C55E;
  transform: translateY(-1px);
}
.wa-start-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 480px) {
  #wa-widget { bottom: 16px; right: 16px; }
  #wa-popup { width: calc(100vw - 32px); }
}
