@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@800&display=swap');

:root {
    --bg-dark: #000000;
    --bg-surface: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #555555;
    --brand-primary: #E52020;
    --brand-primary-hover: #ff3333;
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --transition-hover: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-layout: 350ms cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body.theme-dark {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   UTILITIES & TYPOGRAPHY
========================================= */
.c-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.c-container--narrow {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.c-section-header {
    margin-bottom: 64px;
}

.c-section-title {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: -0.04em;
    position: relative;
    display: inline-block;
}

.c-section-title::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-color: var(--brand-primary);
}

.c-text-accent {
    color: var(--brand-primary);
}

/* Scroll Reveal & Micro-interactions */
[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
[data-scroll-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Custom Reveals */
[data-scroll-reveal="hero-title"] { transition-delay: 0.2s; transition-duration: 1.8s; }
[data-scroll-reveal="hero-subtitle"] { transition-delay: 0.6s; transition-duration: 1.8s; }
[data-scroll-reveal="hero-cta"] { transition-delay: 1.0s; transition-duration: 1.8s; }

[data-scroll-reveal="hero-image"] {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.4s;
    transform-origin: center;
}
[data-scroll-reveal="hero-image"].is-visible {
    opacity: 1;
    transform: scale(1);
}

[data-scroll-reveal="line"] {
    opacity: 1;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-scroll-reveal="line"].is-visible {
    transform: scaleY(1);
}

/* Buttons Unified System */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 100px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
    transition: all var(--transition-hover);
}

.c-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.c-btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 2px 10px rgba(229, 32, 32, 0.1);
}

.c-btn:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 4px;
}

.c-btn:disabled, .c-btn.is-loading {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.c-btn--primary {
    background-color: var(--brand-primary);
    color: white;
}

.c-btn--primary:hover {
    background-color: var(--brand-primary-hover);
}

.c-btn--outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
}

.c-btn--outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    box-shadow: 0 6px 20px rgba(229, 32, 32, 0.08);
    background-color: rgba(255,255,255,0.1);
}

/* =========================================
   NAVBAR & BRANDING
========================================= */
.c-brand-top-line {
    height: 3px;
    width: 100%;
    background: var(--brand-primary);
    position: fixed;
    top: 0; left: 0; z-index: 100;
}

.c-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 90;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: height 0.5s ease, background-color 0.5s ease, backdrop-filter 0.5s ease, border-bottom 0.5s ease, padding 0.5s ease;
}
.c-navbar.is-scrolled {
    height: 70px;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.c-navbar__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling matching the DNC brand image */
.c-brand-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    transform: scale(1.05); /* Incremento del 5% */
    transform-origin: left center;
    color: #ffffff;
}
.c-brand-logo__dn {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -1.5px;
}
.c-brand-logo__c {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 800;
    font-style: italic;
    color: var(--brand-primary);
}
.c-brand-logo__divider {
    width: 1px;
    height: 28px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 16px;
}
.c-brand-logo__text {
    display: flex;
    flex-direction: column;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    line-height: 1.2;
}

.c-navbar__menu {
    display: flex;
    align-items: center;
    gap: 40px; /* Mucho aire visual, estilo premium */
}

.c-navbar__link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-navbar__link svg {
    opacity: 0.7;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s;
}

.c-navbar__link:hover {
    color: var(--text-primary);
}

.c-navbar__link:hover svg {
    opacity: 1;
    transform: translateY(-2px); /* Magnetic very subtle effect */
}

/* Animated underline */
.c-navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-navbar__link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.c-navbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Ghost Button for Login */
.c-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.c-btn--ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.c-btn--icon {
    gap: 8px;
}

/* Primary CTA specifics */
.c-navbar__cta {
    padding: 12px 28px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(229, 32, 32, 0.2);
    letter-spacing: -0.01em;
}

.c-navbar__cta:hover {
    box-shadow: 0 8px 24px rgba(229, 32, 32, 0.4);
}

.c-navbar__login {
    display: flex !important;
    padding: 12px 24px;
}

.c-navbar__menu-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.c-navbar__menu-btn:hover {
    color: var(--brand-primary);
}


