/* ══════════════════════════════════════════
   PROYECTO PULMON — style.css
   Paleta: cielo, blanco, azul profundo, naranja acento
   Tipografia: Playfair Display (titulos) + Inter (cuerpo)
══════════════════════════════════════════ */

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

:root {
  --sky:        #5aace0;
  --sky-light:  #d6edf8;
  --sky-mid:    #7ac0e8;
  --sky-deep:   #0071e3;
  --deep:       #0d3d5c;
  --deep2:      #092d45;
  --white:      #ffffff;
  --off-white:  #f5f5f7;
  --cream:      #fdf8f3;
  --orange:     #f4901e;
  --orange-d:   #d4780e;
  --text:       #1d1d1f;
  --text-mid:   #515154;
  --text-light: #86868b;
  --border:     #d2d2d7;

  --font-title: 'Playfair Display', -apple-system, BlinkMacSystemFont, "SF Pro Display", Georgia, serif;
  --font-body:  -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro", "Helvetica Neue", "Inter", system-ui, sans-serif;

  --nav-h: 70px;
  --max-w: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 980px;

  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-apple-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-apple: 0 8px 30px rgba(0, 0, 0, 0.07);
  --shadow-apple-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── CONTAINER ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ══════════════════════════════════════════
   NAVBAR (ESTILO VIDRIO TRASLÚCIDO APPLE)
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: background 0.35s var(--ease-apple), box-shadow 0.35s var(--ease-apple), border-color 0.35s var(--ease-apple);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(0, 0, 0, 0.10);
}

.nav-inner.full-width-nav {
  max-width: 100%;
  width: 100%;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.logo-icon-wrap {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-main {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--deep);
}
.logo-accent {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-mid);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease-apple);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ══════════════════════════════════════════
   HERO — CIELO FOTOGRÁFICO CON MOVIMIENTO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Slideshow de fotos de cielo con movilidad */
.sky-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.sky-slide {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  animation: skyPan 50s ease-in-out infinite alternate;
}

.sky-slide.active {
  opacity: 1;
}

@keyframes skyPan {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1.5%, -1%); }
  100% { transform: scale(1.04) translate(1.5%, 0.8%); }
}

.sky-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(8, 25, 45, 0.35) 0%, 
    rgba(8, 25, 45, 0.40) 50%, 
    rgba(8, 25, 45, 0.68) 100%
  );
  z-index: 2;
}

/* Contenido Hero */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 860px;
  padding: 60px 24px 80px;
  margin: 0 auto;
}

/* Logo central libre sin marco */
.hero-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
}

.hero-logo-clean {
  max-width: 170px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
  animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 24px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #ffffff;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.85;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-d);
  border-color: var(--orange-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,144,30,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--sky-deep);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* ══════════════════════════════════════════
   STATEMENT BAR
══════════════════════════════════════════ */
.statement-bar {
  background: var(--deep);
  padding: 22px 0;
  text-align: center;
}
.statement-bar p {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-style: italic;
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════
   SECTIONS BASE
══════════════════════════════════════════ */
.section { padding: 100px 0; }

.section-white { background: var(--white); }
.section-sky   { background: var(--sky); }
.section-deep  { background: var(--deep); }
.section-light-bg { background: var(--off-white); }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.70); }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 28px;
}
.section-title.light { color: var(--white); }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 64px;
  line-height: 1.85;
}
.section-intro.light { color: rgba(255,255,255,0.88); }

/* ══════════════════════════════════════════
   SOBRE NOSOTROS — FONDO NEUTRO AZUL CLARO
══════════════════════════════════════════ */
.section-about-clean {
  background: #eaf3fa;
  padding: 95px 0;
  border-bottom: 1px solid #d4e6f2;
}

.about-header-center {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 55px;
}

.section-title-about {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-main-text {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: #21435d;
  line-height: 1.85;
  font-weight: 400;
}

.about-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.about-col-card {
  background: #ffffff;
  border: 1px solid #d2e4f0;
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: 0 6px 24px rgba(13, 61, 92, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-col-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 61, 92, 0.08);
}

.col-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2.5px solid var(--sky);
}

