/* ============================================================
   LONGEVA VIDA — HOJA DE ESTILOS GLOBAL
   Paleta: verde esmeralda (salud/confianza) + coral (acción/energía)
   Tipografías: Montserrat (títulos) + Inter (texto)
   Enfoque: Mobile First — todo se construye para móvil primero
   y se expande hacia pantallas más grandes con media queries.
   ============================================================ */

/* ---------- 1. VARIABLES GLOBALES (Design Tokens) ---------- */
:root {
  /* Colores de marca */
  --primary: #0b6e4f;
  --primary-dark: #054d38;
  --primary-darker: #033325;
  --primary-light: #e6f4ee;
  --primary-soft: #d1ece1;

  --accent: #ff6b4a;
  --accent-dark: #e5502f;
  --accent-light: #ffe4dc;

  --white: #ffffff;
  --off-white: #faf9f6;
  --cream: #fdf8f2;

  --text-dark: #16241f;
  --text-muted: #56675f;
  --text-soft: #8a978f;

  --border: #e3ebe6;
  --border-strong: #cfe0d8;

  --success: #0b6e4f;
  --warning: #ffb020;

  /* Tipografía */
  --font-heading: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Espaciado y forma */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(5, 77, 56, 0.08);
  --shadow-md: 0 8px 24px rgba(5, 77, 56, 0.12);
  --shadow-lg: 0 16px 48px rgba(5, 77, 56, 0.18);
  --shadow-accent: 0 10px 28px rgba(229, 80, 47, 0.35);

  --max-width: 1180px;
  --header-height: 72px;
}

/* ---------- 2. RESET BÁSICO ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary-darker);
  line-height: 1.2;
  font-weight: 800;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  background: var(--accent-light);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- 3. ISOTIPO / LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(11, 110, 79, 0.35);
}

.logo-mark::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-text span:first-child {
  color: var(--primary-darker);
}

.logo-text span:last-child {
  color: var(--accent);
}

/* ---------- 4. BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-full);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(229, 80, 47, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--primary-soft);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-block {
  width: 100%;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1fb955;
  transform: translateY(-2px);
}

.btn-danger {
  background: #fdeceb;
  color: #c23b25;
}

.btn-danger:hover {
  background: #f8d5d1;
}

/* ---------- 5. HEADER / NAVEGACIÓN ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-dark);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--accent);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  z-index: 110;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--primary-darker);
  border-radius: var(--radius-full);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: var(--white);
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-darker);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .nav-toggle,
  .mobile-menu {
    display: none;
  }
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 20% 10%, var(--primary-light), var(--off-white) 55%);
  overflow: hidden;
  padding: 3rem 0 4rem;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}

.hero-blob.one {
  width: 280px;
  height: 280px;
  background: var(--primary-soft);
  top: -80px;
  right: -80px;
}

.hero-blob.two {
  width: 220px;
  height: 220px;
  background: var(--accent-light);
  bottom: -60px;
  left: -60px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy .eyebrow {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.1rem);
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  /* En móvil, los productos van primero — antes que el texto del hero. */
  order: -1;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  text-align: center;
}

.hero-card .badge-days {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  color: var(--white);
  margin: 0 auto 1.1rem;
  box-shadow: var(--shadow-md);
}

.badge-days strong {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
}

.badge-days span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.hero-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.hero-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 1rem;
}

.hero-progress span {
  flex: 1;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
}

.hero-mini-products {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.hero-mini-products a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.hero-mini-products a:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero-mini-products img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.hero-mini-products span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-progress span.filled {
  background: var(--accent);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-visual {
    /* En escritorio vuelve al orden normal: texto primero, visual a la derecha. */
    order: 0;
  }
}

/* ---------- 7. BENEFICIOS ---------- */
.benefits-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-circle svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- 8. CÓMO FUNCIONA ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}

.step-card {
  position: relative;
  background: linear-gradient(160deg, var(--primary-dark), var(--primary-darker));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem 1.5rem;
}

.step-card .step-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

/* ---------- 8b. EL SISTEMA: FASES + REGLAS DE ORO ---------- */
.phase-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

.phase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.phase-card-active {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary-darker));
  border-color: transparent;
  color: var(--white);
}

.phase-days-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.phase-card-active .phase-days-badge {
  background: var(--accent);
  color: var(--white);
}

.phase-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.phase-card-active h3 {
  color: var(--white);
}

.phase-goal {
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
}

.phase-card-active .phase-goal {
  color: rgba(255, 255, 255, 0.85);
}

.phase-rules {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.phase-rules li {
  padding-left: 1.4rem;
  position: relative;
}

.phase-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.phase-card-active .phase-rules li::before {
  background: var(--white);
}

.golden-rules {
  background: var(--white);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.golden-rules h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.golden-rules-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (min-width: 800px) {
  .phase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 8c. QUÉ INCLUYE (productos) ---------- */
.products-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

/* ---------- 8d. HUB DE PRODUCTOS (sistema.html) ---------- */
.kits-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.kit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.kit-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--primary-light);
}

.kit-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kit-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.kit-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pillars-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pillar-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
}

