/* ============================================================
   EPUBKit - style.css
   Hoja de estilos comun a toda la web
   ============================================================ */


/* ============================================================
   1. VARIABLES Y BASE
   ============================================================ */

:root{
    --red:#e53935;
    --red-dark:#c62828;
    --red-soft:#fdecea;
    --coral:#ff6f61;
    --ink:#161a23;
    --text:#3d4451;
    --muted:#6b7280;
    --line:#e6e8ee;
    --bg:#f6f7fb;
    --card:#ffffff;
    --radius:14px;
    --shadow-sm:0 1px 2px rgba(22,26,35,0.04), 0 4px 14px rgba(22,26,35,0.06);
    --shadow-md:0 2px 4px rgba(22,26,35,0.05), 0 14px 34px rgba(22,26,35,0.10);
    --shadow-lg:0 4px 10px rgba(22,26,35,0.06), 0 26px 60px rgba(22,26,35,0.14);
}

*{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; }

body{
    font-family:'Inter', Arial, sans-serif;
    background:var(--bg);
    color:var(--text);
    margin:0;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
}

h1,h2,h3{ letter-spacing:-0.01em; }


/* ============================================================
   2. HEADER Y MENU
   ============================================================ */

header{
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    padding:0 32px;
    border-bottom:1px solid var(--line);
    position:sticky;
    top:0;
    z-index:1000;
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    max-width:1200px;
    margin:auto;
    height:68px;
}

.logo{
    display:flex;
    align-items:center;
    margin-right:36px;
}

.logo img{
    height:42px;
    width:auto;
    display:block;
}

nav{
    display:flex;
    align-items:center;
    height:100%;
}

/* Enlaces del menu: linea roja animada al pasar el raton (efecto original) */
nav > a,
.dropdown > a{
    display:inline-flex;
    align-items:center;
    height:68px;
    margin-right:34px;
    text-decoration:none;
    color:var(--text);
    font-weight:600;
    font-size:14.5px;
    position:relative;
    cursor:pointer;
    transition:color 0.15s;
}

nav > a:hover,
.dropdown:hover > a,
.dropdown.open > a{
    color:var(--red);
}

nav > a::after,
.dropdown > a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:20px;
    width:0%;
    height:2px;
    background:var(--red);
    border-radius:2px;
    transition:width 0.3s;
}

nav > a:hover::after,
.dropdown:hover > a::after,
.dropdown.open > a::after{
    width:100%;
}

.dropdown{
    position:relative;
    height:100%;
    display:flex;
    align-items:center;
}

/* Desplegable pegado al enlace, sin hueco, para que no se cierre al bajar */
.dropdown-content{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:var(--card);
    min-width:230px;
    box-shadow:var(--shadow-md);
    border:1px solid var(--line);
    border-radius:12px;
    padding:8px;
    z-index:999;
}

/* Puente invisible por encima del desplegable (zona de seguridad) */
.dropdown-content::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:-12px;
    height:12px;
}

.dropdown-content a{
    display:block;
    padding:10px 12px;
    border-radius:8px;
    font-size:14px;
    font-weight:500;
    color:var(--text);
    text-decoration:none;
    white-space:nowrap;
}

.dropdown-content a:hover{
    background:var(--bg);
    color:var(--red);
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content{
    display:block;
}

/* Boton hamburguesa (solo movil) */
.menu-toggle{
    display:none;
    margin-left:auto;
    width:44px;
    height:44px;
    border:1px solid var(--line);
    border-radius:10px;
    background:var(--card);
    cursor:pointer;
    padding:0;
}

.menu-toggle span{
    display:block;
    width:20px;
    height:2px;
    background:var(--ink);
    margin:4px auto;
    border-radius:2px;
    transition:0.2s;
}

header.menu-open .menu-toggle span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
header.menu-open .menu-toggle span:nth-child(2){ opacity:0; }
header.menu-open .menu-toggle span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }


/* ============================================================
   3. FOOTER
   ============================================================ */

footer{
    margin-top:80px;
    padding:28px 20px;
    color:var(--muted);
    font-size:13.5px;
    text-align:center;
    background:var(--card);
    border-top:1px solid var(--line);
}


/* ============================================================
   4. PAGINAS DE CONVERSOR
   ============================================================ */

.page-tool{
    text-align:center;
}

.page-tool .container{
    margin-top:56px;
    padding:0 20px;
}

.tool-header{
    max-width:640px;
    margin:0 auto 34px auto;
}

.tool-header h1{
    color:var(--ink);
    font-size:38px;
    font-weight:800;
    line-height:1.15;
    margin:0 0 12px;
}

.tool-header h1 span{
    color:var(--red);
}

.tool-header p{
    color:var(--muted);
    font-size:16px;
    margin:0;
}

.upload-box{
    background:var(--card);
    max-width:660px;
    margin:auto;
    padding:22px;
    border-radius:20px;
    box-shadow:var(--shadow-lg);
    border:1px solid var(--line);
    transition:0.3s;
}

#drop-area{
    border:2px dashed #d7dbe6;
    border-radius:16px;
    padding:48px 32px;
    background:linear-gradient(180deg,#fbfbfd 0%,#f6f7fb 100%);
    transition:0.25s;
}

