/*
 * landing.css — Estilos específicos para páginas landing (welcome, nutriologo, legal).
 * Se carga junto con preline.css; NO reemplaza el bundle codebase del app autenticado.
 * Incluye utilidades compat con Bootstrap/Codebase usadas en blades legacy + estilos de sección.
 */

/* ==========================================================================
   Bootstrap compat — variables, layout, grid, utilidades usadas en landing blades
   ========================================================================== */

:root {
  --bs-primary: #2a2068;
  --bs-primary-rgb: 42, 32, 104;
  --bs-success: #22C55E;
  --bs-success-rgb: 34, 197, 94;
  --bs-warning: #d97706;
  --bs-warning-rgb: 217, 119, 6;
  --bs-body-color: #3e444a;
  --bs-body-bg: #ffffff;
  --bs-border-color: #e4e7ed;
  --bs-border-radius: 0.375rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: #221a54;
}

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

/* --- Layout --- */
#page-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
}

#main-container {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  max-width: 100%;
}

.content {
  width: 100%;
  margin: 0 auto;
  padding: 0.575rem 0.875rem 1px;
  overflow-x: visible;
}

.content.content-full {
  padding-bottom: 0.875rem;
}

.content.content-boxed {
  max-width: 1200px;
}

@media (min-width: 768px) {
  .content {
    padding: 0.75rem 1.75rem 1px;
  }
  .content.content-full {
    padding-bottom: 1.75rem;
  }
}

.container-fluid {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

/* --- Grid --- */
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.g-3 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.g-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }

@media (min-width: 992px) {
  .g-lg-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
  .g-lg-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }
}

.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }

@media (min-width: 576px) {
  .col-sm-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
}

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
}

@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
}

/* --- Display & flex --- */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

@media (min-width: 576px) {
  .d-sm-block { display: block !important; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-inline-flex { display: inline-flex !important; }
}

.flex-column { flex-direction: column !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

@media (min-width: 768px) {
  .flex-md-row { flex-direction: row !important; }
  .flex-md-nowrap { flex-wrap: nowrap !important; }
}

@media (min-width: 992px) {
  .flex-lg-row { flex-direction: row !important; }
}

.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-stretch { align-items: stretch !important; }

@media (min-width: 992px) {
  .align-items-lg-center { align-items: center !important; }
}

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }

@media (min-width: 768px) {
  .justify-content-md-start { justify-content: flex-start !important; }
  .justify-content-md-end { justify-content: flex-end !important; }
}

@media (min-width: 992px) {
  .justify-content-lg-start { justify-content: flex-start !important; }
  .justify-content-lg-end { justify-content: flex-end !important; }
}

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

@media (min-width: 992px) {
  .gap-lg-2 { gap: 0.5rem !important; }
  .gap-lg-4 { gap: 1.5rem !important; }
}

/* --- Spacing --- */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !important; }

@media (min-width: 768px) {
  .mb-md-0 { margin-bottom: 0 !important; }
}

@media (min-width: 992px) {
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mb-lg-5 { margin-bottom: 3rem !important; }
  .mt-lg-0 { margin-top: 0 !important; }
}

.mx-2 { margin-right: 0.5rem !important; margin-left: 0.5rem !important; }
.mx-auto { margin-right: auto !important; margin-left: auto !important; }

@media (min-width: 992px) {
  .mx-lg-0 { margin-right: 0 !important; margin-left: 0 !important; }
}

.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }

.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-auto { margin-left: auto !important; }

.p-0 { padding: 0 !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }

.px-1 { padding-right: 0.25rem !important; padding-left: 0.25rem !important; }
.px-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; }

.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

@media (min-width: 992px) {
  .py-lg-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .py-lg-7 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
  .p-lg-5 { padding: 3rem !important; }
}

.pt-0 { padding-top: 0 !important; }
.pt-3 { padding-top: 1rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.pe-0 { padding-right: 0 !important; }

/* --- Text & typography --- */
.text-primary { color: var(--bs-primary) !important; }
.text-success { color: var(--bs-success) !important; }
.text-muted { color: #6c757d !important; }
.text-dark { color: #343a40 !important; }
.text-warning { color: var(--bs-warning) !important; }
.text-body { color: var(--bs-body-color) !important; }
.text-dual { color: #6b7280 !important; }
.text-white { color: #fff !important; }
.text-secondary { color: #6c757d !important; }

.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-center { text-align: center !important; }

@media (min-width: 768px) {
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
}

@media (min-width: 992px) {
  .text-lg-start { text-align: left !important; }
}

.text-uppercase { text-transform: uppercase !important; }
.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }

.fs-xs { font-size: 0.75rem !important; }
.fs-sm { font-size: 0.875rem !important; }
.fs-md { font-size: 1rem !important; }
.fs-lg { font-size: 1.25rem !important; }

.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }

.h2 { font-size: calc(1.325rem + 0.9vw); }
.h5 { font-size: 1.25rem; }
.h6 { font-size: 1rem; }

@media (min-width: 1200px) {
  .h2 { font-size: 2rem; }
}

.small, small { font-size: 0.875em; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  border-radius: var(--bs-border-radius);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background-color: #221a54;
  border-color: #221a54;
}

.btn-success {
  color: #fff;
  background-color: var(--bs-success);
  border-color: var(--bs-success);
}

.btn-success:hover,
.btn-success:focus {
  color: #fff;
  background-color: #16a34a;
  border-color: #16a34a;
}

.btn-soft-primary,
a.btn-soft-primary {
  border-radius: 0.75rem;
  transition: color 0.25s ease, background-color 0.25s ease;
  color: #6c757d;
  background-color: transparent;
  border: none;
  text-decoration: none;
  padding: 0.5rem 1rem;
}

.btn-soft-primary:hover,
.btn-soft-primary.active,
.btn-soft-primary:focus,
a.btn-soft-primary:hover,
a.btn-soft-primary.active,
a.btn-soft-primary:focus {
  color: var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), 0.12);
}

.btn-lg,
a.btn-lg {
  padding: 0.75rem 1.25rem;
  border-radius: 0.875rem;
  font-size: 1.125rem;
}

.btn-link {
  font-weight: 400;
  color: var(--bs-link-color);
  text-decoration: none;
  background-color: transparent;
  border-color: transparent;
}

.btn-link:hover {
  color: var(--bs-link-hover-color);
}

.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.375rem;
  opacity: 0.5;
  cursor: pointer;
}

.btn-close:hover {
  opacity: 0.75;
}

/* --- Badge & backgrounds --- */
.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}

