/* === GIROS MATRIZ === */
/* El catálogo agrega un enlace al menú; ajuste únicamente tipográfico en escritorio. */
@media(min-width:1120px){
    .menu.catalog-navigation a{
        font-size:.875rem;
        padding:10px 8px;
    }
}

.giros-matriz {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 32px 18px;
    justify-items: stretch;
    align-items: start;
    margin-top: 1px;
}

.giro-ficha {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card);
    border-radius: 22px;
    box-shadow: 0 6px 18px rgba(16,35,63,.10);
    padding: 18px 10px 14px 10px;
    min-width: 0;
    min-height: 0;
    width: 100%;
    border: 1px solid #e3eaf7;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.giro-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.giro-link:hover .giro-ficha,
.giro-link:focus-visible .giro-ficha {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(16,35,63,.16);
    border-color: #c7d9f6;
}

.giro-link:hover .giro-ficha img,
.giro-link:focus-visible .giro-ficha img {
    transform: scale(1.05);
}

.giro-ficha img {
    transition: transform .22s ease;
}

.giro-link:focus-visible {
    outline: 3px solid #8db8ff;
    outline-offset: 3px;
    border-radius: 22px;
}

.giro-ficha img {
    width: 90px;
    height: 90px;
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    margin-bottom: 14px;
    display: block;
}

.giro-texto {
    text-align: center;
}

.giro-texto h3 {
    margin: 0 0 6px 0;
    font-size: 1.08rem;
}

.giro-texto p {
    font-size: 0.97rem;
    color: var(--muted);
    margin: 0;
}

@media (max-width: 1200px) {
    .giros-matriz {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 900px) {
    .giros-matriz {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 10px;
    }
}

@media (max-width: 600px) {
    .giros-matriz {
        grid-template-columns: 1fr;
        gap: 16px 0;
    }
    .giro-ficha {
        padding: 14px 6px 10px 6px;
    }
    .giro-ficha img {
        width: 70px;
        height: 70px;
        max-height: 80px;
    }
}
:root{
    --brand:#1877f2;
    --brand-dark:#0d47a1;
    --accent:#ffb703;
    --text:#10233f;
    --muted:#5e6f86;
    --bg:#f2f7ff;
    --card:#fff;
    --shadow:0 18px 45px rgba(16,35,63,.13)
}

*{
    box-sizing:border-box
}

html{
    scroll-behavior:smooth
}

body{
    margin:0;
    font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    color:var(--text);
    background:#fff;
    line-height:1.6
}

.topbar{
    background:#0b3d91;
    color:#eaf3ff;
    font-size:.92rem
}

.topbar .wrap{
    display:flex;
    gap:18px;
    justify-content:flex-end;
    align-items:center;
    padding:8px 20px
}

.wrap{
    max-width:1180px;
    margin:auto;
    padding:0 20px
}

.nav{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(12px);
    box-shadow:0 1px 0 rgba(0,0,0,.08)
}

.nav .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 20px
}

.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo-image{
    display:block;
    width:220px;
    height:62px;
    background-image:url("../img/SnappyLogo.png");
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
}

.menu{
    display:flex;
    gap:3px;
    align-items:center
}

.menu a{
    padding:10px 13px;
    text-decoration:none;
    color:#264741;
    border-radius:999px;
    font-weight:650
}

.menu a:hover,
.menu a.active{
    background:#e9f2ff;
    color:var(--brand-dark)
}

.menu-toggle{
    display:none;
    border:0;
    background:#e9f2ff;
    border-radius:12px;
    padding:10px 12px;
    font-size:24px
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 18px;
    border-radius:999px;
    text-decoration:none;
    font-weight:800;
    border:0;
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease
}

.btn:hover,
.btn:focus-visible{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(16,35,63,.22);
}

.btn-primary{
    background:var(--brand);
    color:#fff;
    box-shadow:0 12px 25px rgba(11,143,114,.25)
}

.btn-danger{
    background:#ef4444;
    color:#fff;
    box-shadow:0 12px 25px rgba(239,68,68,.25)
}

.btn-dark{
    background:#10231f;
    color:#fff
}

.btn-light{
    background:#fff;
    color:var(--brand-dark);
    border:1px solid #cfe2ff
}

.btn-large {
    padding: 16px clamp(28px, 8vw, 150px);
    font-size: 1.1rem;
    width: auto;
    max-width: 100%;
}

