:root {
  --bg: #050608;
  --card: rgba(13, 16, 22, 0.88);
  --card-border: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --muted: #b9bec8;
  --orange: #ff7a00;
  --orange-2: #ffb000;
  --telegram: #27a7e7;
  --whatsapp: #25d366;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 122, 0, 0.24), transparent 34%),
    radial-gradient(circle at 84% 28%, rgba(255, 176, 0, 0.14), transparent 34%),
    linear-gradient(135deg, #020305 0%, #0d1016 55%, #050608 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
}

.page {
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 48px);
}

.card {
  width: min(1180px, 100%);
  position: relative;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--card-border);
  border-radius: clamp(20px, 4vw, 34px);
  background: var(--card);
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  backdrop-filter: blur(18px);
}

.sound-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  max-width: calc(100% - 36px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  padding: 9px 13px;
  cursor: pointer;
  white-space: nowrap;
  z-index: 2;
}

.layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero {
  text-align: left;
}

.logo {
  width: min(520px, 100%);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 28px;
  filter: drop-shadow(0 0 24px rgba(255, 122, 0, 0.25));
}

.eyebrow {
  color: var(--orange-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  margin: 0 0 14px;
}

h1 {
  max-width: 650px;
  font-size: clamp(2.65rem, 5.6vw, 5.65rem);
  line-height: 0.94;
  margin: 0 0 22px;
  letter-spacing: -0.065em;
}

.intro {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}

.btn,
.submit {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  color: #071014;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
}

.btn:hover,
.submit:hover,
.sound-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-whatsapp {
  background: var(--whatsapp);
}

.btn-telegram {
  background: var(--telegram);
  color: white;
}

.form-wrap {
  width: 100%;
}

.form {
  text-align: left;
  width: 100%;
  margin: 0;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 28px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
}

.form h2 {
  text-align: center;
  margin: 0 0 20px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

label {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  color: white;
  background: rgba(0,0,0,0.32);
  outline: none;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(255, 122, 0, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

.submit {
  width: 100%;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
}

.small {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  margin: 18px 0 0;
  text-align: center;
}

/* Pantallas grandes */
@media (min-width: 1400px) {
  .card {
    width: min(1320px, 100%);
  }

  .logo {
    width: min(580px, 100%);
  }
}

/* Tablet y portátil estrecho */
@media (max-width: 900px) {
  .page {
    align-items: flex-start;
    padding: 14px;
  }

  .card {
    width: 100%;
    padding-top: 58px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    text-align: center;
  }

  .logo {
    width: min(430px, 96%);
    margin: 0 auto 22px;
  }

  h1,
  .intro {
    margin-left: auto;
    margin-right: auto;
  }

  .actions {
    justify-content: center;
  }

  .form {
    max-width: 620px;
    margin: 0 auto;
  }
}

/* Móvil */
@media (max-width: 520px) {
  .page {
    padding: 10px;
  }

  .card {
    border-radius: 22px;
    padding: 54px 14px 20px;
  }

  .sound-btn {
    top: 12px;
    right: 12px;
    font-size: 0.86rem;
    padding: 8px 11px;
  }

  .logo {
    width: min(310px, 100%);
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .form {
    border-radius: 20px;
    padding: 16px;
  }
}

/* Móvil muy pequeño */
@media (max-width: 360px) {
  .card {
    padding-left: 10px;
    padding-right: 10px;
  }

  h1 {
    font-size: 1.85rem;
  }

  .logo {
    width: 270px;
  }
}