#drop-area.hover{
    background:var(--red-soft);
    border-color:var(--red);
    transform:scale(1.01);
}

#drop-area h2{
    color:var(--ink);
    font-size:20px;
    font-weight:700;
    margin:0 0 6px;
}

#drop-area p{
    color:var(--muted);
    font-size:14px;
    margin:0 0 18px;
}

#drop-area input[type="file"]{
    font-family:inherit;
    font-size:14px;
    color:var(--text);
    max-width:100%;
}

#file-info{
    margin-top:14px;
    font-size:14px;
    font-weight:600;
    color:var(--ink);
}

#progress-bar{
    width:100%;
    background:#e9ebf1;
    border-radius:99px;
    margin-top:18px;
    display:none;
    overflow:hidden;
}

#progress{
    width:0%;
    height:10px;
    background:linear-gradient(90deg,var(--red),var(--coral));
    border-radius:99px;
    transition:width 0.2s;
}

.page-tool button{
    background:linear-gradient(135deg,var(--red) 0%,#f0493f 100%);
    color:#fff;
    border:none;
    padding:16px 36px;
    font-family:inherit;
    font-size:16px;
    font-weight:700;
    border-radius:12px;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(229,57,53,0.28);
    transition:transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.page-tool button:hover{
    background:var(--red-dark);
    transform:translateY(-1px);
    box-shadow:0 12px 26px rgba(229,57,53,0.34);
}

.page-tool button:active{
    transform:translateY(0);
}

.upload-box > h2{
    color:var(--ink);
    font-size:24px;
    font-weight:800;
    margin:18px 0 6px;
}

.upload-box > p{
    color:var(--muted);
    margin:0 0 20px;
}

.trust{
    display:flex;
    flex-direction:row;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px 22px;
    margin-top:22px;
}

.trust-item{
    display:flex;
    align-items:center;
    gap:7px;
    font-size:13px;
    font-weight:500;
    color:var(--muted);
}

.trust-item svg{
    color:var(--red);
    flex-shrink:0;
}

.why-section,
.how-section,
.seo-section,
.faq-section{
    max-width:660px;
    margin:56px auto 0;
    text-align:left;
}

.why-section h2,
.how-section h2,
.faq-section h2{
    color:var(--ink);
    font-weight:800;
    font-size:22px;
    margin:0 0 18px;
}

.why-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.why-item{
    background:var(--card);
    border-radius:var(--radius);
    border:1px solid var(--line);
    box-shadow:var(--shadow-sm);
    padding:16px 18px;
    display:flex;
    align-items:center;
    gap:12px;
    transition:0.2s;
}

.why-item:hover{
    transform:translateY(-2px);
    box-shadow:var(--shadow-md);
    border-color:#f3c6c4;
}

.why-item svg{
    color:var(--red);
    background:var(--red-soft);
    border-radius:10px;
    padding:8px;
    width:36px;
    height:36px;
    flex-shrink:0;
}

.why-item p{
    margin:0;
    font-size:14px;
    font-weight:500;
    color:var(--text);
    line-height:1.45;
}

.how-steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.how-step{
    background:var(--card);
    border-radius:var(--radius);
    border:1px solid var(--line);
    box-shadow:var(--shadow-sm);
    padding:22px 16px;
    text-align:center;
    transition:0.2s;
}

.how-step:hover{
    transform:translateY(-2px);
    box-shadow:var(--shadow-md);
}

.step-number{
    width:38px;
    height:38px;
    background:linear-gradient(135deg,var(--red),var(--coral));
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
    font-weight:800;
    margin:0 auto 12px;
    box-shadow:0 6px 14px rgba(229,57,53,0.28);
}

.how-step p{
    margin:0;
    font-size:14px;
    font-weight:500;
    color:var(--text);
}

.seo-card{
    background:var(--card);
    border-radius:var(--radius);
    border:1px solid var(--line);
    box-shadow:var(--shadow-sm);
    padding:26px 28px;
    margin-bottom:14px;
}

.seo-card h2{
    color:var(--ink);
    font-weight:700;
    font-size:19px;
    margin:0 0 10px;
}

.seo-card p{
    color:var(--text);
    font-size:15px;
    line-height:1.7;
    margin:0 0 10px;
}

.seo-card p:last-child{ margin:0; }

.faq-item{
    background:var(--card);
    border-radius:12px;
    border:1px solid var(--line);
    padding:18px 22px;
    margin-bottom:10px;
    border-left:4px solid var(--red);
}

.faq-item h3{
    color:var(--ink);
    font-size:15.5px;
    font-weight:700;
    margin:0 0 6px;
}

.faq-item p{
    color:var(--text);
    font-size:14.5px;
    line-height:1.65;
    margin:0;
}

/* Kindle box (conversores MOBI y AZW3) */
.kindle-box{
    position:relative;
    background:var(--card);
    max-width:660px;
    margin:18px auto 0;
    padding:28px 30px;
    border-radius:20px;
    border:2px solid var(--red);
    box-shadow:var(--shadow-md);
    text-align:left;
}

.kindle-box::before{
    content:"NEW";
    position:absolute;
    top:-12px;
    left:24px;
    background:linear-gradient(135deg,var(--red),var(--coral));
    color:#fff;
    font-size:11px;
    font-weight:800;
    letter-spacing:0.08em;
    padding:4px 10px;
    border-radius:99px;
}

.kindle-box h2{
    color:var(--ink);
    font-size:20px;
    font-weight:800;
    margin:0 0 6px;
    display:flex;
    align-items:center;
    gap:10px;
}

.kindle-box h2 svg{ color:var(--red); }

.kindle-box .kindle-sub{
    color:var(--muted);
    font-size:14px;
    margin:0 0 16px;
}

.kindle-instructions{
    background:var(--bg);
    border-radius:12px;
    padding:14px 16px;
    margin-bottom:16px;
    font-size:13.5px;
    color:var(--text);
    line-height:1.6;
}

.kindle-instructions strong{ color:var(--ink); display:block; margin-bottom:6px; }
.kindle-instructions ol{ margin:0; padding-left:18px; }
.kindle-instructions li{ margin-bottom:4px; }

.kindle-form{ display:flex; gap:10px; flex-wrap:wrap; }

.kindle-form input[type="email"]{
    flex:1;
    padding:13px 16px;
    border:1px solid #d7dbe6;
    border-radius:12px;
    font-size:14.5px;
    font-family:inherit;
    min-width:200px;
    transition:border-color 0.2s, box-shadow 0.2s;
}

.kindle-form input[type="email"]:focus{
    outline:none;
    border-color:var(--red);
    box-shadow:0 0 0 3px var(--red-soft);
}

.kindle-btn{
    background:linear-gradient(135deg,var(--red),#f0493f);
    color:#fff;
    border:none;
    padding:13px 24px;
    border-radius:12px;
    font-size:14.5px;
    font-weight:700;
    cursor:pointer;
    white-space:nowrap;
    box-shadow:0 6px 16px rgba(229,57,53,0.26);
}

.kindle-btn:hover{ background:var(--red-dark); }

.kindle-success{ background:#e8f5e9; color:#2e7d32; border-radius:12px; padding:14px 16px; font-size:14px; font-weight:600; margin-top:12px; }
.kindle-error{ background:#ffebee; color:#c62828; border-radius:12px; padding:14px 16px; font-size:14px; margin-top:12px; }


/* ============================================================
   5. RESPONSIVE
   ============================================================ */

@media(max-width:900px){
    header{ padding:0 16px; }
    .menu-toggle{ display:block; }
    nav{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:68px;
        height:auto;
        flex-direction:column;
        align-items:stretch;
        background:var(--card);
        border-bottom:1px solid var(--line);
        box-shadow:var(--shadow-md);
        padding:8px 16px 16px;
    }
    header.menu-open nav{ display:flex; }
    nav > a, .dropdown > a{
        height:auto;
        margin-right:0;
        padding:12px 4px;
        font-size:15px;
        width:100%;
    }
    nav > a::after, .dropdown > a::after{ display:none; }
    .dropdown{ height:auto; flex-direction:column; align-items:stretch; }
    .dropdown-content{
        position:static;
        box-shadow:none;
        border:none;
        background:var(--bg);
        margin:0 0 6px;
        min-width:0;
    }
    .dropdown-content::before{ display:none; }
    .dropdown:hover .dropdown-content{ display:none; }
    .dropdown.open .dropdown-content{ display:block; }
}

@media(max-width:600px){
    .page-tool .container{ margin-top:32px; }
    .tool-header h1{ font-size:28px; }
    .upload-box{ padding:14px; border-radius:16px; }
    #drop-area{ padding:32px 16px; }
    .page-tool button{ width:100%; padding:15px 20px; }
    .why-grid{ grid-template-columns:1fr; }
    .how-steps{ grid-template-columns:1fr; }
    .kindle-box{ padding:22px 18px; }
    .kindle-form{ flex-direction:column; }
    .kindle-btn{ width:100%; }
}


/* ============================================================
   6. MEJORAS CONVERSOR (zona de subida, iconos, otros tools)
   ============================================================ */

.tool-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--card);
    border:1px solid var(--line);
    color:var(--muted);
    font-size:12.5px;
    font-weight:600;
    padding:6px 14px;
    border-radius:99px;
    margin-bottom:18px;
    box-shadow:var(--shadow-sm);
}

.tool-badge span{
    width:6px;
    height:6px;
    border-radius:50%;
    background:#22c55e;
}

.drop-icon{
    width:64px;
    height:64px;
    margin:0 auto 14px;
    border-radius:18px;
    background:var(--red-soft);
    color:var(--red);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.25s;
}

.drop-icon svg{ width:30px; height:30px; }

#drop-area.hover .drop-icon,
#drop-area.has-file .drop-icon{
    background:var(--red);
    color:#fff;
    transform:scale(1.06);
}

#drop-area.has-file{
    border-style:solid;
    border-color:var(--red);
    background:#fff;
}

/* Input nativo oculto pero accesible */
.file-input{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
}

.file-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--card);
    color:var(--ink);
    border:1.5px solid #d7dbe6;
    padding:12px 22px;
    border-radius:12px;
    font-size:14.5px;
    font-weight:600;
    cursor:pointer;
    transition:0.15s;
}