.hero{
    background:
        radial-gradient(circle at top left,#dbeafe,transparent 38%),
        linear-gradient(180deg,#eef6ff,#fff);
    padding:70px 0 45px
}

.hero-grid{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:46px;
    align-items:start
}

.eyebrow{
    display:inline-flex;
    background:#e9f2ff;
    color:var(--brand-dark);
    padding:7px 12px;
    border-radius:999px;
    font-weight:800;
    font-size:.9rem
}

h1{
    font-size:clamp(2.1rem,5vw,4.4rem);
    line-height:1.05;
    margin:18px 0
}

h2{
    font-size:clamp(1.7rem,3vw,2.7rem);
    line-height:1.15;
    margin:0 0 12px
}

h3{
    line-height:1.2;
    margin:.4rem 0
}

.lead{
    font-size:1.16rem;
    color:#405c56
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:26px
}

.hero-card img,
.image-card img{
    width:100%;
    display:block;
    border-radius:28px;    
}

section{
    padding:72px 0
}

body[data-page="soporte"] .hero{
    padding:56px 0 30px;
}

body[data-page="soporte"] main > section{
    padding:48px 0;
}

body[data-page="pagos"] .hero-grid{
    grid-template-columns:1.05fr .95fr;
    gap:46px;
}

.servicios-primer-bloque{
    padding-top:24px;
}

.section-head{
    max-width:780px;
    margin:0 auto 34px;
    text-align:center
}

.muted{
    color:var(--muted)
}

.grid{
    display:grid;
    gap:22px
}

.grid-3{
    grid-template-columns:repeat(3,1fr)
}

.grid-4{
    grid-template-columns:repeat(4,1fr)
}

.support-info-grid{
    grid-template-columns:repeat(2,minmax(260px,380px));
    justify-content:center;
}

.card{
    background:var(--card);
    border:1px solid #dbe7f7;
    border-radius:26px;
    padding:24px;
    box-shadow:0 12px 30px rgba(16,35,31,.06)
}

.feature-icon{
    margin-bottom:14px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    background:transparent;
    overflow:visible
}

.feature-icon img{
    width:86px;
    height:auto;
    object-fit:contain;
    display:block
}

.servicio-bloque{
    max-width:760px;
    margin:0 auto;
    text-align:left;
    padding:12px 10px
}

.servicio-bloque-imagen{
    width:84px;
    height:84px;
    object-fit:contain;
    display:block;
    margin:0 0 14px
}

.servicio-bloque h2{
    margin:0 0 10px
}

.servicio-bloque p{
    margin:0 0 12px;
    color:var(--muted)
}

.servicio-nota-licencia{
    font-weight:700;
    color:#0d47a1
}

.servicio-bloque ul{
    list-style:none;
    margin:0 0 14px;
    padding:0
}

.servicio-bloque li{
    position:relative;
    padding-left:26px;
    margin-bottom:8px;
    color:var(--text)
}

.servicio-bloque li::before{
    content:'✓';
    position:absolute;
    left:0;
    top:0;
    color:#1877f2;
    font-weight:800
}

.servicio-precio{
    color:#1877f2;
    font-weight:800;
    margin-top:4px
}

.servicio-acciones{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:10px
}

.servicio-acciones .btn{
    transition:transform .2s ease, box-shadow .2s ease;
}

.servicio-acciones .btn:hover,
.servicio-acciones .btn:focus-visible{
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(16,35,63,.18)
}

.servicio-galeria{
    margin-top:18px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px
}

.servicio-expandible{
    width:100%;
    border-radius:14px;
    border:1px solid #dbe7f7;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(16,35,63,.10);
    transition:transform .2s ease, box-shadow .2s ease
}

.servicio-expandible:hover,
.servicio-expandible:focus-visible{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(16,35,63,.18)
}

.band{
    background:var(--bg)
}

.cta{
    background:linear-gradient(135deg,#0b3d91,#1877f2);
    color:#fff;
    border-radius:34px;
    padding:44px;
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:20px;
    align-items:center
}

.cta-action{
    justify-self:end;
}

.cta-action .btn{
    padding:16px 28px;
    font-size:1.05rem;
}

.cta-giros{
    margin-top:14px;
    justify-self:start;
}

.cta .muted{
    color:#dbfff3
}

.footer{
    background:#082047;
    color:#dceaff;
    padding:45px 0 25px
}

.footer a{
    color:#fff;
    text-decoration:none
}

.footer-grid{
    display:grid;
    grid-template-columns:1.1fr .8fr .8fr;
    gap:30px
}

.copy{
    border-top:1px solid rgba(255,255,255,.12);
    margin-top:25px;
    padding-top:18px;
    color:#92aaa3
}

.business-card{
    display:flex;
    gap:15px;
    align-items:flex-start
}

.business-card span{
    font-size:30px
}

.gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px
}

.gallery img{
    width:100%;
    border-radius:22px;
    box-shadow:
        0 18px 45px rgba(16,35,63,.18),
        0 8px 18px rgba(24,119,242,.12);
    transition:transform .25s ease,
               box-shadow .25s ease;
}

.gallery img:hover{
    transform:translateY(-6px);
    box-shadow:
        0 28px 60px rgba(16,35,63,.22),
        0 12px 24px rgba(24,119,242,.16);
}

.status-box{
    background:#fff;
    border:1px solid #dbe7f7;
    border-radius:30px;
    padding:30px;
    box-shadow:var(--shadow)
}

.status-light{
    width:18px;
    height:18px;
    border-radius:50%;
    background:#9ca3af;
    display:inline-block;
    margin-right:8px
}

.status-ok{
    background:#22c55e
}

.status-bad{
    background:#ef4444
}

.monitor-live-box{
    margin-top:16px;
    background:#fff;
    border:1px solid #dbe7f7;
    border-radius:30px;
    padding:18px;
    box-shadow:var(--shadow)
}

.monitor-live-box h3{
    margin:0 0 8px
}

.monitor-live-box .muted{
    margin:0 0 14px
}

.monitor-live-frame-wrap{
    border:1px solid #dbe7f7;
    border-radius:18px;
    overflow:hidden;
    background:#f8fbff
}

.monitor-live-frame{
    width:100%;
    min-height:280px;
    border:0;
    display:block
}

.monitor-refresh-wrap{
    display:flex;
    justify-content:center;
    margin-top:16px;
}

.monitor-refresh-btn{
    min-width:min(560px,100%);
    padding:16px 28px;
    font-size:1.06rem;
    font-weight:900;
}

body[data-page="monitor"] .hero{
    padding:52px 0 30px;
}

body[data-page="monitor"] main > section{
    padding:44px 0;
}

body[data-page="monitor"] .status-box{
    padding:22px;
}

.timeline{
    display:grid;
    gap:14px
}

.timeline article{
    border-left:4px solid var(--brand);
    padding:8px 0 8px 18px
}

.cursos-head{
    margin-bottom:30px;
}

.video-gallery{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
    align-items:stretch;
}

.video-card{
    background:#fff;
    border:1px solid #dbe7f7;
    border-radius:34px;
    overflow:visible;
    box-shadow:0 24px 50px rgba(16,35,63,.10), 0 8px 20px rgba(24,119,242,.08);
    display:flex;
    flex-direction:column;
    min-width:0;
    transform:translateY(0);
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position:relative;
    padding:18px;
}

.video-card:hover,
.video-card:focus-within{
    transform:translateY(-10px);
    border-color:#c5d9f7;
    box-shadow:0 34px 70px rgba(16,35,63,.14), 0 14px 34px rgba(24,119,242,.10);
}

.video-embed{
    position:relative;
    aspect-ratio:16/9;
    background:linear-gradient(135deg,#0b3d91,#1877f2);
    margin:0;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 14px 28px rgba(16,35,63,.14);
}

.video-embed iframe{
    width:100%;
    height:100%;
    border:0;
    display:block;
}

.video-card-body{
    padding:24px 10px 8px;
    display:flex;
    flex-direction:column;
    gap:12px;
    flex:1;
    background:transparent;
}

.video-card-body h3{
    margin:0;
    font-size:1.55rem;
    color:#0c2550;
}

.video-card-body p{
    margin:0;
    color:#24456f;
    font-size:1.06rem;
    line-height:1.7;
}

.cursos-note{
    margin-top:24px;
    padding:18px 22px;
    background:#f7fbff;
    border:1px solid #dbe7f7;
    border-radius:22px;
}

.cursos-note p{
    margin:0;
    color:var(--muted);
}

.video-card::before{
    content:'';
    position:absolute;
    left:26px;
    right:26px;
    bottom:-10px;
    height:26px;
    border-radius:999px;
    background:rgba(16,35,63,.12);
    filter:blur(18px);
    z-index:-1;
}

.floating-whatsapp{
    position:fixed;
    right:18px;
    bottom:18px;
    background:#25d366;
    color:white;
    border-radius:999px;
    padding:14px 18px;
    font-weight:850;
    text-decoration:none;
    box-shadow:0 14px 35px rgba(0,0,0,.22);
    z-index:60
}

@media(max-width:900px){

    .hero-grid,
    .cta{
        grid-template-columns:1fr
    }

    .video-gallery{
        grid-template-columns:1fr;
    }

    .menu a{
        color:#10233f;
        background:transparent;
        font-weight:700;
    }

    .menu a:hover,
    .menu a:focus-visible,
    .menu a.active{
        color:var(--brand-dark);
        background:#e9f2ff;
    }

    .grid-3,
    .grid-4,
    .gallery,
    .footer-grid{
        grid-template-columns:1fr 1fr
    }

    .menu{
        display:none;
        position:absolute;
        top:70px;
        left:20px;
        right:20px;
        background:#fff;
        border:1px solid #dfece7;
        border-radius:22px;
        padding:10px;
        box-shadow:var(--shadow);
        flex-direction:column;
        align-items:stretch
    }

    .menu.open{
        display:flex
    }

    .menu-toggle{
        display:block
    }

    .topbar .wrap{
        justify-content:center;
        flex-wrap:wrap
    }

    .cta{
        text-align:center
    }

    .cta-action{
        justify-self:center;
    }
}

@media(max-width:560px){

    .servicio-acciones .btn{
        width:100%
    }

    .servicio-galeria{
        grid-template-columns:1fr
    }

    .grid-3,
    .grid-4,
    .gallery,
    .footer-grid{
        grid-template-columns:1fr
    }

    .hero{
        padding-top:42px
    }

    .hero-actions .btn{
        width:100%
    }

    .cta{
        padding:28px
    }

    .floating-whatsapp{
        left:14px;
        right:14px;
        text-align:center
    }

    .monitor-refresh-btn{
        min-width:100%;
    }
}

.download-center{
    grid-column:1 / -1;
    width:100%;
    margin-top:18px;
    display:flex;
    justify-content:center;
}

.btn-download-big{
    display:flex;
    width:100%;
    justify-content:center;
    align-items:center;
    text-align:center;
    font-size:1.5rem;
    font-weight:900;
    padding:28px 36px;
    border-radius:30px;
    box-shadow:0 20px 40px rgba(24,119,242,.28);
}

.payment-links{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:24px;
    width:min(744px, 100%);
    margin-left:auto;
    margin-right:auto;
    justify-content:center;
}

.payment-card{
    text-decoration:none;
    color:var(--text);
    background:var(--card);
    border:1px solid #dbe7f7;
    border-radius:26px;
    padding:12px;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    box-shadow:0 10px 26px rgba(16,35,63,.06);
    aspect-ratio:3 / 4
}

.payment-card img{
    width:100%;
    height:auto;
    aspect-ratio:3 / 4;
    max-width:100%;
    min-height:0;
    border-radius:12px;
    object-fit:contain
}

.payment-card:hover{
    transform:translateY(-3px);  
    background-color: transparent;
    border-color:#c7d9f6;
    box-shadow:0 16px 30px rgba(16,35,63,.10)
}

.payment-card .icon{
    font-size:34px
}

.payment-price{
    display:block;
    font-size:clamp(1.05rem, 2.4vw, 1.5rem);
    font-weight:800;
    color:var(--brand);
    line-height:1.15;
    margin-top:2px;
    text-align:center
}

.hosting-panel{
    background:#17365d;
    color:#fff;
    border-radius:0;
    padding:58px 0
}

.hosting-panel .section-head h2{
    color:#fff
}

.hosting-panel .section-head p{
    color:#e9f2ff
}

.hosting-features{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
    text-align:center
}

.hosting-feature img{
    width:115px;
    height:115px;
    margin-bottom:10px
}

.hosting-logos{
    background:#fff;
    border-radius:24px;
    padding:22px;
    margin:34px 0;
    display:flex;
    gap:24px;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap
}

.hosting-logos span{
    font-weight:900;
    font-size:clamp(1.3rem,3vw,2.4rem);
    color:#17365d
}

.hosting-cta{
    display:block;
    background:#fff;
    color:#122653;
    border:2px solid #122653;
    text-align:center;
    text-decoration:none;
    font-weight:900;
    font-size:1.4rem;
    padding:22px;
    border-radius:8px;
    box-shadow:0 12px 28px rgba(8,32,71,.22);
    transition:transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease
}

.hosting-cta:hover,
.hosting-cta:focus-visible{
    background:#e5e7eb;
    color:#1f2937;
    border-color:#cbd5e1;
    transform:translateY(-3px) scale(1.01);
    box-shadow:0 20px 38px rgba(31,41,55,.22)
}

/* === PAYMENT PAGES STYLES === */
.contenido-principal {       
    display: flex;
    flex-direction: column;
    min-height: 100vh;            
}

.encabezado {
    text-align: left;
    padding: 5px 30px;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.header-left {     
    position: absolute;
    text-align: left;
}

.header-right {      
    position: absolute;
    right: 30px;
}

.pie-pagina {
    background: #252525;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    font-size: 12px;
}   

.contenido-pagina {
    display: flex;
    flex: 1;
    width: 100%;
    padding-bottom: 10px;
}

.izquierda {       
    border-radius: 8px;
    text-align: left;
    width: calc(100% - 400px);
    margin-left: 10px;
}

.banner{
    width: 100%;     
}

.derecha {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;      
    width: 350px;
    max-width: 350px;
    position: absolute;
    right: 20px;
}

.menu {
    display: flex;
    gap: 20px;
    padding: 10px; 
    margin-top: 5px;
}

.menu a {
    color: rgb(22, 21, 21);
    text-decoration: none;
    padding: 10px 15px;    
    border-radius: 8px;  
}

.menu a:hover {      
    color: #f5970b;
}

.menu-toggle {
    display: none;
    background: #444;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 40px;
}

.terminos {
    width: 400px;
    text-align: center;       
}

.pie-pagina a:link {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.pie-pagina a:visited {
    color: rgb(255, 255, 255);
    text-decoration: none;
}
    
.pie-pagina a:hover {
    color: rgb(169, 242, 255);
    text-decoration: none;
}      

.pie-pagina a:active {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

#payment-form input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;      
}

#payment-form button {
    margin-top: 20px;
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: calc(100% - 20px);
}

#payment-form button:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    font-size: 12px;
    margin-top: -10px;
}

.inicio {
    display: block;
    width: 140px;    
}

.imagen {
    display: block;
    max-width: 200px;
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 250px;
        background: #222;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
        padding: 10px 0;
    }
    
    .menu a {
        text-align: left;
        padding: 10px;
        display: block;
        color: white;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .contenido-pagina {
        flex-direction: column;
        width: 90%;        
    }
    
    .izquierda {
        position: static;
        text-align: center;
        width: 100%;
        margin-top: 40px;
        margin-left: 20px;
        margin-right: 10px;
    }
    
    .derecha {
        background-color: #fff;      
        position: static;
        transform: none;
        text-align: center;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 10px;
        margin-left: 20px;
        margin-right: 10px;
    }
}

.payment-form-card {
    background: var(--card);
    border-radius: 22px;
    padding: 20px 18px;
    box-shadow: 0 6px 18px rgba(16,35,63,.10);
    border: 1px solid #e3eaf7;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-form-card h2 {
    margin: 0 0 4px 0;
    font-size: 1.3rem;
    color: var(--text);
}

.payment-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand);
    margin: 0 0 10px 0;
}

#payment-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#payment-form input {
    padding: 8px 12px;
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color .22s ease, box-shadow .22s ease;
}