@media (min-width: 850px) {
  .kits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 8e. PÁGINAS DE KIT (sos12.html / dna.html / cellagen.html) ---------- */
.kit-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 15%, var(--primary-light), var(--off-white) 60%);
  padding: 3rem 0;
}

.kit-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.kit-hero-photo {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(5, 77, 56, 0.18));
}

.kit-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

@media (min-width: 900px) {
  .kit-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.env-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 2rem 0;
}

.env-chip {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
}

.frentes-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.frente-card {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary-darker));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
}

.frente-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 2.2rem;
}

.frente-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.frente-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.frente-tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

@media (min-width: 800px) {
  .frentes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.protocol-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.protocol-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.protocol-step .phase-days-badge {
  margin-bottom: 0.75rem;
}

.protocol-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.protocol-step p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (min-width: 700px) {
  .protocol-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-number-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.benefit-number-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-number-card .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  min-width: 2.2rem;
}

.benefit-number-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.benefit-number-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.quote-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.quote-card .stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.quote-card p {
  font-style: italic;
  color: var(--text-dark);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.quote-card .author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-dark);
}

.quote-card .verified {
  display: block;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 0.15rem;
}

.certs-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.certs-strip span {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
}

.routine-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.routine-table th,
.routine-table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.routine-table th {
  color: var(--text-soft);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

/* ---------- 9. TESTIMONIOS TEASER (index) ---------- */
.testi-teaser-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ---------- 10. FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  text-align: left;
  padding: 1.1rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  color: var(--primary-darker);
}

.faq-question .plus {
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s ease;
  min-width: 20px;
  text-align: center;
}

.faq-item.is-open .faq-question .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq-item.is-open .faq-answer {
  max-height: 240px;
  padding: 0 1.35rem 1.25rem;
}

/* ---------- 10b. MENÚ DEL SISTEMA (menu.html) ---------- */
/* Reutiliza el acordeón de FAQ, pero el contenido de cada día es
   más largo, así que necesita más espacio permitido al abrir. */
.menu-day-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item.is-open .menu-day-answer {
  max-height: 900px;
}

.meal-row {
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
}

.meal-row:first-child {
  border-top: none;
  padding-top: 0.25rem;
}

.meal-row strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.meal-row p {
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* ---------- 11. CTA FINAL ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  border-radius: var(--radius-lg);
  padding: 3rem 1.75rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-final h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

/* ---------- 12. FOOTER ---------- */
.site-footer {
  background: var(--primary-darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 6.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-disclaimer {
  line-height: 1.5;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* ---------- 13. BOTONES FLOTANTES (CTA + WhatsApp) ---------- */
.floating-actions {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
}

.fab:hover {
  transform: scale(1.08);
}

.fab svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.fab-whatsapp {
  background: #25d366;
}

.sticky-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
}

.sticky-cta-bar .btn {
  width: 100%;
}

@media (min-width: 900px) {
  .sticky-cta-bar {
    display: none;
  }
  .floating-actions {
    bottom: 1.75rem;
    right: 1.75rem;
  }
}

/* ---------- 14. PÁGINA TESTIMONIOS ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--primary-light), var(--off-white));
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-hero .eyebrow {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Selector de producto público (SOS12 / DNA / Cellagen Glow) en
   testimonios.html — grande y centrado a propósito: es la
   decisión más importante de la página, no debe pasar
   desapercibido como una pestaña chiquita. */
.product-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.product-selector-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  min-width: 140px;
  flex: 1 1 160px;
  max-width: 200px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.product-selector-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.product-selector-btn img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.product-selector-btn span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-muted);
}

.product-selector-btn.is-active {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-accent);
}

.product-selector-btn.is-active span {
  color: var(--primary-darker);
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.is-active {
  display: block;
}

/* Dentro de cada producto, los testimonios se agrupan por
   persona: cada quien en su propia tarjeta, bien delimitada. */
.person-group {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.person-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--primary-soft);
}

.person-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
}

.person-group-name {
  font-size: 1.15rem;
}

.person-group-entries {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.timeline-card .day-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 0 0 var(--radius-md) 0;
}

.timeline-card .phase-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Galería de fotos de una publicación — se adapta sola según
   cuántas fotos tenga: 1 foto ocupa todo el ancho, 2+ se acomodan
   en cuadrícula. */
.timeline-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: var(--primary-light);
  max-height: 480px;
  overflow: hidden;
}

.timeline-gallery.single {
  grid-template-columns: 1fr;
}

.timeline-gallery img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.timeline-gallery.single img {
  max-height: 480px;
}

.timeline-video {
  width: 100%;
  background: #000;
}