.file-btn:hover{
    border-color:var(--red);
    color:var(--red);
    background:var(--red-soft);
}

.file-btn svg{ width:18px; height:18px; }

.file-hint{
    color:var(--muted);
    font-size:12.5px;
    margin:10px 0 0;
}

#file-info{
    display:none;
    margin:16px auto 0;
    max-width:100%;
    background:var(--red-soft);
    color:var(--red-dark);
    border-radius:10px;
    padding:10px 14px;
    font-size:13.5px;
    font-weight:600;
    word-break:break-all;
}

#file-info.show{ display:inline-block; }

.page-tool form .btn-convert{ margin-top:18px; }

/* Iconos de linea */
.icon-line{
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.trust-item svg{ width:16px; height:16px; }

/* Otros conversores */
.related-tools{
    max-width:660px;
    margin:56px auto 0;
    text-align:left;
}

.related-tools h2{
    color:var(--ink);
    font-weight:800;
    font-size:22px;
    margin:0 0 18px;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

.related-card{
    display:block;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:18px;
    text-decoration:none;
    box-shadow:var(--shadow-sm);
    transition:0.2s;
}

.related-card:hover{
    transform:translateY(-2px);
    box-shadow:var(--shadow-md);
    border-color:#f3c6c4;
}

.related-card strong{
    display:block;
    color:var(--ink);
    font-size:15px;
    font-weight:700;
    margin-bottom:4px;
}

.related-card span{
    color:var(--muted);
    font-size:13px;
}

.related-card em{
    display:inline-block;
    font-style:normal;
    color:var(--red);
    font-size:13px;
    font-weight:700;
    margin-top:10px;
}

/* Footer con columnas */
.site-footer{
    margin-top:80px;
    background:var(--card);
    border-top:1px solid var(--line);
    padding:0;
    text-align:left;
    color:var(--text);
}

.footer-inner{
    max-width:1100px;
    margin:auto;
    padding:44px 24px 28px;
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr 1fr;
    gap:32px;
}

.footer-brand img{ height:38px; width:auto; margin-bottom:12px; }

.footer-brand p{
    color:var(--muted);
    font-size:13.5px;
    line-height:1.6;
    margin:0;
    max-width:320px;
}

.footer-col h4{
    color:var(--ink);
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.06em;
    margin:0 0 12px;
}

.footer-col a{
    display:block;
    color:var(--text);
    text-decoration:none;
    font-size:14px;
    margin-bottom:8px;
}

.footer-col a:hover{ color:var(--red); }

.footer-bottom{
    border-top:1px solid var(--line);
    text-align:center;
    color:var(--muted);
    font-size:13px;
    padding:18px 20px;
}

@media(max-width:800px){
    .footer-inner{ grid-template-columns:1fr 1fr; gap:24px; }
    .related-grid{ grid-template-columns:1fr; }
}

@media(max-width:480px){
    .footer-inner{ grid-template-columns:1fr; }
}


/* ============================================================
   7. CONVERSOR V2 (zona compacta, features, pasos, faq, cta, footer)
   ============================================================ */

.tool-header{ margin-bottom:26px; }

/* Zona de subida compacta */
#drop-area.dz{
    padding:0;
    border:none;
    background:transparent;
    text-align:left;
}

.dz-main{
    display:flex;
    align-items:center;
    gap:16px;
    padding:18px 20px;
    border:2px dashed #d7dbe6;
    border-radius:14px;
    background:#fbfbfd;
    transition:0.2s;
}

#drop-area.hover .dz-main{
    border-color:var(--red);
    background:var(--red-soft);
}