/* =========================================
   DRAWER
========================================= */
.c-drawer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 200;
    pointer-events: none;
}
.c-drawer.is-open {
    pointer-events: all;
}
.c-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.c-drawer.is-open .c-drawer__overlay {
    opacity: 1;
}
.c-drawer__panel {
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 100%;
    max-width: 440px;
    background: #080808;
    border-left: 1px solid rgba(255,255,255,0.05);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.c-drawer.is-open .c-drawer__panel {
    transform: translateX(0);
}
.c-drawer__header {
    padding: 32px;
    display: flex;
    justify-content: flex-end;
}
.c-drawer__close {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.c-drawer__close:hover { 
    color: var(--text-primary); 
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}
.c-drawer__scroll-area {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.c-drawer__portal-access {
    margin: 0 32px 8px 32px;
    padding: 0 0 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.c-drawer__nav-main ul, .c-drawer__nav-secondary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.c-drawer__link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    border: 1px solid transparent;
}
.c-drawer__link svg {
    color: var(--brand-primary);
    opacity: 0.8;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.c-drawer__link:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(6px);
}
.c-drawer__link:hover svg {
    transform: scale(1.15);
    opacity: 1;
}

/* Pagos Special Pill Treatment */
.c-drawer__link--special {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}
.c-drawer__link--special:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.c-drawer__footer {
    padding: 16px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.c-drawer__account {
    display: flex;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.c-link-muted {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.3s;
}
.c-link-muted:hover {
    color: var(--text-primary);
}
.c-btn--full {
    width: 100%;
}
.c-drawer__socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}
.c-drawer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-drawer__socials a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.c-drawer__socials a.social-ig:hover { color: #E1306C; }
.c-drawer__socials a.social-tt:hover { color: #FFFFFF; transform: translateY(-2px) scale(1.05); }
.c-drawer__socials a.social-fb:hover { color: #1877F2; }
.c-drawer__socials a.social-wa:hover { color: #25D366; }

/* =========================================
   SECTIONS
========================================= */
section {
    padding: 80px 0;
}

/* HERO */
.c-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.c-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.c-hero__title {
    font-size: 84px;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}
.c-hero__subtitle {
    font-size: 24px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 48px;
    max-width: 540px;
}
.c-hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 700px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-md);
}
.c-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.c-hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark), transparent 50%);
}

/* Grids */
.c-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Cards */
.c-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    background-color: var(--bg-surface);
    padding: 56px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition-layout);
}
.c-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}
.c-card:hover .c-card__indicator {
    box-shadow: 0 0 15px rgba(229, 32, 32, 0.6);
}
.c-card__indicator {
    width: 12px;
    height: 12px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    margin-bottom: 32px;
    box-shadow: 0 0 10px rgba(229,32,32,0.4);
    transition: box-shadow var(--transition-hover);
}
.c-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.c-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Timeline / Method */
.c-method {
    background-color: #050505;
    position: relative;
}
.c-method-wrapper {
    position: relative;
    padding-left: 64px;
}
.c-l-thread {
    position: absolute;
    top: 0; bottom: 0; left: 16px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--brand-primary) 20%, var(--brand-primary) 80%, transparent);
    opacity: 0.3;
}
.c-timeline {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.c-timeline__item {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    position: relative;
}
/* The dot on the thread */
.c-timeline__item::before {
    content: '';
    position: absolute;
    left: -53px; /* relative to wrapper left padding */
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 2px solid var(--brand-primary);
    z-index: 2;
}
.c-timeline__num {
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    font-weight: 600;
    padding-top: 2px;
}
.c-timeline__content h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
}
.c-timeline__content p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 500px;
}

/* Success Cases Carousel */
.c-section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: 48px;
}
.c-carousel-container {
    position: relative;
    margin-top: 48px;
}
.c-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 32px;
    padding-bottom: 32px;
    /* Hide scrollbar */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.c-carousel::-webkit-scrollbar {
    display: none;
}
.c-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 24px;
}
.c-btn-icon {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.c-btn-icon:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
}

/* Case Card */
.c-case-card {
    min-width: 100%;
    scroll-snap-align: start;
    background: transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-sm);
}

/* Se eliminaron las micro-interacciones de opacidad que fallaban en Safari/iOS móvil */
.c-case-card__image-box,
.c-case-card__content > *:not(.c-case-card__result),
.c-case-card__result {
    opacity: 1;
    transform: translateY(0);
}
@media (min-width: 768px) {
    .c-case-card {
        min-width: calc(85% - 16px);
        flex-direction: row;
    }
}
@media (min-width: 1024px) {
    .c-case-card {
        min-width: calc(100% - 32px); /* single card per view on desktop, wide */
    }
}

.c-case-card__image-box {
    width: 100%;
    height: 300px;
}
@media (min-width: 768px) {
    .c-case-card__image-box {
        width: 40%;
        height: auto;
        min-height: 400px;
    }
}
.c-case-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    filter: contrast(1.05) saturate(1.1) brightness(1.02);
    transition: transform 0.5s ease;
}

.c-case-card__content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
}
@media (min-width: 768px) {
    .c-case-card {
        flex-direction: row;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
        background-color: var(--bg-surface);
    }
    .c-case-card__image-box {
        width: 40%;
        height: auto;
    }
    .c-case-card__content {
        width: 60%;
        padding: 48px;
    }
}
@media (min-width: 1024px) {
    .c-case-card__image-box {
        width: 45%;
    }
    .c-case-card__content {
        width: 55%;
        padding: 64px;
    }
}

