/* =====================================================================
   Landing MiCentro360
   ===================================================================== */

:root {
    --lp-blue: #1e9bf0;
    --lp-blue-dark: #0b78c9;
    /* Variantes para texto y fondos con texto: contraste AA (4.5:1) sobre blanco */
    --lp-blue-text: #0b6cb3;
    --lp-blue-text-dark: #085a94;
    --lp-teal-text: #187565;
    --lp-blue-soft: #e9f5fe;
    --lp-teal: #2fae98;
    --lp-teal-soft: #e7f6f2;
    --lp-ink: #2d3340;
    --lp-muted: #5c6878;
    --lp-line: #d9e9f4;
    --lp-bg: #ffffff;
    --lp-bg-soft: #f5fafd;
    --lp-wa: #25d366;
    --lp-radius: 18px;
    --lp-shadow: 0 10px 30px rgba(30, 155, 240, .08);
}

/* Fuentes de respaldo con las metricas de Poppins: mientras Poppins carga, el
   texto ocupa casi el mismo espacio y la pagina no salta (CLS) al cambiar.
   Valores calculados con las tablas de Poppins 400/700, Arial y Roboto
   (regular y negrita) ponderadas por el texto de la landing. */
@font-face {
    font-family: 'Poppins Fallback';
    src: local('Arial'), local('ArialMT');
    font-weight: 100 500;
    size-adjust: 110.26%;
    ascent-override: 95.23%;
    descent-override: 31.74%;
    line-gap-override: 9.07%;
}

@font-face {
    font-family: 'Poppins Fallback';
    src: local('Arial Bold'), local('Arial-BoldMT');
    font-weight: 600 900;
    size-adjust: 106.10%;
    ascent-override: 98.96%;
    descent-override: 32.99%;
    line-gap-override: 9.42%;
}

@font-face {
    font-family: 'Poppins Fallback Android';
    src: local('Roboto'), local('Roboto-Regular');
    font-weight: 100 500;
    size-adjust: 111.45%;
    ascent-override: 94.21%;
    descent-override: 31.40%;
    line-gap-override: 8.97%;
}

@font-face {
    font-family: 'Poppins Fallback Android';
    src: local('Roboto Bold'), local('Roboto-Bold');
    font-weight: 600 900;
    size-adjust: 114.17%;
    ascent-override: 91.97%;
    descent-override: 30.66%;
    line-gap-override: 8.76%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Poppins Fallback', 'Poppins Fallback Android', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-ink);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--lp-blue-dark);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.2;
    color: var(--lp-ink);
}

p {
    margin: 0;
}

.lp-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.lp-container--narrow {
    max-width: 820px;
}

.lp-accent {
    color: var(--lp-blue);
}

.lp-icon {
    font-size: 30px;
    color: var(--lp-blue);
}

/* --- Botones --- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--lp-blue);
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.lp-btn:hover {
    transform: translateY(-1px);
}

.lp-btn:focus-visible {
    outline: 3px solid var(--lp-blue-text);
    outline-offset: 2px;
}

.lp-btn--primary {
    background: var(--lp-blue-text);
    color: #fff;
    box-shadow: 0 8px 20px rgba(30, 155, 240, .25);
}

.lp-btn--primary:hover {
    background: var(--lp-blue-text-dark);
    border-color: var(--lp-blue-text-dark);
}

.lp-btn--ghost {
    background: #fff;
    color: var(--lp-blue-text);
}

.lp-btn--ghost:hover {
    background: var(--lp-blue-soft);
}

.lp-btn--sm {
    padding: 7px 18px;
    font-size: 14px;
}

.lp-btn--block {
    width: 100%;
}

/* --- Navegacion --- */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--lp-line);
}

.lp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

.lp-nav__brand img {
    display: block;
    height: 36px;
    width: auto;
}

.lp-nav__menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.lp-nav__menu > a:not(.lp-btn) {
    color: var(--lp-ink);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.lp-nav__menu > a:not(.lp-btn):hover {
    color: var(--lp-blue-text);
}

.lp-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    background: #fff;
    color: var(--lp-blue);
    font-size: 20px;
    cursor: pointer;
}

/* --- Hero --- */
.lp-hero {
    padding: 56px 0 40px;
    background: linear-gradient(180deg, var(--lp-blue-soft) 0%, #fff 100%);
    overflow: hidden;
}

.lp-hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
}

.lp-hero h1 {
    font-size: clamp(32px, 4.6vw, 52px);
    font-weight: 800;
    letter-spacing: -.5px;
}