.col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.col-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullet-dash {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sky-deep);
  line-height: 1.35;
  flex-shrink: 0;
}

.col-list p {
  font-size: 0.94rem;
  color: #2b4b66;
  line-height: 1.75;
  margin: 0;
}

/* ══════════════════════════════════════════
   NUESTRO EQUIPO — AZUL CIELO IDENTITARIO
══════════════════════════════════════════ */
.section-team-clean {
  position: relative;
  background-image: url('assets/team/medical_office_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 95px 0;
  overflow: hidden;
}

.team-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(238, 246, 252, 0.94) 0%, rgba(212, 233, 248, 0.96) 100%);
  z-index: 1;
}

.team-clean-container {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  z-index: 2;
  text-align: center;
}

.section-title-team {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 22px;
  text-align: center;
}

.team-main-text {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: #1e3c54;
  line-height: 1.85;
  max-width: 860px;
  font-weight: 400;
  margin: 0 auto 50px;
  text-align: center;
}

.team-grid,
.team-photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.team-card,
.team-photo-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(180, 210, 235, 0.65);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: 0 4px 18px rgba(13, 61, 92, 0.04);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 0 1 calc(33.333% - 14px);
  min-width: 310px;
  max-width: 350px;
  min-height: 98px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.team-card:hover,
.team-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(13, 61, 92, 0.10);
  border-color: var(--sky);
  background: #ffffff;
}

.team-card .member-name,
.member-name {
  font-family: var(--font-title);
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 2px;
  line-height: 1.25;
  white-space: nowrap;
}

.team-card .member-spec,
.team-card .member-role,
.member-role {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.35;
  margin: 1px 0 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
  display: block;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   EVENTOS — SHOWCASE MINIMALISTA ESTILO APPLE
══════════════════════════════════════════ */
.section-apple-event {
  position: relative;
  background: linear-gradient(180deg, #f8fbfd 0%, #edf4f9 50%, #f5f8fb 100%);
  color: #1d1d1f;
  padding: 48px 0 60px;
  overflow: hidden;
}

/* Ambient glow suave estilo Apple Studio Light */
.apple-event-ambient-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 420px;
  background: radial-gradient(circle at 50% 25%, rgba(90, 172, 224, 0.16) 0%, rgba(214, 237, 248, 0.08) 50%, rgba(255, 255, 255, 0) 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.apple-event-container {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

/* Encabezado de Sección Apple */
.apple-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}
.apple-label {
  display: inline-block;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0071e3;
  margin-bottom: 8px;
}
.apple-title {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  line-height: 1.15;
  margin-bottom: 10px;
}
.apple-intro {
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.55;
  color: #515154;
  letter-spacing: -0.01em;
  margin: 0 auto;
}

/* Tarjeta Unificada Hero y Showcase Apple Light */
.apple-event-hero-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 40, 80, 0.08);
  border-radius: 24px;
  padding: 32px 36px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 14px 40px rgba(13, 61, 92, 0.07), 0 2px 8px rgba(0, 0, 0, 0.02);
  margin: 0 auto;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.apple-event-hero-card:hover {
  border-color: rgba(0, 113, 227, 0.20);
  box-shadow: 0 18px 50px rgba(13, 61, 92, 0.10);
}

/* Fila Superior: Meta info limpia + Botón Ver Fotos */
.apple-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.apple-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}
.apple-edition-tag {
  font-weight: 600;
  color: #0071e3;
  letter-spacing: 0.02em;
}
.apple-edition-sep {
  color: #a1a1a6;
  font-size: 0.6rem;
}
.apple-edition-type {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: #6e6e73;
}

.apple-btn-pill-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0071e3;
  color: #ffffff;
  border: 1px solid #0071e3;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
  transition: all 0.25s var(--ease-apple);
}
.apple-btn-pill-action:hover {
  background: #0077ed;
  border-color: #0077ed;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}
.apple-btn-pill-action:active {
  transform: scale(0.98);
}

.apple-hero-h3 {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin-bottom: 12px;
}
.apple-hero-desc {
  font-size: 0.98rem;
  color: #424245;
  line-height: 1.65;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.apple-hero-desc strong {
  color: #1d1d1f;
  font-weight: 600;
}
.apple-hero-desc em {
  color: #0071e3;
  font-style: normal;
  font-weight: 500;
}

/* Tira Minimalista de Métricas */
.apple-metrics-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(0, 113, 227, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(0, 113, 227, 0.08);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.apple-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.apple-metric-num {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0071e3;
  line-height: 1.1;
}
.apple-metric-lbl {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6e6e73;
  margin-top: 4px;
  letter-spacing: 0.01em;
}

/* Galería: Encabezado directo y limpio */
.apple-gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.apple-gallery-heading h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ── Carrusel Encajado al 100% ── */
.apple-carousel-container {
  position: relative;
  width: 100%;
}
.apple-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 20, 50, 0.10);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #0c1824;
}
.apple-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s var(--ease-apple);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.apple-carousel-track:active {
  cursor: grabbing;
}
.apple-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.apple-slide-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  overflow: hidden;
}
.apple-slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-apple);
}
.apple-carousel-slide:hover .apple-slide-card img {
  transform: scale(1.02);
}
.apple-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(6, 24, 44, 0.88) 100%);
}
.apple-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 26px;
  color: #fff;
  z-index: 2;
}
.apple-slide-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7ac0e8;
  display: block;
  margin-bottom: 4px;
}
.apple-slide-caption h5 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  color: #ffffff;
}
.apple-slide-caption p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Floating Controls Apple Light */
.apple-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.apple-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.25s var(--ease-apple);
}
.apple-nav-btn:hover {
  background: #0071e3;
  border-color: #0071e3;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}
.apple-nav-btn:active {
  transform: scale(0.95);
}
.apple-carousel-indicators {
  display: flex;
  align-items: center;
  gap: 6px;
}
.apple-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: all 0.35s var(--ease-apple);
}
.apple-indicator-dot.active {
  width: 24px;
  background: #0071e3;
}
.apple-carousel-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #86868b;
  margin-top: 12px;
  text-align: center;
}
.apple-carousel-hint svg {
  color: #0071e3;
  flex-shrink: 0;
}

