/*
=================================================
DC Framework - Home Landing Modern
Archivo: assets/css/dc-home-landing.css
=================================================
Capa visual para la página de inicio pública.
No toca los paneles internos.
=================================================
*/

:root {
    --dc-home-bg: #f8fafc;
    --dc-home-surface: #ffffff;
    --dc-home-text: #0f172a;
    --dc-home-muted: #52637a;
    --dc-home-border: #dbe3ef;
    --dc-home-primary: #2563eb;
    --dc-home-primary-dark: #1d4ed8;
    --dc-home-primary-soft: #eff6ff;
    --dc-home-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --dc-home-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.dc-home-landing {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.07), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 42%, #ffffff 100%);
    color: var(--dc-home-text);
    overflow: hidden;
}

.dc-home-landing .dc-container {
    max-width: 1220px;
}

.dc-home-landing .dc-section {
    padding-top: 96px;
    padding-bottom: 96px;
}

.dc-home-landing .dc-bg-soft {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 28%),
        #f4f7fb;
}

/* SVG base */
.dc-home-icon,
.dc-nav-icon,
.dc-footer-mini-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    flex: 0 0 auto;
}

.dc-home-icon svg,
.dc-nav-icon svg,
.dc-footer-mini-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Navbar */
.dc-home-navbar {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(219, 227, 239, 0.85);
    backdrop-filter: blur(16px);
}

.dc-home-navbar .dc-navbar-inner {
    height: 76px;
}

.dc-home-logo {
    min-width: 260px;
}

.dc-home-logo-icon {
    background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22);
}

.dc-home-logo-icon .dc-nav-icon,
.dc-footer-logo .dc-nav-icon {
    width: 24px;
    height: 24px;
}

.dc-home-navbar .dc-navbar-logo h2 {
    font-size: 20px;
    letter-spacing: -0.4px;
    color: var(--dc-home-text);
}

.dc-home-navbar .dc-navbar-logo p {
    font-size: 12px;
    color: var(--dc-home-muted);
}

.dc-home-navbar .dc-navbar-menu-list a {
    font-size: 14px;
    color: var(--dc-home-text);
    font-weight: 900;
}

.dc-home-navbar .dc-navbar-menu-list a:hover {
    color: var(--dc-home-primary);
}

.dc-home-icon-btn,
.dc-home-mobile-btn {
    color: var(--dc-home-text);
}

.dc-mobile-cta {
    margin-top: 12px;
}

/* Badges */
.dc-home-landing .dc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.dc-home-landing .dc-badge-primary {
    background: #dbeafe;
    color: var(--dc-home-primary);
    border: 1px solid #bfdbfe;
}

.dc-home-landing .dc-badge-light {
    background: rgba(255,255,255,.18);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.24);
}

/* Hero */
.dc-home-hero {
    padding-top: 146px !important;
    min-height: 780px;
    display: flex;
    align-items: center;
}

.dc-home-hero-grid {
    gap: 72px;
}

.dc-home-landing .dc-hero-title {
    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -2.8px;
    font-weight: 950;
    color: var(--dc-home-text);
}

.dc-home-landing .dc-hero-text {
    max-width: 650px;
    color: var(--dc-home-muted);
    font-size: 19px;
    line-height: 1.75;
}

.dc-home-landing .dc-btn {
    min-height: 50px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 950;
    box-shadow: none;
}

.dc-home-landing .dc-btn-primary {
    background: var(--dc-home-primary);
    border-color: var(--dc-home-primary);
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
}

.dc-home-landing .dc-btn-primary:hover {
    background: var(--dc-home-primary-dark);
    border-color: var(--dc-home-primary-dark);
}

.dc-home-landing .dc-btn-outline {
    background: #ffffff;
    border: 1px solid var(--dc-home-border);
    color: var(--dc-home-text) !important;
}

.dc-home-landing .dc-btn-outline:hover {
    background: var(--dc-home-primary-soft);
    border-color: #bfdbfe;
    color: var(--dc-home-primary) !important;
}

.dc-home-stats-mini {
    gap: 34px;
}

.dc-home-stats-mini strong {
    color: var(--dc-home-primary);
    font-size: 34px;
}

.dc-home-stats-mini span {
    color: var(--dc-home-muted);
    font-weight: 700;
}

.dc-home-hero-visual {
    position: relative;
}

.dc-home-hero-visual img,
.dc-home-image-panel img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, .16);
}

.dc-home-hero-visual img {
    aspect-ratio: 1.45 / 1;
}

.dc-home-floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
    padding: 13px 15px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(219, 227, 239, .9);
    backdrop-filter: blur(12px);
    box-shadow: var(--dc-home-shadow-soft);
}