.bg-primary { background-color: var(--bs-primary) !important; color: #fff !important; }
.bg-success { background-color: var(--bs-success) !important; color: #fff !important; }
.bg-light { background-color: #f8f9fa !important; color: #212529 !important; }
.bg-warning { background-color: var(--bs-warning) !important; color: #fff !important; }
.bg-white { background-color: #fff !important; }
.bg-dark { background-color: #343a40 !important; color: #fff !important; }

/* --- Block cards --- */
.block {
  margin-bottom: 1.75rem;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(220, 225, 232, 0.5);
}

.block-rounded,
.block.block-rounded {
  border-radius: 0.875rem 1rem;
}

.block-content {
  width: 100%;
  margin: 0 auto;
  padding: 1.625rem 1.625rem 1px;
  overflow-x: visible;
}

.block-content-full,
.block-content.block-content-full {
  padding-bottom: 1.625rem;
}

.legal-doc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--bs-body-color);
}

.legal-doc h2,
.legal-doc h3 {
  color: #1A2B49;
}

.legal-doc a {
  color: var(--bs-primary);
}

.legal-doc ul {
  padding-left: 1.25rem;
}

/* --- Navbar (visual only) --- */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-item { list-style: none; }

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--bs-primary);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.nav-link:hover {
  color: #221a54;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2842, 32, 104, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.collapse:not(.show) {
  display: none;
}

.collapse.show {
  display: block;
}

@media (min-width: 992px) {
  .collapse.navbar-collapse {
    display: flex !important;
  }
}

/* --- Accordion (visual, old look) --- */
.accordion {
  --bs-accordion-color: #3e444a;
  --bs-accordion-bg: #fff;
  --bs-accordion-border-color: #e4e7ed;
  --bs-accordion-border-radius: 0.75rem;
  --bs-accordion-btn-padding-x: 1.25rem;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-btn-color: #1A2B49;
  --bs-accordion-btn-bg: #fff;
  --bs-accordion-active-color: var(--bs-primary);
  --bs-accordion-active-bg: rgba(42, 32, 104, 0.06);
}

.accordion-item {
  color: var(--bs-accordion-color);
  background-color: var(--bs-accordion-bg);
  border: 1px solid var(--bs-accordion-border-color);
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
  font-size: 1rem;
  color: var(--bs-accordion-btn-color);
  text-align: left;
  background-color: var(--bs-accordion-btn-bg);
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
  cursor: pointer;
}

.accordion-button:not(.collapsed) {
  color: var(--bs-accordion-active-color);
  background-color: var(--bs-accordion-active-bg);
  box-shadow: inset 0 -1px 0 var(--bs-accordion-border-color);
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232a2068'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.accordion-button:focus {
  z-index: 3;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(42, 32, 104, 0.2);
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-body {
  padding: 1rem 1.25rem;
}

.accordion-collapse.collapse:not(.show) {
  display: none;
}

.accordion-collapse.collapse.show {
  display: block;
}

/* --- Modal base (Preline overlay compat) --- */
.modal {
  --bs-modal-zindex: 1055;
  --bs-modal-width: 500px;
  --bs-modal-padding: 1rem;
  --bs-modal-margin: 0.5rem;
  --bs-modal-bg: #fff;
  --bs-modal-border-radius: 0.875rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--bs-modal-zindex);
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal.show,
.modal.fade.show {
  display: block;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: var(--bs-modal-margin);
  pointer-events: none;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

.modal.show .modal-dialog {
  transform: none;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: var(--bs-modal-bg);
  background-clip: padding-box;
  border-radius: var(--bs-modal-border-radius);
  outline: 0;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1rem 1rem;
  gap: 0.5rem;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.show { opacity: 0.5; }

/* --- Alert --- */
.alert {
  position: relative;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--bs-border-radius);
}

.alert-warning {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5;
}

/* --- Misc utilities --- */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-16x9 { --bs-aspect-ratio: 56.25%; }

.shadow { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; }
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; }

.rounded-2 { border-radius: 0.375rem !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-4 { border-radius: 0.75rem !important; }
.rounded-circle { border-radius: 50% !important; }

.border { border: 1px solid var(--bs-border-color) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--bs-border-color) !important; }
.border-bottom { border-bottom: 1px solid var(--bs-border-color) !important; }
.border-warning { border-color: var(--bs-warning) !important; }

.w-100 { width: 100% !important; }
.w-lg-auto { width: 100% !important; }
.h-100 { height: 100% !important; }

@media (min-width: 992px) {
  .w-lg-auto { width: auto !important; }
}

.position-relative { position: relative !important; }

/* --- Landing footer & WhatsApp float --- */
.tctk-footer {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tctk-footer .btn.btn-soft-primary {
  border-radius: 999px;
}

.tctk-whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tctk-whatsapp-float:hover {
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.tctk-whatsapp-float svg {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .tctk-whatsapp-float:not(:hover) {
    animation: tctkWhatsappBob 2.8s ease-in-out infinite;
  }
}

@keyframes tctkWhatsappBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ==========================================================================
   Welcome page section styles
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.20;
    text-wrap: balance;
}

.badge {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: 0.13em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    #main-container .text-success {
        color: transparent !important;
        background: linear-gradient(90deg, #8CC63F, #22C55E, #8CC63F);
        background-size: 200% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        text-shadow: 0 8px 28px rgba(34, 197, 94, 0.18);
    }
}

@keyframes tctkShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: no-preference) {
    #main-container .text-success {
        animation: tctkShine 3.8s ease-in-out infinite;
    }
}

#funciona {
    scroll-margin-top: 5rem;
}

#funciona .funciona-headline {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.15;
}

#funciona .funciona-intro {
    color: #5a6478;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 34rem;
}

#funciona .funciona-timeline {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

#funciona .funciona-timeline__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

#funciona .funciona-timeline__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding-bottom: 2rem;
}

#funciona .funciona-timeline__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 7.6rem;
    bottom: 0.35rem;
    left: 50%;
    width: 0;
    border-left: 2px dashed #cfd5e1;
    transform: translateX(-50%);
    z-index: 0;
}

#funciona .funciona-timeline__item:last-child {
    padding-bottom: 0;
}