/* ── Apple Cinema Lightbox Modal ── */
.apple-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease-apple);
}
.apple-lightbox.active {
  display: flex;
  opacity: 1;
}
.apple-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.apple-lightbox-container {
  position: relative;
  z-index: 2;
  width: 95vw;
  max-width: 1200px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Lightbox Topbar */
.apple-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
}
.apple-lightbox-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.apple-lightbox-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2997ff;
  background: rgba(41, 151, 255, 0.12);
  border: 1px solid rgba(41, 151, 255, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.apple-lightbox-counter {
  font-size: 0.84rem;
  color: #86868b;
  font-weight: 500;
}
.apple-lightbox-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.apple-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.04);
}
.apple-esc-key {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Lightbox Stage */
.apple-lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  overflow: hidden;
}
.apple-lightbox-media {
  position: relative;
  max-width: calc(100% - 120px);
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.apple-lightbox-image {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.apple-lightbox-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.2s var(--ease-apple);
  z-index: 10;
}
.apple-lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}
.apple-lightbox-arrow:active {
  transform: scale(0.92);
}

/* Lightbox Footer */
.apple-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.apple-lightbox-caption {
  font-size: 0.88rem;
  color: #d2d2d7;
}
.apple-lightbox-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  color: #2997ff;
  transition: opacity 0.2s;
}
.apple-lightbox-btn-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ══════════════════════════════════════════
   TIENDA VIRTUAL