.c-case-card__header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
}
.c-case-card__name {
    font-size: 32px;
    font-weight: 600;
}
.c-case-card__age {
    color: var(--text-secondary);
    font-size: 18px;
}

.c-case-card__meta {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.c-case-card__meta-item {
    display: flex;
    flex-direction: column;
}
.c-case-card__meta-label {
    color: var(--brand-primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}
.c-case-card__meta-value {
    font-size: 16px;
    font-weight: 500;
}

.c-case-card__story {
    font-size: 26px;
    line-height: 1.5;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 48px;
}

.c-case-card__result {
    font-size: 18px;
    padding: 0 0 0 24px;
    background: transparent;
    border-left: 2px solid var(--brand-primary);
    margin-bottom: 40px;
}
.c-case-card__result strong {
    color: var(--text-primary);
}

.c-case-card__action {
    align-self: flex-start;
    margin-top: auto;
}

/* FAQ Accordion */
.c-faq {
    padding-top: 64px;
    padding-bottom: 120px;
}
.c-faq-search {
    margin-top: 24px;
    margin-bottom: 32px;
    width: 100%;
}
.c-faq-search__wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.c-faq-search__icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}
.c-faq-search__input {
    width: 100%;
    padding: 20px 20px 20px 52px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}
.c-faq-search__input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.05);
}

.c-faq-premium {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* CATEGORY LEVEL */
.c-faq-category {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.c-faq-category:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.01);
}
.c-faq-category.is-active,
.c-faq-category:focus-within {
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.02);
}
.c-faq-category__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}
.c-faq-category__trigger:focus-visible {
    outline: none;
}
.c-faq-category__title-group {
    display: flex;
    align-items: center;
    gap: 24px;
}
.c-faq-category__icon {
    color: var(--brand-primary);
    display: flex;
    transition: transform 0.4s ease;
}
.c-faq-category__trigger[aria-expanded="true"] .c-faq-category__icon {
    transform: scale(1.1);
}
.c-faq-category__title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}
.c-faq-category__chevron {
    color: var(--text-secondary);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
    display: flex;
}
.c-faq-category__trigger[aria-expanded="true"] .c-faq-category__chevron {
    transform: rotate(180deg);
    color: var(--brand-primary);
}
.c-faq-category__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.c-faq-category__trigger[aria-expanded="true"] + .c-faq-category__content {
    grid-template-rows: 1fr;
}
.c-faq-category__inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.c-faq-category__inner > *:first-child {
    margin-top: 32px;
}
.c-faq-category__inner > *:last-child {
    margin-bottom: 40px;
}
.c-faq-category__inner > * {
    padding: 0 40px;
}

/* QUESTION LEVEL */
.c-faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.c-faq-question:last-child {
    border-bottom: none;
}
.c-faq-question__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-hover);
}
.c-faq-question__trigger:hover {
    color: var(--brand-primary);
}
.c-faq-question__title {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    padding-right: 32px;
}
.c-faq-question__chevron {
    color: var(--text-secondary);
    transition: transform var(--transition-layout);
    display: flex;
    flex-shrink: 0;
}
.c-faq-question__trigger[aria-expanded="true"] .c-faq-question__chevron {
    transform: rotate(180deg);
    color: var(--brand-primary);
}
.c-faq-question__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-layout);
}
.c-faq-question__trigger[aria-expanded="true"] + .c-faq-question__content {
    grid-template-rows: 1fr;
}
.c-faq-question__inner {
    overflow: hidden;
}
.c-faq-question__inner p {
    min-height: 0;
    padding-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}
.c-faq-question__inner a.c-btn {
    margin-bottom: 32px;
}

/* SEARCH & VISIBILITY STATES */
.c-faq-category.is-hidden {
    display: none !important;
}
.c-faq-question.is-hidden {
    display: none !important;
}
.c-faq-highlight {
    background-color: rgba(230, 57, 70, 0.2);
    color: #fff;
    padding: 0 4px;
    border-radius: 4px;
}

