/* ========================================
   DR. MANCO - HOME PAGE STYLES
   Estilos específicos para index.html
======================================== */

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--white);
    color: var(--bg-dark);
}

.hero-bg-effects {
    display: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshow 12s infinite;
}

.hero-background img:nth-child(1) {
    animation-delay: 0s;
}

.hero-background img:nth-child(2) {
    animation-delay: 6s;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.75), rgba(254, 242, 242, 0.7));
    z-index: 1;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--red-50) 0%, transparent 70%);
    opacity: 0.8;
    border: none;
}

.hero-circle-1 {
    width: 800px;
    height: 800px;
    right: -300px;
    top: -200px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
}

.hero-circle-2 {
    width: 500px;
    height: 500px;
    right: -100px;
    top: 100px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    border: 2px solid rgba(220, 38, 38, 0.1);
}

.hero-lines {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, var(--gray-100) 1px, transparent 1px),
        linear-gradient(180deg, var(--gray-100) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    mask-image: linear-gradient(to right, transparent, black);
    -webkit-mask-image: linear-gradient(to right, transparent, black);
}

.hero-floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.icon-float {
    position: absolute;
    color: var(--primary);
    opacity: 0.1;
    filter: drop-shadow(0 0 5px rgba(220, 38, 38, 0.2));
}

.icon-float-1 {
    font-size: 40px;
    top: 20%;
    left: 10%;
    animation: floatIcon 6s ease-in-out infinite;
}

.icon-float-2 {
    font-size: 30px;
    top: 60%;
    left: 5%;
    animation: floatIcon 8s ease-in-out infinite 1s;
}

.icon-float-3 {
    font-size: 50px;
    top: 15%;
    right: 10%;
    animation: floatIcon 7s ease-in-out infinite 2s;
}

.icon-float-4 {
    font-size: 35px;
    top: 70%;
    right: 5%;
    animation: floatIcon 9s ease-in-out infinite 0.5s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.hero-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-content {
    z-index: 2;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--bg-dark);
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: var(--bg-dark);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.title-name {
    display: block;
    font-size: 64px;
    font-weight: 900;
    color: var(--bg-dark);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9);
}

.hero-typing {
    font-size: 32px;
    color: var(--bg-dark);
    margin-bottom: 25px;
    height: 48px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.typing-text {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.typing-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
}

.typing-cursor {
    color: var(--primary);
    font-weight: 300;
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hero Partners */
.hero-partners {
    background: var(--white);
    padding: 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    z-index: 2;
}

.hero-partners::before,
.hero-partners::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-partners::before {
    left: 0;
    background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}

.hero-partners::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--white) 100%);
}

.partners-track {
    display: flex;
    gap: 0;
    animation: scrollCarousel 30s linear infinite;
    padding: 18px 0;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    margin: 0 20px;
    background: transparent;
    border: none;
    transition: var(--transition);
    cursor: default;
}

.partner-item:hover {
    color: var(--primary);
}

.partner-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-description {
    font-size: 16px;
    color: var(--bg-dark);
    max-width: 450px;
    margin-bottom: 30px;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
    background: var(--white);
}

.social-icon:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
}

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    position: relative;
    width: 400px;
    height: 500px;
}

.hero-image-arc {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 200px 200px 0 0;
    top: -20px;
    left: -20px;
    opacity: 0.15;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 200px 200px 0 0;
    position: relative;
    z-index: 2;
}

.hero-badge {
    position: absolute;
    bottom: 50px;
    right: -30px;
    background: var(--white);
    color: var(--primary);
    padding: 20px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-helmet-square {
    position: absolute;
    bottom: 180px;
    right: -30px;
    background: var(--white);
    width: 110px;
    height: 110px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite;
    animation-delay: 0.5s;
    overflow: hidden;
    padding: 0;
}

.hero-helmet-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   BIOGRAPHY SECTION
======================================== */
.biography {
    padding: 100px 0;
    background: var(--white);
    color: var(--bg-dark);
}

.biography .section-tag {
    color: var(--primary-dark);
}

.biography .section-title {
    color: var(--bg-dark);
}

.biography .section-title .highlight {
    color: var(--primary);
}

.biography .bio-text {
    color: var(--gray-600);
}

.biography .bio-arc {
    border-color: var(--primary);
}

.biography .stat-number,
.biography .stat-suffix {
    color: var(--primary);
}

.biography .stat-label {
    color: var(--gray-500);
}

.biography .bio-stats {
    border-color: var(--gray-200);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.bio-image-wrapper {
    position: relative;
    width: 350px;
    height: 450px;
    margin: 0 auto;
}

.bio-arc {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 175px 175px 0 0;
    top: -15px;
    left: -15px;
    opacity: 0.4;
}

.bio-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 175px 175px 0 0;
}

.bio-text {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: 1.8;
}

.bio-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--bg-card);
    border-bottom: 1px solid var(--bg-card);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 5px;
}

