:root {
  --primary: #3877bd;
  --primary-soft: #e3efff;
  --primary-dark: #0a4689;
  --accent: #f4c245;
  --bg-page: #f5f5f5;
  --bg-soft: #ffffff;
  --bg-alt: #0c5ea7;
  --text: #111827;
  --text-muted: #4b5563;
  --border-soft: #d1d5db;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
  --max-width: 1200px;
}

/* GENERAL / RESET */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box !important;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

html,
body,
header,
section,
main {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* LANDING CORE */
.st-landing * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.st-landing {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

.st-landing img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.st-landing main {
  width: 100%;
}

.st-landing a {
  color: inherit;
  text-decoration: none;
}

.st-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

/* HEADER & NAVIGATION */
header,
.st-header-inner {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

.st-header {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid #eaeaea;
  width: 100%;
  position: relative;
}

.st-header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative;
  width: 100%;
}
.st-logo {
  display: flex;
  align-items: center;
}

.st-logo img {
  height: 40px;
  width: auto;
}

.st-header .st-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.st-nav {
  display: flex !important;
  align-items: center;
  gap: 20px !important;
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: auto !important;
}

.st-nav a {
  position: relative;
  padding-bottom: 2px;
}

.st-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary-dark);
  transition: width 0.25s ease;
}

.st-nav a:hover::after {
  width: 100%;
}

.st-burger-toggle {
  display: none;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  padding: 6px 10px;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
}

.st-burger-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary-dark, #0a4689);
  border-radius: 2px;
}

/* HERO SECTION */
.st-hero {
  position: relative;
  padding: 60px 0;
  min-height: 45vh;
  display: flex;
  align-items: center;
  background-image: url("/img/siluettafamigliahero.avif");
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  color: #f9fafb;
}
.st-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15, 23, 42, 0.90) 0%, rgba(15, 23, 42, 0.70) 40%, rgba(15, 23, 42, 0.25) 70%, rgba(15, 23, 42, 0.00) 100%);
  z-index: 0;
}

.st-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  width: 100% !important;
  max-width: 100% !important;
}

.st-hero-text h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(15, 23, 42, 0.65);
  margin-bottom: 10px;
}

.st-hero-text h1 span {
  display: block;
}

.st-hero-text h2 {
  font-size: 1.15rem;
  margin-top: 0;
  font-weight: 500;
  color: #e5e7eb;
  max-width: 34rem;
}

.st-hero-text p {
  margin-top: 8px;
  font-size: 0.98rem;
  color: #cbd5f5;
  max-width: 32rem;
}

.st-hero-buttons {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.st-btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.st-btn-primary:hover {
  background: #ffba0f;
  transform: translateY(-1px);
}

.st-btn-ghost {
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.st-btn-ghost:hover {
  background: #f3f4ff;
  transform: translateY(-1px);
}

/* FORM SECTION & MULTI-STEP */
.st-form-section {
  background: var(--bg-alt);
  padding: 48px 0;
  color: #e5f0ff;
}

#st-form {
  scroll-margin-top: 80px;
}

.st-form-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: flex-start;
}

.st-form-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.st-form-title p {
  margin-top: 10px;
  font-size: 0.98rem;
  color: #dbeafe;
}

.st-form-illustration {
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

.st-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 22px 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text);
  height: auto;
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
}

.st-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.st-ms-header {
  text-align: left;
  margin-bottom: 28px;
}

