/* =====================================================
   NEWSLETTER SUBSCRIPTION MODULE - PIRATE SAILOR
   Sistema profesional de suscripción con guía de regalo
   ===================================================== */

.guide-section {
  padding: 48px 0 24px;
  background: linear-gradient(180deg, 
    rgba(10, 37, 64, 0.02) 0%, 
    rgba(255, 255, 255, 0) 100%);
}

.nautic-guide {
  border: 3px solid #0066a1;
  border-radius: 16px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98), 
    rgba(240, 248, 255, 0.95));
  box-shadow: 0 8px 32px rgba(0, 102, 161, 0.12),
              0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 48px 40px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Decoración náutica sutil */
.nautic-guide::before {
  content: '⚓';
  position: absolute;
  top: -20px;
  right: 40px;
  font-size: 120px;
  opacity: 0.04;
  pointer-events: none;
  color: #0066a1;
}

.nautic-guide-head {
  text-align: center;
  margin-bottom: 32px;
}

/* Badge "Newsletter" */
.nautic-guide-head::before {
  content: '📬 NEWSLETTER EXCLUSIVA';
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #06a9b7 0%, #0066a1 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(6, 169, 183, 0.3);
}

.nautic-guide-head h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
  color: #0a2540;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nautic-guide-head p {
  margin: 18px auto 0;
  max-width: 760px;
  color: #2c3e50;
  font-size: 17px;
  line-height: 1.6;
}

/* Bloque de beneficios */
.newsletter-benefits {
  background: linear-gradient(to right, 
    rgba(6, 169, 183, 0.08), 
    rgba(0, 102, 161, 0.06));
  border-left: 4px solid #06a9b7;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 28px auto 32px;
  max-width: 780px;
}

.newsletter-benefits h3 {
  margin: 0 0 18px 0;
  font-size: 18px;
  color: #0a2540;
  font-weight: 700;
  text-align: center;
}

.newsletter-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.newsletter-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #2c3e50;
}

.newsletter-benefits li::before {
  content: '⚓';
  font-size: 18px;
  color: #06a9b7;
  flex: 0 0 auto;
}

/* Gift box */
.newsletter-gift {
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.15), 
    rgba(255, 193, 7, 0.10));
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 20px;
  margin: 24px auto 32px;
  max-width: 780px;
  text-align: center;
}

.newsletter-gift::before {
  content: '🎁';
  display: block;
  font-size: 40px;
  margin-bottom: 12px;
}

.newsletter-gift p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #856404;
  line-height: 1.5;
}

.newsletter-gift strong {
  color: #0a2540;
  font-size: 18px;
}

/* Formulario premium */
.guide-form {
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.guide-form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.guide-form input[type="text"],
.guide-form input[type="email"] {
  padding: 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.guide-form input[type="text"]:focus,
.guide-form input[type="email"]:focus {
  border-color: #06a9b7;
  box-shadow: 0 0 0 3px rgba(6, 169, 183, 0.1);
  outline: none;
}

.guide-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 18px;
  transition: border-color 0.3s ease;
}

.guide-checkbox-row:hover {
  border-color: #06a9b7;
}

.guide-checkbox-row input[type='checkbox'] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 1px;
  flex: 0 0 20px;
  cursor: pointer;
  accent-color: #06a9b7;
}

.guide-checkbox-row label {
  color: #2c3e50;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
  min-height: unset !important;
  display: block !important;
  align-items: unset !important;
  flex: 1;
}

.guide-checkbox-row a {
  color: #0066a1;
  text-decoration: underline;
  font-weight: 600;
}

.guide-checkbox-row a:hover {
  color: #06a9b7;
}

.guide-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* Botón de suscripción premium */
.guide-cta-row .btn {
  min-width: 280px;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #06a9b7 0%, #0066a1 100%);
  border: none;
  box-shadow: 0 6px 20px rgba(6, 169, 183, 0.35);
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.guide-cta-row .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6, 169, 183, 0.45);
}

.guide-cta-row .btn:active {
  transform: translateY(0);
}

.guide-cta-row .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Status messages */
.guide-status {
  margin: 0;
  padding: 14px 20px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 600;
  display: none;
  text-align: center;
  width: 100%;
}

.guide-status.is-visible {
  display: block;
}

.guide-status.is-success {
  background: linear-gradient(135deg, 
    rgba(60, 159, 108, 0.15), 
    rgba(46, 125, 50, 0.10));
  border-color: #3c9f6c;
  color: #1f5a3d;
}

.guide-status.is-error {
  background: linear-gradient(135deg, 
    rgba(184, 64, 64, 0.15), 
    rgba(211, 47, 47, 0.10));
  border-color: #b84040;
  color: #7a2121;
}

/* Fallback download */
.guide-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, 
    rgba(6, 169, 183, 0.08), 
    rgba(0, 102, 161, 0.06));
  border: 2px solid #06a9b7;
  border-radius: 12px;
  color: #2c3e50;
  font-size: 15px;
  margin-top: 20px;
}

.guide-fallback.is-visible {
  display: flex;
}

.guide-fallback span {
  font-weight: 600;
  font-size: 16px;
}

.guide-fallback a {
  color: #0066a1;
  text-decoration: underline;
  font-weight: 700;
  font-size: 15px;
}

.guide-fallback a:hover {
  color: #06a9b7;
}

.guide-fallback button {
  border: 2px solid #06a9b7;
  background: #ffffff;
  color: #0066a1;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.guide-fallback button:hover {
  background: #06a9b7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 169, 183, 0.3);
}

/* Privacy note */
.guide-privacy-note {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* Honeypot anti-spam */
.guide-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 900px) {
  .nautic-guide {
    padding: 36px 28px;
  }

  .nautic-guide-head h2 {
    font-size: 32px;
  }

  .newsletter-benefits ul {
    gap: 12px;
  }

  .guide-form-row {
    grid-template-columns: 1fr;
  }

  .guide-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .guide-cta-row .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .guide-section {
    padding: 32px 0 16px;
  }

  .nautic-guide {
    padding: 28px 20px;
    border-width: 2px;
  }

  .nautic-guide::before {
    font-size: 80px;
    right: 10px;
    top: -10px;
  }

  .nautic-guide-head::before {
    font-size: 10px;
    padding: 6px 16px;
  }

  .nautic-guide-head h2 {
    font-size: 26px;
  }

  .nautic-guide-head p {
    font-size: 15px;
  }

  .newsletter-benefits {
    padding: 18px 20px;
  }

  .newsletter-benefits h3 {
    font-size: 16px;
  }

  .newsletter-benefits li {
    font-size: 14px;
  }

  .newsletter-gift {
    padding: 16px;
  }

  .newsletter-gift::before {
    font-size: 32px;
  }

  .newsletter-gift p {
    font-size: 14px;
  }

  .newsletter-gift strong {
    font-size: 16px;
  }

  .guide-form input[type="text"],
  .guide-form input[type="email"] {
    padding: 14px 16px;
    font-size: 14px;
  }

  .guide-checkbox-row {
    padding: 12px 14px;
  }

  .guide-checkbox-row label {
    font-size: 13px;
  }

  .guide-cta-row .btn {
    padding: 16px 24px;
    font-size: 15px;
  }

  .guide-privacy-note {
    font-size: 12px;
  }
}