#payment-form input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(24,119,242,.10);
}

#payment-form .error {
    color: #dc2626;
    font-size: 0.8rem;
    margin: -2px 0 0 0;
    min-height: 0;
}

#payment-form .btn {
    margin-top: 6px;
}

@media(max-width:900px) {
    .payment-form-card {
        padding: 16px 14px;
    }
    
    .payment-form-card h2 {
        font-size: 1.15rem;
    }
}

.support-tools{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px
}

.support-tool{
    text-decoration:none;
    color:var(--text);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    text-align:center;
    background:#fff;
    border:1px solid #dbe7f7;
    border-radius:26px;
    padding:22px;
    min-height:260px;
    box-shadow:0 12px 30px rgba(16,35,63,.06)
}

.support-tool img{
    width:100%;
    max-width:260px;
    height:116px;
    object-fit:contain;
    display:block
}

.support-tool strong{
    font-size:1.25rem;
    line-height:1.2
}

.support-tool p{
    margin:0;
    color:var(--muted)
}

.page-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:18px
}

.openpay-badge{
    margin-top:16px;
    display:inline-flex;
    align-items:center;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    padding:10px 14px;
    border:1px solid #dbe7f7;
    border-radius:12px;
    background:#fff;
}

.openpay-badge span{
    font-size:.95rem;
    color:var(--muted);
    font-weight:700;
}