/* RESPONSIVE FAQ */
@media (max-width: 768px) {
    .c-faq {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .c-faq-search {
        margin-top: 16px;
        margin-bottom: 24px;
    }
    .c-faq-search__input {
        padding: 12px 16px 12px 42px;
        border-radius: 12px;
        font-size: 14px;
    }
    .c-faq-category {
        border-radius: 20px;
    }
    .c-faq-category__trigger {
        padding: 16px 20px;
    }
    .c-faq-category__title {
        font-size: 18px;
    }
    .c-faq-category__icon svg {
        width: 20px;
        height: 20px;
    }
    .c-faq-category__inner > * {
        padding: 0 20px;
    }
    .c-faq-category__inner > *:first-child {
        margin-top: 24px;
    }
    .c-faq-category__inner > *:last-child {
        margin-bottom: 24px;
    }
    .c-faq-question__trigger {
        padding: 16px 0;
    }
    .c-faq-question__title {
        font-size: 15px;
        line-height: 1.4;
    }
    .c-faq-question__inner p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* CTA */
.c-cta-section {
    padding: 160px 0;
    background: radial-gradient(circle at center, rgba(229,32,32,0.03) 0%, transparent 70%);
}
.c-cta-title {
    font-size: 58px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}
.c-cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 56px;
}

/* Footer */
.c-footer {
    padding: 24px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.c-footer__flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}
.c-footer__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.c-footer__socials {
    display: flex;
    align-items: center;
    gap: 24px;
}
.c-footer__social-link {
    color: var(--brand-primary);
    transition: transform var(--transition-hover), color var(--transition-hover);
    display: flex;
}
.c-footer__social-link:hover {
    color: var(--brand-primary-hover);
    transform: translateY(-2px);
}
.c-footer__separator {
    width: 1px;
    height: 16px;
    background-color: rgba(255,255,255,0.2);
}
.c-footer__legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.c-footer__legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}
.c-footer__legal a:hover {
    color: var(--text-primary);
}
.c-footer__copyright {
    text-align: right;
    font-size: 14px;
}
.c-footer__copyright p {
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .c-hero__title { font-size: 64px; }
    .c-hero__image-wrapper { height: 500px; }
}

@media (max-width: 768px) {
    section { padding: 64px 0; }
    .c-section-title { font-size: 40px; }
    .c-card { padding: 40px 24px; }
    .c-btn { padding: 16px 32px; text-align: center; }
    
    .c-hero { padding-top: 100px; text-align: center; }
    .c-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .c-hero__title { font-size: 56px; }
    .c-hero__subtitle { margin-left: auto; margin-right: auto; font-size: 20px; }
    .c-hero__image-wrapper { display: none; } /* Hide image on mobile for immediate impact */
    
    .c-grid-3 { grid-template-columns: 1fr; }
    .c-success__grid { grid-template-columns: 1fr; }
    .c-success__image-wrapper { height: 400px; }
    
    .c-navbar__actions .c-btn { display: none; }
    .c-brand-logo__text { display: none; } /* Compact logo on mobile */
    .c-brand-logo__divider { display: none; }
    
    .c-method-wrapper { padding-left: 40px; }
    .c-l-thread { left: 16px; }
    .c-timeline__item { gap: 32px; }
    .c-timeline__item::before { left: -29px; }
    
    .c-cta-title { font-size: 40px; }
    .c-footer__flex { flex-direction: column; gap: 32px; text-align: center; }
    .c-footer__copyright { text-align: center; }
}