#funciona .funciona-timeline__circle {
    position: relative;
    z-index: 1;
    width: 7.25rem;
    height: 7.25rem;
    border-radius: 50%;
    border: 2.5px solid #2a2068;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

#funciona .funciona-timeline__badge {
    position: absolute;
    top: -0.15rem;
    left: -0.15rem;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: #8CC63F;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(140, 198, 63, 0.35);
}

#funciona .funciona-timeline__sparkle {
    position: absolute;
    color: #8CC63F;
    font-size: 0.7rem;
    line-height: 1;
    pointer-events: none;
}

#funciona .funciona-timeline__sparkle--1 {
    top: 0.85rem;
    right: 1.1rem;
}

#funciona .funciona-timeline__sparkle--2 {
    bottom: 1.1rem;
    left: 0.95rem;
    font-size: 0.55rem;
}

#funciona .funciona-timeline__icon {
    position: relative;
    width: 3.4rem;
    height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#funciona .funciona-timeline__title {
    color: #1A2B49;
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.25;
}

#funciona .funciona-timeline__desc {
    margin-top: 0.3rem;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 18rem;
}

#funciona .ft-phone {
    position: relative;
    width: 2.15rem;
    height: 3.35rem;
    border: 2px solid #2a2068;
    border-radius: 0.4rem;
    background: #fff;
    display: block;
}

#funciona .ft-phone__screen {
    position: absolute;
    inset: 0.35rem 0.28rem 0.45rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

#funciona .ft-avatar {
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    background: #d8d6ef;
    border: 1.5px solid #2a2068;
}

#funciona .ft-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #2a2068;
    border-radius: 999px;
    opacity: 0.55;
}

#funciona .ft-line--short {
    width: 70%;
}

#funciona .ft-phone__screen--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.12rem;
    font-size: 0.72rem;
    line-height: 1;
    place-items: center;
}

#funciona .ft-badge {
    position: absolute;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    z-index: 2;
}

#funciona .ft-badge--check,
#funciona .ft-badge--cam,
#funciona .ft-badge--money {
    background: #8CC63F;
}

#funciona .ft-badge--check {
    right: -0.45rem;
    bottom: -0.2rem;
}

#funciona .ft-badge--cam {
    right: -0.45rem;
    top: -0.25rem;
}

#funciona .ft-badge--money {
    right: -0.55rem;
    bottom: -0.15rem;
}

#funciona .ft-badge--fire {
    right: -0.55rem;
    bottom: -0.35rem;
    width: 1.35rem;
    height: 1.35rem;
    background: transparent;
    font-size: 1rem;
}

#funciona .ft-badge--reward {
    right: -0.5rem;
    bottom: -0.2rem;
    background: #e4578c;
}

#funciona .ft-wallet {
    position: relative;
    width: 2.6rem;
    height: 2.2rem;
    display: block;
}

#funciona .ft-wallet__bills {
    position: absolute;
    left: 50%;
    top: -0.15rem;
    width: 1.35rem;
    height: 1.1rem;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #b7e06a 0%, #8CC63F 100%);
    border: 1.5px solid #2a2068;
    border-radius: 0.15rem;
}

#funciona .ft-wallet__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.55rem;
    background: #5b4bb3;
    border: 2px solid #2a2068;
    border-radius: 0.35rem;
}

#funciona .ft-wallet__body::after {
    content: '';
    position: absolute;
    right: 0.35rem;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border: 1.5px solid #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
}

#funciona .ft-calendar {
    position: relative;
    width: 2.55rem;
    height: 2.45rem;
    display: block;
}

#funciona .ft-calendar__header {
    height: 0.7rem;
    background: #5b4bb3;
    border: 2px solid #2a2068;
    border-bottom: 0;
    border-radius: 0.35rem 0.35rem 0 0;
}

#funciona .ft-calendar__body {
    height: 1.75rem;
    background: #fff;
    border: 2px solid #2a2068;
    border-radius: 0 0 0.35rem 0.35rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    color: #8CC63F;
    font-size: 0.7rem;
    font-weight: 800;
}

#funciona .ft-gift {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    display: block;
}

#funciona .ft-gift__box {
    position: absolute;
    left: 0.15rem;
    right: 0.15rem;
    bottom: 0;
    height: 1.55rem;
    background: #8CC63F;
    border: 2px solid #2a2068;
    border-radius: 0.25rem;
}

#funciona .ft-gift__lid {
    position: absolute;
    left: 0;
    right: 0;
    top: 0.55rem;
    height: 0.55rem;
    background: #9fd84f;
    border: 2px solid #2a2068;
    border-radius: 0.2rem;
}

#funciona .ft-gift__bow {
    position: absolute;
    left: 50%;
    top: 0.05rem;
    width: 0.85rem;
    height: 0.7rem;
    transform: translateX(-50%);
    background: #5b4bb3;
    border: 2px solid #2a2068;
    border-radius: 50% 50% 40% 40%;
}

#funciona .ft-gift__box::before,
#funciona .ft-gift__lid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2a2068;
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    #funciona .funciona-timeline {
        max-width: 58rem;
    }

    #funciona .funciona-timeline__list {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
        gap: 0.75rem;
    }

    #funciona .funciona-timeline__item {
        padding-bottom: 0;
    }

    #funciona .funciona-timeline__item:not(:last-child)::after {
        top: 3.6rem;
        bottom: auto;
        left: calc(50% + 3.7rem);
        right: calc(-50% + 3.7rem);
        width: auto;
        height: 0;
        border-left: 0;
        border-top: 2px dashed #cfd5e1;
        transform: none;
    }

    #funciona .funciona-timeline__desc {
        max-width: 11.5rem;
        margin-left: auto;
        margin-right: auto;
    }
}

#hero {
    scroll-margin-top: 5rem;
}

#hero .hero-stack {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.75rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

#hero .hero-copy {
    width: 100%;
}

#hero .hero-headline {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.15;
}

#hero .hero-subtext {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #5a6478;
    max-width: 34rem;
}

#hero .hero-cta-main {
    width: 100%;
    max-width: 28rem;
    border-radius: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

#hero .hero-cta-install {
    background: #fff;
    border: 2px solid #2a2068;
    color: #2a2068;
}

#hero .hero-cta-install:hover {
    background: #f0eefa;
    color: #2a2068;
    border-color: #2a2068;
}

#hero .hero-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 1.25rem 0.75rem 1.5rem;
}

