:root {
  --bg: #151515;
  --fg: #1d1d1f;
  --fg-dark: #f5f5f7;
  --muted: #6e6e73;
  --link: #dd0173;
  --border: 1px solid rgba(0, 0, 0, 0.08);
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

nav {
  position: relative;
  z-index: 10;
  background: rgba(21, 21, 21, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: var(--border);
}
nav ul {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0 24px;
  list-style: none;
  height: 44px;
  align-items: center;
  font-size: 0.82rem;
}
nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}
nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: black;
}
.hero img,
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero img {
  background: black;
  opacity: 0.8;
}
.copy {
  text-align: center;
}
.hero .copy {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  color: #fff;
}
.hero h1 {
  font-size: 4.2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hero h2 {
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0 0 18px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.actions a {
  text-decoration: none;
}
.actions a:hover {
  text-decoration: underline;
}
.hero .actions a {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 12px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  max-width: 1440px;
  margin: 0 auto;
}
.tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #1a1a1a;
  isolation: isolate;
}
.tile.full {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.tile .copy {
  position: relative;
  z-index: 1;
  padding: 56px 24px 0;
  color: var(--fg-dark);
}
.tile .eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  opacity: 0.85;
}
.tile h3 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.tile p {
  font-size: 1.25rem;
  margin: 0 0 18px;
  opacity: 0.92;
}
.tile .actions a {
  color: var(--link);
  font-size: 1.05rem;
  margin: 0 10px;
}

/* --- SECCIÓN LOGOS Y BOTÓN UNIFICADA --- */

.logo-container {
    position: relative;
    z-index: 99;         /* Prioridad máxima */
    display: flex;
    flex-direction: column; /* Asegura que el botón vaya DEBAJO */
    justify-content: center;
    align-items: center;
    gap: 30px;           /* Espacio entre logo y botón */
    padding: 20px;
    margin-top: 50px;   /* Los 150px que querías bajar */
    box-sizing: border-box;
}

/* Forzamos al logo */
.hero .logo-png, 
.logo-png {
    position: relative !important; 
    width: 250px !important;       
    height: auto !important;       
    max-height: 150px;
    inset: auto !important;        
    object-fit: contain !important;
    opacity: 1 !important;         
    margin: 0 !important; /* El espacio lo da el 'gap' del contenedor */
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

/* Estilo del Botón */
.btn-animado {
    display: block !important; /* Forzamos que se muestre */
    position: relative;
    z-index: 100;
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff !important;
    background-color: #dd0173 !important;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #dd0173;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(221, 1, 115, 0.3);
}

.btn-animado:hover {
    background-color: #151515 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Móvil */
@media (max-width: 480px) {
    .logo-container {
        margin-top: 60px; /* En móvil menos margen para que quepa todo */
        gap: 20px;
    }
    .hero .logo-png {
        width: 140px !important;   
    }
    .btn-animado {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

footer {
  padding: 48px 24px 96px;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  border-top: var(--border);
  margin-top: 24px;
}