/* =========================================
   ART DIRECTION: AMBIENT GLOWS
========================================= */
.c-hero { position: relative; }
.c-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(229, 32, 32, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

#metodologia { position: relative; overflow: hidden; }
#metodologia::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -20vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(229, 32, 32, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

#resultados { position: relative; overflow: hidden; }
#resultados::before {
    content: '';
    position: absolute;
    bottom: -10vw;
    right: -20vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(229, 32, 32, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   METHODOLOGY GRID & COLLAGE
========================================= */
.c-method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.c-method-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    perspective: 1000px;
}

.c-method-collage {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    background: #111;
}

.c-method-collage:hover {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: 0 30px 60px rgba(229, 32, 32, 0.1);
}

.c-method-collage__img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('/assets/img/metodo-collage.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.c-method-collage:hover .c-method-collage__img {
    opacity: 1;
    transform: scale(1.03);
}

.c-method-collage__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(229,32,32,0.1) 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.c-method-collage:hover .c-method-collage__overlay {
    opacity: 0;
}

.c-method-collage__glow {
    position: absolute;
    top: -20%; left: -20%;
    width: 140%; height: 140%;
    background: radial-gradient(circle, rgba(229,32,32,0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}

.c-method-cta {
    margin-top: 48px;
}

@media (min-width: 993px) {
    .c-method-cta {
        text-align: left;
        padding-left: 24px;
    }
}

@media (max-width: 992px) {
    .c-method-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .c-method-visual {
        min-height: 400px;
        perspective: none; /* Desactivar perspectiva en móvil */
    }
    .c-method-collage {
        transform: none !important; /* Evitar desplazamiento por rotación 3D en Safari móvil */
    }
    .c-method-cta {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .c-navbar__login {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .c-brand-logo__text {
        display: flex !important;
    }
    .c-brand-logo__divider {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .c-brand-logo {
        transform: scale(0.85) !important;
        margin-left: -8px;
    }
    .c-brand-logo__text {
        letter-spacing: 1px !important;
    }
    .c-brand-logo__divider {
        margin: 0 10px !important;
    }
}

@media (max-width: 768px) {
    .c-hero__title {
        font-size: 48px !important;
    }
    .c-hero__subtitle {
        font-size: 18px !important;
        max-width: 90%;
        margin-bottom: 24px !important;
    }
}


/* Hero Neon Button */
.c-hero-btn-neon {
    background: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.3) !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 600 !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}
.c-hero-btn-neon:hover {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.7), 0 0 50px rgba(239, 68, 68, 0.4) !important;
    background: #f87171 !important;
    transform: translateY(-2px);
}

/* Hero Features Banner */
.c-hero-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 60px;
    flex-wrap: wrap;
    width: 100%;
}
.c-hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 140px;
}
.c-hero-feature span {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.5;
}
.c-hero-feature-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
    .c-hero-features {
        gap: 4px !important;
        margin-top: 32px !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 10px;
    }
    .c-hero-feature {
        width: auto !important;
        max-width: 25% !important;
        flex: 1;
        gap: 8px !important;
    }
    .c-hero-feature span {
        font-size: 7.5px !important;
        letter-spacing: 0px !important;
        line-height: 1.2 !important;
    }
    .c-hero-feature svg {
        width: 24px !important;
        height: 24px !important;
        margin-bottom: 6px !important;
    }
    .c-hero-feature-divider {
        display: block !important;
        height: 28px !important;
        margin-top: 6px !important;
        width: 1px !important;
        background: rgba(255,255,255,0.2) !important;
    }
}


/* Por que DNC Redesign */
.c-marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}
.c-marquee-track {
    display: flex;
    gap: 20px;
}
.c-marquee-set {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.c-marquee-clone {
    display: none; /* Hide clones on desktop */
}
.c-new-card {
    background: #09090b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 48%; /* 2x2 grid on desktop by default */
    max-width: 400px;
    display: flex;
    flex-direction: column;
}
.c-new-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(239, 68, 68, 0.08), transparent);
    pointer-events: none;
}
.c-new-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.c-new-card-num {
    font-size: 32px;
    font-weight: 800;
    color: #ef4444;
}
.c-new-card-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    margin: 0 16px;
}
.c-new-card-icon {
    width: 32px;
    height: 32px;
    color: #ef4444;
    margin-left: auto;
}
.c-new-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.c-new-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

.c-trophy-banner {
    display: flex;
    align-items: center;
    margin-top: 40px;
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.c-trophy-banner-icon {
    width: 36px;
    height: 36px;
    color: #ef4444;
}
.c-trophy-banner-text {
    flex: 1;
    margin-left: 20px;
    text-align: left;
}
.c-trophy-banner-text strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.c-trophy-banner-text span {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}
.c-trophy-banner-arrow {
    color: #ef4444;
}

@media (max-width: 768px) {
    .c-marquee-container {
        padding: 0;
    }
    .c-marquee-track {
        flex-wrap: nowrap;
        width: max-content;
        gap: 16px;
        padding-left: 0;
        animation: scrollMarquee 20s linear infinite;
    }
    .c-marquee-set {
        flex-wrap: nowrap;
        width: max-content;
        gap: 16px;
    }
    .c-marquee-clone {
        display: flex; /* Show clones on mobile */
    }
    .c-new-card {
        width: 260px; /* Small cards for mobile */
        padding: 24px;
        flex-shrink: 0;
    }
    .c-new-card-num {
        font-size: 28px;
    }
    .c-new-card h3 {
        font-size: 18px;
    }
    .c-new-card p {
        font-size: 14px;
    }
    
    .c-trophy-banner {
        flex-direction: row;
        padding: 20px 16px;
        margin-top: 24px;
    }
    .c-trophy-banner-icon {
        width: 28px;
        height: 28px;
    }
    .c-trophy-banner-text {
        margin-left: 12px;
    }
    .c-trophy-banner-text strong {
        font-size: 13px;
    }
    .c-trophy-banner-text span {
        font-size: 11px;
    }
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    /* The track contains exactly 2 identical sets separated by gap:16px */
    100% { transform: translateX(calc(-50% - 8px)); }
}

@media (max-width: 768px) {

    /* Fix large gap between Hero and Why DNC */
    .c-hero {
        padding-bottom: 0px !important;
    }
    .c-why {
        padding-top: 32px !important;
    }

}


/* Metodo Redesign */
.c-timeline-wrapper {
    position: relative;
    padding-left: 40px;
    margin: 0 auto;
    max-width: 600px;
}
.c-timeline-wrapper .c-l-thread {
    left: 19px; /* Align precisely with dots */
    width: 2px;
    background: #ef4444; /* Solid red */
    opacity: 1;
}

.c-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.c-timeline__item {
    display: block; /* Override previous flex */
    position: relative;
}

/* Timeline dot */
.c-timeline__item::before {
    content: '';
    position: absolute;
    left: -27px; /* relative to card */
    top: 30px; /* Align with header */
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #000;
    border: 3px solid #ef4444;
    z-index: 2;
    transform: translateX(-50%);
}

.c-timeline__item--banner::before {
    display: none; /* No dot for banner */
}

.c-timeline__card {
    background: #09090b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
    text-align: left;
}
.c-timeline__card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(239, 68, 68, 0.12), transparent);
    pointer-events: none;
}