.st-ms-title {
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.st-form-card .st-ms-title {
  font-size: 1.3rem;
}

.st-ms-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.st-ms-subtitle .st-ms-timer {
  font-weight: 700;
  color: #f97316;
}

.uacf7-form-wrapper-container {
  width: 100% !important;
  max-width: 100% !important;
}

.uacf7-step.step-content {
  border: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.st-ms-step-inner {
  text-align: center;
  margin-top: 20px;
}

.st-ms-step-inner .form-grid,
.st-ms-step-inner .field {
  text-align: left;
}

.st-ms-step-inner .field label {
  display: block;
  text-align: left;
  margin-bottom: 4px;
}

.st-ms-step-inner button,
.st-ms-step-inner .wpcf7-list-item,
.st-ms-step-inner label {
  word-break: break-word;
}

.st-ms-question {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111827;
  margin: 16px 0 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.st-ms-card .form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/*
.st-radio-row {
display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  gap: 12px !important;

}

.st-radio-row .wpcf7-list-item {
margin: 0 !important;
  width: 100% !important;
  display: block !important;

}*/

.st-radio-row input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
/*
.st-radio-row input[type="radio"] + span {
display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  text-align: center;

}

.st-radio-row input[type="radio"]:checked + span {
  border-color: #111827;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
}*/



/* Contenedor principal centrado verticalmente */
.st-radio-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  gap: 12px !important;
}

/* Forzar que cada opción ocupe el mismo contenedor de ancho fijo */
.st-radio-row .wpcf7-list-item {
  margin: 0 !important;
  width: 100% !important;
  max-width: 280px !important; /* Ancho idéntico fijado para ambos botones */
  display: flex !important;
  justify-content: center !important;
}

/* Estilo exacto del botón píldora respetando la apariencia original */
.st-radio-row input[type="radio"] + span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: unset !important;
  padding: 14px 26px !important;
  border-radius: 999px !important;
  border: 2px solid #d1d5db !important;
  background: #f9fafb !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #111827 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
  box-shadow: 0 3px 6px rgba(15,23,42,0.06) !important;
}

/* Mantener el estado seleccionado */
.st-radio-row input[type="radio"]:checked + span {
  border-color: #111827 !important;
  background: #ffffff !important;
  box-shadow: 0 6px 14px rgba(15,23,42,0.14) !important;
}




.st-form-card input[type="text"],
.st-form-card input[type="email"],
.st-form-card input[type="tel"],
.st-form-card textarea,
.st-form-card select,
.st-form-card .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  box-sizing: border-box;
}

.st-ms-card input[type="text"],
.st-ms-card input[type="email"],
.st-ms-card input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 0.98rem;
  background: #f9fafb;
}

