/* ==========================================================================
   Punto Ciego — Sistema de Diseño Oficial (Identidad de la Casa)
   Frontend Design Craft Level: Alta precisión tipográfica, proporciones calibradas,
   profundidad nocturna y accesibilidad estricta.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta cromática oficial de Punto Ciego */
  --bg: #0A0D12;
  --bg-surface: #0E1218;
  --panel: #131720;
  --panel-elevated: #161B26;
  --card-dark: #151A24;
  --line: rgba(255, 255, 255, 0.08);
  --line-subtle: rgba(255, 255, 255, 0.05);
  --line-gold: rgba(229, 192, 121, 0.35);

  --fg: #F9FAFC;
  --fg-soft: #DDE2EB;
  --muted: #8E9BAE;
  --muted-dark: #64748B;

  --gold: #E5C079;
  --gold-deep: #C5A059;
  --gold-gradient: linear-gradient(135deg, #E5C079 0%, #C5A059 100%);
  --gold-glow: rgba(229, 192, 121, 0.25);

  /* Tipografías */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-voice: 'Playfair Display', Georgia, serif;

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Sombras y profundidad */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px var(--gold-glow);
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 90% 45% at 50% -10%, rgba(229, 192, 121, 0.07), transparent 60%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accesibilidad estricta para movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Contenedores con proporciones equilibradas */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 740px;
}

/* Énfasis de marca: Playfair Display cursiva solo para una palabra o frase */
.voz {
  font-family: var(--font-voice);
  font-style: italic;
  font-weight: 500;
  color: #E5C079 !important;
  color: var(--gold) !important;
}

/* ==========================================================================
   Cabecera / Navegación (Compacta y Fija: 60px)
   ========================================================================== */
.site-header {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-iso-small {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fg);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   Escala Tipográfica Calibrada
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Enlaces */
a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--fg);
}

/* Badges y Etiquetas Micro-tipográficas */
.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E5C079 !important;
  color: var(--gold) !important;
  margin-bottom: 0.85rem;
}

.badge-beta {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E5C079 !important;
  color: var(--gold) !important;
  background: rgba(229, 192, 121, 0.12) !important;
  border: 1px solid rgba(229, 192, 121, 0.45) !important;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.badge-encamino {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

/* Botones Proporcionados */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #E5C079 !important;
  background-image: var(--gold-gradient) !important;
  color: #0A0D12 !important;
  box-shadow: 0 4px 14px rgba(229, 192, 121, 0.22);
  border: none !important;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #000 !important;
}

.btn-secondary {
  background: var(--panel);
  color: var(--fg);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: rgba(229, 192, 121, 0.45);
  background: var(--card-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 4.5rem 0 3rem;
}

.hero-content {
  max-width: 720px;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* ==========================================================================
   LA GRILLA DEL ISOTIPO (Tablero de Celdas de Alta Precisión)
   ========================================================================== */
.isotipo-section {
  padding: 2.5rem 0 4rem;
}

.grid-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 680px;
  margin: 0 auto;
}

.grid-cell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: cellFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.grid-cell:nth-child(1) { animation-delay: 0.05s; }
.grid-cell:nth-child(2) { animation-delay: 0.12s; }
.grid-cell:nth-child(3) { animation-delay: 0.19s; }
.grid-cell:nth-child(4) { animation-delay: 0.26s; }

@keyframes cellFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Celda activa: Ciego */
.grid-cell.active-ciego {
  background: linear-gradient(145deg, #121722 0%, #171C28 100%);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-card);
}

.grid-cell.active-ciego:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 192, 121, 0.65);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* Rombo dorado */
.rhombus-indicator {
  width: 17px;
  height: 17px;
  background-color: #E5C079 !important;
  background-image: var(--gold-gradient) !important;
  transform: rotate(45deg);
  display: inline-block;
  box-shadow: 0 0 14px rgba(229, 192, 121, 0.45);
  animation: goldBreathe 4s ease-in-out infinite;
}

@keyframes goldBreathe {
  0%, 100% {
    box-shadow: 0 0 12px rgba(229, 192, 121, 0.35);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(229, 192, 121, 0.65);
    filter: brightness(1.1);
  }
}

/* Celdas vacías */
.grid-cell.empty-cell {
  background: rgba(18, 22, 32, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.09);
  opacity: 0.85;
}

.grid-cell.empty-cell:hover {
  border-color: var(--line);
  opacity: 1;
}

.cell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.cell-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cell-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--fg);
}

.cell-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   Detalle de Producto Ciego
   ========================================================================== */
.product-detail-section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-card);
}

.product-brand-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.product-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.features-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2.25rem 0;
}

.feature-item {
  background: var(--card-dark);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease;
}

.feature-item:hover {
  border-color: var(--line);
}