.lp-hero__lead {
    margin-top: 18px;
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--lp-muted);
}

.lp-hero__areas {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 600;
    color: var(--lp-teal-text);
}

.lp-hero__areas span {
    margin: 0 4px;
}

.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.lp-hero__trial {
    margin-top: 18px;
    font-size: 15px;
    color: var(--lp-muted);
}

.lp-hero__trial i {
    color: var(--lp-teal);
}

/* --- Maqueta de dispositivos --- */
.lp-devices {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 11;
    margin-left: auto;
}

.lp-monitor {
    position: absolute;
    top: 0;
    left: 0;
    width: 86%;
}

.lp-screen {
    display: flex;
    aspect-ratio: 16 / 10;
    border: 12px solid #1f2430;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(31, 36, 48, .18);
}

.lp-monitor__stand {
    width: 26%;
    height: 34px;
    margin: 0 auto;
    background: linear-gradient(180deg, #c9d2dc, #e6ebf0);
    clip-path: polygon(30% 0, 70% 0, 85% 100%, 15% 100%);
}

.lp-screen__side {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 22%;
    padding: 10px 8px;
    background: #f3f6f9;
    border-right: 1px solid #e3e9ef;
}

.lp-screen__logo {
    height: 10px;
    margin-bottom: 6px;
    border-radius: 4px;
    background: var(--lp-blue);
}

.lp-screen__side i {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #d5dde6;
}

.lp-screen__side i.is-active {
    background: var(--lp-teal);
}

.lp-screen__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    min-width: 0;
}

.lp-screen__bar {
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--lp-blue);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}

.lp-screen__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.lp-screen__kpis span {
    padding: 5px 6px;
    border: 1px solid #e3e9ef;
    border-radius: 6px;
    font-size: 7px;
    color: var(--lp-muted);
    line-height: 1.3;
}

.lp-screen__kpis b {
    display: block;
    font-size: 10px;
    color: var(--lp-ink);
}

.lp-screen__chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 6%;
    padding: 6px 8px 0;
    border-bottom: 1px solid #e3e9ef;
}

.lp-screen__chart i {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--lp-blue), #7cc6f7);
}

.lp-screen__rows,
.lp-mini-table {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lp-screen__rows i,
.lp-mini-table i {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #e3e9ef;
}

.lp-tablet {
    position: absolute;
    right: 0;
    bottom: 8%;
    width: 32%;
    padding: 8px;
    border-radius: 14px;
    background: #1f2430;
    box-shadow: 0 16px 30px rgba(31, 36, 48, .22);
}

.lp-tablet__screen,
.lp-phone__screen {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
}

.lp-tablet__screen {
    aspect-ratio: 3 / 4;
}

.lp-phone {
    position: absolute;
    right: 26%;
    bottom: 0;
    width: 17%;
    padding: 5px;
    border-radius: 14px;
    background: #1f2430;
    box-shadow: 0 14px 26px rgba(31, 36, 48, .25);
}

.lp-phone__screen {
    aspect-ratio: 9 / 18;
    padding: 6px 5px;
}

.lp-phone .lp-screen__bar {
    font-size: 7px;
    padding: 3px 5px;
}

/* --- Secciones --- */
.lp-section {
    padding: 72px 0;
}

.lp-section--tight {
    padding: 28px 0;
}

.lp-section--soft {
    background: var(--lp-bg-soft);
}

.lp-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--lp-teal-text);
    text-align: center;
}

.lp-title::before,
.lp-title::after {
    content: "";
    flex: 0 1 120px;
    height: 2px;
    background: var(--lp-blue);
    opacity: .6;
}

#planes .lp-title {
    color: var(--lp-blue);
}

.lp-title--left {
    justify-content: flex-start;
    text-align: left;
}

.lp-title--left::before,
.lp-title--left::after {
    display: none;
}

.lp-subtitle {
    max-width: 640px;
    margin: 12px auto 0;
    color: var(--lp-muted);
    text-align: center;
}

.lp-grid {
    display: grid;
    gap: 20px;
    margin-top: 36px;
}

.lp-section--tight .lp-grid {
    margin-top: 0;
}

.lp-section--tight .lp-title + .lp-grid,
.lp-title + .lp-steps {
    margin-top: 28px;
}

.lp-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.lp-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* --- Problema --- */
.lp-problem {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 28px 40px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-teal-soft);
}

.lp-problem p {
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 600;
    line-height: 1.5;
}