.c-timeline__card-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.c-timeline__card-title {
    display: flex;
    align-items: center;
}
.c-timeline__card-num {
    font-size: 24px;
    font-weight: 800;
    color: #ef4444;
}
.c-timeline__card-divider {
    color: rgba(255,255,255,0.2);
    margin: 0 12px;
    font-size: 20px;
}
.c-timeline__card-title h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}
.c-timeline__card-icon {
    width: 40px;
    height: 40px;
    color: #ef4444;
    margin-left: auto; /* Push to right */
}

.c-timeline__card p {
    position: relative;
    z-index: 1;
    margin: 0;
}
.c-timeline__card-strong {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px !important;
    line-height: 1.4;
}
.c-timeline__card-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

/* Bottom Banner */
.c-timeline__banner {
    background: #09090b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.c-timeline__banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(239, 68, 68, 0.08), transparent);
    pointer-events: none;
}
.c-timeline__banner-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    color: #ef4444;
}
.c-timeline__banner-text {
    margin-left: 16px;
    text-align: left;
}
.c-timeline__banner-text strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.c-timeline__banner-text span {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-top: 2px;
    display: block;
}

@media (max-width: 768px) {
    .c-timeline-wrapper {
        padding-left: 32px; /* less padding for line on mobile */
    }
    .c-timeline-wrapper .c-l-thread {
        left: 15px; /* adjust line position */
    }
    .c-timeline__item::before {
        left: -22px;
        top: 24px;
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    .c-timeline__card {
        padding: 20px;
    }
    .c-timeline__card-num {
        font-size: 22px;
    }
    .c-timeline__card-title h4 {
        font-size: 16px;
    }
    .c-timeline__card-icon {
        width: 32px;
        height: 32px;
    }
    .c-timeline__card-strong {
        font-size: 13px;
    }
    .c-timeline__card-desc {
        font-size: 12px;
    }
    .c-timeline__banner {
        padding: 16px;
    }
    .c-timeline__banner-text strong {
        font-size: 13px;
    }
    .c-timeline__banner-text span {
        font-size: 11px;
    }
}


/* V2 Foto 4 Tweaks */
.c-timeline-wrapper .c-l-thread {
    width: 3px;
}
.c-timeline__item::before {
    width: 24px;
    height: 24px;
    background-color: #000;
    border: 4px solid #ef4444;
    background-image: radial-gradient(circle, #ef4444 35%, transparent 40%);
}

.c-timeline__card-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.c-timeline__card-title-block {
    display: flex;
    flex-direction: column;
}

.c-timeline__card-top-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.c-timeline__card-main-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.c-timeline__card-icon-neon {
    width: 54px;
    height: 54px;
    color: #ef4444;
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.9));
    margin-left: 16px;
    flex-shrink: 0;
}

.c-timeline__card-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .c-timeline__item::before {
        width: 20px;
        height: 20px;
        border-width: 3px;
        background-image: radial-gradient(circle, #ef4444 40%, transparent 45%);
    }
    .c-timeline__card-main-title {
        font-size: 20px;
    }
    .c-timeline__card-icon-neon {
        width: 48px;
        height: 48px;
    }
    .c-timeline__card-header-v2 {
        margin-bottom: 16px;
    }
}


.c-timeline-wrapper .c-l-thread {
    left: 19px;
}
.c-timeline__item::before {
    left: -32px;
    top: 24px;
}
@media (max-width: 768px) {
    .c-timeline-wrapper .c-l-thread {
        left: 14px;
    }
    .c-timeline__item::before {
        left: -27px;
        top: 24px;
    }
}


/* Título Cómo trabajamos - Línea flotante */
.c-text-accent-underline {
    position: relative;
    color: #ef4444;
}
.c-text-accent-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 65%;
    height: 4px;
    background-color: #ef4444;
    border-radius: 2px;
}
.c-section-subtitle {
    margin-top: 24px !important; /* increased to give room for the floating line */
}


