: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;
}

/* Limpiamos el estilo de link del style original y forzamos el nuestro */
.link-resaltado, 
nav a.link-resaltado, 
.copy a.link-resaltado {
    /* RESET TOTAL PARA IPHONE */
    color: #dd0173 !important; 
    text-decoration: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
    box-shadow: none;
    
    /* EL DISEÑO QUE BUSCAMOS */
    display: inline-block !important;
    background-color: rgba(21, 21, 21, 0.8) !important; /* Fondo #151515 al 80% */
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 6px !important;
    
    /* Evita que Safari cambie el color al hacer clic */
    -webkit-tap-highlight-color: transparent;
}

/* Forzamos que no cambie a azul ni al pasar el ratón ni al haber sido visitado */
.link-resaltado:visited, 
.link-resaltado:active, 
.link-resaltado:focus {
    color: #dd0173 !important;
}

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