.st-form-card label {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.uacf7-wrapper-default label {
  display: inline-block;
  font-weight: 500;
  line-height: inherit;
  margin-bottom: 0px;
  width: 100%;
  margin-top: 10px;
}

.uacf7-step-nav,
.uacf7-navigation {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.uacf7-prev,
.uacf7-next {
  border: none;
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
}

.uacf7-prev {
  background: #e5e7eb;
  color: #374151;
}

.uacf7-next {
  background: #2f9f45;
  color: #ffffff;
}

.uacf7-step.step-start .uacf7-prev {
  display: none !important;
}


.uacf7-step:last-of-type .uacf7-buttons {
  display: none !important;
}

.uacf7-buttons {
  margin-top: 24px !important;
  display: flex !important;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap !important;
  justify-content: flex-start;
}

.uacf7-buttons button,
.uacf7-buttons input[type="button"],
.uacf7-buttons input[type="submit"] {
  min-height: 44px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.st-form-submit {
  margin-top: 24px;
  margin-bottom: 12px;
  width: 100%;
}

.st-form-submit .wpcf7-submit {
  width: 100%;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  background: #f4c245 !important;
  color: #ffffff !important;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}


.st-form-submit .wpcf7-submit:hover {
  background: #e5b338 !important;
  transform: translateY(-1px);
}

.st-ms-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 24px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(17, 24, 39, 0.1) !important;
  position: static !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.st-ms-safe {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #4b5563 !important;
}

.st-ms-safe-dot {
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25) !important;
  flex-shrink: 0 !important;
}


.st-ms-ssl {
  display: flex !important;
  align-items: center !important;
}

.st-ms-ssl img {
  display: block !important;
  max-height: 36px !important;
  width: auto !important;
}

.st-privacy-field {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #4b5563;
}

.st-privacy-field > p {
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0 0 8px;
}

.st-privacy-field > p a {
  text-decoration: underline;
}

.page-id-28 .wpcf7-form .wpcf7-list-item {
  display: block !important;
  width: 100% !important;
  margin: -18px 0 0 0 !important;
  float: none !important;
}

.checkbox-item {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.5;
  width: 100% !important;
  float: none !important;
}

.page-id-28 .wpcf7-form .wpcf7-list-item label,
.checkbox-item label {
  display: inline;
  cursor: pointer;
}

.page-id-28 .wpcf7-form .wpcf7-list-item input[type="checkbox"],
.checkbox-item input[type="checkbox"] {
  vertical-align: middle;
  margin: 0 8px 0 0;
  width: 15px;
  height: 15px;
}

page-id-28 .wpcf7-form .wpcf7-list-item-label,
.checkbox-item .wpcf7-list-item-label {
  display: inline;
  font-size: 12px;
}

.wpcf7-form .wpcf7-acceptance a {
  text-decoration: underline;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.page-id-28 .uacf7-step.step-content .uacf7-next,
.page-id-28 .uacf7-step.step-content .uacf7-prev,
.page-id-28 .uacf7-step.step-content button.uacf7-next,
.page-id-28 .uacf7-step.step-content button.uacf7-prev,
.page-id-28 .uacf7-step.step-content input.uacf7-next,
.page-id-28 .uacf7-step.step-content input.uacf7-prev {
  background: #04953f !important;
  color: #ffffff !important;
  border-radius: 5px !important;
  border: none !important;
  padding: 8px 18px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.page-id-28 .uacf7-step.step-content .uacf7-next,
.page-id-28 .uacf7-step.step-content button.uacf7-next,
.page-id-28 .uacf7-step.step-content input.uacf7-next {
  float: right !important;
  margin-right: 20px !important;
  margin-top: 20px;
}

.page-id-28 .uacf7-step.step-content .uacf7-prev,
.page-id-28 .uacf7-step.step-content button.uacf7-prev,
.page-id-28 .uacf7-step.step-content input.uacf7-prev {
  display: none !important;
}

.page-id-28 .uacf7-step.step-content .uacf7-next:hover,
.page-id-28 .uacf7-step.step-content .uacf7-prev:hover,
.page-id-28 .uacf7-step.step-content button.uacf7-next:hover,
.page-id-28 .uacf7-step.step-content button.uacf7-prev:hover,
.page-id-28 .uacf7-step.step-content input.uacf7-next:hover,
.page-id-28 .uacf7-step.step-content input.uacf7-prev:hover {
  background: #037233 !important;
}

.steps-form .steps-row .steps-step .btn-circle {
  width: auto;
  height: auto;
  text-align: center;
  font-size: 12px;
  line-height: 28px;
  border-radius: 50%;
  margin-top: 0;
  text-decoration: none;
  outline: 0;
  display: inline-block;
  position: relative;
}

.field.field-checkbox {
  margin-top: 16px;
}

.field.field-checkbox p {
  color: #1d1d1d;
  font-size: 0.75rem;
}

/* INFO SECTION */
.st-info-section {
  padding: 64px 0 56px;
  background: #ffffff;
}

.st-section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: var(--primary);
  margin-bottom: 16px;
}


.st-section-lead {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
}

.st-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.st-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 20px 20px;
  border: 2px solid var(--primary-soft);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-card-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid var(--primary-soft);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.st-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.st-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* WHY SECTION */
.st-why-section {
  background: var(--bg-alt);
  padding: 52px 0;
  color: #e5f0ff;
}

.st-why-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.st-why-image {
  max-width: 500px;
  width: 100%;
}

.st-why-text h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.st-why-text p {
  font-size: 1rem;
  color: #e5f0ff;
  margin-bottom: 20px;
}

.st-why-text p span {
  font-weight: 600;
}


.st-why-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* OFFERS SECTION */
.st-offers-section {
  padding: 72px 0 64px;
  background: #f9fafb;
}

.st-offers-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.st-offers-title-wrap {
  margin-bottom: 18px;
}

.st-offers-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 6px;
}

.st-offers-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.st-offers-lead {
  margin-top: 10px;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.st-steps {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.st-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 16px 14px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.st-step-number {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111827;
}

.st-step-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.st-offers-visual {
  position: relative;
  max-width: 360px;
  width: 100%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.st-offers-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  aspect-ratio: 3 / 4;
}

.st-offers-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.st-offers-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.86);
  color: #f9fafb;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.st-offers-cta-card {
  position: static;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px 16px;
  max-width: 100%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.st-offers-cta-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.st-offers-cta-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* FOOTER SECTION */
.st-footer {
  margin-top: 40px;
  width: 100%;
  font-size: 0.85rem;
  color: #ffffff;
}

.st-footer-cta {
  position: relative;
  background: url("/img/manicomputerfooter.avif") center center / cover no-repeat;
  padding: 40px 0;
}

.st-footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.65));
}

.st-footer-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  padding: 0 16px;
  margin: 0 auto;
}