#hero .hero-illustration--video {
    max-width: 18rem;
}

#hero .hero-illustration__arc {
    position: absolute;
    width: min(118%, 22rem);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 3px solid rgba(140, 198, 63, 0.35);
    background: radial-gradient(circle at 30% 70%, rgba(140, 198, 63, 0.08) 0%, transparent 55%);
    z-index: 0;
}

#hero .hero-illustration__sparkle {
    position: absolute;
    font-size: 1.1rem;
    z-index: 2;
    line-height: 1;
    pointer-events: none;
}

#hero .hero-illustration__sparkle--1 {
    top: 8%;
    right: 4%;
    color: #8CC63F;
}

#hero .hero-illustration__sparkle--2 {
    bottom: 10%;
    left: 2%;
    color: #3D3B8E;
    font-size: 0.95rem;
}

#hero .hero-illustration__sparkle--3 {
    top: 42%;
    left: -2%;
    color: #8CC63F;
    font-size: 0.85rem;
}

#hero .hero-video-frame,
#exito .exito-winner .hero-video-frame {
    position: relative;
    z-index: 1;
    width: min(100%, 17rem);
    aspect-ratio: 9 / 16;
    border-radius: 1rem;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 18px 40px rgba(26, 43, 73, 0.18);
    transform: rotate(-2deg);
}

#hero .hero-video-frame__poster,
#hero .hero-video-frame__video,
#exito .exito-winner .hero-video-frame__poster,
#exito .exito-winner .hero-video-frame__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center;
}

#hero .hero-video-frame__poster,
#exito .exito-winner .hero-video-frame__poster {
    background:
        linear-gradient(145deg, rgba(42, 32, 104, 0.92), rgba(61, 59, 142, 0.88)),
        radial-gradient(circle at 70% 20%, rgba(140, 198, 63, 0.25), transparent 45%);
    z-index: 1;
}

#hero .hero-video-frame__video,
#exito .exito-winner .hero-video-frame__video {
    opacity: 0;
    pointer-events: none;
    background: #111827;
}

#hero .hero-video-frame.is-ready .hero-video-frame__video,
#exito .exito-winner .hero-video-frame.is-ready .hero-video-frame__video,
#hero .hero-video-frame.is-playing .hero-video-frame__video,
#exito .exito-winner .hero-video-frame.is-playing .hero-video-frame__video {
    opacity: 1;
    z-index: 3;
}

#hero .hero-video-frame.is-ready:not(.is-playing) .hero-video-frame__video,
#exito .exito-winner .hero-video-frame.is-ready:not(.is-playing) .hero-video-frame__video {
    pointer-events: none;
}

#hero .hero-video-frame.is-playing .hero-video-frame__video,
#exito .exito-winner .hero-video-frame.is-playing .hero-video-frame__video {
    pointer-events: auto;
}

#hero .hero-video-frame.is-ready .hero-video-frame__poster,
#hero .hero-video-frame.is-ready .hero-video-frame__spinner,
#hero .hero-video-frame.is-playing .hero-video-frame__poster,
#hero .hero-video-frame.is-playing .hero-video-frame__spinner,
#exito .exito-winner .hero-video-frame.is-ready .hero-video-frame__poster,
#exito .exito-winner .hero-video-frame.is-ready .hero-video-frame__spinner,
#exito .exito-winner .hero-video-frame.is-playing .hero-video-frame__poster,
#exito .exito-winner .hero-video-frame.is-playing .hero-video-frame__spinner {
    opacity: 0;
    pointer-events: none;
}

#hero .hero-video-frame__spinner,
#exito .exito-winner .hero-video-frame__spinner {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 3.25rem;
    height: 3.25rem;
    display: none;
    align-items: center;
    justify-content: center;
}

#hero .hero-video-frame.is-loading .hero-video-frame__spinner,
#exito .exito-winner .hero-video-frame.is-loading .hero-video-frame__spinner {
    display: inline-flex;
}

#hero .hero-video-frame.is-loading .hero-video-frame__unmute,
#exito .exito-winner .hero-video-frame.is-loading .hero-video-frame__unmute {
    display: none !important;
}

#hero .hero-video-frame__spinner-ring,
#exito .exito-winner .hero-video-frame__spinner-ring {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    animation: hero-video-spin 0.8s linear infinite;
}

@keyframes hero-video-spin {
    to {
        transform: rotate(360deg);
    }
}

#hero .hero-video-frame__unmute,
#exito .exito-winner .hero-video-frame__unmute {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 4.5rem;
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: 1rem;
    background: rgba(26, 43, 73, 0.78);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    backdrop-filter: blur(4px);
}

#hero .hero-video-frame__unmute[hidden],
#exito .exito-winner .hero-video-frame__unmute[hidden] {
    display: none !important;
}

#hero .hero-video-frame__unmute i,
#exito .exito-winner .hero-video-frame__unmute i {
    font-size: 1.75rem;
    line-height: 1;
}

#hero .hero-video-frame__unmute span,
#exito .exito-winner .hero-video-frame__unmute span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

#hero .hero-video-frame__unmute:hover,
#exito .exito-winner .hero-video-frame__unmute:hover {
    background: rgba(42, 32, 104, 0.92);
}

@media (min-width: 992px) {
    #hero .hero-stack {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2.5rem 3rem;
        max-width: 68rem;
    }

    #hero .hero-copy {
        flex: 1 1 0;
        max-width: 34rem;
    }

    #hero .hero-cta-main {
        width: auto;
        max-width: none;
    }

    #hero .hero-illustration--video {
        flex: 0 0 auto;
        max-width: 20rem;
    }

    #hero .hero-video-frame,
    #exito .exito-winner .hero-video-frame {
        width: min(100%, 19rem);
    }

    #hero .hero-illustration__arc {
        width: min(120%, 24rem);
    }
}

#pacientes {
    scroll-margin-top: 5rem;
}

#pacientes .pacientes-headline {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.15;
}

#pacientes .pacientes-subtext {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #5a6478;
    max-width: 520px;
}

#pacientes .pacientes-cta-stack {
    max-width: 340px;
}

#pacientes .pacientes-cta-stack .btn {
    width: 100%;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    border-radius: 0.65rem;
    font-weight: 600;
}

#pacientes .pacientes-cta-secondary {
    background: #f0f2f6;
    border: none;
    color: #3D3B8E;
}

#pacientes .pacientes-cta-secondary:hover {
    background: #e4e8ef;
    color: #3D3B8E;
}