.lp-problem__icon {
    position: relative;
    flex: 0 0 130px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    width: 130px;
    height: 130px;
    padding: 24px;
    border: 6px solid var(--lp-teal);
    border-radius: 50%;
    background: #fff;
    color: var(--lp-teal);
    font-size: 26px;
}

.lp-problem__slash {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--lp-teal);
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- Tarjetas --- */
.lp-card,
.lp-module,
.lp-benefit,
.lp-plan {
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: #fff;
    box-shadow: var(--lp-shadow);
}

.lp-card {
    padding: 24px;
}

.lp-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.lp-card h3 {
    font-size: 18px;
    color: var(--lp-blue-text);
}

.lp-card p {
    color: var(--lp-muted);
}

.lp-module {
    padding: 26px;
    transition: transform .2s, border-color .2s;
}

.lp-module:hover {
    transform: translateY(-3px);
    border-color: var(--lp-blue);
}

.lp-module__icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--lp-blue-soft);
    color: var(--lp-blue);
    font-size: 22px;
}

.lp-module h3 {
    margin-bottom: 6px;
    font-size: 18px;
}

.lp-module p {
    color: var(--lp-muted);
}

/* --- Publico objetivo --- */
.lp-audience {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.lp-audience__label {
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    color: var(--lp-muted);
}

.lp-chip i {
    color: var(--lp-teal);
}

/* --- Demo abierta --- */
.lp-demo {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 36px;
}

.lp-demo__acceso h3 {
    margin-bottom: 12px;
}

.lp-demo__pasos {
    display: grid;
    gap: 8px;
    margin: 0 0 20px;
    padding-left: 20px;
    color: var(--lp-muted);
    font-size: 15px;
}

.lp-demo__pasos strong {
    color: var(--lp-ink);
}

.lp-demo__nota {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--lp-muted);
}

.lp-demo__nota i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--lp-teal-text);
}

.lp-demo__rubros {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* --- Beneficios --- */
.lp-benefit {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--lp-teal-soft);
    box-shadow: none;
}

.lp-benefit__icon {
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lp-teal);
    color: #fff;
    font-size: 26px;
}

.lp-benefit h3 {
    margin-bottom: 6px;
    font-size: 18px;
    color: var(--lp-teal-text);
}

.lp-benefit p {
    color: var(--lp-muted);
    font-size: 15px;
}

/* --- Planes --- */
.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
}

.lp-plan--featured {
    border: 2px solid var(--lp-blue);
    box-shadow: 0 16px 36px rgba(30, 155, 240, .18);
}

.lp-plan__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 14px;
    border-radius: 999px;
    background: var(--lp-blue-text);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.lp-plan__icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--lp-blue);
    color: #fff;
    font-size: 24px;
}

.lp-plan:nth-child(2) .lp-plan__icon,
.lp-plan:nth-child(4) .lp-plan__icon {
    background: var(--lp-teal);
}

.lp-plan h3 {
    font-size: 21px;
    color: var(--lp-blue);
}

.lp-plan:nth-child(2) h3,
.lp-plan:nth-child(4) h3 {
    color: var(--lp-teal-text);
}

.lp-plan__desc {
    margin-top: 6px;
    min-height: 3.2em;
    color: var(--lp-muted);
    font-size: 15px;
}

.lp-plan__price {
    margin: 18px 0 14px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--lp-ink);
}

.lp-plan__price small {
    margin-right: 4px;
    font-size: 18px;
    font-weight: 600;
    vertical-align: top;
}

.lp-plan__price span {
    font-size: 15px;
    font-weight: 500;
    color: var(--lp-muted);
}

.lp-plan__price--text {
    font-size: 30px;
}

.lp-plan__list {
    flex: 1;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.lp-plan__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: 15px;
}

.lp-plan__list i {
    color: var(--lp-teal);
}

.lp-includes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--lp-muted);
    font-size: 15px;
}

.lp-includes i {
    margin-right: 6px;
    color: var(--lp-blue);
}

.lp-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 820px;
    margin: 24px auto 0;
    padding: 12px 22px;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-bg-soft);
    text-align: center;
}

.lp-notice i {
    color: var(--lp-teal);
    font-size: 20px;
}

/* --- Pasos --- */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    list-style: none;
    overflow: hidden;
}

.lp-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    font-size: 17px;
}

.lp-steps li + li {
    border-left: 1px solid var(--lp-line);
}

.lp-steps__num {
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--lp-blue);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.lp-steps__num--alt {
    background: var(--lp-teal-text);
}