/* ========================================
   PROPOSALS SECTION
======================================== */
.proposals {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.proposals::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: floatBackground 20s ease-in-out infinite;
}

.proposals::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23DC2626' fill-opacity='0.03'%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");
    pointer-events: none;
}

@keyframes floatBackground {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, 2%) rotate(1deg);
    }

    50% {
        transform: translate(0, 4%) rotate(0deg);
    }

    75% {
        transform: translate(-2%, 2%) rotate(-1deg);
    }
}

.proposals .container {
    position: relative;
    z-index: 1;
}

.proposals .section-tag {
    color: var(--primary-dark);
}

.proposals .section-title {
    color: var(--bg-dark);
}

.proposals .section-title .highlight {
    color: var(--primary);
    position: relative;
}

.proposals .section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--red-200), var(--red-100));
    z-index: -1;
    border-radius: 4px;
    opacity: 0.7;
}

.proposals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    perspective: 1000px;
}

.proposal-card {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow:
        0 15px 35px rgba(220, 38, 38, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.proposal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: rotate(45deg);
    pointer-events: none;
}

.proposal-card::after {
    display: none;
}

.proposal-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 25px 50px rgba(185, 28, 28, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.proposal-card:hover::before {
    opacity: 1;
}

.proposal-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #DC2626;
    margin-bottom: 25px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.proposal-card:hover .proposal-icon {
    background: var(--white);
    color: #B91C1C;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.proposal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.proposal-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 400;
}

.proposal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #DC2626;
    background: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.proposal-link:hover {
    gap: 15px;
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ========================================
   AGENDA SECTION
======================================== */
.agenda {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.agenda .section-tag {
    color: var(--primary-dark);
}

.agenda .section-title {
    color: var(--bg-dark);
}

.agenda .section-title .highlight {
    color: var(--primary);
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.agenda-card {
    background: var(--white);
    padding: 0;
    width: 100%;
    border-radius: 24px;
    border: none;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: 400px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--primary);
}

.agenda-card::before {
    display: none;
}

.agenda-image {
    width: 45%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.agenda-card:hover .agenda-image {
    transform: scale(1.02);
}

.agenda-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 55%;
    justify-content: center;
    position: relative;
}

.agenda-date-badge {
    position: absolute;
    top: 25px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    left: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--bg-dark);
    padding: 12px 18px;
    border-radius: 16px;
    text-align: center;
    line-height: 1;
    min-width: 80px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    z-index: 2;
}

.agenda-card:hover .agenda-date-badge {
    transform: scale(1.1);
    background: var(--white);
    color: var(--primary);
}

.date-day {
    display: block;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 2px;
    background: linear-gradient(45deg, var(--bg-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.date-month {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 1px;
}

.agenda-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--bg-dark);
    margin-bottom: 25px;
    padding-right: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.agenda-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15px;
    color: var(--gray-600);
    font-weight: 500;
    line-height: 1.6;
}

.info-item strong {
    color: var(--bg-dark);
    font-weight: 700;
}

.info-item i {
    color: var(--white);
    font-size: 16px;
    width: 32px;
    height: 32px;
    text-align: center;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.agenda-card:hover .info-item i {
    transform: rotate(10deg);
}

.agenda-action-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    align-self: flex-start;
    padding: 14px 30px;
    color: var(--white);
    background: var(--primary);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.25);
}

.agenda-action-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.35);
}

.agenda-action-btn i {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.agenda-action-btn:hover i {
    transform: translateX(5px);
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
    color: var(--bg-dark);
}

.testimonials .section-tag {
    color: var(--primary-dark);
}

.testimonials .section-title {
    color: var(--bg-dark);
}

.testimonials .section-title .highlight {
    color: var(--primary);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-carousel 40s linear infinite;
    padding: 20px 0;
}

.testimonials-slider:hover {
    animation-play-state: paused;
}

.testimonials-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: var(--white-soft);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
}

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

.testimonial-quote {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
}

.author-info h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--bg-dark);
}

.author-info span {
    font-size: 13px;
    color: var(--gray-500);
}