.openpay-badge img{
    width:min(var(--openpay-logo-width, 160px), 100%);
    max-width:100%;
    height:auto;
    display:block;
}

.btn-whatsapp-openpay{
    width:100%;
    max-width:var(--openpay-logo-width, 322px);
    justify-content:center;
    text-align:center;
}

.pagos-cards-wrap{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    grid-column:1 / -1;
    width:100%;
    margin-top:14px;
}

.pagos-cards-wrap .payment-links{
    margin-top:24px;
    width:min(744px, 100%);
    max-width:none;
    margin-left:0;
    margin-right:0;
}

.pagos-help-wrap{
    display:flex;
    justify-content:center;
    margin-top:82px;
    width:100%;
}

.pagos-help-btn{
    display:block;
    width:min(930px, 100%);
    padding:14px 30px;
    text-align:center;
    box-sizing:border-box;
}

@media(max-width:900px){

    .payment-links,
    .hosting-features{
        grid-template-columns:1fr 1fr
    }

    .support-tools{
        grid-template-columns:1fr
    }

    .openpay-badge{
        width:100%;
        justify-content:center;
    }

    .payment-card{
        padding:10px;
    }
}

@media(max-width:560px){

    .payment-links,
    .hosting-features{
        grid-template-columns:1fr
    }

    .pagos-help-wrap{
        margin-top:34px;
    }

    .btn-download-big{
        width:100%
    }

    .hosting-panel{
        padding:42px 0
    }

    .support-info-grid{
        grid-template-columns:1fr;
    }

    .hosting-cta{
        font-size:1.05rem
    }

    .logo-image{
        width:170px;
        height:52px;
    }
}