══════════════════════════════════════════ */
.store-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--off-white);
  color: var(--deep);
  border: 1.5px solid var(--border);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.filter-btn:hover {
  border-color: var(--sky);
  color: var(--sky-deep);
  background: #ffffff;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky);
  box-shadow: 0 4px 14px rgba(43, 166, 219, 0.35);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

@media (max-width: 1240px) {
  .store-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.store-card {
  background: #ffffff;
  border: 1.5px solid rgba(180, 210, 235, 0.45);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: 0 4px 16px rgba(13, 61, 92, 0.04);
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(13, 61, 92, 0.12);
  border-color: var(--sky);
}

.store-img-wrap {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #ffffff 40%, #f4f8fb 100%);
  padding: 24px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  border-bottom: 1px solid rgba(180, 210, 235, 0.35);
}

.store-img-wrap img {
  max-height: 182px;
  max-width: 92%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(13, 61, 92, 0.08));
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.32s ease;
}

.store-card:hover .store-img-wrap img {
  transform: scale(1.06);
  filter: drop-shadow(0 14px 26px rgba(13, 61, 92, 0.15));
}

.store-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--deep);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.store-badge.accent {
  background: var(--orange);
}

.store-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.store-details h4 {
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 8px;
  line-height: 1.35;
}

.store-details p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.store-action-row {
  margin-top: auto;
  border-top: 1px solid rgba(180, 210, 235, 0.4);
  padding-top: 14px;
}

.btn-whatsapp-consult {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  border: none;
  padding: 11px 14px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.2s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  text-decoration: none;
  box-sizing: border-box;
}

.btn-whatsapp-consult:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.40);
}

.btn-whatsapp-consult:active {
  transform: translateY(0);
}

.wa-btn-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: currentColor;
}

/* ══════════════════════════════════════════
   MODAL DIALOG
══════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,35,55,0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.active {
  display: flex;
}
.modal-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  animation: modalPop 0.3s ease;
}
@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-mid);
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--sky);
  color: var(--white);
}
.modal-header {
  margin-bottom: 16px;
}
.modal-tag {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.modal-header h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep);
  margin-top: 4px;
}
.modal-note {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(90,172,224,0.15);
  background: var(--white);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.contact-block {}
.contact-block h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 10px;
}
.contact-block p {
  font-size: 0.90rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.social-link {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--white);
}

/* ── BLOQUE DE DONACIONES GOFUNDME ── */
.donation-block {
  background: linear-gradient(135deg, rgba(2, 169, 92, 0.08), rgba(0, 113, 227, 0.06));
  border: 1.5px solid rgba(2, 169, 92, 0.28);
  border-radius: var(--radius);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-apple-sm);
}
.donation-block h4 {
  color: var(--deep);
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}
.donation-action-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.btn-gofundme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: #02a95c;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.90rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(2, 169, 92, 0.28);
  transition: all 0.25s ease;
  width: fit-content;
  text-decoration: none;
}
.btn-gofundme:hover {
  background: #028e4d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 169, 92, 0.38);
}
.donation-link-copy {
  font-size: 0.80rem;
  color: var(--sky-deep);
  word-break: break-all;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.donation-link-copy:hover {
  opacity: 0.8;
}

/* ══════════════════════════════════════════
   PUBLICACIONES RECIENTES DE INSTAGRAM (@PROPULMON)
══════════════════════════════════════════ */
.section-instagram {
  background: var(--white);
  padding: 60px 0 70px;
}
.instagram-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.instagram-handle-link {
  color: #0071e3;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.instagram-handle-link:hover {
  opacity: 0.8;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 34px;
}
.instagram-post-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s var(--ease-apple), border-color 0.3s ease;
}
.instagram-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.25);
  box-shadow: 0 12px 28px rgba(0, 40, 80, 0.08);
}
.instagram-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d1e2e;
}
.instagram-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-apple);
}
.instagram-post-card:hover .instagram-img-wrap img {
  transform: scale(1.04);
}
.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  opacity: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: opacity 0.25s ease;
  font-size: 0.84rem;
  font-weight: 600;
}
.instagram-post-card:hover .instagram-overlay {
  opacity: 1;
}
.instagram-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.instagram-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.instagram-card-handle {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0071e3;
}
.instagram-card-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: #86868b;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.instagram-card-caption {
  font-size: 0.86rem;
  color: #424245;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.instagram-btn-wrapper {
  text-align: center;
}
.btn-instagram-profile {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 28px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(220, 39, 67, 0.25);
  transition: transform 0.25s var(--ease-apple), box-shadow 0.25s var(--ease-apple);
  text-decoration: none;
}
.btn-instagram-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.35);
  color: #ffffff;
}

