/**
 * _rochela-legacy.css
 * Módulo: Estilos de las páginas internas de La Rochela (flow, discovery, stages,
 *         showcase, timeline, calculadora, acabados, footer Rochela, etc.)
 * Contiene también: slider overflow fix y @media (min-width: 2260px) global
 * Extraído de style.css (líneas 2259–2956) — 2026-06
 * Cargado desde: views/Include/head.html.twig
 */

/** ROCHELA FLOW **/

.rochela-home-outline-btn {
    border-radius: 20px !important;
    font-weight: bold !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rochela-home-highlight .rochela-home-outline-btn {
    background-color: rgba(255, 255, 255, 0.92) !important;
    border: 2px solid var(--primary-700) !important;
    color: var(--primary-900) !important;
    box-shadow: 0 12px 28px rgba(166, 116, 2, 0.12);
}

.rochela-home-highlight .rochela-home-outline-btn:hover {
    background-color: var(--primary-400) !important;
    border-color: var(--primary-500) !important;
    color: var(--black) !important;
}

.rochela-home-highlight,
.rochela-discovery-hero,
.rochela-commercial-hero,
.rochela-tab-summary,
.rochela-stage-card,
.rochela-context-block,
.rochela-location-block,
.rochela-cta-band,
.rochela-process-step,
.rochela-info-stat,
.rochela-line-card,
.rochela-benefit-card,
.rochela-proof-card,
.rochela-trust-copy,
.rochela-mini-stat,
.rochela-detail-panel,
.rochela-empty-state,
.rochela-stage-meta {
    background-color: var(--white);
    box-shadow: 0 24px 60px rgba(31, 41, 55, 0.08);
}

.rochela-home-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 231, 0.9) 0%, rgba(247, 245, 244, 0.95) 45%, rgba(255, 255, 255, 1) 100%);
}

.rochela-home-highlight-side {
    background: linear-gradient(160deg, rgba(243, 247, 248, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
}

.rochela-home-highlight-title,
.rochela-discovery-title {
    font-size: 3rem;
    line-height: 1.05;
}

.rochela-home-stat,
.rochela-benefit-card,
.rochela-proof-card,
.rochela-mini-stat {
    border: 1px solid rgba(159, 168, 181, 0.2);
}

.home-rochela-line-card,
.rochela-line-card {
    background-color: var(--white);
    border: 1px solid rgba(159, 168, 181, 0.22);
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.07);
}

.rochela-line-card-secondary {
    background: linear-gradient(180deg, rgba(243, 247, 248, 0.7) 0%, rgba(255, 255, 255, 1) 100%);
}

.rochela-bullet-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--tertiary-700);
}

.rochela-bullet-list li {
    margin-bottom: 0.5rem;
}

.rochela-flow-page {
    --rochela-accent-50: #edf7f3;
    --rochela-accent-100: #d6efe5;
    --rochela-accent-200: #b0ddcd;
    --rochela-accent-500: #0f6a56;
    --rochela-accent-600: #0c5a49;
    --rochela-accent-700: #09483b;
    --rochela-accent-gold: #c59a3d;
    scroll-behavior: smooth;
}

.rochela-flow-page .text-primary,
.rochela-flow-page .color-primary,
.rochela-flow-page .text-title-primary {
    color: var(--rochela-accent-500) !important;
}

.rochela-flow-page .button-primary {
    background-color: var(--rochela-accent-500) !important;
    color: var(--white) !important;
}

.rochela-flow-page .button-primary:hover {
    background-color: var(--rochela-accent-600) !important;
    color: var(--white) !important;
}

.rochela-flow-page .rochela-home-outline-btn,
.rochela-flow-page .btn-outline-warning {
    border-color: var(--rochela-accent-500) !important;
    color: var(--rochela-accent-500) !important;
}

.rochela-flow-page .rochela-home-outline-btn:hover,
.rochela-flow-page .btn-outline-warning:hover {
    background-color: var(--rochela-accent-50) !important;
    border-color: var(--rochela-accent-500) !important;
    color: var(--rochela-accent-700) !important;
}