@media(max-width:768px){

    .wrap{
        padding:0 14px;
    }

    section{
        padding:54px 0;
    }

    .hero{
        padding:46px 0 28px;
    }

    .hero-grid{
        gap:24px;
    }

    .btn-large,
    .btn-download-big,
    .btn-whatsapp-openpay,
    .pagos-help-btn{
        width:100%;
    }

    .btn-large{
        padding:14px 20px;
    }

    .openpay-badge{
        padding:8px 10px;
        gap:8px;
    }

    .openpay-badge img{
        width:min(140px, 100%);
    }

    .payment-price{
        font-size:1rem;
    }

    .openpay-badge span{
        font-size:.86rem;
    }

    .gallery-modal{
        padding:14px;
    }

    .gallery-close{
        top:10px;
        right:14px;
        font-size:30px;
    }

    .gallery-nav{
        width:44px;
        height:44px;
        font-size:26px;
    }

    .gallery-nav.prev{
        left:10px;
    }

    .gallery-nav.next{
        right:10px;
    }
}

@media(max-width:480px){

    .hero-actions,
    .page-links{
        gap:10px;
    }

    .topbar .wrap{
        gap:10px;
        font-size:.84rem;
    }

    .hosting-logos{
        padding:16px;
        gap:12px;
    }

    .hosting-logos span{
        font-size:clamp(1.05rem,7vw,1.45rem);
    }
}