.feature-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.feature-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.feature-item-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.cta-box {
  background: var(--card-dark);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  padding: 1.65rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cta-text p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Secciones de Filosofía y Contacto
   ========================================================================== */
.future-section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.future-content {
  max-width: 640px;
}

.contact-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--line);
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-email-link {
  font-size: 1.25rem;
  font-weight: 800;
  color: #E5C079 !important;
  color: var(--gold) !important;
  letter-spacing: -0.01em;
}

.contact-email-link:hover {
  color: var(--fg);
}

/* ==========================================================================
   PÁGINAS LEGALES
   ========================================================================== */
.page-content {
  padding: 3rem 0 5rem;
  flex: 1;
}

.legal-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.legal-company-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  margin: 1.5rem 0 1.75rem;
  font-size: 0.88rem;
  color: var(--fg-soft);
}

.legal-body {
  color: var(--fg-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.legal-body h2 {
  font-size: 1.3rem;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.45rem;
}

.legal-body h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--fg);
}

.legal-body p {
  color: var(--fg-soft);
  margin-bottom: 1.15rem;
}

.legal-body ul, .legal-body ol {
  margin: 0.85rem 0 1.25rem 1.5rem;
  color: var(--fg-soft);
}

.legal-body li {
  margin-bottom: 0.45rem;
}

.legal-body strong {
  color: var(--fg);
  font-weight: 700;
}

/* Tablas legales */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0 1.75rem;
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.legal-table th, .legal-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-table th {
  font-weight: 700;
  color: var(--fg);
  background-color: var(--card-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table td {
  color: var(--fg-soft);
}

/* Marcadores de datos a completar */
.placeholder-tag {
  background-color: rgba(229, 192, 121, 0.15);
  color: var(--gold);
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
  border: 1px dashed var(--gold);
}

/* Caja de instrucciones para borrado */
.instruction-box {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.instruction-box h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  color: var(--fg);
}

.instruction-box p {
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.instruction-box p:last-child {
  margin-bottom: 0;
}

/* Estado "En preparación" */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background-color: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  margin: 1.75rem 0;
}

.empty-state h2 {
  margin-bottom: 0.65rem;
}

.empty-state p {
  max-width: 480px;
  margin: 0 auto;
}

/* ==========================================================================
   Pie de página (Footer)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: #07090D;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line-subtle);
}

.footer-brand {
  max-width: 340px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted-dark);
}

.footer-bottom-iso {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-dot-rhombus {
  width: 6px;
  height: 6px;
  background: var(--gold-deep);
  transform: rotate(45deg);
  display: inline-block;
}

/* ==========================================================================
   Responsividad Móvil
   ========================================================================== */
@media (max-width: 640px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-links {
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

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

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box .btn {
    width: 100%;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.75rem;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   PALETA Y COMPONENTES EXCLUSIVOS DE CIEGO (Crema #F5F2EB / Espresso #26201A)
   Regla de marca: Todo lo que es de Ciego va con la paleta de Ciego.
   ========================================================================== */
:root {
  --ciego-bg: #F5F2EB;
  --ciego-card: #FFFFFF;
  --ciego-card-subtle: #EDE9DF;
  --ciego-espresso: #26201A;
  --ciego-carbon: #1A1816;
  --ciego-muted: #5C554D;
  --ciego-muted-light: #857C72;
  --ciego-border: rgba(38, 32, 26, 0.12);
  --ciego-border-subtle: rgba(38, 32, 26, 0.06);
  --ciego-gold: #C5A059;
  --ciego-gold-bright: #DFBA73;
  --ciego-gold-dark: #9E7B3B;
  --ciego-gold-bg: rgba(197, 160, 89, 0.12);
  --ciego-whatsapp: #25D366;
  --ciego-instagram: #E1306C;
}

/* Bloque Ciego en Home (Contraste Crema dentro de la atmósfera oscura) */
.ciego-showcase-home {
  background-color: var(--ciego-bg) !important;
  color: var(--ciego-espresso) !important;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin: 3.5rem 0;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(197, 160, 89, 0.35);
}

.ciego-showcase-home h2,
.ciego-showcase-home h3,
.ciego-showcase-home h4 {
  color: var(--ciego-espresso) !important;
}

.ciego-showcase-home p {
  color: var(--ciego-muted) !important;
}

.ciego-showcase-home .voz {
  color: var(--ciego-gold-dark) !important;
  font-family: var(--font-voice);
  font-style: italic;
}

.ciego-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--ciego-gold-bg);
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: var(--ciego-gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}

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

.ciego-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(38, 32, 26, 0.1);
}

.ciego-card-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ciego-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.ciego-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ciego-espresso);
  margin-bottom: 0.4rem;
}

.ciego-card-desc {
  font-size: 0.9rem;
  color: var(--ciego-muted);
  line-height: 1.5;
  margin: 0;
}

/* Botones de acción rápida con canales reales (WhatsApp / Instagram) */
.actions-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-wa {
  background-color: #25D366 !important;
  color: #0A0D12 !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  border: none !important;
}

.btn-wa:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #000 !important;
}

.btn-ig {
  background-color: var(--ciego-espresso) !important;
  color: #F5F2EB !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ciego-page .btn-ig {
  background-color: var(--ciego-espresso) !important;
  color: #F5F2EB !important;
  border: none !important;
}

.btn-ig:hover {
  background-color: #000 !important;
  color: #FFF !important;
  transform: translateY(-1px);
}

.btn-ciego-outline {
  background: transparent !important;
  color: var(--ciego-espresso) !important;
  border: 1px solid var(--ciego-border) !important;
}

.btn-ciego-outline:hover {
  background: rgba(38, 32, 26, 0.05) !important;
  color: var(--ciego-espresso) !important;
}

/* ==========================================================================
   PÁGINA DEDICADA DE CIEGO (/ciego - Tema Crema Completo)
   ========================================================================== */
.ciego-body {
  background-color: var(--ciego-bg) !important;
  background-image: none !important;
  color: var(--ciego-espresso) !important;
}

.ciego-header {
  background: rgba(245, 242, 235, 0.88);
  border-bottom: 1px solid var(--ciego-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 0;
}

.ciego-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.ciego-hero {
  padding: 4rem 0 3.5rem;
}

.ciego-hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.ciego-hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: var(--ciego-espresso);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.ciego-hero-title .voz {
  font-family: var(--font-voice);
  font-style: italic;
  color: var(--ciego-gold-dark) !important;
}

.ciego-hero-desc {
  font-size: 1.15rem;
  color: var(--ciego-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* Contenedor del Reel de Video */
.video-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-phone-frame {
  width: 100%;
  max-width: 310px;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  border: 4px solid var(--ciego-espresso);
  box-shadow: 0 20px 45px -12px rgba(38, 32, 26, 0.25);
  position: relative;
  aspect-ratio: 9 / 16;
}

.video-phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sección "Lo que hace hoy" con Capturas Reales de Demo */
.ciego-features-section {
  padding: 4rem 0;
  border-top: 1px solid var(--ciego-border);
}

.ciego-section-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.ciego-section-heading h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--ciego-espresso);
  margin-bottom: 0.75rem;
}

.ciego-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

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

.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(38, 32, 26, 0.12);
}

.showcase-card-img-wrap {
  background: #F0ECE4;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  height: 380px;
}

.showcase-card-img-wrap img {
  width: 100%;
  max-width: 260px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.18);
  object-fit: cover;
  display: block;
}