.rochela-section-nav {
    position: sticky;
    top: 10px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

.rochela-section-nav a {
    color: var(--tertiary-700);
    font-weight: 600;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background-color: rgba(247, 245, 244, 0.85);
}

.rochela-section-nav a:hover {
    color: var(--rochela-accent-700);
    background-color: var(--rochela-accent-100);
}

.rochela-quick-links {
    background: linear-gradient(180deg, rgba(247, 245, 244, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.07);
}

.rochela-quick-links-grid {
    width: 100%;
}

.rochela-quick-link {
    background-color: var(--white);
    border: 1px solid rgba(159, 168, 181, 0.24);
    color: var(--tertiary-700);
    border-radius: 999px;
    padding: 0.95rem 1.3rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.05);
}

.rochela-quick-link:hover {
    color: var(--rochela-accent-700);
    background-color: var(--rochela-accent-50);
    border-color: var(--rochela-accent-200);
}

.rochela-logo-main {
    max-width: 220px;
    filter: drop-shadow(0 12px 24px rgba(9, 72, 59, 0.08));
}

.rochela-discovery-hero,
.rochela-commercial-hero {
    border-radius: 28px;
    overflow: hidden;
}

.rochela-discovery-media {
    min-height: 420px;
}

.rochela-location-block {
    background: linear-gradient(160deg, rgba(247, 245, 244, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
}

.rochela-location-points p {
    font-size: 1.05rem;
}

.rochela-product-tabs,
.rochela-stage-tabs,
.rochela-detail-tabs {
    gap: 12px !important;
}

.rochela-detail-tabs {
    margin-bottom: 1.5rem !important;
}

.rochela-product-tabs .nav-link,
.rochela-stage-tabs .nav-link,
.rochela-detail-tabs .nav-link {
    border-radius: 999px !important;
    background-color: var(--white);
    color: var(--tertiary-700);
    border: 1px solid rgba(159, 168, 181, 0.24);
    font-weight: 700;
    padding: 0.9rem 1.4rem;
}

.rochela-product-tabs .nav-link:hover,
.rochela-stage-tabs .nav-link:hover,
.rochela-detail-tabs .nav-link:hover {
    border-color: var(--rochela-accent-200);
    color: var(--rochela-accent-600);
}

.rochela-stage-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 132px;
}

.rochela-stage-tab-title {
    line-height: 1.1;
}

.rochela-stage-tab-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.rochela-stage-tab-status.is-sale {
    background-color: var(--positive-100);
    color: var(--positive-700);
}

.rochela-stage-tab-status.is-sold {
    background-color: var(--negative-100);
    color: var(--negative-700);
}

.rochela-stage-tab-status.is-soon {
    background-color: var(--notice-100);
    color: var(--notice-700);
}

.rochela-product-tabs .nav-link.active,
.rochela-stage-tabs .nav-link.active,
.rochela-detail-tabs .nav-link.active {
    background-color: var(--rochela-accent-500);
    color: var(--white);
    border-color: var(--rochela-accent-500);
}

.rochela-stage-tabs .nav-link.active .rochela-stage-tab-status {
    background-color: rgba(255, 255, 255, 0.9);
}

.rochela-detail-content {
    min-height: 280px;
    margin-top: 0.75rem;
}

.rochela-product-tab-content {
    margin-top: 2rem;
}

.rochela-stage-card,
.rochela-tab-summary,
.rochela-process-step {
    border-radius: 28px;
}

.rochela-stage-card > .row {
    --bs-gutter-x: 2rem !important;
    --bs-gutter-y: 1.5rem !important;
}

.rochela-stage-image {
    width: 100%;
    height: 560px;
    object-fit: contain;
    background-color: var(--white);
    border: 1px solid rgba(159, 168, 181, 0.2);
}

.rochela-empty-state {
    min-height: 560px;
    border: 1px dashed rgba(159, 168, 181, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rochela-detail-panel,
.rochela-empty-state,
.rochela-detail-content > .tab-pane {
    min-height: 560px;
}

.rochela-detail-content > .tab-pane.show.active {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.rochela-detail-content > .tab-pane.show.active > .rochela-detail-panel,
.rochela-detail-content > .tab-pane.show.active > .rochela-empty-state,
.rochela-detail-content > .tab-pane.show.active > .row {
    flex: 1 1 auto;
}

.rochela-detail-content > .tab-pane.show.active > .row .rochela-detail-panel,
.rochela-detail-content > .tab-pane.show.active > .row .rochela-empty-state,
.rochela-detail-content > .tab-pane.show.active > .row .rochela-stage-image {
    height: 100%;
}

.rochela-faq .accordion-item {
    border: none;
    border-radius: 22px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.07);
}

.rochela-faq .accordion-button {
    font-weight: 700;
    padding: 1.2rem 1.4rem;
}

.rochela-faq .accordion-button:not(.collapsed) {
    background-color: var(--rochela-accent-50);
    color: var(--rochela-accent-700);
    box-shadow: none;
}

.rochela-timeline-shell {
    box-shadow: 0 24px 60px rgba(31, 41, 55, 0.08);
}

.rochela-timeline-shell iframe {
    display: block;
}


.rochela-showcase {
    background: linear-gradient(135deg, rgba(247, 245, 244, 0.98) 0%, rgba(255, 255, 255, 1) 55%, rgba(237, 247, 243, 0.9) 100%);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 28px 72px rgba(31, 41, 55, 0.1);
}

.rochela-showcase .rochela-logo-main {
    max-width: 240px;
}

.rochela-showcase-image-shell {
    position: relative;
    min-height: 560px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(247, 245, 244, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 24px 60px rgba(31, 41, 55, 0.12);
}

.rochela-showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
}

.rochela-showcase-floating-card {
    position: absolute;
    right: 24px;
    bottom: 24px;
    max-width: 260px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    padding: 1rem 1.15rem;
    box-shadow: 0 18px 40px rgba(31, 41, 55, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rochela-hero-nav {
    width: 100%;
}

.rochela-media-frame {
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 24px 60px rgba(31, 41, 55, 0.1);
}

.rochela-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rochela-feature-card,
.rochela-type-card,
.rochela-acabados-card,
.rochela-calculator,
.rochela-calculator-side-card {
    background-color: var(--white);
    border: 1px solid rgba(159, 168, 181, 0.2);
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.08);
}

.rochela-feature-card,
.rochela-calculator-side-card {
    border-radius: 24px;
    padding: 1.25rem;
}

.rochela-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rochela-accent-50);
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.rochela-type-card {
    overflow: hidden;
    border-radius: 30px;
}

.rochela-type-card-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.rochela-type-card-body {
    padding: 1.35rem;
}

.rochela-type-list,
.rochela-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rochela-type-list li,
.rochela-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--tertiary-700);
    margin-bottom: 0.7rem;
}

.rochela-type-list li::before {
    content: '✓';
    font-weight: 700;
    color: var(--rochela-accent-500);
    margin-top: 0.05rem;
}

.rochela-check-list li i {
    color: var(--rochela-accent-500);
    margin-top: 0.15rem;
    width: 18px;
    text-align: center;
    flex: 0 0 18px;
}

.rochela-acabados-card {
    border-radius: 34px;
}

.rochela-acabados-preview {
    min-height: 320px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.08);
}

.rochela-acabados-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rochela-calculator {
    border-radius: 32px;
    padding: 1.5rem;
}

.rochela-calculator .form-control,
.rochela-calculator .form-select {
    min-height: 54px;
    border-radius: 16px;
    border-color: rgba(159, 168, 181, 0.3);
}

.rochela-calculator .form-control:focus,
.rochela-calculator .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(15, 106, 86, 0.14);
    border-color: var(--rochela-accent-500);
}

