/* ==========================================================================
   ZENITH SYSTEM: INSTITUCIONAL ELITE (Awwwards-Tier)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FOOTER: INTERACTIVE PILLS
   -------------------------------------------------------------------------- */
.elite-pill-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0; /* Padding reducido al no tener caja */
    margin-bottom: 0.8rem;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-titanium);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.elite-pill-link i {
    color: var(--aura-gold);
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.elite-pill-link .arrow-icon {
    margin-left: auto;
    color: var(--text-silver);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.elite-pill-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.elite-pill-link:hover {
    background: transparent;
    border-color: transparent;
    color: #fff;
    transform: translateX(5px); /* Desplazamiento lateral sutil en vez de box-shadow */
}

.elite-pill-link:hover::before {
    transform: translateX(100%);
}

.elite-pill-link:hover i:first-child {
    transform: scale(1.1);
}

.elite-pill-link:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
    color: var(--aura-gold);
}


/* --------------------------------------------------------------------------
   2. ELITE MODAL: SPLIT LAYOUT (Shielded by aura-iso-mount-point)
   -------------------------------------------------------------------------- */
.aura-iso-mount-point {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elite-modal-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    width: 100%;
    max-width: 900px;
    background: var(--aura-black);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
    .elite-modal-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
}

/* LEFT SIDE: BRAND MANIFESTO */
.elite-manifesto {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(10, 15, 28, 1) 100%);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.elite-manifesto::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.elite-manifesto-header {
    position: relative;
    z-index: 1;
}

.elite-manifesto-icon {
    font-size: 2.5rem;
    color: var(--aura-gold);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.4));
}

.elite-manifesto-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.elite-manifesto-desc {
    color: var(--text-silver);
    font-size: 0.95rem;
    line-height: 1.6;
}

.elite-manifesto-footer {
    position: relative;
    z-index: 1;
}

.elite-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elite-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-titanium);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.elite-trust-list i {
    color: var(--aura-gold);
}


/* RIGHT SIDE: LIQUID FORM */
.elite-form-container {
    padding: 3rem;
    background: transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .elite-form-container {
        padding: 2rem;
    }
}

.elite-form-header {
    margin-bottom: 2.5rem;
}

.elite-form-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.elite-form-subtitle {
    color: var(--text-silver);
    font-size: 0.9rem;
}

.elite-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.elite-full-width {
    grid-column: 1 / -1;
}

/* LIQUID INPUTS */
.elite-input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.elite-input-group label {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    color: var(--text-silver);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    padding: 0 0.3rem;
}

.elite-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1.2rem 1.2rem 0.5rem 1.2rem;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 60px;
}

.elite-input:focus,
.elite-input:not(:placeholder-shown) {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.02);
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.05);
}

.elite-input:focus + label,
.elite-input:not(:placeholder-shown) + label {
    top: -8px;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--aura-gold);
    transform: translateY(0);
    background: var(--aura-black); /* mask the border */
    border-radius: 4px;
}

/* SEGMENTED SELECTOR (Physical Elastic Switch) */
.elite-segmented {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
}

.elite-segmented-label {
    display: block;
    color: var(--text-silver);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.elite-segmented label {
    flex: 1;
    text-align: center;
    padding: 0.8rem 0;
    color: var(--text-silver);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.elite-segmented input[type="radio"] {
    display: none;
}

.elite-segmented input[type="radio"]:checked + label {
    color: var(--aura-black);
    font-weight: 700;
}

.elite-segment-bg {
    position: absolute;
    top: 0.3rem;
    bottom: 0.3rem;
    background: var(--aura-gold);
    border-radius: 8px;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* 3 options */
.elite-segmented.opt-3 input[type="radio"]:nth-child(1):checked ~ .elite-segment-bg { left: 0.3rem; width: calc(33.333% - 0.2rem); }
.elite-segmented.opt-3 input[type="radio"]:nth-child(3):checked ~ .elite-segment-bg { left: calc(33.333% + 0.1rem); width: calc(33.333% - 0.2rem); }
.elite-segmented.opt-3 input[type="radio"]:nth-child(5):checked ~ .elite-segment-bg { left: calc(66.666% - 0.1rem); width: calc(33.333% - 0.2rem); }

/* 4 options */
.elite-segmented.opt-4 input[type="radio"]:nth-child(1):checked ~ .elite-segment-bg { left: 0.3rem; width: calc(25% - 0.15rem); }
.elite-segmented.opt-4 input[type="radio"]:nth-child(3):checked ~ .elite-segment-bg { left: calc(25% + 0.15rem); width: calc(25% - 0.15rem); }
.elite-segmented.opt-4 input[type="radio"]:nth-child(5):checked ~ .elite-segment-bg { left: calc(50%); width: calc(25% - 0.15rem); }
.elite-segmented.opt-4 input[type="radio"]:nth-child(7):checked ~ .elite-segment-bg { left: calc(75% - 0.15rem); width: calc(25%); }

.elite-segmented span {
    position: relative;
    z-index: 2;
}

/* SUBMIT BUTTON */
.elite-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--aura-gold) 0%, #D97706 100%);
    color: var(--aura-black);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
}

.elite-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(245, 158, 11, 0.6);
    filter: brightness(1.1);
}

/* ELITE CLOSE BUTTON */
.elite-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-silver);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.elite-modal-close:hover {
    color: #fff;
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    transform: rotate(90deg) scale(1.1);
}