#pacientes .pacientes-features-panel {
    background: #f5f6fa;
    border-radius: 0.85rem;
    padding: 1.75rem 1.25rem 1.35rem;
}

#pacientes .pacientes-features {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 1.35rem;
}

#pacientes .pacientes-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.85rem;
    min-width: 0;
}

#pacientes .pacientes-feature-divider {
    width: 1px;
    height: 4.5rem;
    background: #dde1e8;
    flex-shrink: 0;
}

#pacientes .pacientes-feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    flex-shrink: 0;
    margin-bottom: 0.85rem;
}

#pacientes .pacientes-feature-icon--lavender { background: #ebe8f4; }
#pacientes .pacientes-feature-icon--blue { background: #e6edf5; }
#pacientes .pacientes-feature-icon--peach { background: #f3ebe6; }

#pacientes .pacientes-feature-title {
    color: #1A2B49;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

#pacientes .pacientes-feature-desc {
    color: #6b7280;
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0;
    max-width: 11rem;
}

#pacientes .pacientes-closing {
    margin: 0;
    color: var(--bs-primary, #3D3B8E);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    letter-spacing: -0.01em;
}

#pacientes .pacientes-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

#pacientes .pacientes-visual__circle {
    position: absolute;
    width: min(88%, 380px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #3D3B8E;
    z-index: 0;
}

#pacientes .pacientes-visual__rings {
    position: absolute;
    width: min(95%, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.22);
    z-index: 0;
}

#pacientes .pacientes-visual__rings::before {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.14);
}

#pacientes .pacientes-visual__dots {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 6rem;
    background-image: radial-gradient(circle, #d1d5db 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.55;
    z-index: 0;
}

.welcome-phone-mock {
    --phone-width: 212px;
    width: var(--phone-width);
    max-width: calc(100% - 1.5rem);
    margin-left: auto;
    margin-right: auto;
    border-radius: 2.5rem;
    background: linear-gradient(160deg, #222 0%, #0a0a0a 100%);
    padding: 0.38rem;
    box-shadow:
        0 28px 64px rgba(26, 43, 73, 0.28),
        0 10px 28px rgba(61, 59, 142, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.welcome-phone-mock__screen {
    border-radius: 2.1rem;
    background: #f5f6fa;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 9 / 19.5;
    position: relative;
    isolation: isolate;
}

.welcome-phone-mock__island {
    position: absolute;
    top: 0.42rem;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 1.05rem;
    background: #0a0a0a;
    border-radius: 999px;
    z-index: 20;
    pointer-events: none;
}

#pacientes .pacientes-phone {
    position: relative;
    z-index: 1;
    transform: rotate(-4deg);
}

#pacientes .pacientes-phone__screen {
    font-size: 0.52rem;
}

#pacientes .pacientes-phone__scroll {
    flex: 1;
    overflow: hidden;
    padding: 1.65rem 0.4rem 0.2rem;
}

#pacientes .ph-welcome {
    position: relative;
    border-radius: 0.85rem;
    background: var(--bs-primary, #2a2068);
    color: #fff;
    padding: 0.55rem 2.4rem 0.55rem 0.55rem;
    margin-bottom: 0.4rem;
    box-shadow: 0 2px 8px rgba(42, 32, 104, 0.22);
    background-image:
        radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.14) 0, transparent 42%),
        radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.1) 0, transparent 38%);
}

#pacientes .ph-welcome__name {
    font-weight: 700;
    font-size: 0.72rem;
    margin: 0 0 0.1rem;
    line-height: 1.2;
}

#pacientes .ph-welcome__phrase {
    margin: 0;
    font-size: 0.52rem;
    opacity: 0.92;
    line-height: 1.35;
}

#pacientes .ph-welcome__avatar {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#pacientes .ph-block {
    background: #fff;
    border-radius: 0.65rem;
    padding: 0.45rem;
    margin-bottom: 0.35rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#pacientes .ph-block--wind {
    border-color: rgba(42, 32, 104, 0.12);
    box-shadow: 0 2px 8px rgba(26, 43, 73, 0.05);
}

#pacientes .ph-appointment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

#pacientes .ph-label {
    color: #6b7280;
    font-size: 0.5rem;
    display: block;
    margin-bottom: 0.1rem;
}

#pacientes .ph-appointment__time {
    font-weight: 800;
    font-size: 0.95rem;
    color: #1A2B49;
    line-height: 1;
    margin-bottom: 0.1rem;
}

#pacientes .ph-appointment__date {
    color: #9ca3af;
    font-size: 0.48rem;
    text-transform: uppercase;
}

#pacientes .ph-appointment__avatar {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 1.5px solid var(--bs-primary, #2a2068);
    object-fit: cover;
    flex-shrink: 0;
}

#pacientes .ph-progress {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.2rem 0 0.35rem;
    margin-bottom: 0.15rem;
}

#pacientes .ph-progress__ring {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

#pacientes .ph-progress__ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

#pacientes .ph-progress__ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.48rem;
    color: #1A2B49;
}

#pacientes .ph-section-title {
    font-weight: 700;
    color: #1A2B49;
    font-size: 0.62rem;
    margin-bottom: 0.08rem;
}

#pacientes .ph-muted {
    color: #9ca3af;
    font-size: 0.48rem;
    margin: 0;
}

#pacientes .ph-wallet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

#pacientes .ph-wallet__amount {
    font-weight: 800;
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.1;
}

#pacientes .ph-wallet__amount--success { color: #22C55E; }
#pacientes .ph-wallet__amount--danger { color: #ef4444; }

#pacientes .ph-btn-soft {
    background: rgba(42, 32, 104, 0.1);
    color: var(--bs-primary, #2a2068);
    border: none;
    border-radius: 0.35rem;
    padding: 0.15rem 0.35rem;
    font-size: 0.46rem;
    font-weight: 600;
    white-space: nowrap;
}

#pacientes .ph-metric__value {
    font-weight: 800;
    font-size: 0.72rem;
    color: #1A2B49;
    margin: 0;
    line-height: 1.1;
}

#pacientes .ph-metrics-row {
    display: flex;
    gap: 0.35rem;
}

#pacientes .ph-metrics-row .ph-block {
    flex: 1;
    margin-bottom: 0;
}

.welcome-phone-mock__nav {
    display: flex;
    align-items: flex-end;
    gap: 0.1rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.3rem 0.2rem 0.45rem;
    flex-shrink: 0;
}

