/* ============================================
   PRESTICORP STARTUPS – DARK THEME
   ============================================ */

/* ---------- 1. VARIABLES :root ---------- */
:root {
    --font-main: 'Inter', sans-serif;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(220, 38, 38, 0.4);
    --primary: #dc2626;
    --primary-light: #ef4444;
    --primary-dark: #991b1b;
    --gradient-btn: linear-gradient(135deg, #dc2626, #b91c1c);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --section-py: 120px;
    --section-gap: 4rem;
}

/* ---------- 2. RESET ---------- */
* { box-sizing: border-box; }

body {
    font-family: var(--font-main) !important;
    background-color: var(--bg-dark) !important;
    color: var(--text-primary) !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

a { text-decoration: none !important; color: inherit; }
a:hover { color: inherit; }

.dark, .header-area, .footer-section, .mean-container, #meanmenu, .mobile-menu-area { display: none !important; }

/* ---------- 3. UTILITIES ---------- */
.text-accent { color: var(--primary-light) !important; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.section-title,
.section-title-dark {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Flex Gap Utilities (since BS4 doesn't have them) */
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* Gutter Utilities for BS4 (Workaround) */
.g-4 { margin-right: -1.5rem; margin-left: -1.5rem; }
.g-4 > [class*="col-"] { padding-right: 1.5rem; padding-left: 1.5rem; }
.g-5 { margin-right: -3rem; margin-left: -3rem; }
.g-5 > [class*="col-"] { padding-right: 3rem; padding-left: 3rem; }

.gy-4 > [class*="col-"] { margin-bottom: 1.5rem !important; }
.gy-5 > [class*="col-"] { margin-bottom: 3rem !important; }

/* ---------- 4. BUTTONS ---------- */
.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3), 0 0 60px rgba(220, 38, 38, 0.1);
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5), 0 0 80px rgba(220, 38, 38, 0.2);
    color: #fff;
}

.btn-outline,
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--text-primary);
    transition: all 0.3s ease;
}
.btn-outline:hover,
.btn-outline-dark:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

/* ---------- 5. NAVBAR ---------- */
.lp-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(10, 17, 33, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.75rem 0;
}
.lp-navbar .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-logo { display: flex; align-items: center; gap: 0.5rem; }
.lp-logo img { height: 45px; width: auto; filter: brightness(0) invert(1); }

.lp-nav-links { display: flex; gap: 2rem; align-items: center; }
.lp-nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.lp-nav-links a:hover { color: var(--text-primary); }

.btn-nav-cta {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #fff !important;
    background: var(--gradient-btn);
    transition: all 0.3s;
    border: none;
}
.btn-nav-cta:hover { transform: translateY(-1px); }

/* ---------- 6. HERO ---------- */
.lp-hero {
    padding: 160px 0 100px;
    position: relative;
    background-color: var(--bg-dark);
    overflow: hidden;
    background-image: radial-gradient(circle at 85% 15%, rgba(220, 38, 38, 0.12) 0%, transparent 45%),
                      radial-gradient(circle at 15% 85%, rgba(15, 23, 42, 0.9) 0%, transparent 50%);
}
.lp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.02"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.6;
    pointer-events: none;
}
.lp-hero > .container { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.hero-badge span { width: 6px; height: 6px; background: var(--primary-light); border-radius: 50%; }

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #fff;
}
.hero-title .gradient {
    background: linear-gradient(135deg, var(--primary-light), #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas { margin-bottom: 2rem; }

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.hero-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.hero-pill:hover {
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.08);
}
.hero-pill-icon { font-size: 1.5rem; }
.hero-pill-text { text-align: left; }
.hero-pill-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.hero-pill-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---------- 7. SERVICIOS ---------- */
.lp-services { padding: var(--section-py) 0; }

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}
.service-card:hover {
    border-color: rgba(220, 38, 38, 0.4);
    transform: translateY(-3px);
}
.service-icon {
    width: 48px; height: 48px;
    background: rgba(220, 38, 38, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.service-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ---------- 8. LEAD MAGNET ---------- */
.lp-lead-magnet { padding: var(--section-py) 0; }

.lead-magnet-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 3rem 4rem;
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.lead-magnet-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem 0;
}
.lead-magnet-box p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.btn-lead {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background: var(--gradient-btn);
    color: #fff !important;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}
.btn-lead:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* ---------- 9. PORTAFOLIO ---------- */
.lp-portfolio { padding: var(--section-py) 0; }

.portfolio-card-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}
.portfolio-card-dark:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-3px);
}

