/* ==========================================================================
   SECCIÓN 4: CONSIGNACIÓN PATRIMONIAL, ASESORA PROFESIONAL & FORMULARIO
   Inversiones D'ALROC Real Estate — Lic. Claudia Di Diomede
   Diseño Arquitectónico Neoclásico AlRocWeb (Luminoso, Marfil, Oro & Esmeralda)
   ========================================================================== */

.Legado {
    position: relative;
    background-image: url('img/AQUAMARINE.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 10rem 9%;
    border-bottom: 1px solid var(--gold-border);
    overflow: hidden;
}

/* Marca de agua arquitectónica de fondo */
.Legado::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(184, 142, 62, 0.08) 0%, rgba(246, 241, 231, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.Legado .content,
.legado-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== ENCABEZADO EDITORIAL DE LA SECCIÓN ===== */
.legado-header-editorial {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 5rem auto;
}

.legado-kicker-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0.65rem 1.8rem;
    background: var(--bg-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 1.8rem;
    max-width: 100%;
}

.legado-kicker-badge i {
    color: var(--gold);
    font-size: 1.2rem;
}

.legado-kicker-badge span {
    font-family: 'Cinzel', serif;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    color: var(--emerald-column);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.35;
}

.legado-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--text-headline);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.6rem;
}

.legado-main-title span {
    color: var(--gold-dark);
    font-style: italic;
    font-weight: 700;
}

.legado-lead-desc {
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    line-height: 1.8;
    color: var(--text-body);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.legado-lead-desc strong {
    color: var(--emerald-column);
    font-weight: 800;
}

.legado-gold-filigree {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 2.2rem;
}

.filigree-line {
    width: 65px;
    height: 1px;
    background: linear-gradient(90deg, rgba(184, 142, 62, 0) 0%, var(--gold) 100%);
}

.legado-gold-filigree .filigree-line:last-child {
    background: linear-gradient(90deg, var(--gold) 0%, rgba(184, 142, 62, 0) 100%);
}

.filigree-gem {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ===== CONTENEDOR CENTRADO DEL FORMULARIO ===== */
.legado-content-single {
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.legado-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.92fr);
    gap: 3.5rem;
    align-items: start;
}

/* ===== DISTINTIVO DISCRETO DEL FOLIO EN LA CABECERA ===== */
.consignacion-header-text {
    flex-grow: 1;
}

.consignacion-header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.header-folio-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cinzel', monospace, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--emerald-column);
    background: var(--bg-card-warm);
    border: 1px solid var(--gold-border);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.08em;
}

.header-folio-tag i {
    color: var(--gold-dark);
    font-size: 1.1rem;
}

/* ===== TARJETA DEL FORMULARIO DE CONSIGNACIÓN ===== */
.consignacion-card {
    background: var(--bg-surface);
    border: 1px solid var(--gold-border);
    outline: 1px solid rgba(184, 142, 62, 0.35);
    outline-offset: -7px;
    border-radius: var(--radius-card);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-elevated);
    position: relative;
}

.consignacion-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.8rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid var(--gold-border);
    margin-bottom: 2.6rem;
}

.consignacion-header-icon {
    width: 58px;
    height: 58px;
    border-radius: 4px;
    background: var(--bg-card-warm);
    border: 1.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-column);
    font-size: 2.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-subtle);
}

.consignacion-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-headline);
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.consignacion-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ===== SECCIONES / LEYENDAS INTERNAS DEL FORMULARIO ===== */
.form-section-legend {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px dashed rgba(184, 142, 62, 0.3);
    margin: 2.4rem 0 1.6rem 0;
}

.form-section-legend:first-of-type {
    margin-top: 0;
}

.form-section-legend i {
    color: var(--gold-dark);
    font-size: 1.3rem;
}

.form-section-legend span {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--emerald-column);
    text-transform: uppercase;
}

/* ===== FILAS Y CAMPOS DEL FORMULARIO ===== */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-bottom: 1.6rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-field-group.full-width {
    margin-bottom: 1.6rem;
}

.form-field-group label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-headline);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.req-star {
    color: #C0392B;
    font-weight: 900;
}