#drop-area.has-file .dz-main{
    border-style:solid;
    border-color:var(--red);
    background:#fff;
}

.dz-icon{
    width:48px;
    height:48px;
    flex-shrink:0;
    border-radius:12px;
    background:var(--red-soft);
    color:var(--red);
    display:flex;
    align-items:center;
    justify-content:center;
}

.dz-icon svg{ width:24px; height:24px; }

#drop-area.has-file .dz-icon{ background:var(--red); color:#fff; }

.dz-text{ flex:1; min-width:0; }

.dz-text h2{
    color:var(--ink);
    font-size:16px;
    font-weight:700;
    margin:0 0 3px;
}

.dz-text p{
    color:var(--muted);
    font-size:13px;
    margin:0;
}

.dz-text #file-info{
    display:none;
    margin:8px 0 0;
    padding:6px 10px;
    font-size:13px;
    border-radius:8px;
}

.dz-text #file-info.show{ display:inline-block; }

.dz .file-btn{ padding:11px 16px; flex-shrink:0; }

.dz-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    margin-top:14px;
}

.dz-bar .trust{ margin:0; justify-content:flex-start; gap:6px 18px; }

.dz-bar .btn-convert{
    margin:0;
    padding:13px 26px;
    font-size:15px;
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.dz-bar .btn-convert svg{ width:16px; height:16px; }

.dz #progress-bar{ margin-top:12px; }

/* Features (3 tarjetas) */
.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

.feature{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow-sm);
    padding:18px;
}

.feature svg{
    width:26px;
    height:26px;
    color:var(--red);
    margin-bottom:10px;
}

.feature strong{
    display:block;
    color:var(--ink);
    font-size:15px;
    font-weight:700;
    margin-bottom:3px;
}

