/* ========================================
   Reset & Base Styles (shared)
   ======================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

.mobile-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background-color: #f5f5f5;
  position: relative;
  min-height: 100vh;
}

/* ========================================
   index.html — Hero Banner
   ======================================== */

body.page-index {
  padding-bottom: 84px;
}

.hero-banner {
  width: 100%;
  min-height: 230px;
  padding: 28px 24px 42px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.24), transparent 140px),
    linear-gradient(135deg, #019df4 0%, #0066b3 100%);
  display: flex;
  align-items: center;
  color: #ffffff;
}

.banner-content {
  width: 100%;
}

.banner-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.banner-title {
  font-size: 2.15rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 360px;
}

.banner-price {
  margin-top: 12px;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 850;
}

.banner-price span {
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 700;
  opacity: 0.92;
}

.banner-subtitle {
  max-width: 360px;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.4;
  opacity: 0.95;
}

.banner-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 14px;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.35;
}

.banner-points li {
  position: relative;
  padding-left: 16px;
  opacity: 0.96;
}

.banner-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
}

/* ========================================
   index.html — Form Card
   ======================================== */

.form-card {
  background-color: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 24px 24px 28px;
  margin-top: -24px;
  position: relative;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}

.form-card h2 {
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  color: #2a2a2a;
}

.form-subtitle {
  max-width: 340px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.42;
  color: #666;
}

/* Input Styling */
.input-group {
  position: relative;
  margin-bottom: 12px;
}

.input-group input {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 48px;
  font-size: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: #333;
}

.input-group input:focus {
  border-color: #019df4;
  box-shadow: 0 0 0 4px rgba(1, 157, 244, 0.12);
}

.input-group input::placeholder {
  color: #a0a0a0;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: #a0a0a0;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #c53030;
  font-size: 0.78rem;
  font-weight: 600;
}

.field-error:empty {
  display: none;
}

/* Checkbox Styling */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  cursor: pointer;
}

.checkbox-group input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  min-width: 20px;
  height: 20px;
  background-color: #fff;
  border: 2px solid #019df4;
  border-radius: 4px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checkbox-group input:checked ~ .checkmark::after {
  content: "\2713";
  color: #019df4;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #555;
}

.checkbox-text a {
  color: #019df4;
  text-decoration: none;
  font-weight: 600;
}

/* CTA Button */
.btn-submit {
  width: 100%;
  background-color: #e63780;
  color: white;
  border: none;
  border-radius: 28px;
  height: 56px;
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(230, 55, 128, 0.3);
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
}

.btn-submit:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(230, 55, 128, 0.3);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-message {
  min-height: 20px;
  margin-top: 12px;
  text-align: center;
  color: #0f8f5f;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 700;
}

.form-message.error {
  color: #c53030;
}

.trust-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eeeeee;
}

.trust-item {
  font-size: 0.85rem;
  line-height: 1.38;
  color: #555;
}

.trust-item strong {
  display: block;
  color: #2a2a2a;
  font-weight: 800;
}

.urgency-text {
  text-align: center;
  font-size: 0.82rem;
  color: #555;
  margin-top: 10px;
  line-height: 1.4;
}

.urgency-text strong {
  color: #2a2a2a;
  font-weight: 700;
}

/* ========================================
   index.html — Sticky Bottom Bars
   ======================================== */

.sticky-call {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: min(100%, 480px);
  background-color: #ffffff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  z-index: 100;
  transform: translateX(-50%);
}

.call-info p {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 2px;
}

.call-info strong {
  font-size: 1.05rem;
  color: #2a2a2a;
}

.btn-call {
  background-color: #019df4;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.sticky-whatsapp {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 100;
  border-top: 2px solid #25D366;
}

.wa-content {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.wa-content p {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 2px;
  font-weight: 500;
}

.wa-content strong {
  font-size: 1.1rem;
  color: #128C7E;
  font-weight: 700;
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-whatsapp:active {
  transform: scale(0.96);
  box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}

/* ========================================
   gracias.html — Thank You Page
   ======================================== */

body.page-gracias {
  min-height: 100vh;
}

.page-gracias .mobile-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px;
  background:
    radial-gradient(circle at top, rgba(1, 157, 244, 0.12), transparent 260px),
    #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.success-card {
  background-color: #ffffff;
  border-radius: 26px;
  padding: 34px 24px 28px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.status-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background-color: rgba(1, 157, 244, 0.10);
  color: #0066b3;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.icon-wrapper {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background-color: rgba(15, 143, 95, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper svg {
  width: 38px;
  height: 38px;
  fill: #0f8f5f;
}

.page-gracias h1 {
  font-size: 1.62rem;
  font-weight: 850;
  color: #2a2a2a;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.main-message {
  max-width: 340px;
  margin: 0 auto 24px;
  font-size: 0.95rem;
  line-height: 1.46;
  color: #555555;
}

.main-message strong {
  color: #019df4;
  font-weight: 800;
}

/* WhatsApp Action */
.action-box {
  background-color: #f8fbfe;
  border: 1px solid #e2edf6;
  border-radius: 18px;
  padding: 20px 16px;
  margin-bottom: 26px;
  text-align: left;
}

.action-box h2 {
  font-size: 1rem;
  line-height: 1.25;
  color: #2a2a2a;
  font-weight: 850;
  margin-bottom: 6px;
}

.action-box p {
  font-size: 0.88rem;
  line-height: 1.4;
  color: #555555;
  margin-bottom: 16px;
}

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  border-radius: 28px;
  background-color: #25D366;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 850;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-wa:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.24);
}

.btn-wa svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

/* Preparation Box */
.prep-box {
  margin-bottom: 26px;
  padding: 16px;
  border-radius: 16px;
  background-color: #fff8fb;
  border: 1px solid rgba(230, 55, 128, 0.16);
  text-align: left;
}

.prep-box h2 {
  font-size: 0.96rem;
  color: #2a2a2a;
  margin-bottom: 6px;
  font-weight: 850;
}

.prep-box p {
  font-size: 0.86rem;
  line-height: 1.4;
  color: #555555;
}

/* Next Steps */
.next-steps {
  text-align: left;
  border-top: 1px solid #eeeeee;
  padding-top: 24px;
  display: grid;
  gap: 16px;
}

.next-steps-title {
  font-size: 1rem;
  font-weight: 850;
  color: #2a2a2a;
  margin-bottom: 2px;
}

.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-number {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background-color: #019df4;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.step-text {
  font-size: 0.86rem;
  line-height: 1.42;
  color: #666666;
}

.step-text strong {
  color: #2a2a2a;
  display: block;
  margin-bottom: 2px;
  font-weight: 850;
}

.legal-note {
  margin-top: 22px;
  font-size: 0.74rem;
  line-height: 1.35;
  color: #777777;
  text-align: center;
}

.secondary-link {
  display: inline-block;
  margin-top: 18px;
  color: #019df4;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 750;
}

@media (min-width: 720px) {
  body.page-gracias {
    background-color: #eaf5ff;
  }

  .page-gracias .mobile-wrapper {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

