:root {
    --primary-color: #8e24aa;
    --primary-hover: #7b1fa2;
    --secondary-accent: #ab72ac;
    --text-color: #333333;
    --bg-color: #ffffff;
    --form-bg: #faf6fa;
    --section-bg-purple-light: #be72cb;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    transition: color 0.3s ease;
}

.hero-section {
    position: relative;
    background-image: url('../../../images/landing/portada.jpg');
    background-size: cover;
    background-position: left center;
    width: 100%;
    min-height: 784px;
    z-index: 1;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
        background-position: left center;
    }
}

.hero-text-top {
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.logo-wrapper {
    display: inline-block;
}

.form-card {
    background-color: var(--form-bg);
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

.form-card-header {
    background-color: var(--primary-color);
    padding: 0.8rem;
    text-align: center;
}

.form-card-title {
    color: #ffffff;
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-card-body {
    padding: 1.2rem;
}

.form-label {
    font-weight: 500;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
    text-align: left;
    display: block;
}

.form-control,
.form-select {
    border: 1px solid #e0e0e0;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    background-color: #fff;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(142, 36, 170, 0.1);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-submit {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    width: auto;
    display: inline-block;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(142, 36, 170, 0.3);
}

.welcome-section {
    position: relative;
    padding: 80px 0;
    background-color: #fff;
    z-index: 2;
}

.welcome-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.welcome-text {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.floating-shape-right {
    position: absolute;
    right: 0;
    top: -50px;
    width: 200px;
    height: auto;
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 991px) {
    .floating-shape-right {
        width: 120px;
        top: -30px;
    }
}

@media (max-width: 768px) {
    .floating-shape-right {
        width: 90px;
        top: -20px;
    }
}

@media (max-width: 576px) {
    .floating-shape-right {
        display: none;
    }

    .welcome-section {
        padding: 40px 0;
    }
}


.stages-section {
    position: relative;
    background-color: var(--section-bg-purple-light);
    padding: 80px 0;
    z-index: 3;
}

.shape-top-decoration {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 5;
    pointer-events: none;
}


.stage-card {
    background-color: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.stage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stage-card-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.stage-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stage-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stage-link {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
}

.stage-link:hover {
    text-decoration: underline;
    color: #f0f0f0;
}


.icons-section {
    background-color: #fff;
}

.icon-item img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.icon-item img:hover {
    transform: scale(1.05);
}

.icon-title {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
}

.footer-section {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.95rem;
}

.footer-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.footer-logos-placeholder {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.placeholder-logo {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.attachmentsContainer {
    display: none !important;
}