.showcase-card-body {
  padding: 1.75rem;
}

.showcase-card-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ciego-espresso);
  margin-bottom: 0.5rem;
}

.showcase-card-body p {
  font-size: 0.92rem;
  color: var(--ciego-muted);
  line-height: 1.55;
  margin: 0;
}

/* Sección Beta Cerrada */
.ciego-beta-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--ciego-border);
}

.ciego-beta-card {
  background: var(--ciego-espresso);
  color: #F5F2EB;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 20px 40px -10px rgba(38, 32, 26, 0.25);
}

.ciego-beta-card h2 {
  color: #FFF;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}

.ciego-beta-card p {
  color: rgba(245, 242, 235, 0.8);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.ciego-beta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ciego-contact-mail-subtle {
  display: block;
  font-size: 0.82rem;
  color: var(--ciego-muted-light);
  margin-top: 1.5rem;
  text-decoration: underline;
}

.ciego-contact-mail-subtle:hover {
  color: var(--ciego-espresso);
}

/* Barra flotante para móviles (Safe Area) */
.mobile-fixed-cta {
  display: none;
}

@media (max-width: 768px) {
  .ciego-hero-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }

  .ciego-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .actions-group {
    justify-content: center;
  }

  .ciego-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .showcase-card-img-wrap {
    height: 320px;
  }

  .ciego-showcase-home {
    padding: 2rem 1.35rem;
  }

  /* Barra fija en celular con respeto al safe-area-inset */
  .mobile-fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    gap: 0.65rem;
    background: rgba(10, 13, 18, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  .ciego-body .mobile-fixed-cta {
    background: rgba(245, 242, 235, 0.96);
    border-top: 1px solid var(--ciego-border);
    box-shadow: 0 -4px 20px rgba(38, 32, 26, 0.12);
  }

  .mobile-fixed-cta .btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Añadir padding al final del contenido para que la barra flotante no tape nada */
  body {
    padding-bottom: 75px;
  }
}

