/* =============================================
   ESTILOS PREMIUM PARA LANDING PAGES & ARTÍCULOS
   ============================================= */

:root {
    --primary: #1e3a5f;
    --primary-light: #3b82f6;
    --primary-dark: #0f172a;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Sombras Premium */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Reset & Base Typography */
.article-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    background-color: var(--white);
    color: var(--text-main);
}

.article-body {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    max-width: 800px !important;
}

.article-body h2 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--primary) !important;
    margin: 3rem 0 1.5rem !important;
    position: relative;
}

.article-body h3 {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    margin: 2rem 0 1rem !important;
}

.article-body p {
    margin-bottom: 1.5rem !important;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0 !important;
    padding-left: 1.5rem !important;
}

.article-body li {
    margin-bottom: 0.75rem !important;
    padding-left: 0.5rem !important;
}

/* Layout */
.article-content-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 350px !important;
    gap: 4rem !important;
    max-width: 1280px !important;
    margin: 0 auto;
    padding: 2rem !important;
}

/* Hero Section Premium */
.hero-service-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #312e81 100%) !important;
    padding: 6rem 0 4rem !important;
    position: relative;
    overflow: hidden;
}

.hero-service-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-title-light {
    color: var(--white) !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem !important;
}

.hero-text-light {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    max-width: 800px;
    line-height: 1.6 !important;
}

/* Buttons Premium */
.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-hero-primary {
    background: var(--white) !important;
    color: var(--primary) !important;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3) !important;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(255, 255, 255, 0.4) !important;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

/* Cards Premium - Trend Card */
.trend-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.trend-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--primary-light));
}

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trend-card .emoji {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Cards Premium - Studio Card (Sidebar) */
.studio-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.studio-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

/* CTA WhatsApp Box Premium */
.cta-whatsapp-box {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin: 4rem 0;
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-whatsapp-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-whatsapp-box h3 {
    color: white !important;
    font-size: 2rem !important;
    margin-bottom: 0.5rem !important;
}

.cta-whatsapp-box p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
}

.btn-whatsapp {
    background: white;
    color: #059669;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
}

/* CTA Box Blue (Calculator) */
.cta-box-blue {
    background: linear-gradient(135deg, #4f46e5 0%, #312e81 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin: 4rem 0;
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-box-blue::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-box-blue .emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.cta-box-blue h3 {
    color: white !important;
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
}

.cta-box-blue p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: white;
    color: #312e81;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.btn-white:hover {
    transform: scale(1.05);
}

/* Sidebar & Widgets */
.sidebar-widget {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.1rem !important;
    margin-top: 0 !important;
    color: var(--primary) !important;
}

.btn-sidebar {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-light);
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.2s;
}

.btn-sidebar:hover {
    background: var(--primary);
}

/* Tablas de Precios */
.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin: 2rem 0;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.prices-table th {
    background: var(--primary);
    color: white;
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.prices-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-main);
}

.prices-table tr:last-child td {
    border-bottom: none;
}

.prices-table tr:hover {
    background-color: #f8fafc;
}

/* Steps List */
.steps-list {
    counter-reset: step;
    list-style: none !important;
    padding: 0 !important;
    margin: 2rem 0 !important;
}

.steps-list li {
    position: relative;
    padding-left: 3rem !important;
    margin-bottom: 1.5rem !important;
}

.steps-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-light);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 2rem;
    font-weight: 700;
    font-size: 1rem;
}

.steps-list strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item h3 {
    font-size: 1.1rem !important;
    margin: 0 0 0.75rem !important;
    color: var(--primary) !important;
}

/* Cluster Links */
.cluster-links {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid #e2e8f0;
}