.welcome-phone-mock__nav-item {
    flex: 1;
    text-align: center;
    color: #6c757d;
    font-size: 0.44rem;
    font-weight: 500;
    padding: 0.2rem 0.1rem;
    border-radius: 0.45rem;
    min-width: 0;
}

.welcome-phone-mock__nav-item.active {
    color: var(--bs-primary, #2a2068);
    background: rgba(42, 32, 104, 0.1);
}

.welcome-phone-mock__nav-item i {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.08rem;
}

.welcome-phone-mock__nav-logo {
    flex: 0 0 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 1.6rem;
    overflow: visible;
}

.welcome-phone-mock__nav-logo span {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem;
    transform: translateY(-0.35rem);
}

.welcome-phone-mock__nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    #pacientes .pacientes-features-panel {
        padding: 1.35rem 0.75rem 1.1rem;
    }

    #pacientes .pacientes-features {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 1.1rem;
    }

    #pacientes .pacientes-feature-divider {
        display: none;
    }

    #pacientes .pacientes-feature {
        padding: 0;
    }

    #pacientes .pacientes-feature-desc {
        max-width: 16rem;
    }

    #pacientes .pacientes-closing {
        font-size: 1.2rem;
        padding: 0 0.25rem;
    }
}

@media (max-width: 991.98px) {
    #pacientes .pacientes-visual {
        min-height: 500px;
        margin-top: 1.5rem;
    }

    #pacientes .pacientes-phone {
        transform: none;
    }

    #pacientes .pacientes-cta-stack {
        max-width: 100%;
    }

    #pacientes .pacientes-visual__dots {
        display: none;
    }
}

#ultimo-paso {
    scroll-margin-top: 5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

#ultimo-paso .up-headline {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.15;
}

#ultimo-paso .up-subtext {
    color: #5a6478;
    max-width: 520px;
}

#ultimo-paso .up-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

#ultimo-paso .up-feature__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.65rem;
    background: #ebe8f4;
    color: #3D3B8E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

#ultimo-paso .up-feature__text {
    color: #5a6478;
    margin: 0;
    padding-top: 0.15rem;
}

#ultimo-paso .up-feature__text strong {
    color: #1A2B49;
    font-weight: 700;
}

#ultimo-paso .up-cta-btn {
    border-radius: 0.65rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
}

#ultimo-paso .up-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin-top: 1.25rem;
}

#ultimo-paso .up-social__avatars {
    display: flex;
    align-items: center;
}

#ultimo-paso .up-social__avatars img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -0.45rem;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#ultimo-paso .up-social__avatars img:first-child {
    margin-left: 0;
}

#ultimo-paso .up-social__stars {
    color: #22C55E;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

#ultimo-paso .up-social__label {
    color: #6b7280;
    font-size: 0.88rem;
    margin: 0;
}

#ultimo-paso .up-visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

#ultimo-paso .up-visual__glow {
    position: absolute;
    width: min(90%, 400px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 198, 63, 0.2) 0%, rgba(140, 198, 63, 0.05) 55%, transparent 70%);
    z-index: 0;
}

#ultimo-paso .up-visual__dots {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 6rem;
    background-image: radial-gradient(circle, #d1d5db 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.55;
    z-index: 0;
}

#ultimo-paso .up-visual__sparkle {
    position: absolute;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
}

#ultimo-paso .up-visual__sparkle--1 { top: 16%; right: 18%; color: #8CC63F; }
#ultimo-paso .up-visual__sparkle--2 { bottom: 28%; left: 8%; color: #3D3B8E; font-size: 0.85rem; }

#ultimo-paso .up-phone {
    position: relative;
    z-index: 1;
    transform: rotate(-4deg);
}

#ultimo-paso .up-phone__screen {
    font-size: 0.52rem;
}

#ultimo-paso .up-phone__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.65rem 0.4rem 0.35rem;
    overflow: hidden;
}

#ultimo-paso .up-basculito {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 0;
    overflow: hidden;
}

#ultimo-paso .up-basculito__wallet {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.7rem;
    padding: 0.4rem 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#ultimo-paso .up-basculito__wallet-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.4rem;
    background: #ebe8f4;
    color: #3D3B8E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

#ultimo-paso .up-basculito__wallet-label {
    font-size: 0.48rem;
    color: #6b7280;
    line-height: 1.2;
}

#ultimo-paso .up-basculito__wallet-amount {
    font-size: 0.85rem;
    font-weight: 800;
    color: #22C55E;
    line-height: 1.1;
}

#ultimo-paso .up-basculito .basculito-hero-header {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

#ultimo-paso .up-basculito__headline-wrap {
    min-width: 0;
    flex: 1;
}

#ultimo-paso .up-basculito__headline {
    font-size: 0.72rem;
    font-weight: 800;
    color: #2D2D6B;
    line-height: 1.2;
}

#ultimo-paso .up-basculito__emphasis {
    font-size: 0.5rem;
    color: #059669;
    font-weight: 600;
    line-height: 1.3;
}

#ultimo-paso .up-basculito .basculito-streak-card {
    width: 3.6rem;
    flex-shrink: 0;
    border-radius: 0.65rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 0.35rem 0.25rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#ultimo-paso .up-basculito .basculito-streak-card__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    font-size: 0.42rem;
    font-weight: 700;
    color: #2D2D6B;
    margin-bottom: 0.1rem;
    line-height: 1.1;
}

#ultimo-paso .up-basculito .basculito-streak-card__value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2D2D6B;
    line-height: 1;
    margin: 0;
}

#ultimo-paso .up-basculito .basculito-streak-card__unit {
    font-size: 0.48rem;
    font-weight: 700;
    color: #2D2D6B;
    margin: 0.05rem 0 0;
    line-height: 1.1;
}

#ultimo-paso .up-basculito__card {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.4rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#ultimo-paso .up-basculito .basculito-hero__img {
    width: 2.6rem;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    flex-shrink: 0;
}

#ultimo-paso .up-basculito__card-title {
    font-size: 0.62rem;
    font-weight: 800;
    color: #3D3B8E;
    line-height: 1.2;
}

#ultimo-paso .up-basculito__card-body {
    font-size: 0.48rem;
    color: #4b5563;
    line-height: 1.35;
    white-space: pre-line;
}