.opt-tag {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== CONTENEDOR CON ÍCONO ===== */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon > i {
    position: absolute;
    left: 1.4rem;
    color: var(--gold-dark);
    font-size: 1.4rem;
    pointer-events: none;
    z-index: 2;
    transition: color 0.25s ease;
}

.arch-field-control {
    width: 100%;
    padding: 1.25rem 1.4rem 1.25rem 3.8rem;
    background: #FFFFFF;
    border: 1.5px solid var(--gold-border);
    border-radius: var(--radius-card);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    color: var(--text-headline);
    box-shadow: inset 0 1px 3px rgba(40, 34, 25, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.arch-field-control:focus {
    outline: none;
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(184, 142, 62, 0.22);
}

.arch-field-control::placeholder {
    color: #9C9488;
    font-weight: 400;
    font-size: 1.3rem;
}

/* Selectores nativos elegantes */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 1.4rem;
    color: var(--gold-dark);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

.arch-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 3.4rem;
    cursor: pointer;
    font-weight: 600;
}

.arch-textarea {
    padding: 1.3rem 1.4rem;
    resize: vertical;
    min-height: 90px;
    line-height: 1.55;
}

/* ===== PÍLDORAS / CHECKBOXES DE AMENIDADES ===== */
.amenities-pills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.amenity-checkbox-pill {
    cursor: pointer;
    display: block;
    user-select: none;
}

.amenity-checkbox-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill-body {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.3rem;
    background: var(--bg-card-warm);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-card);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-body);
    transition: all 0.22s ease;
}

.pill-body i {
    color: var(--gold-dark);
    font-size: 1.3rem;
    width: 1.6rem;
    text-align: center;
    transition: color 0.22s ease;
}

.amenity-checkbox-pill:hover .pill-body {
    border-color: var(--gold);
    background: #FDFBF8;
    transform: translateY(-1px);
}

.amenity-checkbox-pill input:checked + .pill-body {
    background: var(--emerald-column);
    color: #FFFFFF;
    border-color: var(--emerald-column);
    box-shadow: 0 4px 14px rgba(29, 61, 46, 0.25);
}

.amenity-checkbox-pill input:checked + .pill-body i {
    color: var(--gold-light);
}

/* ===== BOTÓN DE ENVÍO Y REDIRECCIÓN WHATSAPP ===== */
.form-submit-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gold-border);
}

.btn-consignacion-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 1.6rem 2.2rem;
    background: linear-gradient(165deg, #1D3D2E 0%, #142B20 100%);
    border: 2px solid var(--gold);
    border-radius: var(--radius-card);
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(29, 61, 46, 0.35), 0 2px 6px rgba(184, 142, 62, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: left;
}

.btn-consignacion-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(29, 61, 46, 0.45), 0 3px 10px rgba(184, 142, 62, 0.35);
    border-color: var(--gold-light);
}

.btn-submit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(212, 176, 98, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    color: #25D366;
    flex-shrink: 0;
}

.btn-submit-labels {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-grow: 1;
}

.btn-submit-text-main {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    text-transform: uppercase;
}

.btn-submit-arrow {
    font-size: 1.6rem;
    color: var(--gold-light);
    transition: transform 0.25s ease;
}

.btn-consignacion-submit:hover .btn-submit-arrow {
    transform: translateX(5px);
}

.consignacion-feedback {
    margin-top: 1.6rem;
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius-card);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    line-height: 1.5;
    display: none;
}

.consignacion-feedback.success {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--emerald-light);
    border: 1px solid var(--emerald-column);
    color: var(--emerald-column);
    font-weight: 700;
}

.consignacion-feedback.error {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #FDF2F2;
    border: 1px solid #C0392B;
    color: #C0392B;
    font-weight: 700;
}

.consignacion-disclaimer {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.18rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-top: 1.8rem;
    text-align: center;
}

.consignacion-disclaimer strong {
    color: var(--emerald-column);
}

.consignacion-disclaimer i {
    color: var(--gold);
    margin-right: 0.3rem;
}

/* ===== COLUMNA SIDEBAR: ASESORA & PILARES DE CONFIANZA ===== */
.legado-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