.feature span{ color:var(--muted); font-size:13.5px; }

/* Pasos en linea */
.steps-line{
    display:flex;
    align-items:center;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow-sm);
    padding:18px 20px;
}

.steps-line .step{
    flex:1;
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--text);
    font-size:14px;
    font-weight:500;
}

.steps-line .step .step-number{
    width:30px;
    height:30px;
    font-size:13px;
    margin:0;
    flex-shrink:0;
    box-shadow:none;
}

.steps-line .step-sep{
    width:36px;
    height:2px;
    background:#e3e6ee;
    flex-shrink:0;
    margin:0 8px;
}

/* Otros tools en fila */
.tools-row{ display:flex; gap:8px; flex-wrap:wrap; }

.tools-row a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:10px;
    padding:11px 16px;
    color:var(--ink);
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    box-shadow:var(--shadow-sm);
    transition:0.15s;
}

.tools-row a svg{ width:15px; height:15px; color:var(--red); }

.tools-row a:hover{ border-color:var(--red); color:var(--red); }

/* FAQ acordeon */
.faq-acc{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow-sm);
    padding:0 20px;
}

.faq-acc details{ border-bottom:1px solid var(--line); }
.faq-acc details:last-child{ border-bottom:none; }

.faq-acc summary{
    list-style:none;
    cursor:pointer;
    padding:15px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    color:var(--ink);
    font-size:15px;
    font-weight:600;
}

.faq-acc summary::-webkit-details-marker{ display:none; }

.faq-acc summary::after{
    content:"";
    width:8px;
    height:8px;
    border-right:2px solid var(--muted);
    border-bottom:2px solid var(--muted);
    transform:rotate(45deg);
    flex-shrink:0;
    transition:transform 0.2s;
}

.faq-acc details[open] summary::after{ transform:rotate(-135deg); }

.faq-acc details p{
    color:var(--text);
    font-size:14.5px;
    line-height:1.65;
    margin:0;
    padding:0 0 16px;
}

/* Banda CTA */
.cta-band{
    max-width:660px;
    margin:56px auto 0;
    background:var(--red);
    border-radius:16px;
    padding:24px 26px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    text-align:left;
    box-shadow:0 14px 34px rgba(229,57,53,0.30);
}

.cta-band strong{
    display:block;
    color:#fff;
    font-size:18px;
    font-weight:800;
    margin-bottom:3px;
}

.cta-band span{ color:#fde3e1; font-size:14px; }

.cta-band a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#fff;
    color:var(--red);
    border-radius:10px;
    padding:12px 18px;
    font-size:14.5px;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
}

.cta-band a svg{ width:16px; height:16px; }

/* Footer oscuro */
.site-footer{
    background:var(--ink);
    border-top:none;
    color:#c9ccd6;
}