.portfolio-card-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.portfolio-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220,38,38,0.7), rgba(30,58,95,0.7));
}
.overlay-gradient.ov-red { background: linear-gradient(135deg, rgba(220,38,38,0.7), rgba(30,58,95,0.7)); }
.overlay-gradient.ov-green { background: linear-gradient(135deg, rgba(16,100,80,0.7), rgba(30,58,95,0.7)); }
.overlay-gradient.ov-brown { background: linear-gradient(135deg, rgba(120,60,20,0.7), rgba(30,58,95,0.7)); }
.portfolio-card-thumb .project-name {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.portfolio-card-body {
    padding: 1.5rem;
}
.portfolio-card-body .p-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}
.portfolio-card-body h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.portfolio-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ---------- 10. PROCESO ---------- */
.lp-process {
    padding: var(--section-py) 0;
    background: var(--bg-dark-secondary);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.process-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}
.process-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}
.process-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(220, 38, 38, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}
.process-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.process-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ---------- 11. CONTACTO ---------- */
.lp-contact { padding: var(--section-py) 0; }

.contact-form-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2.5rem;
}

.form-label-dark {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.form-input-dark {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    background: rgba(10, 17, 33, 0.6);
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-main);
}
.form-input-dark::placeholder { color: var(--text-muted); }
.form-input-dark:focus {
    outline: none;
    border-color: var(--primary-light);
}
.form-input-dark option { background: var(--bg-dark); color: #fff; }

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background: var(--gradient-btn);
    color: #fff !important;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* ---------- 12. FLOAT WIDGET ---------- */
.float-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9998;
}

.btn-float-dark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #fff !important;
    background: var(--gradient-btn);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
}
.btn-float-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.5);
}
.btn-float-dark i { font-size: 1.25rem; }

/* ---------- 13. FOOTER ---------- */
.lp-footer {
    background: var(--bg-dark);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.lp-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}
.lp-footer a {
    color: var(--text-secondary);
    transition: color 0.2s;
}
.lp-footer a:hover { color: var(--primary-light); }

/* ---------- BURGER & MOBILE MENU ---------- */
.lp-nav-right { display: flex; align-items: center; gap: 0.25rem; }
.lp-burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    width: 44px; height: 44px; padding: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px; cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); gap: 5px;
}
.lp-burger span {
    display: block; width: 20px; height: 2px;
    background: var(--text-primary); border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.lp-burger:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.lp-burger:focus { outline: none; }

.lp-mobile-menu {
    position: fixed; inset: 0; z-index: 9998;
    pointer-events: none; visibility: hidden; transition: visibility 0.4s;
}
.lp-mobile-menu.active { pointer-events: auto; visibility: visible; }
.lp-mobile-menu-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    opacity: 0; transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lp-mobile-menu.active .lp-mobile-menu-backdrop { opacity: 1; }
.lp-mobile-menu-panel {
    position: absolute; top: 0; right: 0;
    width: min(320px, 85vw); height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #0a0a0f 100%);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; overflow: hidden;
}
.lp-mobile-menu.active .lp-mobile-menu-panel { transform: translateX(0); }
.lp-mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lp-mobile-menu-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); letter-spacing: 0.05em; }
.lp-burger-close { background: transparent; border-color: rgba(255,255,255,0.15); }
.lp-burger-close span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-burger-close span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lp-burger-close span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lp-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lp-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lp-mobile-menu-nav {
    flex: 1; overflow-y: auto; padding: 1.5rem 1.25rem;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.lp-mobile-menu-nav a {
    display: block; padding: 0.875rem 1rem;
    font-size: 1rem; font-weight: 500; color: var(--text-secondary);
    border-radius: 10px; transition: all 0.25s ease;
}
.lp-mobile-menu-nav a:hover {
    color: var(--text-primary); background: rgba(255,255,255,0.06);
    padding-left: 1.25rem;
}
.lp-mobile-cta {
    margin-top: 1rem; background: var(--gradient-btn) !important;
    color: #fff !important; text-align: center;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}
.lp-mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
}
.lp-mobile-dropdown { margin-bottom: 0.25rem; }
.lp-mobile-dropdown-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 0.875rem 1rem; font-size: 1rem; font-weight: 500;
    color: var(--text-secondary); background: none; border: none;
    border-radius: 10px; cursor: pointer; text-align: left; font-family: inherit;
    transition: all 0.25s ease;
}
.lp-mobile-dropdown-trigger::after {
    content: ''; width: 8px; height: 8px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform 0.3s ease;
}
.lp-mobile-dropdown.open .lp-mobile-dropdown-trigger::after { transform: rotate(-135deg); }
.lp-mobile-dropdown-trigger:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.lp-mobile-dropdown-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lp-mobile-dropdown.open .lp-mobile-dropdown-content { max-height: 340px; }
.lp-mobile-dropdown-content a { padding: 0.75rem 1rem 0.75rem 1.5rem; font-size: 0.95rem; border-radius: 8px; }

@media (min-width: 768px) {
    .lp-nav-right, .lp-mobile-menu { display: none !important; }
}

/* ---------- 14. RESPONSIVE ---------- */
.d-none { display: none !important; }
.d-md-flex { display: none; }
.d-md-none { display: block; }