/* --- Prueba gratis --- */
.lp-trial {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 32px 40px;
    border: 2px solid var(--lp-blue);
    border-radius: var(--lp-radius);
    background: var(--lp-bg-soft);
}

.lp-trial__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lp-trial__ayni {
    font-size: 30px;
    font-weight: 800;
    color: var(--lp-ink);
    text-decoration: none;
    letter-spacing: -.5px;
}

.lp-trial__ayni span {
    font-weight: 400;
    color: var(--lp-blue);
}

.lp-trial__maker {
    margin-top: -10px;
    font-size: 13px;
    color: var(--lp-muted);
    text-align: center;
}

.lp-trial__maker a {
    font-weight: 600;
    color: var(--lp-blue-dark);
}

.lp-trial__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--lp-ink);
    text-decoration: none;
    white-space: nowrap;
}

.lp-trial__phone i {
    color: var(--lp-wa);
    font-size: 32px;
}

.lp-trial__text h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
}

.lp-trial__hint {
    margin: 12px 0 18px;
    font-weight: 600;
    color: var(--lp-teal-text);
}

.lp-trial__hint i {
    margin-right: 6px;
}

.lp-trial__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-left: 32px;
    border-left: 2px solid var(--lp-line);
    color: var(--lp-blue);
    font-weight: 600;
}

.lp-qr {
    width: 150px;
    height: 150px;
    padding: 8px;
    border: 3px solid var(--lp-blue);
    border-radius: 14px;
    background: #fff;
}

.lp-qr img,
.lp-qr canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* --- Preguntas frecuentes --- */
.lp-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.lp-faq details {
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: #fff;
}

.lp-faq summary {
    position: relative;
    padding: 16px 52px 16px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.lp-faq summary::-webkit-details-marker {
    display: none;
}

.lp-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--lp-blue);
}

.lp-faq details[open] summary::after {
    content: "–";
}

.lp-faq details p {
    padding: 0 20px 18px;
    color: var(--lp-muted);
}

/* --- Contacto --- */
.lp-contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.lp-contact__info > p {
    margin-top: 14px;
    color: var(--lp-muted);
}

.lp-contact__list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.lp-contact__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.lp-contact__list i {
    width: 22px;
    color: var(--lp-teal);
    font-size: 20px;
    text-align: center;
}

.lp-contact__list a {
    color: var(--lp-ink);
    text-decoration: none;
    font-weight: 500;
}

.lp-form {
    padding: 28px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: #fff;
    box-shadow: var(--lp-shadow);
}

.lp-form__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.lp-form__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.lp-form label {
    font-size: 14px;
    font-weight: 500;
}

.lp-form input,
.lp-form select,
.lp-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cddbe6;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: var(--lp-ink);
}

.lp-form input:focus,
.lp-form select:focus,
.lp-form textarea:focus {
    outline: none;
    border-color: var(--lp-blue);
    box-shadow: 0 0 0 3px rgba(30, 155, 240, .15);
}

.lp-form .is-invalid {
    border-color: #e5484d;
}

.lp-form textarea {
    resize: vertical;
}

.lp-form__error {
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fdecec;
    color: #b42318;
    font-size: 14px;
}

/* Verde WhatsApp oscurecido: el texto blanco sobre #25d366 no llega al contraste AA */
.lp-form button[type="submit"] {
    border-color: #0f7a3e;
    background: #0f7a3e;
    box-shadow: 0 8px 20px rgba(37, 211, 102, .25);
}

.lp-form button[type="submit"]:hover {
    border-color: #0b6332;
    background: #0b6332;
}

/* --- Footer --- */
.lp-footer {
    padding: 28px 0;
    background: var(--lp-blue-text);
    color: #fff;
    text-align: center;
}

.lp-footer__claim {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
}

.lp-footer__claim i {
    margin-right: 10px;
}

.lp-footer__maker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
    margin-top: 12px;
    font-size: 15px;
}

.lp-footer .lp-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.lp-footer .lp-footer__link:hover {
    background: #fff;
    color: var(--lp-blue-dark);
}

.lp-footer__copy {
    margin-top: 10px;
    font-size: 14px;
    opacity: .9;
}

.lp-footer a {
    color: #fff;
}

/* --- Boton flotante de WhatsApp --- */
.lp-wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--lp-wa);
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
    transition: transform .2s;
}

.lp-wa-float:hover {
    transform: scale(1.07);
}

/* =====================================================================
   Responsive
   ===================================================================== */