.site-footer .footer-brand p{ color:#9aa0b0; }

.site-footer .footer-brand .brand-name{
    color:#fff;
    font-size:20px;
    font-weight:800;
    letter-spacing:-0.02em;
    margin-bottom:10px;
}

.site-footer .footer-brand .brand-name span{ color:var(--red); }

.site-footer .footer-col h4{ color:#fff; }
.site-footer .footer-col a{ color:#c9ccd6; }
.site-footer .footer-col a:hover{ color:#fff; }

.site-footer .footer-bottom{
    border-top:1px solid #2a2f3d;
    color:#8b90a0;
}

@media(max-width:700px){
    .dz-main{ flex-wrap:wrap; }
    .dz .file-btn{ width:100%; justify-content:center; }
    .dz-bar{ flex-direction:column; align-items:stretch; }
    .dz-bar .trust{ justify-content:center; }
    .dz-bar .btn-convert{ width:100%; justify-content:center; }
    .feature-grid{ grid-template-columns:1fr; }
    .steps-line{ flex-direction:column; align-items:flex-start; gap:12px; }
    .steps-line .step-sep{ display:none; }
    .cta-band{ text-align:center; justify-content:center; }
}


/* Boton de convertir grande y centrado */
.dz-bar{
    flex-direction:column;
    align-items:center;
    gap:16px;
    margin-top:16px;
}

.dz-bar .trust{
    justify-content:center;
}

.dz-bar .btn-convert{
    padding:16px 44px;
    font-size:17px;
    min-width:280px;
    justify-content:center;
}


/* Alinear avisos y boton con el recuadro de subida */
.dz-bar{
    align-items:stretch;
}

.dz-bar .trust{
    justify-content:space-between;
    padding:0 8px;
}

.dz-bar .btn-convert{
    width:100%;
    min-width:0;
}

@media(max-width:700px){
    .dz-bar .trust{ justify-content:center; gap:8px 16px; }
}


/* Barrita roja animada en las opciones del desplegable */
.dropdown-content a{
    position:relative;
    background:transparent;
}

.dropdown-content a:hover{
    background:transparent;
    color:var(--red);
}

.dropdown-content a::after{
    content:"";
    position:absolute;
    left:12px;
    right:12px;
    bottom:6px;
    height:2px;
    width:auto;
    background:var(--red);
    border-radius:2px;
    transform:scaleX(0);
    transform-origin:left;
    transition:transform 0.3s;
}

.dropdown-content a:hover::after{
    transform:scaleX(1);
}


/* ============================================================
   8. HOME
   ============================================================ */

.page-home .wrap{
    max-width:1060px;
    margin:auto;
    padding:0 24px;
}

.home-hero{
    text-align:center;
    padding:64px 0 40px;
}

.home-hero h1{
    color:var(--ink);
    font-size:44px;
    font-weight:800;
    line-height:1.1;
    margin:0 0 14px;
}

.home-hero h1 span{ color:var(--red); }

.home-hero p{
    color:var(--muted);
    font-size:17px;
    max-width:560px;
    margin:0 auto 28px;
}

.quick-tools{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.quick-tools a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:12px;
    padding:13px 18px;
    color:var(--ink);
    font-size:14.5px;
    font-weight:600;
    text-decoration:none;
    box-shadow:var(--shadow-sm);
    transition:0.15s;
}

.quick-tools a svg{ width:16px; height:16px; color:var(--red); }

.quick-tools a:hover{
    border-color:var(--red);
    color:var(--red);
    transform:translateY(-1px);
    box-shadow:var(--shadow-md);
}

.section-title{
    color:var(--ink);
    font-size:24px;
    font-weight:800;
    margin:0 0 6px;
}

.section-sub{
    color:var(--muted);
    font-size:15px;
    margin:0 0 22px;
}

.home-section{ margin-top:56px; }

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

.tool-card{
    position:relative;
    display:block;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:16px;
    padding:22px 20px 20px;
    text-decoration:none;
    box-shadow:var(--shadow-sm);
    transition:0.2s;
}

.tool-card:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow-md);
    border-color:#f3c6c4;
}

.tool-card .tool-icon{
    width:46px;
    height:46px;
    border-radius:12px;
    background:var(--red-soft);
    color:var(--red);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:14px;
}

.tool-card .tool-icon svg{ width:22px; height:22px; }

.tool-card h2{
    color:var(--ink);
    font-size:17px;
    font-weight:700;
    margin:0 0 6px;
}

.tool-card p{
    color:var(--muted);
    font-size:14px;
    line-height:1.5;
    margin:0 0 14px;
}

.tool-card .tool-link{
    color:var(--red);
    font-size:14px;
    font-weight:700;
}

.tool-card .tag{
    position:absolute;
    top:16px;
    right:16px;
    background:var(--red);
    color:#fff;
    font-size:10.5px;
    font-weight:800;
    letter-spacing:0.06em;
    padding:4px 8px;
    border-radius:99px;
}

.blog-preview{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.post-card{
    display:block;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:16px;
    padding:22px;
    text-decoration:none;
    box-shadow:var(--shadow-sm);
    transition:0.2s;
}

.post-card:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow-md);
}

.post-card .cat{
    display:inline-block;
    color:var(--red);
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.06em;
    margin-bottom:10px;
}

.post-card h3{
    color:var(--ink);
    font-size:17px;
    font-weight:700;
    line-height:1.3;
    margin:0 0 8px;
}

.post-card p{
    color:var(--muted);
    font-size:14px;
    line-height:1.55;
    margin:0;
}

.home-text{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:var(--shadow-sm);
    padding:28px 32px;
}

.home-text h2{
    color:var(--ink);
    font-size:20px;
    font-weight:800;
    margin:0 0 10px;
}

.home-text h3{
    color:var(--ink);
    font-size:16px;
    font-weight:700;
    margin:20px 0 6px;
}

.home-text p{
    color:var(--text);
    font-size:15px;
    line-height:1.7;
    margin:0 0 12px;
}

.home-text p:last-child{ margin:0; }

.page-home .cta-band{ max-width:none; margin-top:56px; }

.page-home .feature-grid{ grid-template-columns:repeat(3,1fr); }

@media(max-width:900px){
    .tools-grid{ grid-template-columns:1fr 1fr; }
    .blog-preview{ grid-template-columns:1fr; }
}

@media(max-width:600px){
    .home-hero{ padding:40px 0 28px; }
    .home-hero h1{ font-size:32px; }
    .tools-grid{ grid-template-columns:1fr; }
    .page-home .feature-grid{ grid-template-columns:1fr; }
    .home-text{ padding:22px 20px; }
}


/* Hero rojo de marca en la home */
.page-home .home-hero{
    position:relative;
    overflow:hidden;
    background:linear-gradient(120deg,var(--red) 0%,var(--coral) 100%);
    border-radius:0 0 28px 28px;
    padding:72px 24px 56px;
    margin:0 -24px 8px;
    color:#fff;
}

.page-home .home-hero::before,
.page-home .home-hero::after{
    content:"";
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,0.10);
    pointer-events:none;
}

.page-home .home-hero::before{
    width:420px;
    height:420px;
    top:-180px;
    right:-120px;
}

.page-home .home-hero::after{
    width:300px;
    height:300px;
    bottom:-160px;
    left:-100px;
}

.page-home .home-hero h1,
.page-home .home-hero p,
.page-home .quick-tools{
    position:relative;
    z-index:1;
}