.gallery-item{
    cursor:pointer;
}

.gallery-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.82);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:30px;
}

.gallery-modal.open{
    display:flex;
}

.gallery-modal-image{
    max-width:90%;
    max-height:88vh;
    border-radius:22px;
    box-shadow:0 25px 70px rgba(0,0,0,.45);
}

.gallery-close{
    position:absolute;
    top:20px;
    right:25px;
    background:none;
    border:none;
    color:#fff;
    font-size:38px;
    cursor:pointer;
}

.gallery-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,.14);
    border:none;
    color:#fff;
    width:58px;
    height:58px;
    border-radius:50%;
    font-size:34px;
    cursor:pointer;
    backdrop-filter:blur(10px);
}

.gallery-nav.prev{
    left:24px;
}

.gallery-nav.next{
    right:24px;
}

/* === MOBILE-FIRST FINAL LAYER === */
body{
    padding-bottom:64px;
}

.wrap{
    width:min(100% - 28px, 1180px);
    max-width:1180px;
    padding-left:0;
    padding-right:0;
}

.topbar .wrap{
    justify-content:center;
    flex-wrap:wrap;
    gap:8px 14px;
    min-height:38px;
    text-align:center;
}

.nav .wrap{
    min-height:70px;
    padding-top:8px;
    padding-bottom:8px;
}