/* ========================================
   JOIN SECTION
======================================== */
.join-section {
    padding: 100px 0;
    background: var(--white);
    color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.join-section .section-tag {
    color: var(--primary);
}

.join-section .section-title {
    color: var(--bg-dark);
}

.join-section .section-title .highlight {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.join-section .section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--red-200);
    z-index: -1;
    opacity: 0.6;
}

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.join-text {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
}

.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.role-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.1);
    border-color: var(--primary);
}

.role-icon {
    width: 45px;
    height: 45px;
    background: var(--red-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
}

.role-card:hover .role-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(5deg);
}

.role-card span {
    font-weight: 700;
    color: var(--bg-dark);
    font-size: 15px;
}

.join-form-dark {
    background: var(--primary);
    padding: 2px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
}

.join-form-dark .join-form {
    background: transparent;
    border: none;
    padding: 40px;
    box-shadow: none;
    color: var(--white);
}

.join-form-dark h3 {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.join-form-dark .form-group input,
.join-form-dark .form-group select {
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--bg-dark);
    font-weight: 500;
}

.join-form-dark .form-group input::placeholder {
    color: var(--gray-500);
}

.join-form-dark .form-group i {
    color: var(--primary);
    z-index: 2;
}

.join-form-dark .form-group input:focus,
.join-form-dark .form-group select:focus {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.join-form-dark .btn {
    background: var(--bg-dark);
    color: var(--white);
    font-weight: 900;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.join-form-dark .btn:hover {
    background: var(--bg-darker);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    padding: 100px 0;
    background: var(--white);
    color: var(--bg-dark);
    position: relative;
    border-top: 1px solid var(--gray-100);
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--red-50) 0%, transparent 70%);
    opacity: 0.6;
}

.contact .section-tag {
    color: var(--primary);
}

.contact .section-title {
    color: var(--bg-dark);
}

.contact .section-title .highlight {
    color: var(--primary);
    font-style: normal;
    text-decoration: underline;
    text-decoration-color: var(--red-200);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--red-50);
    border: 1px solid var(--red-100);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(5deg);
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--bg-dark);
}

.contact-details p {
    font-size: 14px;
    color: var(--gray-600);
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--bg-dark);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-600);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--primary);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
    border: none;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--bg-dark);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: var(--gray-500);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--white);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.contact-form .form-group i {
    color: var(--primary);
    z-index: 2;
}

.contact-form .btn {
    background: var(--bg-dark);
    color: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form .btn:hover {
    background: var(--bg-darker);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

/* ========================================
   CTA VOTE SECTION
======================================== */
.cta-vote {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    background: var(--primary);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshow 12s infinite;
}

.cta-background img:nth-child(1) {
    animation-delay: 0s;
}

.cta-background img:nth-child(2) {
    animation-delay: 6s;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.75), rgba(254, 242, 242, 0.7));
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.cta-number {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid rgba(255, 255, 255, 0.5);
    background-clip: padding-box;
    position: relative;
}

.cta-marca {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    opacity: 1;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cta-5 {
    font-size: 70px;
    font-weight: 900;
    line-height: 0.8;
    color: var(--primary);
    text-shadow: none;
}

.cta-content p {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--gray-600);
    letter-spacing: 2px;
    text-shadow: none;
}

.cta-content .btn {
    background: var(--primary);
    color: var(--white);
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.cta-content .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

@keyframes slideshow {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    10% {
        opacity: 0.35;
        transform: scale(1);
    }

    45% {
        opacity: 0.35;
        transform: scale(1.05);
    }

    55% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* ========================================
   ACTIVITIES CAROUSEL
======================================== */
.activities {
    padding: 120px 0;
    background: var(--gray-100);
    overflow: hidden;
    position: relative;
}

.activities-wrapper {
    position: relative;
    width: 100%;
}

.activities-track-container {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.activities-track {
    display: flex;
    gap: 40px;
    width: fit-content;
    will-change: transform;
    padding: 20px 0;
}

.activities-track:hover {
    cursor: grab;
}

.activities-track:active {
    cursor: grabbing;
}

.activities-track:hover .activity-card {
    opacity: 0.5;
    filter: grayscale(80%);
    transform: scale(0.95);
}

.activity-card {
    min-width: 550px;
    max-width: 550px;
    height: 350px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    flex-shrink: 0;
    cursor: default;
}

.activities-track .activity-card:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1) translateY(-10px);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.activity-card:hover img {
    transform: scale(1.15);
}

.activity-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.activity-card:hover::after {
    left: 200%;
}

.activities-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    border: none;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.activities-wrapper:hover .activities-btn {
    opacity: 1;
    visibility: visible;
}

.activities-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* ========================================
   GALLERY SECTION
======================================== */
#galeria {
    padding: 80px 0;
    background-color: #f9fafb;
}

.galeria-header {
    text-align: center;
    margin-bottom: 50px;
}

.galeria-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #DC2626;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.galeria-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 40px;
}

.galeria-slide {
    display: none;
    animation: fadeEffect 1s;
}

.galeria-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.galeria-prev,
.galeria-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -22px;
    padding: 16px;
    color: #DC2626;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #eee;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-next {
    right: 0;
}