#ultimo-paso .up-basculito__path-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.4rem 0.3rem 0.35rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#ultimo-paso .up-basculito__path-label {
    font-size: 0.42rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    font-weight: 700;
    text-align: center;
}

#ultimo-paso .up-basculito .basculito-path {
    overflow: hidden;
}

#ultimo-paso .up-basculito .basculito-path__track {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.1rem;
}

#ultimo-paso .up-basculito .basculito-path__step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ultimo-paso .up-basculito .basculito-path__avatar {
    width: 1.05rem;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    margin-bottom: 0.15rem;
}

#ultimo-paso .up-basculito .basculito-path__step--locked .basculito-path__avatar {
    filter: grayscale(1);
    opacity: 0.38;
}

#ultimo-paso .up-basculito .basculito-path__step--current .basculito-path__avatar {
    width: 1.35rem;
}

#ultimo-paso .up-basculito .basculito-path__progress {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 0.7rem;
    margin: 0.05rem 0 0;
    padding: 0 0.2rem;
}

#ultimo-paso .up-basculito .basculito-path__progress-line {
    position: absolute;
    left: 0.45rem;
    right: 0.45rem;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: #e5e7eb;
    border-radius: 999px;
    z-index: 0;
}

#ultimo-paso .up-basculito .basculito-path__progress-fill {
    position: absolute;
    left: 0.45rem;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #059669, #34d399);
    border-radius: 999px;
    z-index: 1;
    max-width: calc(100% - 0.9rem);
}

#ultimo-paso .up-basculito .basculito-path__dots {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#ultimo-paso .up-basculito .basculito-path__dot-wrap {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
}

#ultimo-paso .up-basculito .basculito-path__dot {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #e5e7eb;
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #e5e7eb;
}

#ultimo-paso .up-basculito .basculito-path__dot--done {
    background: #059669;
    box-shadow: 0 0 0 1px #059669;
}

#ultimo-paso .up-basculito .basculito-path__dot--current {
    background: #7c3aed;
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35);
    width: 0.48rem;
    height: 0.48rem;
}

#ultimo-paso .up-basculito__stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.7rem;
    padding: 0.4rem 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#ultimo-paso .up-basculito__stat-label {
    font-size: 0.45rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.1rem;
}

#ultimo-paso .up-basculito__stat-value {
    font-size: 0.78rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}

#ultimo-paso .up-basculito__bottom {
    border: 1px solid #a7f3d0;
    border-radius: 0.7rem;
    padding: 0.4rem 0.45rem;
    text-align: center;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

#ultimo-paso .up-basculito__bottom-emoji {
    font-size: 0.75rem;
    line-height: 1;
}

#ultimo-paso .up-basculito__bottom-text {
    font-size: 0.48rem;
    color: #065f46;
    font-weight: 600;
    line-height: 1.35;
    white-space: pre-line;
}

#ultimo-paso .up-trustbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1.25rem;
    background: #f5f6fa;
    border-radius: 0.85rem;
    padding: 1rem 1.25rem;
    margin-top: 2.5rem;
    color: #5a6478;
    font-size: 0.88rem;
}

#ultimo-paso .up-trustbar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

#ultimo-paso .up-trustbar__item i {
    color: #3D3B8E;
    font-size: 1rem;
}

#ultimo-paso .up-trustbar__item i.text-success {
    color: #22C55E;
}

#ultimo-paso .up-trustbar__dot {
    color: #d1d5db;
}

@media (max-width: 991.98px) {
    #ultimo-paso .up-visual {
        min-height: 400px;
        margin-top: 1.5rem;
    }

    #ultimo-paso .up-phone {
        transform: rotate(-4deg);
    }

    #ultimo-paso .up-visual__dots {
        display: none;
    }

}

#exito {
    font-size: 1.05rem;
    line-height: 1.6;
}

#exito .exito-headline {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.15;
}

#exito .exito-intro {
    color: #5a6478;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

#exito .exito-section-title {
    color: #1A2B49;
    font-weight: 700;
    margin-bottom: 1.75rem;
}

#exito .exito-winner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 260px);
    gap: 1.75rem 2.5rem;
    align-items: center;
    justify-content: space-between;
    max-width: 980px;
    margin: 2rem auto 2.75rem;
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    border-radius: 1.15rem;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(61, 59, 142, 0.06) 55%, #f8faff 100%);
    border: 1px solid rgba(34, 197, 94, 0.22);
    box-shadow: 0 10px 32px rgba(26, 43, 73, 0.08);
}

#exito .exito-winner__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

#exito .exito-winner__amount {
    color: #22C55E;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

#exito .exito-winner__amount-label {
    color: #1A2B49;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
}

#exito .exito-winner__desc {
    color: #5a6478;
    margin: 0;
    max-width: 38ch;
}

#exito .exito-winner__media {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 17rem;
    margin-left: auto;
}

#exito .exito-winner .hero-video-frame {
    width: min(100%, 15.5rem);
    transform: rotate(2deg);
}

@media (prefers-reduced-motion: reduce) {
    #exito .exito-winner .hero-video-frame {
        transform: none;
    }
}

#exito .exito-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem 2.75rem;
    max-width: 980px;
    margin: 0 auto 2.5rem;
}

#exito .exito-video-card {
    flex: 1 1 280px;
    max-width: 460px;
}

@media (prefers-reduced-motion: no-preference) {
    #exito .exito-video-card--tilt-left {
        transform: rotate(-2deg);
    }

    #exito .exito-video-card--tilt-right {
        transform: rotate(2deg);
    }
}

#exito .exito-video-card.is-playing,
#exito .exito-video-card--direct {
    transform: none !important;
}

#exito .exito-video-card--direct .exito-video-card__iframe {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

#exito .exito-video-card__media {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26, 43, 73, 0.14), 0 4px 14px rgba(42, 32, 104, 0.08);
    background: #1a1a2e;
}

#exito .exito-video-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#exito .exito-video-card__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

#exito .exito-video-card.is-playing .exito-video-card__thumb {
    display: none;
}

#exito .exito-video-card.is-playing .exito-video-card__iframe {
    opacity: 1;
    pointer-events: auto;
}

#exito .exito-video-card.is-playing .exito-video-card__chrome {
    display: none;
}

#exito .exito-video-card__chrome {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#exito .exito-video-card__chrome > * {
    pointer-events: auto;
}

#exito .exito-video-card__meta {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