.page-home .home-hero h1{ color:#fff; }
.page-home .home-hero h1 span{ color:#fff; opacity:0.85; }
.page-home .home-hero p{ color:rgba(255,255,255,0.9); }

.page-home .quick-tools a{
    background:#fff;
    border-color:#fff;
    color:var(--ink);
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.page-home .quick-tools a:hover{
    color:var(--red);
    border-color:#fff;
    transform:translateY(-2px);
}

@media(max-width:600px){
    .page-home .home-hero{
        padding:48px 20px 40px;
        border-radius:0 0 20px 20px;
    }
}


/* Hero a todo el ancho de la pantalla */
.page-home{ overflow-x:hidden; }

.page-home .home-hero{
    width:100vw;
    margin:0 0 8px calc(50% - 50vw);
    border-radius:0;
    padding:80px 24px 64px;
}

.page-home .home-hero::before{
    width:520px;
    height:520px;
    top:-240px;
    right:-140px;
    background:rgba(255,255,255,0.10);
}

.page-home .home-hero::after{
    width:360px;
    height:360px;
    bottom:-200px;
    left:-120px;
    background:rgba(255,255,255,0.08);
}

.page-home .home-hero h1,
.page-home .home-hero p,
.page-home .quick-tools{
    max-width:1060px;
    margin-left:auto;
    margin-right:auto;
}

.page-home .home-hero p{ max-width:600px; }

@media(max-width:600px){
    .page-home .home-hero{
        padding:52px 20px 44px;
        border-radius:0;
    }
}


/* ============================================================
   9. BLOG
   ============================================================ */

.page-blog{ overflow-x:hidden; }

.blog-hero{
    position:relative;
    overflow:hidden;
    width:100vw;
    margin:0 0 0 calc(50% - 50vw);
    background:linear-gradient(120deg,var(--red) 0%,var(--coral) 100%);
    color:#fff;
    text-align:center;
    padding:64px 24px 56px;
}

.blog-hero::before,
.blog-hero::after{
    content:"";
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,0.10);
    pointer-events:none;
}

.blog-hero::before{ width:480px; height:480px; top:-240px; right:-140px; }
.blog-hero::after{ width:320px; height:320px; bottom:-190px; left:-110px; background:rgba(255,255,255,0.08); }

.blog-hero > *{ position:relative; z-index:1; }

.blog-hero .crumbs{
    display:inline-flex;
    gap:8px;
    align-items:center;
    font-size:13px;
    color:rgba(255,255,255,0.85);
    margin-bottom:16px;
}

.blog-hero .crumbs a{ color:#fff; text-decoration:none; font-weight:600; }

.blog-hero .cat{
    display:inline-block;
    background:rgba(255,255,255,0.18);
    color:#fff;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    padding:5px 12px;
    border-radius:99px;
    margin-bottom:14px;
}

.blog-hero h1{
    font-size:40px;
    font-weight:800;
    line-height:1.15;
    margin:0 auto 12px;
    max-width:820px;
}

.blog-hero p{
    font-size:17px;
    color:rgba(255,255,255,0.9);
    max-width:640px;
    margin:0 auto;
}

.blog-hero .meta{
    margin-top:18px;
    font-size:13.5px;
    color:rgba(255,255,255,0.8);
}

/* Indice del blog */
.blog-wrap{
    max-width:1060px;
    margin:auto;
    padding:44px 24px 0;
}

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

.blog-card{
    display:flex;
    flex-direction:column;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:16px;
    padding:24px;
    box-shadow:var(--shadow-sm);
    transition:0.2s;
}

.blog-card:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow-md);
}

.blog-card .cat{
    display:inline-block;
    align-self:flex-start;
    color:var(--red);
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.06em;
    margin-bottom:10px;
}

.blog-card h2{
    color:var(--ink);
    font-size:18px;
    font-weight:700;
    line-height:1.3;
    margin:0 0 8px;
}

.blog-card p{
    color:var(--muted);
    font-size:14.5px;
    line-height:1.55;
    margin:0 0 16px;
    flex-grow:1;
}

.blog-card .read-btn{
    align-self:flex-start;
    color:var(--red);
    font-size:14px;
    font-weight:700;
    text-decoration:none;
}

/* Articulo */
.article-wrap{
    max-width:800px;
    margin:auto;
    padding:40px 24px 0;
}

.content-card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:var(--shadow-sm);
    padding:32px 36px;
    margin-bottom:18px;
}

.content-card h2{
    color:var(--ink);
    font-size:21px;
    font-weight:800;
    margin:28px 0 10px;
    padding-top:22px;
    border-top:1px solid var(--line);
}

.content-card h2:first-child{ margin-top:0; padding-top:0; border-top:none; }

.content-card h3{
    color:var(--ink);
    font-size:17px;
    font-weight:700;
    margin:22px 0 6px;
}

.content-card p{
    color:var(--text);
    font-size:16px;
    line-height:1.75;
    margin:0 0 14px;
}

.content-card p:last-child{ margin:0; }

.content-card ul,
.content-card ol{
    color:var(--text);
    font-size:16px;
    line-height:1.75;
    padding-left:22px;
    margin:0 0 14px;
}

.content-card li{ margin-bottom:6px; }

.content-card strong{ color:var(--ink); }

.content-card .steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin:18px 0 0;
}

.content-card .step{
    background:var(--bg);
    border-radius:12px;
    padding:18px 14px;
    text-align:center;
}

