.card2 {
  background: #eff5f3;
  border: 1px solid #9ec2bb;
  border-radius: 2px;
  padding: 3rem 3rem 2.5rem;
  width: 100%;
  max-width: 600px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 0 0 6px #eff5f3,
    inset 0 0 0 7px #9ec2bb;
  position: relative;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (max-width: 768px) {
  .card2 {
    max-width: 360px;
    padding: 2rem 1.5rem 2rem;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card2::before {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: #eff5f3;
  padding: 0 0.5rem;
  color: #9ec2bb;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.header .eyebrow {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #9ec2bb;
  margin-bottom: 0.75rem;
}

.header h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 2.1rem;
  color: #848383;
  line-height: 1.2;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #9ec2bb, transparent);
}

.divider em {
  font-style: normal;
  color: #848383;
  font-size: 15px;
  letter-spacing: 0.3em;
}

/* Fields */
.field {
  display: block;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.field:nth-child(1) {
  animation-delay: 0.1s;
}
.field:nth-child(2) {
  animation-delay: 0.18s;
}
.field:nth-child(3) {
  animation-delay: 0.26s;
}
.field:nth-child(4) {
  animation-delay: 0.34s;
}

label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #848383;
  margin-bottom: 0.55rem;
}

input[type="text"],
input[type="tel"],
input[type="number"],
select {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #848383;
  background: #ffffff;
  border: 1px solid #9ec2bb;
  border-radius: 2px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus {
  border-color: #7aada0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(158, 194, 187, 0.2);
}

input::placeholder {
  color: #b8ceca;
  font-weight: 300;
}

/* Select wrapper with arrow */
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #9ec2bb;
  pointer-events: none;
}

select {
  cursor: pointer;
  padding-right: 2.5rem;
}

/* Radio group for asistencia */
.radio-group {
  display: flex;
  gap: 0.75rem;
}

.radio-option {
  flex: 1;
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid #9ec2bb;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #848383;
  transition: all 0.2s;
  margin-bottom: 0;
}

.radio-option label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #9ec2bb;
  transition: all 0.2s;
  flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + label {
  background: #9ec2bb;
  border-color: #9ec2bb;
  color: #fff;
}

.radio-option input[type="radio"]:checked + label::before {
  background: #fff;
  border-color: #fff;
}

.radio-option label:hover {
  border-color: #7aada0;
  background: #e0efec;
}

/* Número de personas — oculto por defecto */
.field-personas {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    margin-bottom 0.3s ease;
}

.field-personas.visible {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 1.5rem;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 0.9rem;
  margin-top: 0.5rem;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  background: #9ec2bb;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-submit:hover {
  background: #7aada0;
}
.btn-submit:active {
  transform: scale(0.98);
}

/* Success state */
.success-msg {
  display: none;
  text-align: center;
  padding: 1.5rem 0 0.5rem;
  animation: fadeUp 0.5s ease both;
}

.success-msg .check {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #9ec2bb;
}

.success-msg p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: #848383;
}

.success-msg small {
  display: block;
  margin-top: 0.4rem;
  font-size: 15px;
  letter-spacing: 0.15em;
  color: #848383;
}

.footer-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 15px;
  letter-spacing: 0.15em;
  color: #848383;
  text-transform: uppercase;
}