/* Rediseño Limpio de la Línea y Puntos (Perfect Alignment) */
.c-timeline-wrapper {
    padding-left: 50px !important;
}
.c-timeline-wrapper .c-l-thread {
    left: 20px !important;
    width: 2px !important;
    background: #ef4444 !important;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
}
.c-timeline__item::before {
    left: -30px !important;
    top: 28px !important;
    width: 14px !important;
    height: 14px !important;
    background-color: #ef4444 !important;
    border: none !important;
    background-image: none !important;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.15), 0 0 15px rgba(239, 68, 68, 0.4) !important;
    transform: translateX(-50%) !important;
    border-radius: 50% !important;
    z-index: 2 !important;
}

@media (max-width: 768px) {
    .c-timeline-wrapper {
        padding-left: 40px !important;
    }
    .c-timeline-wrapper .c-l-thread {
        left: 16px !important;
    }
    .c-timeline__item::before {
        left: -24px !important;
        top: 22px !important;
        width: 12px !important;
        height: 12px !important;
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15), 0 0 10px rgba(239, 68, 68, 0.4) !important;
    }
}


/* V3 Card Layout (Foto 1 Style) */
.c-timeline__card-content-v3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.c-timeline__card-left {
    flex: 1;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.c-timeline__card-right {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
}

.c-timeline__card-num {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #ef4444 !important;
    line-height: 1;
}

.c-timeline__card-divider {
    color: rgba(255,255,255,0.2) !important;
    font-size: 24px !important;
    margin: 0 10px !important;
    line-height: 1;
}

.c-timeline__card-main-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 8px 0 12px 0 !important;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.c-timeline__card-desc-strong {
    font-size: 15px !important;
    color: rgba(255,255,255,0.85) !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4;
}

.c-timeline__card-desc-light {
    font-size: 14px !important;
    color: rgba(255,255,255,0.5) !important;
    margin: 0 !important;
    line-height: 1.5;
}

.c-timeline__card-icon-neon {
    color: #ef4444;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.6));
}

@media (max-width: 768px) {
    .c-timeline__card-main-title {
        font-size: 18px !important;
    }
    .c-timeline__card-desc-strong {
        font-size: 13px !important;
    }
    .c-timeline__card-desc-light {
        font-size: 12px !important;
    }
    .c-timeline__card-num {
        font-size: 24px !important;
    }
    .c-timeline__card-icon-neon {
        width: 44px !important;
        height: auto !important;
    }
}


/* V4 Refinements: Vivid Red, Bottom-Right Glow, Smaller text/cards */

/* Vivid red throughout */
.c-text-accent { color: #ff1a1a !important; }
.c-timeline__card-num { color: #ff1a1a !important; }
.c-timeline__card-icon-neon { 
    color: #ff1a1a !important;
    stroke: #ff1a1a !important;
    filter: drop-shadow(0 0 10px rgba(255, 26, 26, 0.7)) !important;
}
.c-timeline-wrapper .c-l-thread {
    background: #ff1a1a !important;
    box-shadow: 0 0 12px rgba(255, 26, 26, 0.6) !important;
}
.c-timeline__item::before {
    background-color: #ff1a1a !important;
    box-shadow: 0 0 0 6px rgba(255, 26, 26, 0.15), 0 0 15px rgba(255, 26, 26, 0.5) !important;
}

/* Card Glow Bottom-Right */
.c-timeline__card {
    overflow: hidden !important; /* To contain the glow */
}
.c-timeline__card::after {
    /* override previous */
    bottom: -40px !important;
    right: -40px !important;
    left: auto !important;
    top: auto !important;
    width: 200px !important;
    height: 200px !important;
    background: radial-gradient(circle, rgba(255, 26, 26, 0.25) 0%, transparent 70%) !important;
}

/* Base Card Sizing */
.c-timeline__card {
    padding: 24px 28px !important;
}

/* Mobile Sizing Refinements */
@media (max-width: 768px) {
    .c-timeline__card {
        padding: 20px 24px !important;
    }
    .c-timeline__card-num {
        font-size: 24px !important;
    }
    .c-timeline__card-main-title {
        font-size: 17px !important;
        margin: 4px 0 10px 0 !important;
    }
    .c-timeline__card-desc-strong {
        font-size: 13px !important;
        margin: 0 0 10px 0 !important;
    }
    .c-timeline__card-desc-light {
        font-size: 12px !important;
    }
    
    /* Make the icons explicitly larger as requested */
    .c-timeline__card-icon-neon {
        transform: scale(1.15);
        transform-origin: top right;
    }
}


/* Trophy Banner Refinements */
.c-why {
    padding-bottom: 24px !important;
}
.c-method {
    padding-top: 24px !important;
}
.c-trophy-banner {
    margin-top: 16px !important;
    padding: 16px 20px !important;
    border-top: none !important;
    border-bottom: none !important;
    background: linear-gradient(90deg, rgba(255,26,26,0.05) 0%, rgba(0,0,0,0) 100%) !important;
    border-radius: 12px;
}
.c-trophy-banner-text {
    margin-left: 16px !important;
}
.c-trophy-banner-text strong {
    font-size: 15px !important;
    letter-spacing: -0.2px !important;
}
.c-trophy-banner-text span {
    font-size: 13px !important;
    opacity: 0.7 !important;
}
.c-trophy-banner-arrow {
    width: 20px !important;
    height: 20px !important;
    color: #ff1a1a !important;
}

@media (max-width: 768px) {
    .c-trophy-banner {
        margin-top: 16px !important;
        padding: 12px 16px !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
    .c-why {
        padding-bottom: 16px !important;
    }
    .c-method {
        padding-top: 16px !important;
    }
    .c-trophy-banner-text strong {
        font-size: 14px !important;
    }
    .c-trophy-banner-text span {
        font-size: 12px !important;
    }
}


/* Make cards slightly smaller */
.c-timeline__card {
    padding: 20px 24px !important;
}

@media (max-width: 768px) {
    .c-timeline__card {
        padding: 16px 20px !important;
    }
}


/* Collage Sophisticated Animation */
.c-collage-anim-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
    animation: kenburnsFade 12s infinite linear;
    opacity: 0;
}
.c-collage-anim-img.img-1 {
    animation-delay: 0s;
}
.c-collage-anim-img.img-2 {
    animation-delay: 6s;
}

@keyframes kenburnsFade {
    0% { 
        opacity: 0; 
        transform: scale(1.08); 
    }
    15% { 
        opacity: 1; 
    }
    40% { 
        opacity: 1; 
    }
    55% { 
        opacity: 0; 
        transform: scale(1); 
    }
    100% { 
        opacity: 0; 
        transform: scale(1); 
    }
}

@media (max-width: 768px) {
    /* Slightly taller on mobile for better view */
    .c-collage-section > div:first-child {
        aspect-ratio: 4 / 5 !important;
    }
}


/* NEW TESTIMONIAL CARD DESIGN */
.c-new-testim-card {
    background: #0f0f11;
    border-radius: 20px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: #fff;
}
.c-new-testim-top {
    display: flex;
    flex-direction: row !important; /* Force side-by-side even on mobile */
    gap: 16px;
    align-items: stretch; /* Make both columns same height */
}
.c-new-testim-img-wrapper {
    flex: 0 0 45%; /* Image takes 45% of width */
    position: relative;
}
.c-new-testim-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    position: absolute; /* Absolute fill to stretch to the text height */
    top: 0; left: 0;
}
.c-new-testim-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Spread elements */
}
.c-new-testim-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.c-new-testim-name-row h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}
.c-new-testim-age {
    text-align: right;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    line-height: 1.1;
}
.c-new-testim-age span {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}
.c-new-testim-goals {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}
.c-new-testim-goal-col h4, .c-new-testim-result-box h4 {
    color: #ff1a1a;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 2px 0;
}
.c-new-testim-goal-col p {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.2;
}
.c-new-testim-divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 8px;
}
.c-new-testim-hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 12px 0;
}
.c-new-testim-result-box {
    margin-top: 4px;
}
.c-new-testim-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.c-new-testim-stat .val {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}
.c-new-testim-stat .lbl {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    margin-top: -2px;
}
.c-new-testim-stat-dot {
    width: 4px;
    height: 4px;
    background: #ff1a1a;
    border-radius: 50%;
    margin-top: -10px; 
}
.c-new-testim-quote-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
}
.c-new-testim-quote-icon {
    color: #ff1a1a;
    font-size: 32px;
    font-family: Georgia, serif;
    font-weight: 900;
    line-height: 0.8;
}
.c-new-testim-quote-icon.right {
    margin-top: auto;
    line-height: 0;
    position: relative;
    top: 8px;
}
.c-new-testim-quote-text {
    flex: 1;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    margin: 0;
    padding-top: 4px;
}
.c-new-testim-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: #ff1a1a;
    color: #fff !important;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s;
}
.c-new-testim-btn:hover {
    background: #e60000;
}

@keyframes fadeInTestim {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 380px) {
    /* For extremely small phones, just scale text a tiny bit more but keep the layout */
    .c-new-testim-name-row h3 { font-size: 18px; }
    .c-new-testim-stat .val { font-size: 16px; }
}


/* Fix large gap between Method Collage and Success Results */
.c-method {
    padding-bottom: 16px !important;
}
.c-success {
    scroll-margin-top: 100px;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

/* Tap Animation for Drawer Elements */
.c-drawer a:active,
.c-drawer button:active {
    transform: scale(0.95) !important;
    opacity: 0.8;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.1s ease-out !important;
}