.st-footer-cta h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.st-footer-cta p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #e5e7eb;
}

.st-footer-bottom {
  background: #0b1220;
  padding: 16px 0 18px;
  text-align: center;
  color: #9ca3af;
}

.st-footer-bottom p {
  margin-bottom: 4px;
  line-height: 1.5;
}

.st-footer-bottom span {
  margin: 0 4px;
}

.st-footer-form {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.st-footer-form .wpcf7-form-control-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.st-footer-form input[type="email"],
.st-footer-form .st-footer-input,
.st-footer-form .wpcf7-email {
  width: 100%;
  padding: 20px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.25);
  color: #f9fafb;
  font-size: 1.05rem;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
}

.st-footer-form input[type="email"]::placeholder {
  color: rgba(226, 232, 240, 0.9);
}

.st-footer-form .wpcf7-submit,
.st-footer-form .st-footer-button {
  flex: 0 0 auto;
  padding: 10px 32px;
  border-radius: 14px;
  border: none;
  background: #0061ff;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

/* FOOTER CUSTOM SECTION */
.footer-custom-section {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.footer-custom-section .footer-cta {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  background-image: linear-gradient(
      90deg, 
      rgba(22, 29, 41, 0.95) 0%,
      rgba(22, 29, 41, 0.65) 100%
    ), 
    url('/img/manicomputerfooter.avif');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.footer-custom-section .footer-content {
  max-width: 1100px;
  margin: 0 auto;
}


.footer-custom-section .footer-title {
  color: #ffffff !important;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.footer-custom-section .footer-description {
  color: #cbd5e1 !important;
  font-size: 15px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 0 28px 0;
}

.footer-custom-section .footer-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 700px;
  flex-wrap: wrap;
}

.footer-custom-section .footer-form > div {
  flex: 0 0 100%;
}

.footer-custom-section .footer-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 12px 18px;
  font-size: 14px;
  color: #ffffff;
  outline: none;
}

.footer-custom-section .footer-input::placeholder {
  color: #94a3b8;
}

.footer-custom-section .footer-button {
  background-color: #ffffff;
  color: #0f172a;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.footer-custom-section .footer-bottom {
  background-color: #0b111a;
  padding: 18px 20px;
  text-align: center;
  font-size: 12px;
  color: #8c9ba5;
}

.footer-custom-section .footer-bottom p {
  margin: 0 0 8px 0;
}

.footer-custom-section .footer-links a {
  color: #8c9ba5;
  text-decoration: none;
  margin: 0 6px;
}

.footer-custom-section .footer-links a:hover {
  color: #ffffff;
}

/* MEDIA QUERIES */
@media (max-width: 991px) {
  .st-header-inner { flex-direction: column; align-items: flex-start; }
  .st-nav { flex-wrap: wrap; }
  .st-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .st-form-inner { grid-template-columns: minmax(0, 1fr); }
  .st-form-title { max-width: 100%; }
  .st-why-inner { grid-template-columns: minmax(0, 1fr); }
  .st-why-image { max-width: 300px; margin: 0 auto; }
  .st-offers-inner { grid-template-columns: minmax(0, 1fr); }
  .st-offers-visual { margin: 24px auto 0; }
}

@media screen and (max-width: 768px) {
  .st-container,
  .st-page-banner-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .st-article,
  .st-form-card {
    padding: 24px 18px !important;
  }

  .st-page-banner h1 {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 767px) {
  .st-footer-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .st-footer-form .wpcf7-submit,
  .st-footer-form .st-footer-button {
    width: 100%;
    justify-content: center;
  }

  .st-header-inner { gap: 12px; }
  .st-nav { font-size: 0.9rem; gap: 16px; }
  .st-hero { padding: 32px 0 28px; }
  .st-hero-buttons { gap: 10px; }
  .st-form-section { padding: 40px 0; }
  .st-form-card { padding: 20px 18px 20px; }
  .st-form-row { grid-template-columns: minmax(0, 1fr); }
  .st-info-section { padding: 44px 0 40px; }
  .st-section-title { font-size: 1.6rem; }
  .st-cards { grid-template-columns: minmax(0, 1fr); }
  .st-why-section { padding: 40px 0; }
  .st-offers-section { padding: 48px 0 44px; }
  .st-offers-title { font-size: 1.6rem; }
  .st-step { padding: 14px 14px 12px; }
  .st-offers-visual { max-width: 100%; }
  .st-footer-cta { padding: 32px 0; }


.st-ms-card {
    padding: 20px 16px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .st-radio-row input[type="radio"] + span {
    min-width: 100% !important;
    width: 100%;
  }
  .st-ms-footer {
    flex-direction: column !important;
    gap: 12px;
    text-align: center;
  }

  .st-header-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .st-burger-toggle {
    display: flex !important;
  }

.st-nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-top: 1px solid #eaeaea !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
    z-index: 999 !important;
  }

  .st-nav.active {
    display: flex !important;
  }

  .st-nav a {
    padding: 12px 0 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #f3f4f6 !important;
  }

  .st-nav a:last-child {
    border-bottom: none !important;
  }
}

@media screen and (max-width: 600px) {
  header,
  .st-header-inner {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .st-nav {
    margin-left: 0 !important;
  }
}

@media screen and (max-width: 480px) {
  .uacf7-buttons {
    flex-direction: column-reverse;
    width: 100%;
  }

  .uacf7-buttons button,
  .uacf7-buttons input[type="button"],
  .uacf7-buttons input[type="submit"] {
    width: 100% !important;
    text-align: center;
  }

  .st-page-banner h1 {
    font-size: 1.5rem !important;
  }
}

/* Mantiene el header en una sola fila horizontal en móviles */
@media (max-width: 767px) {
  .st-header-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .st-burger-toggle {
    display: flex !important;
  }
}

/* Eliminar o sobrescribir la regla de 600px para que no rompa la fila */
@media screen and (max-width: 600px) {
  header,
  .st-header-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}



/* Limitar el ancho máximo del contenedor del formulario en tablets y pantallas medianas */
.st-form-section .st-container {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Controlar el tamaño de la tarjeta cuando pasa a 1 sola columna */
@media (max-width: 991px) {
  .st-form-inner {
    grid-template-columns: 1fr !important;
    max-width: 680px !important; /* Evita que el contenedor azul crezca infinitamente */
    margin: 0 auto !important;
  }

  .st-form-card {
    max-width: 100% !important;
    padding: 28px 24px !important;
  }

  .st-form-illustration {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Ajustes finos para móviles */
@media (max-width: 576px) {
  .st-form-inner {
    max-width: 100% !important;
  }

  .st-form-card {
    padding: 20px 16px !important;
  }
}
