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

:root {
  --color-text: #ffffff;
  --color-accent: #7ed36f;
  --color-accent-hover: #6bc25c;
  --color-error: #ff8a80;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background-color: #111;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  /* Capa oscura + foto en blanco y negro. Si falta la imagen, queda el degradado. */
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/fondo.jpg") center / cover no-repeat,
    linear-gradient(135deg, #1c1c1c 0%, #3a3a3a 50%, #151515 100%);
}

.hero__content {
  max-width: 1120px;
  width: 100%;
}

.hero__title {
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.hero__text {
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 2.25rem;
}

.notify {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.notify__input {
  flex: 0 1 360px;
  min-width: 0;
  height: 50px;
  padding: 0 1rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  color: #333;
  background: #fff;
  outline: none;
}

.notify__input::placeholder {
  color: #bbb;
}

.notify__input:focus-visible {
  box-shadow: 0 0 0 3px var(--color-accent);
}

.notify__button {
  height: 50px;
  padding: 0 2rem;
  border: none;
  border-radius: 25px;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-accent);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.notify__button:hover,
.notify__button:focus-visible {
  background: var(--color-accent-hover);
}

.notify__button--link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.notify__message {
  min-height: 1.5em;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.notify__message.is-error {
  color: var(--color-error);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .notify__input,
  .notify__button {
    flex: 1 1 100%;
  }
}