/* ══════════════════════════════════════════
   FOOTER (Rediseño minimalista estructurado)
══════════════════════════════════════════ */
.footer {
  background: var(--deep2);
  color: #ffffff;
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 44px;
  align-items: start;
}
.footer-brand .footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
  margin-bottom: 12px;
}
.footer-brand .logo-main {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
}
.footer-brand .logo-accent {
  color: var(--orange);
  font-size: 1.22rem;
  font-weight: 800;
}
.footer-tagline {
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}
.footer-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

.footer-heading {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0.02em;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--sky);
}

.footer-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.footer-sede {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0;
}
.footer-copy {
  font-size: 0.80rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
.footer-instagram-box {
  margin-top: 6px;
}
.footer-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sky-mid);
  font-size: 0.82rem;
  word-break: break-all;
  transition: color 0.2s;
}
.footer-ig-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-columns-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .team-grid,
  .team-photo-grid    { gap: 16px; }
  .team-card,
  .team-photo-card    { flex: 0 1 calc(50% - 12px); min-width: 300px; max-width: 370px; }
  .store-grid         { grid-template-columns: repeat(2, 1fr); }
  .apple-event-hero-card { padding: 28px 26px; }
  .values-grid        { grid-template-columns: repeat(2, 1fr); }
  .team-pillars       { grid-template-columns: repeat(2, 1fr); }
  .contact-grid       { grid-template-columns: 1fr; gap: 48px; }
  .instagram-grid     { gap: 16px; }
  .footer-inner       { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-note        { text-align: left; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section   { padding: 70px 0; }
  .nav-inner.full-width-nav { padding: 0 24px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    padding: 24px 40px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }

  .hero-content       { padding: 60px 20px; }
  .hero-title         { font-size: 2.2rem; }
  .about-columns-grid { grid-template-columns: 1fr; gap: 24px; }
  .team-grid,
  .team-photo-grid    { gap: 14px; }
  .team-card,
  .team-photo-card    { flex: 1 1 100%; max-width: 400px; min-width: 0; }
  .store-grid         { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  
  /* Apple Event Responsive 768px */
  .section-apple-event { padding: 40px 0 50px; }
  .apple-event-hero-card { padding: 24px 20px; border-radius: 20px; }
  .apple-metrics-strip { justify-content: center; gap: 20px; }
  .apple-slide-caption { padding: 16px 18px; }
  .apple-slide-caption h5 { font-size: 1.15rem; }
  .apple-lightbox-stage { padding: 4px 0; }
  .apple-lightbox-arrow { width: 42px; height: 42px; }
  .apple-lightbox-image { max-height: 60vh; }
  .instagram-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }

  .team-pillars       { grid-template-columns: 1fr; }
  .values-grid        { grid-template-columns: 1fr; gap: 32px; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr; }
  .footer-note        { text-align: left; }
}

@media (max-width: 540px) {
  .store-grid         { grid-template-columns: 1fr; }
  .filter-btn         { padding: 8px 16px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .team-card,
  .team-photo-card    { flex: 1 1 100%; max-width: 100%; padding: 13px 12px; }
  .team-card .member-name { font-size: 1.05rem; }
  .team-card .member-spec,
  .team-card .member-role,
  .member-role        { font-size: clamp(0.76rem, 3.2vw, 0.84rem); }
  
  /* Apple Event Mobile 480px */
  .apple-hero-topline { flex-direction: column; align-items: stretch; gap: 10px; }
  .apple-metrics-strip { flex-direction: column; gap: 12px; padding: 14px; }
  .apple-btn-pill-action { width: 100%; justify-content: center; }
  .apple-slide-card { aspect-ratio: 4 / 3; }
  .apple-slide-caption { padding: 12px 14px; }
  .apple-slide-caption h5 { font-size: 1rem; }
  .apple-slide-caption p { font-size: 0.78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .apple-lightbox-topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .apple-lightbox-close { align-self: flex-end; }
}

/* ══════════════════════════════════════════
   SCROLL FADE-IN ANIMATION
══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   MODO ADMINISTRADOR AMPLIADO (PRO DASHBOARD)
══════════════════════════════════════════ */
#footerCopyright {
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

/* Modal Overlay General */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 92, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Login Box */
.admin-login-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-apple-lg), 0 0 0 1px rgba(0,0,0,0.08);
  padding: 36px 32px;
  z-index: 2;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-modal-overlay.active .admin-login-box {
  transform: translateY(0) scale(1);
}
.admin-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s ease;
}
.admin-modal-close:hover {
  color: var(--text);
}
.admin-login-header {
  text-align: center;
  margin-bottom: 24px;
}
.admin-badge-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.12), rgba(90, 172, 224, 0.22));
  color: var(--sky-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-login-header h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--deep);
  margin-bottom: 6px;
}
.admin-login-header p {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.45;
}
.admin-field {
  margin-bottom: 18px;
}
.admin-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.admin-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.admin-input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--text-light);
  pointer-events: none;
}
.admin-input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--off-white);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.admin-input-wrap input:focus {
  border-color: var(--sky-deep);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}
