/* ===== Sección principal ===== */
.landing-cta-section {
  background: linear-gradient(to bottom, #ffffff, #f2f2f2);
  color: #111;
  padding: 4rem 1rem;
  line-height: 1.6;
}

.landing-cta-section .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
  font-weight: bold;
}

.cta-intro {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #222;
}

.cta-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
  text-align: left;
  font-size: 1.1rem;
  color: #1a1a1a;
}

.cta-checklist li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.cta-checklist li::before {
  content: "✔";
  color: #157245;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===== Formulario ===== */
.cta-form-wrapper {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.cta-form-title {
  font-size: 1.75rem;
  color: #004080;
  margin-bottom: 1.5rem;
  text-align: center;
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #111;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #000;
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #157245;
  outline: none;
}

.color-cycle-form .form-group.red {
  border-left: 4px solid #a30000;
  padding-left: 1rem;
}

.color-cycle-form .form-group.blue {
  border-left: 4px solid #003366;
  padding-left: 1rem;
}

.color-cycle-form .form-group.green {
  border-left: 4px solid #0b5e32;
  padding-left: 1rem;
}

/* ===== Botón ===== */
.btn-primary {
  background-color: #ffc107;
  color: #111;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: center;
  text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e6b300;
  outline: 2px solid #000;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }

  .cta-intro {
    font-size: 1.1rem;
  }

  .cta-checklist {
    font-size: 1rem;
  }

  .cta-form-title {
    font-size: 1.5rem;
  }

  .formulario {
    padding: 0;
  }

  .btn-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #00bcd4;
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
  }
}

/* ===== WhatsApp flotante ===== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  font-size: 1rem;
  z-index: 1000;
  transition: background 0.3s;
}

.floating-whatsapp-btn:hover {
  background: #1ebc5c;
}

/* ===== Instagram flotante ===== */
.floating-instagram-btn {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background: #d6249f;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  font-size: 1rem;
  z-index: 1000;
  transition: background 0.3s;
}

.floating-instagram-btn:hover {
  background: #b41e89;
}

/* ===== Top Bar Urgente ===== */
.top-bar-urgente {
  background-color: #00bcd4;
  color: white;
  text-align: center;
  padding: 0.6rem;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===== Exit Popup ===== */
.exit-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.exit-popup-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.exit-popup-content p {
  font-size: 1.2rem;
  margin: 0;
}

.exit-popup .btn-primary {
  margin-top: 1rem;
  display: inline-block;
}

.exit-popup .btn-primary {
  margin-top: 1rem;
}

.exit-popup.hidden {
  display: none;
}

/* ===== Botón sticky mobile ===== */
  .btn-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #00bcd4;
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .btn-sticky:hover {
    background-color: #0097a7;
  }


/* EXIT CLOSE BTN */
.exit-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.2s ease;
}

.exit-close:hover {
  color: #000;
}

.exit-popup-content {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ===== Nuevos campos: selects, teléfono y fieldsets ===== */
.form-group select {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #000;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  transition: border 0.3s ease;
}

.form-group select:focus {
  border-color: #157245;
  outline: none;
}

/* Teléfono */
.form-group input[type="tel"] {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #000;
  transition: border 0.3s ease;
}

.form-group input[type="tel"]:focus {
  border-color: #157245;
  outline: none;
}

/* Fieldset */
form fieldset {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

form legend {
  font-size: 1.3rem;
  font-weight: bold;
  color: #004080;
  margin-bottom: 1rem;
}

/* Estética adicional para selects en mobile */
@media (max-width: 600px) {
  .form-group select {
    font-size: 1rem;
  }
}

.mobile-menu {
  display: none;
}

.mobile-menu.show {
  display: block;
}

.mobile-menu.hidden {
  display: none;
}