/* ===== TARJETA PERFIL DE CLAUDIA DI DIOMEDE ===== */
.agent-profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--gold-border);
    outline: 1px solid rgba(184, 142, 62, 0.35);
    outline-offset: -7px;
    border-radius: var(--radius-card);
    padding: 3.2rem 2.8rem;
    box-shadow: var(--shadow-elevated);
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.agent-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(44, 38, 28, 0.12), 0 2px 10px rgba(184, 142, 62, 0.25);
}

.agent-header-row {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin-bottom: 2rem;
}

.agent-avatar-frame {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 2.5px solid var(--gold);
    box-shadow: 0 4px 15px rgba(155, 126, 53, 0.25);
    flex-shrink: 0;
    background: var(--bg-card-warm);
}

.agent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.agent-title-box {
    display: flex;
    flex-direction: column;
}

.agent-sub-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--emerald-column);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.agent-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-headline);
    line-height: 1.2;
    margin: 0.3rem 0 0.5rem 0;
}

.agent-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    background: var(--emerald-light);
    border: 1px solid rgba(45, 84, 70, 0.3);
    border-radius: var(--radius-pill);
    padding: 0.4rem 1rem;
    color: var(--emerald-column);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.agent-details {
    margin-bottom: 2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--gold-border);
}

.agent-role {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.agent-role i {
    color: var(--gold-dark);
}

.agent-bio {
    font-size: 1.4rem;
    color: var(--text-body);
    line-height: 1.6;
    text-align: left;
}

.agent-social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.2rem;
}

.agent-social-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
}

.agent-social-icons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.agent-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-headline);
    font-size: 1.5rem;
    transition: all 0.25s ease;
}

.agent-social-btn:hover {
    background: var(--emerald-column);
    color: #FFFFFF;
    border-color: var(--emerald-column);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 61, 46, 0.25);
}

.agent-actions {
    width: 100%;
}

.agent-call-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.3rem 2rem;
    background: var(--bg-card-warm);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-card);
    color: var(--emerald-column);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

.agent-call-btn:hover {
    background: var(--emerald-column);
    color: #FFFFFF;
    border-color: var(--emerald-column);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(29, 61, 46, 0.2);
}

/* ===== TARJETA PILARES DE BLINDAJE & BENEFICIOS ===== */
.trust-pillars-card {
    background: var(--bg-surface);
    border: 1px solid var(--gold-border);
    outline: 1px solid rgba(184, 142, 62, 0.35);
    outline-offset: -7px;
    border-radius: var(--radius-card);
    padding: 3rem 2.6rem;
    box-shadow: var(--shadow-soft);
}

.pillars-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--gold-border);
    margin-bottom: 2rem;
}

.pillars-card-header i {
    color: var(--gold);
    font-size: 2rem;
}

.pillars-card-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-headline);
    line-height: 1.25;
}

.pillars-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.pillars-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
}

.pillar-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: var(--bg-card-warm);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-column);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.pillar-text strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-headline);
    display: block;
    margin-bottom: 0.3rem;
}

.pillar-text p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}



/* ===== FOOTER CLÁSICO EDITORIAL ===== */
.footer {
    background: #F3EFE6;
    padding: 5rem 0 3.5rem 0;
    color: var(--text-body);
    text-align: center;
    border-top: 1px solid var(--gold-border);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(155, 126, 53, 0.2));
}

.footer h4 {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.95rem;
    color: var(--text-headline);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.footer ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.footer ul li {
    display: inline-block;
    margin: 0 1.5rem;
}

.footer ul li a {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    font-size: 1.45rem;
    font-weight: 600;
    transition: color 0.25s ease;
}

.footer ul li a:hover {
    color: var(--emerald-column);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
}

.footer-social .social-link {
    font-size: 2rem;
    color: var(--text-headline);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-subtle);
    transition: all 0.25s ease;
}