.btn-toggle-pass {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
}
.admin-error-msg {
  padding: 10px 14px;
  background: #fee2e2;
  color: #991b1b;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  margin-bottom: 16px;
  font-weight: 500;
  text-align: center;
}
.admin-btn-primary {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--deep), var(--deep2));
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(13, 61, 92, 0.2);
}
.admin-btn-primary:hover {
  background: linear-gradient(135deg, var(--sky-deep), var(--deep));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.25);
}

/* Dashboard Container Ampliado */
.admin-dashboard-container.admin-expanded {
  position: relative;
  width: 95vw;
  max-width: 1360px;
  height: 92vh;
  max-height: 92vh;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-apple-lg), 0 0 0 1px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  z-index: 2;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-modal-overlay.active .admin-dashboard-container.admin-expanded {
  transform: translateY(0) scale(1);
}

/* Dashboard Header */
.admin-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-shrink: 0;
}
.admin-dash-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-dash-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.admin-dash-title-wrap h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--deep);
  margin-bottom: 2px;
}
.admin-user-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-mid);
}
.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}
.admin-dash-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.admin-btn-export {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.admin-btn-export:hover {
  background: #dcfce7;
  transform: translateY(-1px);
}
.admin-btn-backup {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.admin-btn-backup:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}
.admin-btn-restore {
  background: #fefce8;
  color: #854d0e;
  border-color: #fef08a;
}
.admin-btn-restore:hover {
  background: #fef9c3;
  transform: translateY(-1px);
}
.admin-btn-logout {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.admin-btn-logout:hover {
  background: #fee2e2;
  transform: translateY(-1px);
}
.admin-dash-close-btn {
  background: var(--off-white);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.admin-dash-close-btn:hover {
  background: #e5e5ea;
  color: var(--text);
}

/* Tabs Navigation Bar */
.admin-tabs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  background: #ffffff;
  border-bottom: 1.5px solid var(--border);
  overflow-x: auto;
  flex-shrink: 0;
}
.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  background: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.admin-tab-btn:hover {
  color: var(--sky-deep);
}
.admin-tab-btn.active {
  color: var(--sky-deep);
  border-bottom-color: var(--sky-deep);
  font-weight: 600;
}
.tab-badge {
  padding: 2px 7px;
  background: var(--off-white);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-mid);
  transition: all 0.2s;
}
.admin-tab-btn.active .tab-badge {
  background: rgba(0, 113, 227, 0.12);
  color: var(--sky-deep);
}

/* Tab Body */
.admin-tab-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 26px;
  background: #fbfbfd;
}
.admin-tab-view {
  display: none;
}
.admin-tab-view.active {
  display: block;
  animation: fadeInAdminTab 0.25s ease;
}
@keyframes fadeInAdminTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Intro Banners */
.admin-view-intro-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.05), rgba(90, 172, 224, 0.09));
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.intro-banner-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.admin-view-intro-banner h4 {
  font-size: 1.02rem;
  color: var(--deep);
  margin-bottom: 3px;
  font-weight: 600;
}
.admin-view-intro-banner p {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.45;
  margin: 0;
}

