@charset "UTF-8";
/* ============================================================
   Landing "Amigos del Club La Juliana" — hero + formulario alta
   ============================================================ */

section.amigos-hero {
  position: relative;
  background: radial-gradient(120% 110% at 12% -5%, #38454f 0%, #26303b 32%, #191e28 78%);
  color: #fff;
  padding: 90px 20px 90px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-family: "Poppins", sans-serif;
}

.amigos-hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.amigos-eyebrow {
  color: #fff;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 14px;
}

.amigos-title {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  color: #fff;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.amigos-title .text-accent { color: #71bbb2; }

.amigos-subtitle {
  color: #fff;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 40px;
}

/* ---------- Formulario ---------- */
.amigos-form { text-align: left; }

.amigos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 26px;
}

.amigos-field input,
.amigos-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #fff;
  color: #fff;
  padding: 16px 18px;
  font-size: 15px;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.amigos-field input::placeholder { color: rgba(255, 255, 255, 0.55); }
.amigos-field input:focus,
.amigos-field select:focus { border-color: #71bbb2; }

.amigos-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.amigos-field select option { color: #191e28; }

/* ---------- Checkboxes ---------- */
.amigos-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  cursor: pointer;
  font-weight: 300;
}
.amigos-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.amigos-check input[type="checkbox"]:checked {
  background: #71bbb2;
  border-color: #71bbb2;
}
.amigos-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #191e28;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.amigos-check a { color: #ffff; text-decoration: underline; }

/* ---------- Botón Enviar ---------- */
.btn-enviar {
  margin-top: 24px;
  background: #fff;
  color: #191e28;
  border: solid 1px #fff;
  border-radius: 0px 25px 25px 0px;
  padding: 14px 70px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.btn-enviar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 100%;
  background-color: #71bbb2;
  transition: width 0.4s ease;
  z-index: -1;
  border-radius: 0px 25px 25px 0px;
}
.btn-enviar:hover { color: #191e28; border-color: #71bbb2; }
.btn-enviar:hover::before { width: 100%; }

/* ---------- Mensajes ---------- */
.amigos-message {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}
.amigos-error {
  background: rgba(217, 83, 79, 0.15);
  border: 1px solid #d9534f;
  color: #f2b5b3;
}
.amigos-success {
  background: rgba(113, 187, 178, 0.15);
  border: 1px solid #71bbb2;
  color: #bfe6e0;
}

/* ---------- Panel de éxito (post-envío) ---------- */
.amigos-success-panel {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  animation: amigos-fade-in 0.5s ease;
}
.amigos-success-logo {
  margin-bottom: 26px;
}
.amigos-success-logo img {
  width: 190px;
  max-width: 60vw;
  height: auto;
}
.amigos-success-check {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: #71bbb2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.amigos-success-check::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 15px;
  width: 13px;
  height: 25px;
  border: solid #191e28;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}
.amigos-success-title {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.amigos-success-text {
  color: #fff;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 34px;
}
.amigos-success-btn {
  display: inline-block;
  text-decoration: none;
}
@keyframes amigos-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  section.amigos-hero { padding: 120px 20px 110px; }
  .amigos-title { font-size: 56px; }
  .amigos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }
}