.cluster-links h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cluster-links ul {
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.cluster-links li {
    margin-bottom: 0.75rem !important;
    padding-left: 0 !important;
}

.cluster-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.cluster-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Zones Grid (New) */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.zone-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.zone-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.zone-item h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.zone-item ul {
    margin: 0 !important;
    padding-left: 1.2rem !important;
    font-size: 0.95rem;
    color: var(--text-light);
}

.zone-item li {
    margin-bottom: 0.5rem !important;
}

/* Calculator Box (New) */
.calculator-box {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.calculator-box .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.calculator-box h3 {
    margin-bottom: 1rem !important;
    color: var(--primary) !important;
}

.calculator-box p {
    color: var(--text-light) !important;
    margin-bottom: 2rem !important;
}

.btn-calculator {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: var(--shadow-glow);
}

.btn-calculator:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

/* Checklist Box (New) */
.checklist-box {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
}

.checklist-box ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.checklist-box li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem !important;
    align-items: flex-start;
}

.checklist-box li:last-child {
    margin-bottom: 0 !important;
}

.checklist-box .check-icon {
    color: var(--success);
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.checklist-box strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.checklist-box p {
    margin: 0 !important;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .article-content-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 1.5rem !important;
    }

    .hero-title-light {
        font-size: 2.25rem !important;
    }
}

@media (max-width: 768px) {
    .article-content-layout {
        display: block !important;
    }

    .article-sidebar {
        margin-top: 3rem;
    }

    .hero-service-gradient {
        padding: 4rem 0 3rem !important;
    }

    .hero-title-light {
        font-size: 1.8rem !important;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   CALCULATOR SPECIFIC STYLES
   ============================================= */

.calc-page {
    padding-top: 2rem;
    background-color: var(--bg-light);
    min-height: 100vh;
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

@media (max-width: 1000px) {
    .calc-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

.calc-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-carousel {
    position: relative;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.carousel-overlay h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-overlay p {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.calc-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.calc-card:hover {
    box-shadow: var(--shadow-md);
}

.calc-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(30, 58, 95, 0.3);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.m2-section {
    text-align: center;
    padding: 1rem 0;
}

.m2-display {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.m2-unit {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

.m2-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--primary-light) 0%, var(--primary-light) var(--value, 20%), #e2e8f0 var(--value, 20%), #e2e8f0 100%);
    border-radius: 10px;
    margin: 1.5rem 0 0.5rem;
    outline: none;
    cursor: pointer;
}

.m2-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.1s;
}

.m2-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 600px) {
    .plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plan-item {
    position: relative;
    background: var(--bg-light);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 0.5rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-item:hover {
    border-color: var(--primary-light);
    background: white;
    transform: translateY(-2px);
}

.plan-item.selected {
    border-color: var(--primary);
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.plan-item.selected::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.plan-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.plan-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.plan-price small {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.rec-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
    white-space: nowrap;
}

/* Deliverables Visual */
.plan-visual {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.plan-visual-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 600px) {
    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.deliverable-item {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.4;
    transition: all 0.3s;
    border: 2px solid transparent;
    filter: grayscale(100%);
}

.deliverable-item.active {
    opacity: 1;
    border-color: var(--success);
    filter: grayscale(0%);
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.deliverable-img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    background: #cbd5e1;
}

.deliverable-label {
    padding: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1.2;
    color: var(--text-main);
}

.deliverable-label svg {
    width: 12px;
    height: 12px;
    color: var(--success);
}

.deliverable-item:not(.active) .deliverable-label svg {
    display: none;
}

/* Optional Toggle */
.optional-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.optional-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.optional-toggle.open svg {
    transform: rotate(180deg);
}

.optional-fields {
    display: none;
    gap: 1rem;
    margin-top: 1rem;
}

.optional-fields.show {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.opt-input {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    width: 100%;
    transition: border-color 0.2s;
}

.opt-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* PDF Panel (Sidebar) */
.pdf-panel {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.pdf-preview-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

.pdf-preview-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.pdf-preview-header h3 {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.pdf-total-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pdf-ars-price {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.pdf-preview-body {
    padding: 1.5rem;
}

.pdf-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.pdf-row:last-child {
    border-bottom: none;
}

.pdf-row-label {
    color: var(--text-light);
}

.pdf-row-value {
    font-weight: 700;
    color: var(--text-main);
}

.payment-breakdown {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    border: 1px solid #f1f5f9;
}

.payment-title {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    align-items: center;
}

.payment-pct {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.payment-when {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.payment-amount {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.includes-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.includes-title {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.includes-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.include-item svg {
    width: 14px;
    height: 14px;
    color: var(--success);
    flex-shrink: 0;
}

.trust-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.trust-box-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.trust-box-text {
    font-size: 0.85rem;
    color: #b45309;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.btn-download,
.btn-whatsapp-calc {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(30, 58, 95, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(30, 58, 95, 0.4);
}

.btn-whatsapp-calc {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-calc:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(37, 211, 102, 0.4);
}

/* Gallery Marquee */
.projects-gallery {
    background: var(--primary-dark);
    padding: 3rem 0;
    overflow: hidden;
    margin-top: 2rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-header h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.gallery-marquee {
    display: flex;
    gap: 1rem;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.gallery-item {
    flex-shrink: 0;
    width: 250px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* PDF Template (Hidden) */
#pdfTemplate {
    display: none;
    font-family: 'Inter', Arial, sans-serif;
    width: 794px;
    height: 1123px;
    padding: 40px;
    background: white;
    color: #1e293b;
}