/* Progress Card */
.admin-progress-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0 24px;
  box-shadow: var(--shadow-apple-sm);
}
.admin-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--deep);
}
.admin-progress-bar-bg {
  height: 9px;
  border-radius: 6px;
  background: #e5e5ea;
  overflow: hidden;
}
.admin-progress-bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #10b981, #059669);
  transition: width 0.4s ease;
}

/* Stats Row */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.admin-stat-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 16px 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-apple-sm);
  border-left: 4px solid var(--sky-deep);
}
.admin-stat-card.stat-pacientes {
  border-left-color: #ef4444;
}
.admin-stat-card.stat-voluntarios {
  border-left-color: #10b981;
}
.admin-stat-card.stat-alianzas {
  border-left-color: #8b5cf6;
}
.admin-stat-card .stat-number {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.1;
  font-family: var(--font-title);
}
.admin-stat-card .stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-top: 4px;
}

.admin-section-header {
  margin: 20px 0 12px;
}
.admin-section-header h4 {
  font-size: 1.05rem;
  color: var(--deep);
}
.admin-section-subtitle {
  font-size: 0.80rem;
  color: var(--text-light);
}

/* Toolbar */
.admin-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.admin-search-wrap {
  flex: 1 1 240px;
  position: relative;
  display: flex;
  align-items: center;
}
.admin-search-wrap svg {
  position: absolute;
  left: 12px;
  color: var(--text-light);
  pointer-events: none;
}
.admin-search-wrap input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--off-white);
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.admin-search-wrap input:focus {
  border-color: var(--sky-deep);
  background: #ffffff;
}
.admin-filter-select-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-filter-select-wrap label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
}
.admin-filter-select-wrap select {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--off-white);
  font-size: 0.82rem;
  color: var(--text);
  outline: none;
  cursor: pointer;
}
.admin-btn-clear-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-btn-clear-all:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* Results Summary */
.admin-results-summary {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* Requests List Container */
.admin-requests-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Empty State */
.admin-empty-state {
  text-align: center;
  padding: 50px 20px;
  background: #ffffff;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-mid);
}
.admin-empty-state svg {
  color: var(--text-light);
  margin-bottom: 12px;
}
.admin-empty-state h4 {
  font-size: 1.1rem;
  color: var(--deep);
  margin-bottom: 6px;
}
.admin-empty-state p {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
}

/* Request Card Pro */
.admin-req-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-apple-sm);
}
.admin-req-card:hover {
  border-color: var(--sky-mid);
  box-shadow: var(--shadow-apple);
}
.admin-req-card.status-atendida {
  border-left: 4px solid #10b981;
}
.admin-req-card.status-en-proceso {
  border-left: 4px solid #f59e0b;
}
.admin-req-card.status-nueva {
  border-left: 4px solid #0071e3;
}
.admin-req-card.status-archivada {
  border-left: 4px solid #9ca3af;
  opacity: 0.85;
}

.admin-req-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.admin-req-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-paciente { background: #fee2e2; color: #b91c1c; }
.badge-voluntario { background: #dcfce7; color: #15803d; }
.badge-alianza { background: #f3e8ff; color: #7e22ce; }
.badge-tienda { background: #ffedd5; color: #c2410c; }
.badge-general { background: #e0f2fe; color: #0369a1; }

.status-dropdown {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--off-white);
  color: var(--text);
  cursor: pointer;
  outline: none;
}

.admin-req-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  color: var(--text-light);
}

/* Person Details */
.admin-req-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.admin-person-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--sky-deep));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.admin-person-info {
  flex: 1;
}
.admin-person-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--deep);
  line-height: 1.3;
}
.admin-person-contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.admin-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--sky-deep);
  text-decoration: none;
  padding: 2px 8px;
  background: rgba(0, 113, 227, 0.06);
  border-radius: 6px;
  transition: background 0.2s ease;
}
.admin-contact-pill:hover {
  background: rgba(0, 113, 227, 0.14);
}