@media (max-width: 992px) {
    .lp-nav__toggle {
        display: inline-grid;
        place-items: center;
    }

    .lp-nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 16px 18px;
        border-bottom: 1px solid var(--lp-line);
        background: #fff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
    }

    .lp-nav__menu.is-open {
        display: flex;
    }

    .lp-nav__menu > a:not(.lp-btn) {
        padding: 10px 4px;
    }

    .lp-nav__menu .lp-btn {
        margin-top: 6px;
    }

    .lp-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lp-hero__actions {
        justify-content: center;
    }

    .lp-devices {
        margin: 0 auto;
    }

    .lp-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-demo {
        grid-template-columns: 1fr;
    }

    .lp-plans {
        row-gap: 32px;
    }

    .lp-trial {
        grid-template-columns: 1fr 1fr;
    }

    .lp-trial__text {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .lp-trial__qr {
        padding-left: 0;
        border-left: 0;
    }

    .lp-contact {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .lp-section {
        padding: 52px 0;
    }

    .lp-hero {
        padding-top: 36px;
    }

    .lp-btn {
        padding: 11px 20px;
    }

    .lp-hero__actions .lp-btn {
        flex: 1 1 100%;
    }

    .lp-grid--3,
    .lp-grid--4,
    .lp-demo__rubros,
    .lp-steps,
    .lp-trial,
    .lp-form__cols {
        grid-template-columns: 1fr;
    }

    .lp-title::before,
    .lp-title::after {
        flex-basis: 28px;
    }

    .lp-problem {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
        text-align: center;
    }

    .lp-problem__icon {
        flex-basis: auto;
        width: 110px;
        height: 110px;
        padding: 18px;
        font-size: 22px;
    }

    .lp-steps li + li {
        border-left: 0;
        border-top: 1px solid var(--lp-line);
    }

    .lp-steps li {
        padding: 14px 20px;
    }

    .lp-trial {
        gap: 24px;
        padding: 28px 20px;
    }

    .lp-trial__text {
        grid-row: auto;
        order: -1;
    }

    /* En el celular el QR no aporta: se usa el boton de WhatsApp */
    .lp-trial__qr,
    .lp-trial__hint {
        display: none;
    }

    .lp-trial__text .lp-btn {
        margin-top: 18px;
    }

    .lp-trial__phone {
        font-size: 21px;
    }

    .lp-notice {
        border-radius: 16px;
        text-align: left;
    }

    .lp-form {
        padding: 20px;
    }
}

/* --- Pagina 404 --- */
.lp-404 {
    min-height: calc(100vh - 72px);
    text-align: center;
}

.lp-404__code {
    margin: 0;
    font-size: clamp(64px, 12vw, 120px);
    font-weight: 700;
    line-height: 1;
    color: var(--lp-blue);
}

.lp-404 h1 {
    margin: 12px 0;
    font-size: clamp(26px, 4vw, 36px);
}

.lp-404 p {
    color: var(--lp-muted);
}

.lp-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

/* --- Enlace para saltar al contenido (visible al navegar con teclado) --- */
.lp-skip {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--lp-ink);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform .2s;
}

.lp-skip:focus {
    transform: translateY(0);
}

/* --- Nota de campos obligatorios del formulario --- */
.lp-form__note {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--lp-muted);
}

/* --- Accesibilidad: contraste, foco visible y movimiento reducido --- */
.lp-btn--primary {
    border-color: var(--lp-blue-text);
}

.lp-problem .lp-accent {
    color: var(--lp-blue-text);
}

a:focus-visible,
summary:focus-visible,
.lp-nav__toggle:focus-visible {
    outline: 3px solid var(--lp-blue-text);
    outline-offset: 2px;
}

.lp-footer a:focus-visible {
    outline-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* --- Iconos (sprite SVG de Font Awesome Free con los iconos usados) --- */
/* Replica el tamano de los iconos de fuente: alto 1em, ancho proporcional.
   :where() deja especificidad 0 para que manden las reglas de cada componente. */
:where(.lp-ico) {
    display: inline-block;
    font-style: normal;
    line-height: 1;
    vertical-align: -.125em;
}

.lp-ico svg {
    display: block;
    width: auto;
    height: 1em;
    overflow: visible;
    fill: currentColor;
}

/* Boton del menu movil: barras cerrado, X abierto */
.lp-nav__toggle .lp-ico {
    vertical-align: middle;
}

.lp-nav__toggle-cerrar,
.lp-nav__toggle[aria-expanded="true"] .lp-nav__toggle-abrir {
    display: none;
}

.lp-nav__toggle[aria-expanded="true"] .lp-nav__toggle-cerrar {
    display: inline-block;
}
