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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  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;
}

.hero img,
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero img {
  background: black;
  opacity: 0.3;
}

.copy {
  text-align: center;
}

/* --- Modificaciones en style.css --- */

.hero {
  position: relative;
  width: 100%;
  /* Cambiamos aspect-ratio fijo por altura dinámica */
  min-height: 100vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: black;
}

.hero .copy {
  position: relative; /* Cambiado de absolute para mejor control */
  transform: none;
  top: 0;
  padding: 20px;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}

.hero .logo {
  position: relative;
  max-width: 300px;
  min-height: 209px; 
  text-align: center !important;
  background: transparent;
  opacity: 1.0 !important;
}

/* Tipografía Responsiva usando clamp() */
.hero h1 {
  /* Tamaño mínimo 2rem, ideal 8vw, máximo 4.2rem */
  color: #fff;
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  font-weight: 600;
  letter-spacing: 0.1em; /* Un poco más de aire para el logo */
  margin: 0 0 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.hero h2 {
  color: #fff;
  font-size: clamp(1rem, 4vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  margin: 0 0 24px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}

/* Ajustes para el enlace "by ROIELLA" */
.hero .actions a {
  color: #fff;
  font-size: clamp(0.7rem, 3vw, 1.1rem);
  letter-spacing: 12px; /* Reducido para pantallas pequeñas */
  display: inline-block;
}

.actions a {
  text-decoration: none;
  color: #aaa;
  letter-spacing: 12px;
}
.actions a:hover {
  color: #fff;
}

/* Media Query para móviles extremos o ajustes finos */
@media (max-width: 600px) {
  .hero h1 {
    letter-spacing: 0.05em; /* Menos espacio para que no rompa línea */
  }
  .hero .actions a {
    letter-spacing: 4px;
  }
}