:root {
  --navy: #020a3e;
  --navy-mid: #0a1a5c;
  --coral: #ff3b5c;
  --coral-soft: #ff6b82;
  --cream: #f6f1ea;
  --ink: #12131a;
  --muted: #5c6170;
  --card: rgba(255, 255, 255, 0.88);
  --line: rgba(2, 10, 62, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 59, 92, 0.22), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(10, 26, 92, 0.35), transparent 50%),
    linear-gradient(165deg, #f7f3ee 0%, #e8eef8 45%, #f3ebe6 100%);
}

.bg-glow {
  position: fixed;
  inset: auto -20% -30% auto;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 59, 92, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
}

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

.brand img {
  width: clamp(130px, 34vw, 170px);
  height: auto;
  aspect-ratio: 900 / 303;
  object-fit: contain;
}

.top-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--coral);
  text-decoration: none;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-cta-ghost {
  color: var(--navy);
  opacity: 0.85;
}

.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.lead {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--coral-soft);
}

.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.strip {
  max-width: 920px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.strip article {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.strip h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

.strip p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}

.survey {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
  min-width: 0;
}

#survey-form {
  min-width: 0;
  max-width: 100%;
}

.survey-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy);
}

.survey-head p {
  margin: 0.5rem 0 1.5rem;
  color: var(--muted);
  line-height: 1.5;
}

form fieldset {
  margin: 0 0 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

form > fieldset > legend {
  padding: 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.hint {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  min-width: 0;
  max-width: 100%;
}

.field:last-child {
  margin-bottom: 0;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.field select {
  /* Safari: el min-width intrínseco del <select> rompe el contenedor */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23020a3e' d='M1.4 0.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.choice {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
  background: transparent;
}

.choice .sub {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.choice label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.choice input {
  margin-top: 0.2rem;
}

.hidden {
  display: none !important;
}

.form-error {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 59, 92, 0.12);
  color: #a01835;
  font-size: 0.92rem;
}

.thanks {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.thanks h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
}

.thanks p {
  margin: 0;
  color: var(--muted);
}

.foot {
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

.foot a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.foot span:first-child {
  font-weight: 700;
  color: var(--navy);
}
