/* LANDING PAGE STYLES (conversion focused) */

:root {
    --lp-primary: #111;
    --lp-gold: #C9A227;
    --lp-gold-light: #e6c556;
    --lp-bg: #F9FAFB;
    --lp-white: #ffffff;
    --lp-text: #333;
    --lp-text-light: #666;
}

body {
    background-color: var(--lp-bg);
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('/assets/logo_collegi_transparente.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}


/* MINIMAL HEADER */
.lp-div {
    padding: 1rem;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp-logo {
    width: 150px;
    height: auto;
}

.lp-btn-header {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lp-btn-header:hover {
    background: white;
    color: var(--lp-primary);
}

/* HERO SECTION */
.lp-hero {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 2rem;
    color: white;
}

.lp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Content | Form */
    gap: 4rem;
    align-items: center;
}

.lp-content {
    margin-top: 4rem;
}

/* Hero Content */
.lp-content h1 {
    font-family: var(--Anton);
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    overflow-wrap: break-word;
    hyphens: manual;
}

.lp-subtitle {
    font-family: var(--Montserrat);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lp-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.lp-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
    max-width: 500px;
}

.lp-features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.lp-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.lp-check {
    color: var(--lp-gold);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* FORM CARD */

.form-landing-diplomado {
    margin-top: 4rem;
}

.lp-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: var(--lp-text);
}

.lp-form-title {
    font-family: var(--Anton);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--lp-primary);
    text-align: center;
}

.lp-form-subtitle {
    text-align: center;
    color: var(--lp-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.lp-form-card input,
.lp-form-card select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fcfcfc;
    font-family: var(--Montserrat);
}

.lp-form-card input:focus {
    border-color: var(--lp-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.lp-btn-submit {
    width: 100%;
    background: var(--lp-gold);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.lp-btn-submit:hover {
    background: var(--lp-gold-light);
}

/* SECTIONS */
.lp-section {
    padding: 5rem 2rem;
}

.lp-section-title {
    text-align: center;
    font-family: var(--Anton);
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--lp-primary);
}

/* GRID BENEFITS */
.lp-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.lp-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.lp-card:hover {
    transform: translateY(-5px);
}

.lp-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--lp-gold);
    border-radius: 10px;
    padding: 0.8rem;
    width: auto;
    height: auto;
    color: var(--lp-primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(201, 162, 39, 0.3);
}

.lp-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.lp-card p {
    font-size: 1rem;
}

/* FAQ / ACCORDION */
.lp-faq {
    background: #fff;
}

/* FOOTER MINIMAL */
.lp-footer {
    background: #111;
    color: #666;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* RESPONSIVE */
/* RESPONSIVE */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .lp-hero {
        padding-top: 7rem;
    }

    .lp-container {
        gap: 2rem;
    }

    .lp-content h1 {
        font-size: 3rem;
    }

    .lp-form-card {
        padding: 2rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .lp-hero {
        padding: 6rem 1rem 4rem 1rem;
        /* Reduced side padding */
        height: auto;
        min-height: auto;
        display: block;
    }

    .lp-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .lp-content {
        text-align: center;
    }

    .lp-features-list {
        display: inline-block;
        text-align: left;
    }

    .lp-content {
        margin-top: 0;
    }

    .lp-content h1 {
        font-size: 2.5rem;
    }

    .lp-form-card {
        padding: 1.5rem;
        max-width: 100%;
    }

    .lp-logo {
        width: auto;
        max-width: 80%;
        /* Prevent overflow */
        height: auto;
    }

    .lp-section-title {
        font-size: 2.2rem;
    }

    .lp-div {
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
    }

    .lp-div img {
        width: 230px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .lp-content h1 {
        font-size: 2rem;
    }

    .lp-grid-3 {
        grid-template-columns: 1fr;
        /* Force 1 column on very small screens */
    }

    .lp-logo {
        width: 110px;
    }
}

/* =========================================
   NEW SECTIONS: TESTIMONIALS, FAQ, BANNER
   ========================================= */

/* --- OFFER BANNER --- */
.lp-offer-banner {
    background: var(--lp-primary);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 60;
    /* Above header */
    font-family: var(--Montserrat);
    font-size: 0.9rem;
}

.lp-offer-highlight {
    background: var(--lp-gold);
    color: var(--lp-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
}

.lp-offer-timer {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lp-gold);
}

.lp-offer-seats {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.3rem;
}

/* --- MOVING TESTIMONIALS (MARQUEE) --- */
.lp-testimonials {
    overflow: hidden;
    /* Hide scrollbars */
    padding: 4rem 0;
}

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Important for infinite scroll */
}

/* Animation directions */
.marquee-left {
    animation: scroll-left 40s linear infinite;
}

.marquee-right {
    animation: scroll-right 40s linear infinite;
}

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

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

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

    /* Accessing 2 sets of 5 items, scroll half */
}

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

    100% {
        transform: translateX(0);
    }
}

.testimonial-card {
    background: white;
    width: 350px;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    border-left: 4px solid var(--lp-gold);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eee;
    object-fit: cover;
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--lp-primary);
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--lp-text-light);
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    position: relative;
    z-index: 10;
}

/* --- FAQ SECTION --- */
.lp-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    overflow: hidden;
}

