/* ---------- Imágenes con width/height: evitar deformación ---------- */
.logo img,
.box__footer .logo img,
.my,
.nosotros-img,
.float img,
.container__vector img {
    height: auto;
}

/* ---------- Breadcrumb de las páginas de planes ---------- */
.nav-superpuesto {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    z-index: 3;
    pointer-events: none; /* no debe bloquear los clics de los botones que quedan debajo */
}
.nav-superpuesto .breadcrumb-custom {
    pointer-events: auto;
}
.breadcrumb-custom {
    display: inline-block;
    background: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    list-style: none;
}
.breadcrumb-custom li {
    display: inline;
    color: #555;
    font-weight: 500;
}
.breadcrumb-custom a {
    color: #0b5ed7;
    text-decoration: none;
}
.breadcrumb-custom a:hover {
    text-decoration: underline;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    color: #fff;
}
.plan-features li::before {
    content: "✓ ";
    color: #feba0b;
    font-weight: 700;
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 960px;
    margin: 0 auto;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    color: #333;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.cookie-banner[hidden] {
    display: none;
}
.cookie-banner p {
    margin: 0;
    flex: 1;
}
.cookie-banner a {
    color: #0b5ed7;
    text-decoration: underline;
}
.cookie-btn {
    border: 0;
    background: #feba0b;
    color: #1f1f1f;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
}
.cookie-btn:hover {
    opacity: 0.9;
}
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        font-size: 12px;
        padding: 12px 14px;
        gap: 10px;
    }
    .cookie-btn {
        width: 100%;
    }
}

/* ---------- Páginas legales ---------- */
.legal-page {
    font-family: "Poppins", sans-serif;
    color: #333;
    max-width: 860px;
    margin: 0 auto;
    padding: 130px 20px 60px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.legal-page h1 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    margin-bottom: 4px;
}
.legal-page h2 {
    font-size: clamp(20px, 3.5vw, 24px);
    font-weight: 700;
    margin: 32px 0 8px;
}
.legal-page .legal-updated {
    color: #777;
    font-size: 14px;
    margin-bottom: 24px;
}
.legal-page ul {
    padding-left: 22px;
}
.legal-page a {
    color: #0b5ed7;
}
.legal-page table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    display: block;
    overflow-x: auto;
}
.legal-page th,
.legal-page td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}
.legal-page th {
    background: #f5f5f5;
}

/* ---------- Ajustes responsive de las páginas de planes ---------- */
@media (max-width: 576px) {
    .cover h1,
    .cover h2 {
        font-size: clamp(32px, 11vw, 48px);
        overflow-wrap: anywhere;
    }
    .cover h2 {
        margin-top: -16px;
    }
    .cover .container__info {
        max-width: 100%;
        padding-right: 20px;
    }
    .nav-superpuesto {
        padding: 10px 20px;
    }
}

/* ---------- Footer ---------- */
footer.site-footer {
    padding: 48px 20px 0;
    background: #f4f7fb;
    border-top: 1px solid #e3e9f2;
    font-family: "Poppins", sans-serif;
}
.sf-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr;
    gap: 32px;
}
.sf-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}
.sf-col h2 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f2937;
    margin: 0 0 6px;
}
.sf-col a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.sf-col a:hover {
    color: #0b5ed7;
}
.sf-brand img {
    width: 140px;
    height: auto;
}
footer.site-footer .sf-brand p {
    font-size: 14px;
    margin: 4px 0 0;
    max-width: 300px;
    line-height: 1.6;
}
.sf-social {
    display: flex;
    gap: 14px;
    margin-top: 6px;
}
.sf-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e3e9f2;
    color: #4b5563;
}
.sf-social a:hover {
    background: #0b5ed7;
    color: #fff;
}
.sf-bottom {
    max-width: 1100px;
    margin: 36px auto 0;
    padding: 18px 0;
    border-top: 1px solid #e3e9f2;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}
footer.site-footer .sf-bottom p {
    max-width: none;
    margin: 0;
    font-size: 13px;
    text-align: center;
}
@media (max-width: 900px) {
    .sf-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sf-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 480px) {
    footer.site-footer {
        padding-top: 36px;
    }
    .sf-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ---------- Páginas de plan ---------- */
.pp-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 18px;
    color: #fff;
}
.pp-price strong {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}
.pp-price span {
    font-size: 14px;
    opacity: 0.9;
}
.pp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    margin-top: 22px;
    border-radius: 999px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.pp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.pp-btn-wa {
    background: #25d366;
    color: #fff;
}
.pp-btn-wa:hover {
    background: #1ebe5b;
    color: #fff;
}
.pp-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    margin-left: 10px;
}
.pp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.pp-section {
    padding: 64px 20px;
    font-family: "Poppins", sans-serif;
    color: #333;
}
.pp-alt {
    background: #f4f7fb;
}
.pp-wrap {
    max-width: 1100px;
    margin: 0 auto;
}
.pp-title {
    text-align: center;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: #0f4c81;
    margin: 0 0 36px;
}
.pp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pp-card {
    background: #fff;
    border: 1px solid #e3e9f2;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.06);
}
.pp-card .pp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 30px;
    line-height: 1;
    color: #0f4c81;
    background: #fff4d1;
    border-radius: 14px;
    padding: 0;
}
.pp-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 14px 0 6px;
}
.pp-card p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}
.pp-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pp-steps li {
    text-align: center;
}
.pp-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #feba0b;
    color: #1f1f1f;
    font-weight: 800;
}
.pp-steps h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 12px 0 4px;
}
.pp-steps p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}
.pp-others {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}
.pp-other {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e3e9f2;
    background: #fff;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pp-other:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 76, 129, 0.12);
}
.pp-other h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}
.pp-other strong {
    font-size: 22px;
    color: #0f4c81;
}
.pp-other span {
    font-size: 14px;
    color: #6b7280;
}
.pp-other em {
    font-style: normal;
    font-weight: 600;
    color: #0b5ed7;
    margin-top: 8px;
}
.pp-cta {
    background: #0f4c81;
    color: #fff;
    text-align: center;
    padding: 56px 20px;
    font-family: "Poppins", sans-serif;
}
.pp-cta h2 {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
}
.pp-cta .pp-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pp-cta h2,
.pp-cta p {
    max-width: 720px;
    width: 100%;
    text-align: center;
}
.pp-cta p {
    margin: 0;
    opacity: 0.9;
}
.pp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.pp-cta-actions .pp-btn {
    margin-left: 0;
}
@media (max-width: 900px) {
    .pp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pp-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .pp-section {
        padding: 44px 20px;
    }
    .pp-grid,
    .pp-steps,
    .pp-others {
        grid-template-columns: 1fr;
    }
    .pp-btn {
        width: 100%;
        justify-content: center;
    }
    .pp-btn-ghost {
        margin-left: 0;
    }
    .pp-price strong {
        font-size: 28px;
    }
}