.content-card .step p{ font-size:14px; margin:0; }

.content-card .highlight-box{
    background:var(--red-soft);
    border-left:4px solid var(--red);
    border-radius:0 12px 12px 0;
    padding:14px 18px;
    margin:18px 0;
}

.content-card .highlight-box p{ margin:0; font-size:15px; }

.content-card .cta-box{ text-align:center; margin:22px 0 0; }

.content-card .cta-btn{
    display:inline-block;
    background:var(--red);
    color:#fff;
    padding:13px 28px;
    border-radius:12px;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
    box-shadow:0 8px 20px rgba(229,57,53,0.26);
}

.content-card .cta-btn:hover{ background:var(--red-dark); }

.content-card .method-grid,
.content-card .platform-grid,
.content-card .app-grid,
.content-card .verdict-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:18px 0 0;
}

.content-card .method-card,
.content-card .platform-card,
.content-card .app-card,
.content-card .verdict-card{
    background:var(--bg);
    border-radius:12px;
    padding:18px;
}

.content-card .method-card h3,
.content-card .platform-card h3,
.content-card .app-card h3,
.content-card .verdict-card h3{ margin:0 0 6px; font-size:16px; }

.content-card .method-card p,
.content-card .platform-card p,
.content-card .app-card p,
.content-card .verdict-card p{ font-size:14.5px; margin:0; }

.content-card .tag{
    display:inline-block;
    background:var(--red);
    color:#fff;
    font-size:11px;
    font-weight:700;
    padding:2px 8px;
    border-radius:99px;
    margin-bottom:8px;
}

.content-card .tag-free{ background:#2e7d32; }

.content-card .compare-table{
    width:100%;
    border-collapse:collapse;
    margin:18px 0 0;
    font-size:15px;
}

.content-card .compare-table th{
    text-align:left;
    padding:12px 14px;
    background:var(--bg);
    color:var(--ink);
    font-weight:700;
    font-size:14px;
    border-bottom:2px solid var(--red);
}

.content-card .compare-table td{
    padding:12px 14px;
    border-bottom:1px solid var(--line);
    color:var(--text);
    vertical-align:top;
}

.content-card .compare-table .feature{ font-weight:700; color:var(--ink); }

/* Articulos relacionados */
.related-posts{ margin-top:40px; }

.related-posts h2{
    color:var(--ink);
    font-size:22px;
    font-weight:800;
    margin:0 0 16px;
}

.related-posts .blog-preview{ grid-template-columns:repeat(3,1fr); }

@media(max-width:900px){
    .blog-grid{ grid-template-columns:1fr 1fr; }
    .related-posts .blog-preview{ grid-template-columns:1fr; }
}

@media(max-width:600px){
    .blog-hero{ padding:44px 20px 40px; }
    .blog-hero h1{ font-size:28px; }
    .blog-grid{ grid-template-columns:1fr; }
    .content-card{ padding:24px 20px; }
    .content-card .steps,
    .content-card .method-grid,
    .content-card .platform-grid,
    .content-card .app-grid,
    .content-card .verdict-grid{ grid-template-columns:1fr; }
    .content-card .compare-table{ font-size:13px; }
    .content-card .compare-table th,
    .content-card .compare-table td{ padding:10px 8px; }
}


/* Enlaces dentro de tarjetas de contenido */
.content-card a{
    color:var(--red);
    font-weight:600;
    text-decoration:none;
}

.content-card a:hover{ text-decoration:underline; }

/* Paginas de informacion: hero mas compacto */
.page-info .blog-hero{ padding:52px 24px 44px; }
.page-info .blog-hero h1{ font-size:34px; }


/* Contacto */
.contact-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:18px;
}

.contact-info .item{
    display:flex;
    align-items:flex-start;
    gap:12px;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:var(--shadow-sm);
    padding:18px 20px;
}

.contact-info .item svg{
    width:22px;
    height:22px;
    color:var(--red);
    flex-shrink:0;
    margin-top:2px;
}

.contact-info .item strong{
    display:block;
    color:var(--ink);
    font-size:14px;
    margin-bottom:2px;
}

.contact-info .item span{
    color:var(--muted);
    font-size:14px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:13px 16px;
    margin-bottom:12px;
    border-radius:12px;
    border:1px solid #d7dbe6;
    font-size:15px;
    font-family:inherit;
    color:var(--ink);
    background:#fff;
    transition:border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:var(--red);
    box-shadow:0 0 0 3px var(--red-soft);
}

.contact-form textarea{ resize:vertical; min-height:150px; }

.contact-form button{
    width:100%;
    background:linear-gradient(135deg,var(--red),#f0493f);
    color:#fff;
    border:none;
    padding:15px 28px;
    border-radius:12px;
    font-family:inherit;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(229,57,53,0.28);
}

.contact-form button:hover{ background:var(--red-dark); }

.form-success{ background:#e8f5e9; color:#2e7d32; font-weight:600; padding:16px 20px; border-radius:12px; margin-bottom:16px; font-size:15px; }
.form-error{ background:#ffebee; color:#c62828; font-weight:600; padding:16px 20px; border-radius:12px; margin-bottom:16px; font-size:15px; }

@media(max-width:600px){
    .contact-info{ grid-template-columns:1fr; }
}