.logo img{
    display:block;
    width:190px;
    max-height:58px;
    object-fit:contain;
}

.menu-toggle{
    display:inline-grid;
    place-items:center;
    flex:0 0 auto;
    width:44px;
    height:44px;
}

.menu{
    position:absolute;
    top:70px;
    left:14px;
    right:14px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    margin:0;
    padding:10px;
    border:1px solid #dbe7f7;
    border-radius:12px;
    background:#fff;
    box-shadow:var(--shadow);
}

.menu.open{
    display:flex;
}

.menu a{
    display:flex;
    align-items:center;
    width:100%;
    min-height:44px;
    border-radius:10px;
}

.hero,
section{
    padding:44px 0;
}

.hero-grid,
.grid-3,
.grid-4,
.gallery,
.payment-links,
.hosting-features,
.footer-grid,
.support-tools,
.support-info-grid,
.cta{
    grid-template-columns:1fr;
}

.hero-grid{
    gap:24px;
}

h1{
    font-size:clamp(2.05rem, 11vw, 3.25rem);
}

h2{
    font-size:clamp(1.55rem, 8vw, 2.2rem);
}

.lead{
    font-size:1.04rem;
}

.hero-actions .btn,
.servicio-acciones .btn,
.page-links .btn,
.btn-large,
.btn-download-big,
.btn-whatsapp-openpay,
.pagos-help-btn,
.monitor-refresh-btn,
#payment-form button{
    width:100%;
}

.payment-links{
    gap:18px;
}

.payment-card{
    aspect-ratio:auto;
}

.payment-card img{
    aspect-ratio:auto;
}

.cta{
    padding:26px 20px;
    text-align:center;
    border-radius:18px;
}

.cta-action{
    justify-self:center;
}

.floating-whatsapp{
    left:auto;
    right:14px;
    bottom:12px;
    width:auto;
    padding:12px 16px;
    text-align:center;
}

.monitor-live-frame{
    min-height:300px;
}

.gallery-modal{
    padding:14px;
}

.gallery-nav{
    width:44px;
    height:44px;
    font-size:26px;
}

.gallery-nav.prev{
    left:10px;
}

.gallery-nav.next{
    right:10px;
}

@media(min-width:640px){
    body{
        padding-bottom:0;
    }

    .wrap{
        width:min(100% - 40px, 1180px);
    }

    .logo img{
        width:230px;
        max-height:66px;
    }

    .hero,
    section{
        padding:58px 0;
    }

    .grid-4,
    .gallery,
    .support-tools,
    .support-info-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .payment-links,
    .hosting-features{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }

    .hero-actions .btn,
    .servicio-acciones .btn,
    .page-links .btn,
    #payment-form button{
        width:auto;
    }
}

@media(min-width:900px){
    .topbar .wrap{
        justify-content:flex-end;
        text-align:left;
    }

    .nav .wrap{
        min-height:78px;
        padding-top:14px;
        padding-bottom:14px;
    }

    .logo img{
        width:250px;
        max-height:70px;
    }

    .hero-grid{
        grid-template-columns:1.05fr .95fr;
        gap:46px;
    }

    .grid-3{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }

    .grid-4,
    .hosting-features{
        grid-template-columns:repeat(4, minmax(0, 1fr));
    }

    .footer-grid{
        grid-template-columns:1.1fr .8fr .8fr;
    }

    .cta{
        grid-template-columns:1.3fr .7fr;
        padding:44px;
        text-align:left;
    }

    .cta-action{
        justify-self:end;
    }

    .floating-whatsapp{
        left:auto;
        right:18px;
        bottom:18px;
        width:auto;
    }
}

@media(min-width:1120px){
    .menu-toggle{
        display:none;
    }

    .menu{
        position:static;
        display:flex;
        flex-direction:row;
        align-items:center;
        gap:3px;
        padding:0;
        border:0;
        border-radius:0;
        background:transparent;
        box-shadow:none;
    }

    .menu a{
        width:auto;
        min-height:0;
        display:inline-flex;
        border-radius:999px;
    }

    .hero{
        padding:70px 0 45px;
    }

    section{
        padding:72px 0;
    }
}

