*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 50% at 50% 38%, rgba(47, 128, 255, 0.72) 0%, transparent 55%),
    radial-gradient(ellipse 60% 35% at 50% 48%, rgba(100, 190, 255, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #02060f 0%, #07101f 22%, #0c1a36 42%, #1a3a6e 58%, #dce8f6 78%, #f6f7f9 100%);
}

.hero__blob {
  pointer-events: none;
  position: absolute;
  inset: 14% 8% auto;
  height: 48%;
  border-radius: 999px;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(47, 128, 255, 0.7),
    rgba(77, 184, 255, 0.25) 45%,
    transparent 70%
  );
  filter: blur(48px);
  z-index: 0;
}

.hero__stars {
  pointer-events: none;
  position: absolute;
  inset: 0 0 42%;
  opacity: 0.65;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 28% 42%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 44% 14%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 62% 32%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 78% 22%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 88% 48%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 18% 58%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 52% 62%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 35% 8%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 70% 55%, rgba(255, 255, 255, 0.3), transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(56rem, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: -6vh;
}

/* Misma tipografía viva del hero en obrelia.local (Outfit), no el wordmark del SVG */
.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 0 0.35rem;
}

.hero__mark {
  width: clamp(2.5rem, 7vw, 3.25rem);
  height: auto;
  flex-shrink: 0;
}

.hero__name {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero__text {
  margin: 0;
  width: 100%;
  font-size: clamp(0.8rem, 2.9vw, 1.625rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.96);
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.hero__accent {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
}

.hero__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.hero__mail {
  color: rgba(11, 53, 88, 0.72);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.hero__mail:hover {
  color: #0b3558;
  text-decoration: underline;
}