/* Message block */
.admin-req-msg {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 12px;
  border-left: 3.5px solid var(--sky);
}
.admin-msg-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}
.admin-msg-text {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.5;
  white-space: pre-line;
}

/* Notes Section in Card */
.admin-notes-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 12px;
}
.admin-notes-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.admin-notes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.admin-note-item {
  background: var(--off-white);
  border-left: 3px solid var(--sky-deep);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.80rem;
  color: var(--text);
}
.admin-note-meta {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-bottom: 2px;
  display: flex;
  justify-content: space-between;
}
.admin-note-input-row {
  display: flex;
  gap: 6px;
}
.admin-note-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.80rem;
  outline: none;
  background: var(--off-white);
}
.admin-note-input:focus {
  border-color: var(--sky-deep);
  background: #ffffff;
}
.admin-btn-add-note {
  padding: 6px 12px;
  background: var(--sky-deep);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.admin-btn-add-note:hover {
  opacity: 0.9;
}

/* Footer card actions */
.admin-req-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.admin-footer-left, .admin-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.admin-btn-card-action.btn-wa {
  background: #25d366;
  color: #ffffff;
}
.admin-btn-card-action.btn-wa:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}
.admin-btn-card-action.btn-mail {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}
.admin-btn-card-action.btn-mail:hover {
  background: #bae6fd;
}
.admin-btn-card-action.btn-print {
  background: #f8fafc;
  color: #334155;
  border-color: #cbd5e1;
}
.admin-btn-card-action.btn-print:hover {
  background: #f1f5f9;
}
.admin-btn-card-action.btn-delete {
  background: #fff1f2;
  color: #e11d48;
  border-color: #ffe4e6;
  padding: 6px 9px;
}
.admin-btn-card-action.btn-delete:hover {
  background: #ffe4e6;
}

/* Patient Print Modal */
.patient-print-box {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  overflow-y: auto;
  z-index: 2;
  box-shadow: var(--shadow-apple-lg);
}
.print-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.btn-do-print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--deep);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-do-print:hover {
  background: var(--sky-deep);
}
.printable-sheet {
  background: #ffffff;
  color: #1a1a1a;
  padding: 10px;
  font-family: var(--font-body);
}
.print-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--deep);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.print-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.print-header-brand img {
  width: 50px;
  height: 50px;
}
.print-header-brand h2 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--deep);
  margin: 0;
}
.print-header-brand p {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin: 0;
}
.print-meta-folio {
  text-align: right;
  font-size: 0.80rem;
  color: var(--text-mid);
}
.print-section-title {
  font-size: 0.90rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--deep);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  margin: 18px 0 10px;
}
.print-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.86rem;
}
.print-info-item strong {
  color: var(--deep);
}
.print-msg-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.6;
}
.print-signatures-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  padding-top: 20px;
}
.print-sig-col {
  text-align: center;
  border-top: 1px solid #94a3b8;
  padding-top: 8px;
  font-size: 0.82rem;
  color: var(--text-mid);
}

/* Responsiveness */
@media (max-width: 960px) {
  .admin-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .admin-stats-row {
    grid-template-columns: 1fr;
  }
  .admin-dash-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-dash-actions {
    width: 100%;
    justify-content: space-between;
  }
  .admin-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-search-wrap, .admin-filter-select-wrap select {
    width: 100%;
  }
  .admin-req-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-footer-left, .admin-footer-right {
    justify-content: space-between;
    width: 100%;
  }
}

/* Media print para impresión limpia */
@media print {
  body * {
    visibility: hidden;
  }
  #printablePatientContent, #printablePatientContent * {
    visibility: visible;
  }
  #printablePatientContent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .print-actions-bar, .admin-modal-backdrop, .admin-modal-close {
    display: none !important;
  }
}