@media(max-width:1119px){
    .nav .menu{
        background:#fff !important;
        border:1px solid #dbe7f7 !important;
        box-shadow:0 18px 40px rgba(16,35,63,.16) !important;
    }

    .nav .menu a,
    .nav .menu a:visited,
    .nav .menu a span,
    .nav .menu a strong,
    .nav .menu a small,
    .nav .menu a *{
        color:#10233f !important;
        background:transparent !important;
        -webkit-text-fill-color:#10233f !important;
        opacity:1 !important;
        text-decoration:none !important;
    }

    .nav .menu a:hover,
    .nav .menu a:focus-visible,
    .nav .menu a.active{
        color:var(--brand-dark) !important;
        background:#e9f2ff !important;
        -webkit-text-fill-color:var(--brand-dark) !important;
    }
}

/* === PROFESSIONAL POLISH === */
.hero-card,
.image-card{
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}

.hero-card img,
.image-card img{
    width:100%;
    max-height:520px;
    object-fit:contain;
    border-radius:0;
    filter:drop-shadow(0 24px 34px rgba(16,35,63,.18));
}

.hero-card{
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-actions{
    align-items:stretch;
}

.hero-actions .btn{
    min-width:min(100%, 204px);
}

.download-center{
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
}

.btn-download-big{
    min-height:66px;
    padding:18px 28px;
    border-radius:18px;
    font-size:clamp(1.1rem, 2.2vw, 1.35rem);
}

.gallery{
    display:flex;
    gap:16px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:4px 4px 18px;
    -webkit-overflow-scrolling:touch;
}

.gallery::-webkit-scrollbar{
    height:8px;
}

.gallery::-webkit-scrollbar-thumb{
    border-radius:999px;
    background:#c7d9f6;
}

.gallery-item{
    flex:0 0 min(84vw, 420px);
    scroll-snap-align:center;
    aspect-ratio:16 / 10;
    object-fit:cover;
    border:1px solid #dbe7f7;
    border-radius:12px;
    background:#f8fbff;
    box-shadow:0 16px 34px rgba(16,35,63,.14);
}

.gallery-modal-image{
    border-radius:12px;
}

.payment-card{
    border-radius:14px;
    background:transparent;
}

.payment-card img{
    border-radius:12px;
    background:transparent;
}

.feature-icon img,
.servicio-bloque-imagen,
.support-tool img{
    filter:drop-shadow(0 12px 18px rgba(16,35,63,.10));
}

@media(max-width:899px){
    .hero-actions .btn,
    .page-links .btn,
    .servicio-acciones .btn{
        width:100%;
        min-width:0;
    }
}

@media(min-width:760px){
    .gallery{
        display:grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        overflow:visible;
        padding:0;
    }

    .gallery-item{
        width:100%;
        flex:auto;
    }
}

@media(min-width:1120px){
    .gallery{
        grid-template-columns:repeat(4, minmax(0, 1fr));
    }

    .hero-actions .btn{
        min-width:204px;
    }
}

/* Carrusel de banners */
.banner-carousel{
    padding:24px clamp(16px, 5vw, 80px) 0;
}

.banner-viewport{
    position:relative;
    overflow:hidden;
    border-radius:16px;
    max-width:1400px;
    margin:0 auto;
}

.banner-track{
    display:flex;
    transition:transform .6s ease;
}

.banner-track img{
    flex:0 0 100%;
    width:100%;
    height:auto;
    display:block;
}

.banner-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    border:0;
    background:rgba(0,0,0,.45);
    color:#fff;
    width:40px;
    height:40px;
    border-radius:50%;
    cursor:pointer;
    font-size:18px;
}

.banner-prev{ left:12px; }
.banner-next{ right:12px; }

.banner-dots{
    position:absolute;
    bottom:10px;
    left:0;
    right:0;
    display:flex;
    justify-content:center;
    gap:8px;
}

.banner-dots button{
    width:10px;
    height:10px;
    padding:0;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.6);
    cursor:pointer;
}

.banner-dots button.active{
    background:#fff;
}

/* Inicio: texto del hero a todo el ancho */
body[data-page="inicio"] .hero-grid{
    grid-template-columns:1fr;
}

body[data-page="inicio"] .hero-grid > div{
    max-width:none;
}

@media(max-width:720px){
    #onwebchat_chatimage_div,
    .onwebchat_chatimage,
    .onwebchat_chatimage_mobile{
        display:none !important;
    }
}