.timeline-video video {
  width: 100%;
  max-height: 480px;
  display: block;
}

.timeline-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.timeline-date {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-body p {
  color: var(--text-dark);
  font-size: 0.98rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.empty-state .icon-circle {
  margin: 0 auto 1rem;
}

/* ---------- 15. PÁGINA CONTACTO ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary-darker));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-info-item .icon-circle {
  background: rgba(255, 255, 255, 0.14);
  min-width: 44px;
  width: 44px;
  height: 44px;
  margin-bottom: 0;
}

.contact-info-item .icon-circle svg {
  color: var(--accent);
  width: 22px;
  height: 22px;
}

.contact-info-item strong {
  display: block;
  font-size: 0.92rem;
}

.contact-info-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Sección de contacto destacada en index.html — reutiliza el
   panel oscuro de contacto.html pero centrado y más grande, para
   que sea la sección con más peso visual de toda la página. */
.contact-highlight {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.5rem;
}

.contact-highlight h2 {
  font-size: 1.9rem;
}

.contact-highlight p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.contact-highlight-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-highlight-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.contact-highlight-points .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-highlight .hero-actions {
  justify-content: center;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
  color: var(--primary-darker);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-check input {
  margin-top: 0.2rem;
}

.form-error {
  color: var(--accent-dark);
  font-size: 0.78rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--accent);
}

.form-group.has-error .form-error {
  display: block;
}

.confirmation-box {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.confirmation-box.is-visible {
  display: block;
}

.contact-form-card.is-hidden {
  display: none;
}

.confirmation-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.confirmation-icon svg {
  width: 38px;
  height: 38px;
  color: var(--primary);
}

.confirmation-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.confirmation-box p {
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 1.5rem;
}

@media (min-width: 950px) {
  .contact-wrap {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* ---------- 15b. NOTIFICACIONES FLOTANTES (toast) ---------- */
.lv-toast-container {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  pointer-events: none;
  width: 100%;
  padding: 0 1rem;
}

.lv-toast {
  background: var(--primary-darker);
  color: var(--white);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: 480px;
  text-align: center;
}

.lv-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lv-toast-error {
  background: var(--accent-dark);
}

.lv-toast-warning {
  background: #b8790a;
}

/* ---------- 16. ADMIN ---------- */
.admin-shell {
  min-height: 100vh;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.login-card .logo {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.login-card h1 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.login-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
}

.login-card .form-group {
  text-align: left;
}

.login-error {
  display: none;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.login-error.is-visible {
  display: block;
}

.admin-dashboard {
  display: none;
  min-height: 100vh;
  background: var(--off-white);
}

.admin-dashboard.is-visible {
  display: block;
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 4rem;
}

.admin-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
}

.stat-card .stat-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.admin-tab-btn {
  background: none;
  padding: 0.85rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.admin-tab-btn.is-active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.is-active {
  display: block;
}

.admin-panel-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  min-width: 0;
}

.admin-panel-grid > .admin-card {
  min-width: 0;
}

@media (min-width: 1000px) {
  .admin-panel-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.admin-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.form-section {
  padding: 1.1rem 0 1.3rem;
  border-top: 1px dashed var(--border-strong);
}

.form-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.form-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.form-row-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.help-text {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 0.4rem;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.entry-row {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.entry-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--primary-light);
  min-width: 56px;
}

.entry-info {
  flex: 1;
  min-width: 0;
}

.entry-info .entry-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-darker);
}

.entry-phase {
  display: inline-block;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  margin: 0 0.3rem;
}

.entry-product-badge {
  display: inline-block;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--accent);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  margin-right: 0.4rem;
}

.admin-entry-filter {
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--cream);
  color: var(--primary-darker);
}

.entry-info .entry-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Aviso de que el formulario está en modo edición. */
.edit-mode-banner {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.1rem;
}

/* Cuadrícula de miniaturas: se usa tanto para la vista previa de
   fotos nuevas seleccionadas como para las fotos ya publicadas
   (con botón para quitarlas) al editar un día. Se adapta sola a
   cuántas fotos haya. */
.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.media-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--primary-light);
  border: 1px solid var(--border);
}

.media-thumb img,
.media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(22, 36, 31, 0.75);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-thumb-remove svg {
  width: 12px;
  height: 12px;
}

.media-thumb-remove:hover {
  background: var(--accent-dark);
}

.media-thumb.is-marked-deleted {
  opacity: 0.35;
}

.media-thumb.is-marked-deleted::after {
  content: "Se quitará al guardar";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(22, 36, 31, 0.6);
  padding: 0.25rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

th, td {
  text-align: left;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

th {
  color: var(--text-soft);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

td.wrap-cell {
  white-space: normal;
  max-width: 220px;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-new {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.badge-contacted {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.icon-btn {
  background: none;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
}

.icon-btn:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 700px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
