@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Palette: White, Gray, Soft Orange */
    --primary: #FF9F43;       /* Soft Orange */
    --primary-dark: #EE5A24;  /* Darker Orange for hover/gradients */
    --secondary: #576574;     /* Cool Gray */
    
    /* Backgrounds */
    --bg-body: #f8f9fa;       /* Very light gray/white */
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.9);
    
    /* Text */
    --text-main: #2d3436;
    --text-muted: #636e72;
    --text-light: #ffffff;

    /* Borders & Shadows */
    --border-color: #dfe6e9;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.1);

    /* Forms */
    --input-bg: #ffffff;
    --input-border: #b2bec3;
}

html.dark-theme {
    --primary: #FF9F43;
    --primary-dark: #ffbca0; /* Lighter orange for dark mode contrast */
    --secondary: #a4b0be;

    --bg-body: #1e272e;      /* Dark Blue-Gray */
    --bg-card: #2f3640;      /* Lighter Dark Gray */
    --bg-header: rgba(30, 39, 46, 0.9);

    --text-main: #f5f6fa;
    --text-muted: #dcdde1;
    
    --border-color: #4b6584;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.4);

    --input-bg: #2f3640;
    --input-border: #57606f;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Header & Nav --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.logo {
    max-width: 150px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: transform 0.3s;
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
}

/* --- Buttons --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 159, 67, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 159, 67, 0.4);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80vh;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-card);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Sections --- */
.section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-main);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- Cards --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Products Grid --- */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.producto {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.producto:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.producto img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--bg-body);
    padding: 8px;
}

.producto h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.2rem;
    color: var(--text-main);
}

.producto p {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.producto .precio {
    padding: 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.producto .actions {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.producto .actions button {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.6rem;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.producto {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.producto:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.producto img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--bg-body);
    padding: 8px;
}

.producto h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.2rem;
    color: var(--text-main);
}

.producto p {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.producto .precio {
    padding: 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.producto .actions {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.producto .actions button {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.6rem;
}

.badge-destacado {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Updated product listing for tienda --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card .badge-destacado {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-size: 0.75rem;
}

.badge-descuento {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4d4f;
    color: #fff;
    padding: 4px 10px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(255, 77, 79, 0.35);
}

.product-image {
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-height: 230px;
}

.product-image img {
    max-height: 200px;
    object-fit: contain;
    width: 100%;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.product-category {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--primary);
    font-weight: 600;
}

.product-info h3 {
    font-size: 1.3rem;
    color: var(--text-main);
}

.product-brand,
.product-power {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    min-height: 60px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.product-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-anterior {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.stock-status {
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-status.disponible {
    color: #2ecc71;
}

.stock-status.agotado {
    color: #e74c3c;
}

.btn-card {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 25px rgba(255, 159, 67, 0.25);
}

.btn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255, 159, 67, 0.35);
}

.products-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 2rem;
}

/* --- Forms --- */
.contacto-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--input-bg);
    color: var(--text-main);
    font-family: inherit;
    transition: border-color 0.3s;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contacto-msg {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 1rem 5%;
    background: var(--bg-body);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* --- Footer --- */
.main-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
    color: var(--text-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.4rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.contact-info li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Responsive --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    header {
        justify-content: space-between;
        padding: 1rem 5%;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-color);
        
        /* Hidden state */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.section-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}
.section-intro a {
    color: var(--primary);
    font-weight: 600;
}


.contacto-form button {
    width: 100%;
    margin-top: 1rem;
}


/* --- Contact Page Split Layout --- */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-info-panel {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-info-panel h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-details-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-details-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-details-list .icon {
    font-size: 1.5rem;
    background: rgba(255, 159, 67, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-details-list strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.2rem;
}

.contact-details-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-details-list a:hover {
    color: var(--primary);
}

.contact-form-panel {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-panel h3 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- PDF Page Styles --- */
.pdf-page {
    background: linear-gradient(180deg, rgba(255, 159, 67, 0.12) 0%, rgba(255, 159, 67, 0.02) 45%, transparent 100%);
    padding-bottom: 4rem;
}

.pdf-hero {
    position: relative;
    overflow: hidden;
    min-height: 55vh;
    padding: 5rem 5% 4rem;
    margin: 3rem auto 2rem;
    border-radius: 32px;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 159, 67, 0.18);
    grid-template-columns: minmax(280px, 1.35fr) minmax(220px, 1fr);
}

.pdf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 159, 67, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(87, 101, 116, 0.2), transparent 50%);
    pointer-events: none;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(255, 159, 67, 0.12);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.pdf-hero h1 {
    margin-bottom: 1rem;
}

.pdf-hero p {
    max-width: 520px;
    color: var(--text-muted);
}

.pdf-hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pdf-hero-meta .meta-item {
    background: rgba(87, 101, 116, 0.1);
    padding: 0.65rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--secondary);
    font-weight: 500;
}

.pdf-hero-meta strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-main);
    line-height: 1.1;
}

.pdf-hero-illustration {
    align-self: stretch;
    justify-self: center;
    display: grid;
    place-items: center;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 159, 67, 0.22), rgba(255, 159, 67, 0.05));
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.pdf-hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 15px 35px rgba(255, 159, 67, 0.25);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: 0.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.pdf-hero-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 12px 25px rgba(255, 159, 67, 0.35);
}

.pdf-library {
    max-width: 1200px;
    margin: 0 auto;
}

.pdf-library .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-lead {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0.75rem auto 0;
    font-size: 1.05rem;
}

.pdf-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.5rem;
}

.pdf-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pdf-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 159, 67, 0.5);
}

.pdf-icon-overlay {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 159, 67, 0.08), rgba(255, 255, 255, 0.95));
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.pdf-icon-overlay img {
    height: 190px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pdf-card:hover .pdf-icon-overlay img {
    transform: scale(1.06);
}

.pdf-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.pdf-card-body {
    padding: 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    flex: 1;
}

.pdf-card-body h3 {
    text-align: left;
    font-size: 1.15rem;
}

.pdf-card-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.pdf-card .actions {
    padding: 0;
    border-top: none;
}

.pdf-actions {
    margin-top: auto;
}

.btn-download {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: var(--secondary);
    color: white;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-download:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 159, 67, 0.25);
}

.btn-download .icon {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.pdf-empty-state {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.pdf-empty-state .icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 159, 67, 0.12);
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.15em;
}

.pdf-empty-state p {
    color: var(--text-muted);
    margin: 1rem auto 2rem;
    max-width: 480px;
}

@media (max-width: 1024px) {
    .pdf-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .pdf-hero p {
        margin: 0 auto;
    }

    .pdf-hero-meta {
        justify-content: center;
    }

    .pdf-hero-illustration {
        justify-self: stretch;
    }
}

@media (max-width: 768px) {
    .pdf-page {
        padding-bottom: 3rem;
    }

    .pdf-hero {
        padding: 3.5rem 1.5rem 3rem;
        margin: 2rem auto;
    }

    .pdf-hero-illustration {
        padding: 2.5rem 2rem;
    }

    .pdf-grid {
        gap: 1.8rem;
    }

    .pdf-card-body {
        padding: 1.4rem;
    }

    .pdf-empty-state {
        padding: 2.5rem 1.5rem;
    }
}