@media (min-width: 768px) {
    .d-none { display: none !important; }
    .d-md-flex { display: flex !important; }
    .d-md-none { display: none !important; }
}

@media (max-width: 767px) {
    body { padding-bottom: 5rem; }
    .lp-nav-right { display: flex !important; align-items: center; gap: 0.5rem; }
    .lp-navbar { padding: 0.5rem 0; }
    .lp-navbar .container { padding-left: 0.75rem; padding-right: 0.75rem; }
    .lp-navbar .navbar-inner { gap: 0.5rem; }
    .lp-logo { flex-shrink: 1; min-width: 0; }
    .lp-logo img { height: 28px; max-width: 100px; width: auto; object-fit: contain; }
    .lp-navbar .btn-nav-cta { padding: 0.4rem 0.75rem; font-size: 0.8rem; flex-shrink: 0; }
    .lp-hero { padding: 90px 0 50px; }
    .lp-hero .container { padding-left: 1rem; padding-right: 1rem; }
    .hero-badge { font-size: 0.65rem; padding: 0.25rem 0.6rem; }
    .hero-title { font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.75rem; }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 1.25rem; }
    .hero-pills { flex-direction: column; }
    .hero-pill { justify-content: flex-start; }
    .section-title,
    .section-title-dark { font-size: 1.4rem; }
    .section-desc { font-size: 0.9rem; }
    .lead-magnet-box { padding: 1.25rem 1rem; flex-direction: column; text-align: center; }
    .lead-magnet-box h3 { font-size: 1.2rem; }
    .lp-footer { padding: 2rem 0 5rem; }
    .lp-footer .container { padding-left: 1rem; padding-right: 1rem; }
    .float-widget { bottom: 1rem; right: 1rem; }
    .btn-float-dark { padding: 0.6rem 0.9rem; font-size: 0.75rem; }
    .btn-float-dark span { display: none; }
}

/* ---------- 15. MODAL ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,17,33,0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
    max-width: 450px;
    width: 90%;
    margin: 20px;
    position: relative;
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2.5rem;
}
.modal-box.p-4 { padding: 1.5rem; }
.modal-box.modal-box-sm { max-width: 400px; text-align: center; }

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { color: var(--text-primary); }

.modal-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.modal-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.modal-success {
    padding: 1rem 0;
}
.modal-success i {
    font-size: 3rem;
    color: #22c55e;
    display: block;
}
.modal-success h4 {
    color: #fff;
    margin-top: 15px;
    font-size: 1.25rem;
    font-weight: 700;
}
.modal-success p {
    color: #a1a1aa;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

#guiaSuccess { display: none; }

/* ---------- 16. ANIMATIONS ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 17. DROPDOWN SERVICIOS ---------- */
/* Caret del ítem Servicios (misma convención que inclusion/barramenus.php) */
.menu-caret {
    font-size: 0.7em;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
}

.lp-nav-dropdown { position: relative; display: inline-block; }
.lp-nav-dropdown .lp-nav-trigger {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}
.lp-nav-dropdown .lp-nav-trigger:hover { color: var(--text-primary); }
.lp-nav-dropdown .lp-nav-trigger.nav-link-text { color: var(--text-secondary); }
.lp-nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding: 0.5rem 0;
    min-width: 180px;
    background: rgba(15, 15, 20, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 10001;
    display: none;
}
.lp-nav-dropdown:hover .dropdown-menu { display: block; }
.lp-nav-dropdown::before { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 0.5rem; }
.lp-nav-dropdown .dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.lp-nav-dropdown .dropdown-menu a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* ---------- ZONA DE CARGA DE ARCHIVOS (cotizaciones landing) ---------- */
.upload-zone {
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color .25s, background .25s;
    background: rgba(255,255,255,0.02);
    margin-bottom: 1rem;
}
.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary-light, #ef4444);
    background: rgba(255,255,255,0.04);
}
.upload-zone-icon { font-size: 2rem; color: var(--text-muted, #64748b); margin-bottom: .5rem; }
.upload-zone-text { color: var(--text-secondary, #94a3b8); font-size: .85rem; margin: 0; }
.upload-zone-text span { color: var(--primary-light, #ef4444); text-decoration: underline; cursor: pointer; }
.upload-zone-hint { color: var(--text-muted, #64748b); font-size: .75rem; margin-top: .35rem; }
.upload-file-list { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.upload-file-item {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 6px 10px; font-size: .78rem; color: var(--text-secondary, #94a3b8);
    max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.upload-file-item .file-icon { flex-shrink: 0; }
.upload-file-item .file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-file-item .file-remove {
    flex-shrink: 0; cursor: pointer; color: #ef4444; font-weight: 700; font-size: 1rem;
    line-height: 1; margin-left: 4px; transition: color .2s;
}
.upload-file-item .file-remove:hover { color: #f87171; }
.upload-error { color: #ef4444; font-size: .78rem; margin-top: .35rem; }
