:root {
    --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --orange: #de6611;
    --orange-light: #f18421;
    --orange-pale: #fff4eb;
    --gray: #505b5b;
    --gray-light: #707a7a;
    --gray-pale: #f0efef;
    --surface: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-sans);
    background: #2a3030;
    color: var(--gray);
    -webkit-font-smoothing: antialiased;
}

/* Toolbar */
.folleto-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    padding: 1rem;
    background: #1e2323;
    color: #c8d0c0;
    font-size: 0.88rem;
}
.folleto-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: 8px;
    background: var(--orange);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.folleto-print-btn:hover { background: #c95a0f; }
.folleto-back { color: #f0a060; text-decoration: none; font-weight: 500; }
.folleto-back:hover { text-decoration: underline; }

/* Sheet */
.folleto-sheet {
    max-width: 210mm;
    margin: 2rem auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.folleto-panel {
    width: 210mm;
    min-height: 297mm;
    padding: 11mm 13mm 10mm;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.folleto-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
}

.folleto-panel--front::after {
    content: "";
    position: absolute;
    top: -20mm;
    right: -20mm;
    width: 70mm;
    height: 70mm;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--orange) 12%, transparent), transparent 70%);
    pointer-events: none;
}

.brand-logo--folleto { width: 165px; height: auto; }

/* Header */
.folleto-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
}
.folleto-header__tag {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--orange);
    text-align: right;
    line-height: 1.35;
}

/* Hero */
.folleto-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: end;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
}
.folleto-hero h1 {
    margin: 0 0 0.4rem;
    font-size: 1.75rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--gray);
    max-width: 14ch;
}
.folleto-hero__lead {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--gray-light);
    max-width: 38ch;
}

.folleto-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--orange) 25%, transparent);
    background: var(--orange-pale);
}
.folleto-stats li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-right: 1px solid color-mix(in srgb, var(--orange) 18%, transparent);
    min-width: 4.2rem;
}
.folleto-stats li:last-child { border-right: none; }
.folleto-stats strong {
    font-size: 0.95rem;
    color: var(--orange);
    line-height: 1.1;
}
.folleto-stats span {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-light);
    margin-top: 0.1rem;
}

/* Section head */
.folleto-section-head {
    margin-bottom: 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid color-mix(in srgb, var(--gray) 12%, transparent);
    position: relative;
    z-index: 1;
}
.folleto-section-head h2 {
    margin: 0 0 0.15rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: -0.01em;
}
.folleto-section-head p {
    margin: 0;
    font-size: 0.72rem;
    color: var(--gray-light);
}

/* Feature cards — richer layout */
.folleto-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.folleto-card {
    display: flex;
    flex-direction: column;
    padding: 0.55rem 0.6rem 0.5rem;
    border-radius: 9px;
    background: var(--gray-pale);
    border: 1px solid color-mix(in srgb, var(--gray) 10%, transparent);
    border-left: 3px solid color-mix(in srgb, var(--gray) 25%, transparent);
    min-height: 0;
}

.folleto-card--highlight {
    background: linear-gradient(145deg, var(--orange-pale), #fff);
    border-color: color-mix(in srgb, var(--orange) 28%, transparent);
    border-left-color: var(--orange);
}

.folleto-card__head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.folleto-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 6px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #fff;
    font-size: 0.85rem;
}

.folleto-card__head h3 {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray);
    line-height: 1.2;
}

.folleto-card__hook {
    margin: 0 0 0.3rem;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--orange);
}

.folleto-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.folleto-card__list li {
    position: relative;
    padding-left: 0.85rem;
    margin-bottom: 0.18rem;
    font-size: 0.64rem;
    line-height: 1.38;
    color: var(--gray-light);
}

.folleto-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--orange);
}

.folleto-card--highlight .folleto-card__list li::before {
    background: var(--orange);
}

/* Footer front */
.folleto-foot {
    margin-top: auto;
    padding-top: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    border-top: 2px solid color-mix(in srgb, var(--orange) 30%, transparent);
    position: relative;
    z-index: 1;
}
.folleto-foot__badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--orange);
}
.folleto-foot--front p {
    margin: 0;
    font-size: 0.72rem;
    color: var(--gray-light);
    font-weight: 500;
}

/* Back panel */
.folleto-panel--back {
    background: linear-gradient(165deg, var(--orange-pale) 0%, #fff 38%);
}

.folleto-back-header {
    margin-bottom: 0.65rem;
    position: relative;
    z-index: 1;
}
.folleto-back-header h2 {
    margin: 0 0 0.2rem;
    font-size: 1.35rem;
    color: var(--gray);
    letter-spacing: -0.02em;
}
.folleto-back-header p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--gray-light);
}