.dc-home-floating-card .dc-home-icon {
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 13px;
    background: var(--dc-home-primary-soft);
    color: var(--dc-home-primary);
}

.dc-home-floating-card strong {
    display: block;
    color: var(--dc-home-text);
    font-size: 14px;
}

.dc-home-floating-card span {
    display: block;
    color: var(--dc-home-muted);
    font-size: 12px;
    margin-top: 2px;
}

.dc-home-floating-card-top {
    top: -24px;
    left: -34px;
}

.dc-home-floating-card-bottom {
    right: -26px;
    bottom: -24px;
}

/* Section titles */
.dc-home-landing .dc-section-title {
    max-width: 820px;
}

.dc-home-landing .dc-section-title h2,
.dc-home-landing .dc-footer-cta-box h2 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -1.8px;
    font-weight: 950;
    color: var(--dc-home-text);
}

.dc-home-landing .dc-section-title p,
.dc-home-landing .dc-footer-cta-box p {
    color: var(--dc-home-muted);
    font-size: 18px;
    line-height: 1.7;
}

/* Services */
.dc-home-service-grid {
    gap: 28px;
}

.dc-home-service-card,
.dc-home-landing .dc-testimonial,
.dc-home-landing .dc-faq-item {
    border: 1px solid var(--dc-home-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--dc-home-shadow-soft);
}

.dc-home-service-card {
    min-height: 270px;
    padding: 30px;
}

.dc-home-card-icon,
.dc-home-landing .dc-benefit-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--dc-home-primary-soft);
    color: var(--dc-home-primary);
    font-size: 0;
}

.dc-home-card-icon .dc-home-icon,
.dc-home-landing .dc-benefit-icon .dc-home-icon {
    width: 28px;
    height: 28px;
}

.dc-home-service-card h3,
.dc-home-landing .dc-benefit h3 {
    color: var(--dc-home-text);
    font-size: 22px;
    line-height: 1.2;
}

.dc-home-service-card p,
.dc-home-landing .dc-benefit p {
    color: var(--dc-home-muted);
    line-height: 1.7;
}

/* Process */
.dc-home-process-grid {
    position: relative;
    gap: 30px;
}

.dc-home-step {
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--dc-home-border);
    box-shadow: var(--dc-home-shadow-soft);
}

.dc-home-step .dc-step-number {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    margin-bottom: 22px;
    background: var(--dc-home-primary);
    box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
}

.dc-home-step h3 {
    color: var(--dc-home-text);
    font-size: 21px;
}

.dc-home-step p {
    color: var(--dc-home-muted);
    line-height: 1.7;
}

/* Benefits */
.dc-home-benefit-list .dc-benefit {
    border-radius: 20px;
    border: 1px solid var(--dc-home-border);
    background: #ffffff;
    box-shadow: var(--dc-home-shadow-soft);
}

.dc-home-image-panel img {
    aspect-ratio: 1.35 / 1;
}

/* Testimonials */
.dc-home-landing .dc-testimonial {
    padding: 28px;
}

.dc-home-landing .dc-stars {
    color: #f59e0b;
    font-size: 18px;
}

.dc-home-landing .dc-testimonial p {
    color: var(--dc-home-muted);
    line-height: 1.75;
}

.dc-home-landing .dc-avatar {
    background: var(--dc-home-primary);
    color: #ffffff;
}

/* Stats */
.dc-home-stats-section {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.14), transparent 30%),
        linear-gradient(135deg, #1d4ed8, #2563eb) !important;
}

.dc-home-stats-section .dc-section-title h2,
.dc-home-stats-section .dc-section-title p,
.dc-home-stats-section .dc-stat strong,
.dc-home-stats-section .dc-stat span {
    color: #ffffff;
}

.dc-home-stats-section .dc-stat {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
}

/* FAQ */
.dc-home-landing .dc-faq {
    max-width: 900px;
}

.dc-home-landing .dc-faq-item {
    margin-bottom: 16px;
}

.dc-home-landing .dc-faq-question {
    padding: 22px 24px;
    font-size: 17px;
    color: var(--dc-home-text);
}

.dc-home-landing .dc-faq-icon {
    color: var(--dc-home-primary);
}

.dc-home-landing .dc-faq-answer p {
    color: var(--dc-home-muted);
}

/* App */
.dc-home-app .dc-benefit-icon {
    border-radius: 18px;
}

/* Final CTA */
.dc-home-final-cta {
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 34%),
        linear-gradient(135deg, #1d4ed8, #2563eb) !important;
}