.rochela-calculator-side-card {
    border-radius: 28px;
    padding: 1.35rem;
    background: linear-gradient(180deg, rgba(247, 245, 244, 0.75) 0%, rgba(255, 255, 255, 1) 100%);
}

.rochela-location-block {
    background: linear-gradient(160deg, rgba(247, 245, 244, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 24px 60px rgba(31, 41, 55, 0.08);
}

.rochela-location-block .col-lg-6:first-child {
    min-height: 420px;
}

.rochela-location-block img {
    min-height: 100%;
}

.rochela-footer .rochela-cta-band {
    background: linear-gradient(135deg, rgba(237, 247, 243, 0.88) 0%, rgba(255, 255, 255, 1) 100%);
}


@media (max-width: 991px) {
    .rochela-home-highlight-title,
    .rochela-discovery-title {
        font-size: 2.3rem;
    }

    .rochela-section-nav {
        position: static;
        margin-top: 1rem;
    }

    .rochela-discovery-media {
        min-height: 320px;
    }

    .rochela-showcase-image-shell,
    .rochela-media-frame {
        min-height: 360px;
    }

    .rochela-feature-card,
    .rochela-calculator-side-card,
    .rochela-calculator {
        padding: 1.1rem;
    }

    .rochela-stage-image {
        height: 420px;
    }

    .rochela-detail-panel,
    .rochela-empty-state,
    .rochela-detail-content > .tab-pane {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    #telefonos.whatsapp-float {
        right: 14px;
        bottom: 72px;
    }

    #telefonos.whatsapp-float img {
        width: 82px;
    }

    .rochela-home-highlight-title,
    .rochela-discovery-title {
        font-size: 1.9rem;
    }

    .rochela-product-tabs .nav-link,
    .rochela-stage-tabs .nav-link {
        width: 100%;
    }

    .rochela-section-nav {
        gap: 8px;
        padding: 0.8rem;
    }

    .rochela-section-nav a {
        width: calc(50% - 8px);
        text-align: center;
        font-size: 0.95rem;
    }

    .rochela-showcase {
        border-radius: 24px;
    }

    .rochela-showcase-image-shell {
        min-height: 320px;
    }

    .rochela-showcase-floating-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .rochela-media-frame {
        min-height: 280px;
    }

    .rochela-acabados-preview {
        min-height: 260px;
    }

    .rochela-location-block .col-lg-6:first-child {
        min-height: 300px;
    }

    .rochela-type-card-image {
        height: 220px;
    }

    .rochela-quick-link {
        width: 100%;
        text-align: center;
    }

    .rochela-stage-card,
    .rochela-tab-summary,
    .rochela-commercial-hero,
    .rochela-discovery-hero,
    .rochela-context-block,
    .rochela-location-block,
    .rochela-cta-band {
        border-radius: 22px;
    }

    .rochela-stage-image {
        height: 320px;
    }

    .rochela-detail-panel,
    .rochela-empty-state,
    .rochela-detail-content > .tab-pane {
        min-height: 320px;
    }
}

/** SLIDER OVERFLOW FIX **/

/* Hacemos que el contenedor principal del slider permita contenido que sobresalga */
#sliderProyecto {
    overflow: visible;
}
/* Hacemos lo mismo para el contenedor interno de los slides */
#sliderProyecto .carousel-inner {
    overflow: visible;
}

@media (min-width: 2260px) {