.footer-social .social-link:hover {
    color: #FFFFFF;
    background: var(--emerald-column);
    border-color: var(--emerald-column);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 84, 70, 0.25);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1080px) {
    .legado-content-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .legado-sidebar {
        max-width: 780px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .Legado { 
        background-attachment: scroll;
        padding: 4.5rem 4%; 
    }

    .legado-header-editorial {
        background: linear-gradient(180deg, rgba(12, 30, 24, 0.80) 0%, rgba(18, 22, 20, 0.88) 100%), url('img/RoyalCrownhd.jpg') center center / cover no-repeat;
        padding: 3.5rem 2rem 3.2rem 2rem;
        border-radius: 20px;
        border: 1.5px solid var(--gold);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 0 25px rgba(184, 142, 62, 0.18);
        margin: 0 auto 3.5rem auto;
        position: relative;
        overflow: hidden;
    }

    .legado-header-editorial .legado-kicker-badge {
        padding: 0.7rem 1.4rem;
        background: rgba(13, 46, 38, 0.85) !important;
        border: 1px solid rgba(229, 195, 120, 0.65) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
        margin-bottom: 1.8rem;
    }

    .legado-header-editorial .legado-kicker-badge i {
        color: #E5C378 !important;
        font-size: 1.25rem;
    }

    .legado-header-editorial .legado-kicker-badge span {
        font-size: 1.15rem;
        letter-spacing: 0.07em;
        color: #FFFFFF !important;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
        font-weight: 800;
    }
    
    .legado-header-editorial .legado-main-title { 
        font-size: 2.75rem; 
        text-align: center;
        color: #FFFFFF !important;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
        line-height: 1.24;
        margin-bottom: 1.6rem;
    }

    .legado-header-editorial .legado-main-title span {
        color: #E5C378 !important;
        font-style: italic;
        font-weight: 700;
        text-shadow: 0 2px 14px rgba(229, 195, 120, 0.4), 0 2px 10px rgba(0, 0, 0, 0.8);
    }
    
    .legado-header-editorial .legado-lead-desc {
        font-size: 1.55rem;
        text-align: center;
        line-height: 1.65;
        color: #EDE8DE !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
        font-weight: 500;
    }

    .legado-header-editorial .legado-lead-desc strong {
        color: #FFFFFF !important;
        font-weight: 800;
        text-shadow: 0 1px 8px rgba(229, 195, 120, 0.3);
    }

    .legado-header-editorial .legado-gold-filigree .filigree-line {
        background: linear-gradient(90deg, transparent, #E5C378, transparent) !important;
        height: 1.5px;
        opacity: 0.85;
    }

    .legado-header-editorial .legado-gold-filigree .filigree-gem {
        color: #E5C378 !important;
        text-shadow: 0 0 12px rgba(229, 195, 120, 0.7);
    }
    
    /* Adaptación móvil del formulario de consignación */
    .consignacion-card {
        padding: 2.4rem 1.8rem;
        border-radius: 16px;
        outline: none; /* Elimina outline interno que chocaba y creaba doble borde en móviles */
        border: 1.5px solid var(--gold-border);
        box-shadow: 0 10px 30px rgba(40, 34, 25, 0.08);
    }
    
    .consignacion-card-header {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.4rem;
        padding-bottom: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .consignacion-header-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 2rem;
        border-radius: 12px;
    }

    .consignacion-header-text {
        flex: 1;
        min-width: 0;
    }

    .consignacion-header-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        margin-bottom: 0.4rem;
    }
    
    .consignacion-title {
        font-size: 2.3rem;
        line-height: 1.22;
        margin-bottom: 0;
    }
    
    .header-folio-tag {
        font-size: 1.2rem;
        padding: 0.35rem 0.85rem;
    }

    .consignacion-subtitle {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .form-section-legend {
        margin: 2.2rem 0 1.2rem 0;
        padding-bottom: 0.6rem;
        gap: 0.75rem;
    }

    .form-section-legend i {
        font-size: 1.45rem;
    }

    .form-section-legend span {
        font-size: 1.28rem;
        letter-spacing: 0.08em;
        line-height: 1.25;
    }

    .form-row-2,
    .form-row-3 {
        grid-template-columns: 1fr;
        gap: 1.3rem;
        margin-bottom: 1.3rem;
    }

    .form-field-group {
        gap: 0.65rem;
    }

    .form-field-group label {
        font-size: 1.4rem;
        font-weight: 700;
        gap: 0.4rem;
    }

    .req-star {
        font-size: 1.35rem;
    }

    .opt-tag {
        font-size: 1.2rem;
    }

    .arch-field-control {
        font-size: 16px !important;
        padding: 1.2rem 1.2rem 1.2rem 3.8rem;
        border-radius: 12px;
        min-height: 50px;
    }

    .input-with-icon > i {
        left: 1.3rem;
        font-size: 1.5rem;
    }

    .select-wrapper::after {
        right: 1.4rem;
        font-size: 1.2rem;
    }

    .arch-textarea {
        font-size: 16px !important;
        padding: 1.15rem 1.3rem;
        min-height: 95px;
        border-radius: 12px;
    }
    
    /* Cuadrícula de amenidades de 2 columnas en teléfonos para evitar lista kilométrica */
    .amenities-pills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .pill-body {
        padding: 0.9rem 0.95rem;
        font-size: 1.25rem;
        gap: 0.65rem;
        border-radius: 10px;
        min-height: 48px;
        line-height: 1.25;
    }

    .pill-body i {
        font-size: 1.35rem;
        width: 1.4rem;
    }
    
    .form-submit-container {
        margin-top: 2.4rem;
        padding-top: 1.8rem;
    }

    /* Botón de envío adaptado, profesional y balanceado */
    .btn-consignacion-submit {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.2rem;
        padding: 1.35rem 1.6rem;
        border-radius: 14px;
        text-align: left;
    }
    
    .btn-submit-icon {
        width: 42px;
        height: 42px;
        font-size: 2.1rem;
        flex-shrink: 0;
    }

    .btn-submit-labels {
        flex: 1;
        min-width: 0;
    }

    .btn-submit-text-main {
        font-size: 1.3rem;
        line-height: 1.22;
        letter-spacing: 0.025em;
    }
    
    .btn-submit-arrow {
        display: inline-flex;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .consignacion-feedback {
        font-size: 1.35rem;
        padding: 1.1rem 1.4rem;
        border-radius: 10px;
    }
    
    .footer ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem 1.8rem;
        padding: 0 1rem;
    }

    .footer ul li {
        display: inline-flex;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .Legado {
        padding: 3.5rem 3%;
    }

    .consignacion-card {
        padding: 2rem 1.3rem;
        border-radius: 14px;
    }
    
    .consignacion-card-header {
        gap: 1.1rem;
    }

    .consignacion-header-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.8rem;
    }

    .consignacion-title {
        font-size: 2.15rem;
    }

    .consignacion-subtitle {
        font-size: 1.35rem;
    }

    .header-folio-tag {
        font-size: 1.15rem;
    }
    
    .arch-field-control {
        font-size: 16px !important;
        padding: 1.15rem 1.15rem 1.15rem 3.6rem;
        min-height: 48px;
    }

    .form-section-legend span {
        font-size: 1.22rem;
    }

    .form-field-group label {
        font-size: 1.35rem;
    }

    .amenities-pills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }

    .pill-body {
        padding: 0.8rem 0.75rem;
        font-size: 1.18rem;
        gap: 0.55rem;
        min-height: 44px;
    }

    .pill-body i {
        font-size: 1.25rem;
        width: 1.2rem;
    }
    
    .btn-consignacion-submit {
        padding: 1.25rem 1.3rem;
        gap: 1rem;
    }

    .btn-submit-icon {
        width: 38px;
        height: 38px;
        font-size: 1.9rem;
    }

    .btn-submit-text-main {
        font-size: 1.22rem;
        line-height: 1.2;
    }
    
    .agent-header-row {
        flex-direction: column;
        text-align: center;
    }
    
    .agent-badge-pill {
        margin: 0 auto;
    }
}

@media (max-width: 360px) {
    .consignacion-card {
        padding: 1.6rem 1rem;
    }

    .consignacion-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .amenities-pills-grid {
        grid-template-columns: 1fr;
    }

    .btn-consignacion-submit {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .btn-submit-labels {
        text-align: center;
    }

    .btn-submit-arrow {
        display: none;
    }
}