.folleto-layers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}
.folleto-layer {
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
    padding: 0.5rem 0.55rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--gray) 10%, transparent);
}
.folleto-layer--ia {
    border-color: color-mix(in srgb, var(--orange) 35%, transparent);
    background: linear-gradient(160deg, var(--orange-pale), #fff);
}
.folleto-layer__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: var(--gray);
}
.folleto-layer--ia .folleto-layer__num { background: var(--orange); }
.folleto-layer strong {
    display: block;
    font-size: 0.72rem;
    margin-bottom: 0.1rem;
    color: var(--gray);
}
.folleto-layer p {
    margin: 0;
    font-size: 0.62rem;
    line-height: 1.4;
    color: var(--gray-light);
}

.folleto-back-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0.75rem;
    flex: 1;
}

.folleto-back-copy h3 {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray);
}

.folleto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}
.folleto-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--gray);
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--gray) 12%, transparent);
}
.folleto-tags i { color: var(--orange); font-size: 0.75rem; }

.folleto-steps { margin-bottom: 0.55rem; }
.folleto-steps ol {
    margin: 0;
    padding-left: 1rem;
    font-size: 0.68rem;
    line-height: 1.55;
    color: var(--gray-light);
}
.folleto-steps strong { color: var(--gray); }

.folleto-demo-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    font-size: 0.68rem;
    background: var(--gray);
    color: #e8e7e7;
}
.folleto-demo-line i { color: var(--orange-light); font-size: 1rem; flex-shrink: 0; }

/* Contact block */
.folleto-contact {
    padding: 0.75rem 0.8rem;
    border-radius: 11px;
    background: var(--gray);
    color: #e8e7e7;
    display: flex;
    flex-direction: column;
}
.folleto-contact__top { text-align: center; margin-bottom: 0.55rem; }
.folleto-contact h3 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    color: #fff;
}
.folleto-contact__top p {
    margin: 0;
    font-size: 0.68rem;
    color: #b8c0c0;
}

.folleto-qr-block--main {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.6rem;
    margin-bottom: 0.55rem;
    border-radius: 9px;
    background: #fff;
    text-align: left;
}
.folleto-qr-block--main img {
    flex-shrink: 0;
    border-radius: 4px;
}
.folleto-qr-block--main strong {
    display: block;
    font-size: 0.78rem;
    color: var(--gray);
}
.folleto-qr-block--main span {
    font-size: 0.62rem;
    color: var(--gray-light);
}

.folleto-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
}
.folleto-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.folleto-contact-list li:last-child { border-bottom: none; }
.folleto-contact-list i {
    color: var(--orange-light);
    font-size: 0.95rem;
    margin-top: 0.15rem;
    width: 1.1rem;
    flex-shrink: 0;
}
.folleto-contact-list small {
    display: block;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9aa3a3;
    margin-bottom: 0.05rem;
}
.folleto-contact-list span {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    word-break: break-all;
}

.folleto-qr-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.45rem;
    margin-bottom: 0.45rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
}
.folleto-qr-row img { border-radius: 3px; }
.folleto-qr-row span {
    font-size: 0.68rem;
    font-weight: 600;
    color: #fff;
}

.folleto-contact__cta {
    margin: auto 0 0;
    padding-top: 0.45rem;
    font-size: 0.65rem;
    font-style: italic;
    text-align: center;
    color: #b8c0c0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.folleto-foot--back {
    border-top-color: rgba(80, 91, 91, 0.15);
    font-size: 0.62rem;
    color: var(--gray-light);
    text-align: center;
    padding-top: 0.45rem;
}

/* Print */
@page { size: A4 portrait; margin: 0; }

@media print {
    body {
        background: white;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .no-print { display: none !important; }
    .folleto-sheet { max-width: none; margin: 0; gap: 0; }
    .folleto-panel {
        width: 210mm;
        height: 297mm;
        min-height: 297mm;
        max-height: 297mm;
        box-shadow: none;
        page-break-after: always;
        break-after: page;
        padding: 10mm 12mm 9mm;
    }
    .folleto-panel:last-child { page-break-after: auto; break-after: auto; }
    .folleto-card,
    .folleto-card__icon,
    .folleto-card--highlight,
    .folleto-stats,
    .folleto-layer,
    .folleto-layer--ia,
    .folleto-contact,
    .folleto-demo-line,
    .folleto-foot__badge,
    .folleto-tags span,
    .folleto-accent-bar {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

@media screen and (max-width: 800px) {
    .folleto-panel { width: 100%; min-height: auto; }
    .folleto-features,
    .folleto-back-grid,
    .folleto-layers,
    .folleto-hero { grid-template-columns: 1fr; }
    .folleto-stats { width: fit-content; }
    .folleto-hero h1 { max-width: none; font-size: 1.5rem; }
}