.galeria-prev {
    left: 0;
}

.galeria-prev:hover,
.galeria-next:hover {
    background-color: #DC2626;
    color: white;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 15px;
}

.galeria-item {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.galeria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.galeria-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.galeria-item:hover .galeria-img {
    transform: scale(1.05);
}

/* ========================================
   HOME RESPONSIVE
======================================== */
@media (min-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

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

    .hero-description {
        margin: 0 auto 30px;
    }

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

    .title-name {
        font-size: 48px;
    }

    .bio-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bio-stats {
        justify-content: center;
    }

    .proposals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .join-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .title-name {
        font-size: 36px;
    }

    .hero-typing {
        font-size: 24px;
    }

    .hero-image-frame {
        width: 280px;
        height: 350px;
    }

    .proposals-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .bio-stats {
        flex-direction: column;
        gap: 20px;
    }

    .join-options {
        grid-template-columns: 1fr;
    }

    .cta-5 {
        font-size: 100px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .activities-btn {
        opacity: 1;
        visibility: visible;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .activity-card {
        min-width: 400px;
        max-width: 400px;
        height: 260px;
    }

    .agenda-card {
        flex-direction: column;
        height: auto;
        min-height: auto;
        max-width: 450px;
    }

    .agenda-image {
        width: 100%;
        height: 250px;
    }

    .agenda-content {
        width: 100%;
        padding: 30px 20px;
    }

    .agenda-date-badge {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
    }

    .agenda-title {
        font-size: 22px;
    }

    .agenda-action-btn {
        width: 100%;
    }

    /* Hero Section Mobile */
    .hero {
        padding-top: 100px;
        text-align: center;
        height: auto;
        min-height: auto;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }

    .hero-content {
        order: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        order: 2;
        width: 100%;
        margin-top: -20px;
        margin-bottom: 40px;
    }

    .hero-title .title-name {
        font-size: 42px;
        line-height: 1.1;
    }

    .hero-typing {
        justify-content: center;
        font-size: 24px;
        height: auto;
        flex-wrap: wrap;
    }

    .hero-description {
        font-size: 15px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .hero-social {
        margin-top: 20px;
    }

    .hero-image-frame {
        width: 300px;
        height: 380px;
        margin: 0 auto;
    }

    .cta-vote {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 2.2rem;
        padding: 0 15px;
    }

    .cta-number {
        width: 110px;
        height: 110px;
    }

    .cta-5 {
        font-size: 50px;
    }

    .cta-marca {
        font-size: 13px;
    }

    .cta-content p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }

    .title-name {
        font-size: 28px;
    }

    .hero-typing {
        font-size: 20px;
    }

    .section-title {
        font-size: 26px;
    }

    .join-form-wrapper,
    .contact-form {
        padding: 30px 20px;
    }

    .hero-badge {
        right: 0;
        bottom: 30px;
    }

    .hero-title .title-name {
        font-size: 32px;
    }

    .hero-typing {
        font-size: 20px;
    }

    .hero-image-frame {
        width: 260px;
        height: 320px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        gap: 20px;
    }

    .activities-track-container {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .activity-card {
        min-width: 300px;
        max-width: 300px;
        height: 200px;
    }

    .activities-track:hover .activity-card {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .activities-track .activity-card:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 991px) {
    .hero-title .title-name {
        font-size: 50px;
    }

    .hero-circle-1 {
        width: 600px;
        height: 600px;
    }
}

/* ========================================
   LIGHTBOX (Click-to-enlarge gallery)
======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.galeria-item {
    cursor: pointer;
}

.galeria-item:hover .galeria-img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

@media (max-width: 768px) {
    .lightbox {
        padding: 20px;
    }

    .lightbox-img {
        max-width: 95vw;
        max-height: 80vh;
        border-radius: 8px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}