#exito .exito-video-card__avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #3D3B8E;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#exito .exito-video-card__meta-title {
    font-weight: 700;
    font-size: inherit;
    line-height: 1.2;
    margin: 0;
}

#exito .exito-video-card__meta-result {
    font-size: inherit;
    opacity: 0.92;
    margin: 0;
}

#exito .exito-video-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #3D3B8E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    padding-left: 0.2rem;
    z-index: 2;
}

#exito .exito-video-card__link-icon {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    z-index: 2;
}

#exito .exito-video-card__youtube {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.55rem;
    border-radius: 0.35rem;
    text-decoration: none;
    z-index: 2;
}

#exito .exito-video-card__youtube:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
}

#exito .exito-video-card__placeholder {
    min-height: 100%;
    background: linear-gradient(145deg, #f5f5f8 0%, #eef0f5 100%);
    border: 2px dashed rgba(61, 59, 142, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: #6b7280;
    text-align: center;
}

#exito .exito-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #f8faff;
    border: 1px solid #e4e8f0;
    border-radius: 1rem;
    padding: 1.35rem 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

#exito .exito-cta__icon {
    position: relative;
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #ebe8f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3D3B8E;
    font-size: 1.5rem;
}

#exito .exito-cta__icon-badge {
    position: absolute;
    right: -0.1rem;
    bottom: -0.1rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: #22C55E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    border: 2px solid #f8faff;
}

#exito .exito-cta__body {
    flex: 1;
    min-width: 0;
}

#exito .exito-cta__title {
    color: #1A2B49;
    font-weight: 700;
    margin: 0 0 0.2rem;
}

#exito .exito-cta__desc {
    color: #5a6478;
    margin: 0;
}

#exito .exito-cta__btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 600;
    border-radius: 0.65rem;
    padding: 0.75rem 1.25rem;
}

#patrocinadores .sponsors-strip__label {
    text-align: center;
    color: #8a93a5;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

#patrocinadores .sponsors-strip__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 2rem;
    max-width: 820px;
    margin: 0 auto;
}

#patrocinadores .sponsors-strip__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 7.5rem;
    text-decoration: none;
    opacity: 0.72;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

#patrocinadores .sponsors-strip__logo {
    display: block;
    max-height: 2.35rem;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05);
}

#patrocinadores .sponsors-strip__item:hover {
    opacity: 1;
}

#patrocinadores .sponsors-strip__item:hover .sponsors-strip__logo {
    filter: grayscale(0.35) contrast(1.02);
}

@media (max-width: 991.98px) {
    #exito .exito-winner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 1.25rem 1rem 1.35rem;
        margin-top: 1.5rem;
        margin-bottom: 2.25rem;
    }

    #exito .exito-winner__desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    #exito .exito-winner__media {
        margin-left: auto;
        margin-right: auto;
        max-width: 15.5rem;
        justify-content: center;
    }

    #exito .exito-winner .hero-video-frame {
        transform: none;
    }

    #exito .exito-video-card--tilt-left,
    #exito .exito-video-card--tilt-right {
        transform: none;
    }

    #exito .exito-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
    }

    #exito .exito-cta__btn {
        width: 100%;
    }
}

.tctk-whatsapp-float {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tctk-whatsapp-float:hover {
    color: #fff;
    transform: scale(1.07);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.tctk-whatsapp-float svg {
    flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .tctk-whatsapp-float:not(:hover) {
        animation: tctkWhatsappBob 2.8s ease-in-out infinite;
    }
}

@keyframes tctkWhatsappBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}


/* ==========================================================================
   Nutriólogo page section styles
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.20;
    text-wrap: balance;
}

.badge {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: 0.13em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    #main-container .text-success {
        color: transparent !important;
        background: linear-gradient(90deg, #8CC63F, #22C55E, #8CC63F);
        background-size: 200% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        text-shadow: 0 8px 28px rgba(34, 197, 94, 0.18);
    }
}

@keyframes tctkShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: no-preference) {
    #main-container .text-success {
        animation: tctkShine 3.8s ease-in-out infinite;
    }
}

.nutri-step-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #f5f5f8;
    border: 2.5px solid var(--bs-primary, #2a2068);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.3rem;
    margin-bottom: 28px;
    margin-top: 18px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.nutri-step-item {
    position: relative;
    z-index: 2;
    width: 210px;
    min-width: 160px;
}

.nutri-mobile-separator {
    height: 32px;
}

@media (max-width: 991.98px) {
    .nutri-steps-flex {
        flex-direction: column !important;
        gap: 0 !important;
        align-items: stretch !important;
        position: static !important;
    }

    .nutri-step-item {
        width: 100% !important;
        min-width: unset !important;
        max-width: 370px;
        margin: 0 auto 36px auto !important;
    }

    .nutri-step-circle {
        width: 92px !important;
        height: 92px !important;
        font-size: 2.3rem !important;
        margin-top: 0 !important;
        margin-bottom: 21px !important;
    }

    .nutri-mobile-separator {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .nutri-mobile-separator {
        display: none !important;
    }
}

.hero-app-placeholder {
    width: 100%;
    max-width: 520px;
    min-height: 340px;
    border-radius: 1.2rem;
    background: #f0f2f5;
    border: 2px dashed #c8ccd4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
}

#hero .testimonio-embed-slot {
    border: 2px dashed rgba(61, 59, 142, 0.22);
    border-radius: 1rem;
    min-height: 200px;
    background: linear-gradient(145deg, #f5f5f8 0%, #eef0f5 100%);
}

#hero .testimonio-video-shell {
    max-width: 100%;
}

#hero .testimonio-video-frame {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26, 43, 73, 0.12), 0 4px 14px rgba(42, 32, 104, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
    #hero .testimonio-tilt-2 {
        transform: rotate(-2deg);
        transform-origin: center center;
    }
}

.benefit-card {
    border-radius: 1.25rem;
    border: 1px solid #e9ecef;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.benefit-card:hover {
    box-shadow: 0 8px 32px rgba(42, 32, 104, 0.10);
    transform: translateY(-2px);
}

.tctk-whatsapp-float {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tctk-whatsapp-float:hover {
    color: #fff;
    transform: scale(1.07);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.tctk-whatsapp-float svg {
    flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .tctk-whatsapp-float:not(:hover) {
        animation: tctkWhatsappBob 2.8s ease-in-out infinite;
    }
}

@keyframes tctkWhatsappBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
