/* QR STUDIO TOOL */
/* Archivo: assets/css/tools/qr-studio.css */

/* HEADER CLARO SOLO EN HERRAMIENTAS */
@font-face {
    font-family: 'Makeba';
    src: url('../../fonts/Makeba.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CSRolisy';
    src: url('../../fonts/CSRolisy-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playful Bubble Outline';
    src: url('../../fonts/Playful%20Bubble%20Outline.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
.site-header-light {
    background: #ffffff;
    color: #000000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header-light .brand,
.site-header-light .nav-item > a {
    color: #000000;
}

.site-header-light .nav-item > a {
    opacity: 0.88;
}

.site-header-light .nav-item:hover > a,
.site-header-light .nav-item.is-open > a {
    opacity: 1;
}

.site-header-light .btn-dark {
    background: #eeeeee;
    color: #000000;
}

.site-header-light .btn-light {
    background: #000000;
    color: #ffffff;
}

.site-header-light .menu-toggle {
    background: #f2f2f2;
}

.site-header-light .menu-toggle span {
    background: #000000;
}

.site-header-light .dropdown {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header-light .dropdown::after {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.site-header-light .dropdown a {
    color: rgba(0, 0, 0, 0.78);
}

.site-header-light .dropdown a:hover {
    color: #000000;
}

.site-header-light .dropdown-cta {
    background: #000000 !important;
    color: #ffffff !important;
}

/* BASE TOOLS */

.qr-studio-page [hidden] {
    display: none !important;
}

.tool-page {
    background: #ffffff;
    color: #000000;
    min-height: 100vh;
    letter-spacing: 0.055em;
}

.tool-hero {
    padding: 26px 28px 14px;
    background: #ffffff;
}

.tool-hero-inner {
    width: min(100%, 1080px);
    margin: 0 auto;
    text-align: center;
}

.tool-kicker {
    margin: 0 0 10px;
    color: rgba(0, 0, 0, 0.48);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.tool-hero h1 {
    margin: 0;
    color: #000000;
    font-size: clamp(1.7rem, 3vw, 3.3rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.tool-hero p {
    width: min(100%, 720px);
    margin: 10px auto 0;
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.88rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.045em;
}

.tool-workspace-section {
    padding: 10px 28px 70px;
    background: #ffffff;
}

.tool-workspace-layout {
    width: min(100%, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
    align-items: start;
}

.tool-main-column {
    min-width: 0;
}

.tool-side-column {
    position: sticky;
    top: 118px;
}

/* QR CARD */

.qr-studio-card {
    display: grid;
    grid-template-columns: minmax(340px, 0.85fr) minmax(420px, 1.15fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.qr-control-panel {
    min-width: 0;
    padding: 18px;
    background: #f7f7f7;
    border-right: 1px solid rgba(0, 0, 0, 0.10);
}

.qr-preview-panel {
    min-width: 0;
    padding: 18px;
    background: #ffffff;
}

.qr-panel-block {
    min-height: 438px;
    max-height: 560px;
    overflow: auto;
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    scrollbar-width: thin;
}

/* TABS */

.qr-step-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.qr-step-tab {
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    color: rgba(0, 0, 0, 0.54);
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    cursor: pointer;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        opacity 0.18s ease,
        transform 0.18s ease;
}

.qr-step-tab:hover {
    transform: translateY(-1px);
}

.qr-step-tab.is-active {
    background: #000000;
    color: #ffffff;
}

.qr-step-tab:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.qr-control-panel.has-step-tabs .qr-panel-block {
    display: none;
}

.qr-control-panel.has-step-tabs .qr-panel-block.is-active {
    display: block;
}

/* FORM */

.qr-step-heading {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.qr-step-heading span {
    color: rgba(0, 0, 0, 0.42);
    font-size: 0.82rem;
    font-weight: 700;
}

.qr-step-heading h2 {
    margin: 0;
    color: #000000;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.055em;
}

.qr-inputs {
    display: grid;
    gap: 12px;
}

.qr-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.qr-field-group,
.qr-input-group {
    display: grid;
    gap: 8px;
}

.qr-field-group label,
.qr-input-group label {
    color: rgba(0, 0, 0, 0.72);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.055em;
}

.qr-field-group input,
.qr-field-group select,
.qr-input-group input,
.qr-input-group select,
.qr-input-group textarea {
    width: 100%;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 14px;
    background: #ffffff;
    color: #000000;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.035em;
    outline: none;
}

.qr-field-group input:focus,
.qr-field-group select:focus,
.qr-input-group input:focus,
.qr-input-group select:focus,
.qr-input-group textarea:focus {
    border-color: rgba(0, 0, 0, 0.5);
}

.qr-field-group input[type="color"] {
    min-height: 44px;
    padding: 5px;
    cursor: pointer;
}

.qr-field-group input[type="file"] {
    padding: 11px;
    font-size: 0.66rem;
}

.qr-input-group textarea {
    min-height: 86px;
    padding: 13px;
    resize: vertical;
    line-height: 1.5;
}

.qr-check-field {
    align-content: end;
}

.qr-check-field label {
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.qr-check-field input {
    width: auto;
    min-height: auto;
}

/* SOCIAL BUILDER */

.qr-social-builder {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.qr-social-builder h3 {
    margin: 0 0 12px;
    color: #000000;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.055em;
}

.qr-social-row {
    display: grid;
    grid-template-columns: 138px 1fr;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.qr-social-row label {
    min-height: 40px;
    padding: 0 10px;
    border-radius: 13px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
}

.qr-social-row label img {
    width: 16px;
    height: 16px;
}

.qr-social-row input[type="checkbox"] {
    width: auto;
}

.qr-social-row > input {
    min-height: 40px;
    padding: 0 11px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 13px;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.7rem;
}

/* PREVIEW */

.qr-preview-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.qr-preview-heading {
    margin-bottom: 14px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.qr-preview-heading span {
    display: block;
    margin-bottom: 6px;
    color: rgba(0, 0, 0, 0.44);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.qr-preview-heading h2 {
    margin: 0;
    color: #000000;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.qr-preview-heading small {
    max-width: 180px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #f4f4f4;
    color: rgba(0, 0, 0, 0.56);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

.qr-simple-preview {
    flex: 1;
    min-height: 372px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.035), rgba(0,0,0,0)),
        #f7f7f7;
    display: grid;
    place-items: center;
    padding: 26px;
}

.qr-canvas-box {
    width: fit-content;
    max-width: 100%;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.10);
}

.qr-canvas-box canvas,
.qr-canvas-box svg,
.qr-poster-code canvas,
.qr-poster-code svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* POSTER PREVIEW */

.qr-poster-preview {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 18px;
    border-radius: 22px;
    background: #f7f7f7;
    overflow: auto;
}

.qr-poster {
    --poster-pattern-color: #ff3b1f;
    --poster-text-color: #d71912;
    --poster-font-family: inherit;

    position: relative;
    width: 330px;
    min-height: 520px;
    padding: 22px 22px 20px;
    background: #fff7ea;
    color: #000000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    isolation: isolate;
}

.qr-poster-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--poster-pattern-color);
    opacity: 0.9;

    /* El SVG ya viene diseñado a medida:
       no se repite, solo se adapta al tamaño completo del poster */
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;

    -webkit-mask-position: center center;
    mask-position: center center;
}
.qr-poster-logo {
    width: 66px;
    height: 66px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--poster-text-color);
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    overflow: hidden;
}

.qr-poster-logo:has(img:not([hidden])) {
    background: transparent;
}

.qr-poster-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-poster-title,
.qr-poster-subtitle,
.qr-poster-bottom {
    width: 100%;
    padding: 12px 14px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--poster-text-color);
    font-family: var(--poster-font-family);
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    line-height: 1.1;
}

.qr-poster-title {
    font-size: 0.98rem;
}

.qr-poster-subtitle {
    margin-top: 22px;
    font-size: 0.9rem;
}

.qr-poster-bottom {
    margin-top: 10px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
}

.qr-poster-card {
    width: 250px;
    height: 250px;
    margin-top: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    display: grid;
    place-items: center;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}

.qr-poster-code {
    width: 190px;
    height: 190px;
    display: grid;
    place-items: center;
}

.qr-poster-socials {
    width: 100%;
    min-height: 32px;
    margin-top: 12px;
    padding: 9px 11px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 10px;
}

.qr-poster-social-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--poster-text-color);
    font-size: 0.6rem;
    font-family: var(--poster-font-family);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.qr-poster-social-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    flex: 0 0 12px;
    background: currentColor;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: contain;
    mask-size: contain;

    -webkit-mask-position: center;
    mask-position: center;
}

/* DOWNLOAD BUTTONS */

.qr-download-actions {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.qr-download-actions button {
    min-height: 46px;
    border: 0;
    border-radius: 15px;
    background: #000000;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.qr-download-actions button:hover {
    transform: translateY(-1px);
}

.qr-download-actions button[data-download-poster] {
    grid-column: 1 / -1;
}

/* ADS */

.ad-slot {
    background:
        repeating-linear-gradient(
            -45deg,
            #f2f2f2 0,
            #f2f2f2 8px,
            #e9e9e9 8px,
            #e9e9e9 16px
        );
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.52);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.ad-slot span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.ad-slot strong {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.ad-slot-horizontal {
    width: 100%;
    min-height: 90px;
    margin: 28px 0;
    border-radius: 14px;
}

.ad-slot-vertical {
    width: 300px;
    min-height: 600px;
    border-radius: 18px;
}

/* INFO CARDS */

.tool-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
}

.tool-info-card {
    min-height: 150px;
    padding: 22px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.tool-info-card:last-child {
    border-right: 0;
}

.tool-info-card span {
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #f1f1f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1rem;
}

.tool-info-card h2 {
    margin: 0 0 10px;
    color: #000000;
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.tool-info-card p {
    margin: 0;
    color: rgba(0, 0, 0, 0.56);
    font-size: 0.66rem;
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: 0.035em;
}

/* AEO */

.tool-aeo-block {
    margin: 0 0 26px;
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.tool-aeo-block h2 {
    margin: 0 0 14px;
    color: #000000;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.tool-aeo-block p {
    margin: 0 0 14px;
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.78rem;
    line-height: 1.75;
    font-weight: 300;
    letter-spacing: 0.035em;
}

.tool-aeo-block p:last-child {
    margin-bottom: 0;
}

/* FAQ */

.tool-faq {
    margin-top: 6px;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 22px;
    background: #ffffff;
}

.tool-faq h2,
.more-tools h2 {
    margin: 0 0 18px;
    color: #000000;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.055em;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.faq-list details {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    background: #fafafa;
    overflow: hidden;
}

.faq-list summary {
    min-height: 46px;
    padding: 13px 44px 13px 15px;
    color: #000000;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.04em;
    cursor: pointer;
    position: relative;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    margin: 0;
    padding: 0 15px 15px;
    color: rgba(0, 0, 0, 0.56);
    font-size: 0.66rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.035em;
}

/* MORE TOOLS */

.more-tools {
    margin-top: 26px;
}

.more-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.more-tools-grid a {
    min-height: 96px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #000000;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.more-tools-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.28);
    background: #fafafa;
}

.more-tools-grid span {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f2f2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.more-tools-grid em {
    font-style: normal;
    font-size: 1.1rem;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
    .tool-workspace-layout {
        grid-template-columns: 1fr;
    }

    .tool-side-column {
        display: none;
    }

    .tool-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-info-card:nth-child(2) {
        border-right: 0;
    }

    .tool-info-card:nth-child(1),
    .tool-info-card:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 980px) {
    .qr-studio-card {
        grid-template-columns: 1fr;
    }

    .qr-control-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    }

    .qr-panel-block {
        min-height: auto;
        max-height: none;
    }

    .qr-simple-preview {
        min-height: 330px;
    }
}

@media (max-width: 900px) {
    .site-header-light {
        background: #ffffff;
    }

    body.menu-open .site-header-light {
        background: #ffffff;
    }

    body.menu-open .site-header-light .main-nav {
        background: #ffffff;
    }

    body.menu-open .site-header-light::before {
        background: rgba(255, 255, 255, 0.62);
    }

    .site-header-light .main-nav {
        background: #ffffff;
    }

    .site-header-light .nav-item > a {
        color: #000000;
    }

    .site-header-light .dropdown a {
        color: rgba(0, 0, 0, 0.74);
    }

    .site-header-light .dropdown a:hover {
        color: #000000;
    }

    .site-header-light .dropdown-cta {
        background: transparent !important;
        color: rgba(0, 0, 0, 0.74) !important;
    }

    .tool-hero {
        padding: 24px 18px 12px;
    }

    .tool-workspace-section {
        padding: 8px 18px 54px;
    }

    .ad-slot-horizontal {
        min-height: 82px;
        margin: 20px 0;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .more-tools-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .more-tools-grid a {
        min-height: 74px;
    }
}

@media (max-width: 620px) {
    .tool-page {
        letter-spacing: 0.045em;
    }

    .tool-hero {
        padding-top: 18px;
    }

    .tool-hero h1 {
        font-size: clamp(1.4rem, 7.5vw, 2rem);
        line-height: 1.12;
    }

    .tool-hero p {
        font-size: 0.72rem;
        line-height: 1.55;
    }

    .qr-studio-card {
        border-radius: 18px;
    }

    .qr-control-panel,
    .qr-preview-panel {
        padding: 14px;
    }

    .qr-step-tabs {
        grid-template-columns: 1fr;
    }

    .qr-step-tab {
        min-height: 42px;
    }

    .qr-panel-block {
        padding: 16px;
        border-radius: 17px;
    }

    .qr-field-grid,
    .qr-social-row {
        grid-template-columns: 1fr;
    }

    .qr-step-heading h2 {
        font-size: 0.86rem;
    }

    .qr-field-group input,
    .qr-field-group select,
    .qr-input-group input,
    .qr-input-group select,
    .qr-input-group textarea {
        min-height: 42px;
        font-size: 0.7rem;
        border-radius: 13px;
    }

    .qr-simple-preview {
        min-height: 280px;
        padding: 16px;
    }

    .qr-canvas-box {
        padding: 12px;
        border-radius: 18px;
    }

    .qr-download-actions {
        grid-template-columns: 1fr;
    }

    .qr-download-actions button[data-download-poster] {
        grid-column: auto;
    }

    .qr-poster {
        width: 290px;
        min-height: 470px;
        padding: 18px;
    }

    .qr-poster-logo {
        width: 58px;
        height: 58px;
        margin-bottom: 16px;
    }

    .qr-poster-card {
        width: 220px;
        height: 220px;
        margin-top: 20px;
    }

    .qr-poster-code {
        width: 172px;
        height: 172px;
    }

    .qr-poster-title {
        font-size: 0.82rem;
    }

    .qr-poster-subtitle {
        font-size: 0.78rem;
    }

    .qr-poster-bottom {
        font-size: 0.56rem;
    }

    .tool-info-grid {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .tool-info-card {
        min-height: auto;
        padding: 17px;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .tool-info-card:last-child {
        border-bottom: 0;
    }

    .tool-faq,
    .tool-aeo-block {
        padding: 18px;
        border-radius: 18px;
    }

    .tool-faq h2,
    .more-tools h2 {
        text-align: left;
        font-size: 1.05rem;
    }

    .faq-list summary {
        font-size: 0.66rem;
    }

    .faq-list p,
    .tool-aeo-block p {
        font-size: 0.62rem;
    }

    .more-tools-grid a {
        padding: 14px;
        border-radius: 15px;
        font-size: 0.72rem;
    }

    .more-tools-grid span {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 0.62rem;
    }
}
.tool-workspace-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.tool-main-column {
    min-width: 0;
}

.tool-side-column {
    display: block;
}

.tool-side-sticky {
    position: sticky;
    top: 110px;
}

.ad-label {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 10px;
    text-align: center;
}

.ad-slot-vertical {
    width: 300px;
    min-height: 600px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
}

.ad-slot-adsense {
    display: block;
    background: transparent;
}

@media (max-width: 1100px) {
    .tool-workspace-layout {
        grid-template-columns: 1fr;
    }

    .tool-side-column {
        display: none;
    }
}
/* READABILITY PATCH - HERRAMIENTAS */

.tool-page p {
    font-size: 0.88rem;
    line-height: 1.75;
    font-weight: 500;
}

/* Textos largos SEO / AEO */
.tool-aeo-block p {
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 500;
}

/* Cards informativas */
.tool-info-card p {
    font-size: 0.78rem;
    line-height: 1.7;
    font-weight: 500;
}

/* FAQs */
.faq-list p {
    font-size: 0.78rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Notas y estados, siguen pequeños pero legibles */
.tool-status,
.tool-note,
.bg-edit-help,
.bg-privacy-note {
    font-size: 0.74rem;
    line-height: 1.6;
    font-weight: 500;
}
@media (max-width: 560px) {
    .tool-page p {
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .tool-aeo-block p,
    .faq-list p,
    .tool-info-card p {
        font-size: 0.78rem;
    }

    .tool-status,
    .tool-note,
    .bg-edit-help,
    .bg-privacy-note {
        font-size: 0.7rem;
    }
}