.faq-summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* Hide default triangle */
    background: #fff;
    transition: background 0.3s;
}

.faq-summary:hover {
    background: #fafafa;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--lp-gold);
    transition: transform 0.3s ease;
}

details[open] .faq-icon {
    transform: rotate(45deg);
    /* Or 180deg */
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.6;
    color: #555;
    border-top: 1px solid #eee;
}

/* Responsive adjustments for banner */
/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--Montserrat);
    font-size: 1rem;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* --- FINAL CTA SECTION --- */
.lp-cta-final {
    background: var(--lp-primary);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.lp-cta-final h2 {
    font-family: var(--Anton);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--lp-gold);
}

.lp-cta-final p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lp-btn-cta-large {
    background: var(--lp-gold);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
}

.lp-btn-cta-large:hover {
    background: white;
    color: var(--lp-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- SUCCESS MODAL --- */
.lp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lp-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.lp-modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.lp-modal-overlay.active .lp-modal-content {
    transform: scale(1);
}

.lp-modal-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 1rem;
    display: block;
}

.lp-modal-title {
    font-family: var(--Anton);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--lp-primary);
}

.lp-modal-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.lp-btn-close {
    background: var(--lp-primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.lp-btn-close:hover {
    background: #444;
}

/* Custom Title for Diplomado Page */
.lp-diplomado-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-family: var(--Anton, sans-serif);
    line-height: 1.2;
    text-transform: uppercase;
}

.lp-title-intro {
    font-size: 1.7rem;
    letter-spacing: 2px;
    font-weight: 400;
    color: white;
    font-family: var(--Montserrat, sans-serif);
    margin-bottom: 1.3rem;

    display: inline-block;
    transform: scaleY(1.3);
}

.lp-title-main {
    font-size: 3.5rem;
    color: var(--lp-gold);
    line-height: 1;
    letter-spacing: 1px;
    font-weight: 700;
}

.lp-title-sub {
    font-size: 3.6rem;
    color: white;
    font-family: var(--Anton, sans-serif);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .lp-diplomado-title {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .lp-title-main {
        line-height: 1.1;
        word-break: break-word;
    }

    .lp-title-sub {
        font-size: 1.5rem;
    }

    .lp-title-main {
        font-size: 1.8rem;
    }

    .lp-title-intro {
        font-size: 1.1rem;
        letter-spacing: 1px;
        transform: none;
        margin-top: 0.5rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .lp-title-sub {
        font-size: 1.8rem;
    }

    .lp-title-main {
        font-size: 1.6rem;
    }
}