/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins", sans-serif;
  background: hsl(184, 60%, 96%);
  color: hsl(195, 50%, 20%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

#logos {
  /* margin-top: -2rem; */
}

.owl-item.active {
  display: flex;
  justify-content: center;
}

.item-logo {
  width: 66%;
  height: 9rem;
}

.item-logo.crc {
  width: 85%;
}

section.hero {
  margin-bottom: -3.5rem;
}

#intro {
  padding-top: 16rem !important;
}

/* ─── SUCCESS SCREEN ─── */
.success-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: hsl(184, 60%, 96%);
}
.success-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  max-width: 28rem;
  text-align: center;
  animation: fadeScale 0.5s ease-out;
}
.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: hsl(184, 100%, 48%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(195, 50%, 20%);
  margin-bottom: 1rem;
}
.success-card p {
  color: hsl(195, 30%, 40%);
  margin-bottom: 0.5rem;
}
.success-card .small {
  color: hsl(195, 30%, 50%);
  font-size: 0.875rem;
}

/* ─── HERO ─── */
.hero {
  background-color: #00e2f4;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  padding-bottom: 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* width: 100%; */
  right: 15%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0 1.5rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) {
  .hero-content {
    padding: 2.5rem 3rem 0 3rem;
  }
}
.hero-logo img {
  height: 2rem;
}
@media (min-width: 768px) {
  .hero-logo img {
    height: 2.5rem;
  }
}
.hero-text {
  max-width: 28rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .hero-text {
    max-width: 32rem;
  }
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: hsl(195, 50%, 15%);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}
.hero-text h1 {
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.15;
  color: hsl(195, 50%, 12%);
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
}
@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}
.hero-text p {
  color: hsl(195, 40%, 20%);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .hero-text p {
    font-size: 1rem;
  }
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 3.5rem;
  padding: 0 2.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  background: hsl(195, 50%, 15%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}
.btn-dark:hover {
  background: hsl(195, 50%, 20%);
}

.hero-image {
  display: none;
  position: absolute;
  right: 2rem;
  bottom: 3rem;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-image {
    display: flex;
    right: -8rem;
  }

  .hero-image img {
    height: 100%;
    height: 34rem;
  }
}

.hero-image img {
  /* height: 28rem; */
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}
@media (min-width: 1024px) {
  .hero-image img {
    height: 100%;
  }
  .hero-image {
    height: 30rem;
    right: 0;
  }
}
@media (min-width: 1200px) {
  #intro {
    padding-top: 15rem !important;
  }
  .hero-image {
    right: 20%;
  }
  .item-logo,
  .item-logo.crc {
    width: 80% !important;
  }
}
@media (min-width: 1800px) {
  #intro {
    padding-top: 12rem !important;
  }
  .hero-image {
    right: 26%;
  }

  .item-logo {
    width: 16rem;
  }
}

.partner-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: #001e27;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.partner-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 300;
  white-space: nowrap;
  /* display: none; */
}
@media (min-width: 768px) {
  .partner-label {
    display: block;
  }
}

/* ─── INTRO ─── */
.intro {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 0;
}
@media (min-width: 768px) {
  .intro {
    padding: 3.5rem 1rem 0;
  }
}

/* ─── CARDS ─── */
.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid hsl(184, 40%, 90%);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .card {
    padding: 2rem 2.5rem;
  }
}

.intro-card .accent-bar {
  width: 100%;
  height: 0.375rem;
  background: linear-gradient(
    to right,
    hsl(184, 100%, 48%),
    hsl(184, 80%, 60%)
  );
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.intro-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .intro-card h2 {
    font-size: 1.5rem;
  }
}
.intro-card p {
  color: hsl(195, 30%, 35%);
  margin-bottom: 1rem;
}

.time-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(184, 60%, 96%);
  border: 1px solid hsl(184, 40%, 88%);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
}
.time-badge span {
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(195, 50%, 20%);
}

/* ─── FORM SECTION ─── */
.form-section {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: hsl(195, 50%, 20%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.icon-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: hsl(184, 100%, 48%);
  color: hsl(195, 50%, 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

/* ─── FIELDS ─── */
.field {
  margin-bottom: 1.25rem;
}
.field:last-child {
  margin-bottom: 0;
}
.field label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: hsl(195, 50%, 25%);
  margin-bottom: 0.375rem;
}
.required {
  color: #ef4444;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  height: 3rem;
  border: 1px solid hsl(184, 30%, 85%);
  border-radius: 0.75rem;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: hsl(195, 50%, 20%);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input:focus {
  border-color: hsl(184, 100%, 48%);
  box-shadow: 0 0 0 3px hsla(184, 100%, 48%, 0.15);
}
.field input.input-error {
  border-color: #f87171;
  background: #fef2f2;
}

.error-msg {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}
.error-msg.visible {
  display: block;
}

/* ─── QUESTION CARDS ─── */
.question-card {
  transition: border-color 0.2s;
  margin: 1rem 0;
}
.question-card.has-error {
  border-color: #fca5a5;
}

.question-header {
  font-weight: 600;
  font-size: 1rem;
  color: hsl(195, 50%, 20%);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .question-header {
    font-size: 1.125rem;
  }
}

.question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: hsla(184, 100%, 48%, 0.15);
  color: hsl(184, 100%, 35%);
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.question-description {
  color: hsl(195, 30%, 50%);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  padding-left: 2.25rem;
}

.options {
  margin-top: 1rem;
  padding-left: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.option-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid hsl(184, 30%, 90%);
  border-radius: 0.75rem;
  padding: 0.875rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.option-label:hover {
  border-color: hsl(184, 60%, 70%);
}
.option-label.selected {
  border-color: hsl(184, 100%, 48%);
  background: hsl(184, 60%, 96%);
}

.option-label input[type="radio"],
.option-label input[type="checkbox"] {
  margin-top: 0.125rem;
  flex-shrink: 0;
  accent-color: hsl(184, 100%, 48%);
  width: 1rem;
  height: 1rem;
}

.option-label span {
  font-size: 0.875rem;
  color: hsl(195, 40%, 30%);
  line-height: 1.5;
}

.question-error {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  padding-left: 2.25rem;
  display: none;
}
.question-error.visible {
  display: block;
}

/* Text input inside question */
.question-input {
  margin-top: 1rem;
  padding-left: 2.25rem;
}
.question-input input {
  width: 100%;
  height: 3rem;
  border: 1px solid hsl(184, 30%, 85%);
  border-radius: 0.75rem;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: hsl(195, 50%, 20%);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.question-input input:focus {
  border-color: hsl(184, 100%, 48%);
  box-shadow: 0 0 0 3px hsla(184, 100%, 48%, 0.15);
}

/* ─── SUBMIT ─── */
.submit-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 3.5rem;
  padding: 0 2.5rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  background: hsl(184, 100%, 48%);
  color: hsl(195, 50%, 15%);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 8px 24px hsla(184, 100%, 48%, 0.25);
  transition: background 0.2s;
}
.btn-submit:hover {
  background: hsl(184, 100%, 42%);
}

.disclaimer {
  color: hsl(195, 30%, 55%);
  font-size: 0.75rem;
  text-align: center;
  max-width: 28rem;
}

.back-top {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 2rem;
}
.back-top button {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(195, 30%, 55%);
  font-size: 0.875rem;
  font-family: inherit;
  transition: color 0.2s;
}
.back-top button:hover {
  color: hsl(184, 100%, 40%);
}

/* ─── Animations ─── */
@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