.dc-home-final-cta .dc-footer-cta-box h2,
.dc-home-final-cta .dc-footer-cta-box p {
    color: #ffffff;
}

.dc-home-final-cta .dc-btn-primary {
    background: #ffffff;
    color: var(--dc-home-primary) !important;
    border-color: #ffffff;
}

.dc-home-final-cta .dc-btn-outline {
    background: transparent;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.65);
}

.dc-home-final-cta .dc-btn-outline:hover {
    background: #ffffff !important;
    color: var(--dc-home-primary) !important;
}

/* Footer */
.dc-footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dc-footer-mini-icon {
    color: #60a5fa;
}

/* Dark mode */
body.dark .dc-home-landing,
body.dc-dark-mode .dc-home-landing,
html.dc-dark-mode .dc-home-landing {
    --dc-home-bg: #020617;
    --dc-home-surface: #0f172a;
    --dc-home-text: #f8fafc;
    --dc-home-muted: #94a3b8;
    --dc-home-border: rgba(255,255,255,.10);
    --dc-home-primary-soft: rgba(37,99,235,.18);
    background: #020617;
}

body.dark .dc-home-navbar,
body.dc-dark-mode .dc-home-navbar,
html.dc-dark-mode .dc-home-navbar {
    background: rgba(15, 23, 42, .86);
    border-bottom-color: rgba(255,255,255,.08);
}

body.dark .dc-home-navbar .dc-navbar-logo h2,
body.dark .dc-home-navbar .dc-navbar-menu-list a,
body.dc-dark-mode .dc-home-navbar .dc-navbar-logo h2,
body.dc-dark-mode .dc-home-navbar .dc-navbar-menu-list a,
html.dc-dark-mode .dc-home-navbar .dc-navbar-logo h2,
html.dc-dark-mode .dc-home-navbar .dc-navbar-menu-list a {
    color: #f8fafc;
}

body.dark .dc-home-service-card,
body.dark .dc-home-step,
body.dark .dc-home-landing .dc-testimonial,
body.dark .dc-home-landing .dc-faq-item,
body.dark .dc-home-benefit-list .dc-benefit,
body.dark .dc-home-floating-card,
body.dc-dark-mode .dc-home-service-card,
body.dc-dark-mode .dc-home-step,
body.dc-dark-mode .dc-home-landing .dc-testimonial,
body.dc-dark-mode .dc-home-landing .dc-faq-item,
body.dc-dark-mode .dc-home-benefit-list .dc-benefit,
body.dc-dark-mode .dc-home-floating-card,
html.dc-dark-mode .dc-home-service-card,
html.dc-dark-mode .dc-home-step,
html.dc-dark-mode .dc-home-landing .dc-testimonial,
html.dc-dark-mode .dc-home-landing .dc-faq-item,
html.dc-dark-mode .dc-home-benefit-list .dc-benefit,
html.dc-dark-mode .dc-home-floating-card {
    background: #0f172a;
    border-color: rgba(255,255,255,.10);
}

/* Responsive */
@media (max-width: 1024px) {
    .dc-home-hero {
        min-height: auto;
        padding-top: 126px !important;
    }

    .dc-home-logo {
        min-width: 0;
    }

    .dc-home-hero-grid {
        gap: 46px;
    }

    .dc-home-floating-card {
        display: none;
    }

    .dc-home-landing .dc-section {
        padding-top: 76px;
        padding-bottom: 76px;
    }
}

@media (max-width: 768px) {
    .dc-home-navbar .dc-navbar-inner {
        height: 72px;
    }

    .dc-home-navbar .dc-navbar-logo h2 {
        font-size: 17px;
    }

    .dc-home-hero {
        padding-top: 112px !important;
    }

    .dc-home-landing .dc-hero-title,
    .dc-home-landing .dc-section-title h2,
    .dc-home-landing .dc-footer-cta-box h2 {
        font-size: clamp(36px, 10vw, 48px);
        letter-spacing: -1.6px;
    }

    .dc-home-landing .dc-hero-text,
    .dc-home-landing .dc-section-title p,
    .dc-home-landing .dc-footer-cta-box p {
        font-size: 16px;
    }

    .dc-home-landing .dc-btn,
    .dc-home-landing .dc-hero-actions .dc-btn {
        width: 100%;
    }

    .dc-home-stats-mini {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dc-home-service-card,
    .dc-home-step,
    .dc-home-landing .dc-testimonial {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .dc-home-navbar .dc-navbar-logo p {
        display: none;
    }

    .dc-home-logo-icon {
        width: 42px;
        height: 42px;
    }
}
