.installations-page {
    padding: 40px 0;
    background: #f4f6f8;
}

.page-title {
    margin-bottom: 25px;
}

.page-title h1 {
    font-size: 34px;
    color: #082544;
    margin-bottom: 10px;
}

.page-title p {
    color: #555;
}

.installations-grid-basic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.installation-card-basic {
    background: white;
    border: 1px solid #ddd;
}

.installation-card-basic img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.installation-content-basic {
    padding: 15px;
}

.installation-content-basic h2 {
    font-size: 18px;
    color: #082544;
    margin-bottom: 8px;
}

.installation-content-basic p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.4;
}

.installation-type {
    color: #2e8b45 !important;
    font-weight: bold;
}

.btn-reservar-basic {
    display: inline-block;
    margin-top: 8px;
    background: #082544;
    color: white;
    padding: 9px 12px;
    text-decoration: none;
    font-size: 14px;
}

.btn-reservar-basic:hover {
    background: #0b345f;
}

.btn-disabled-basic {
    display: inline-block;
    margin-top: 8px;
    background: #ddd;
    color: #777;
    padding: 9px 12px;
    font-size: 14px;
}

@media (max-width: 1000px) {
    .installations-grid-basic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .installations-grid-basic {
        grid-template-columns: 1fr;
    }
}
.detalle-instalacion {
    padding: 45px 0;
    background: linear-gradient(90deg, #ffffff, #f1f5f9);
}

.detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
}

.detalle-imagen img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.detalle-info {
    background: white;
    border: 1px solid #ddd;
    padding: 28px;
    border-radius: 10px;
}

.detalle-info h1 {
    color: #082544;
    font-size: 32px;
    margin-bottom: 14px;
}

.detalle-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.detalle-datos {
    background: #f4f6f8;
    border: 1px solid #ddd;
    padding: 16px;
    margin: 20px 0;
}

.btn-volver-detalle {
    display: inline-block;
    margin-left: 12px;
    color: #082544;
    font-weight: bold;
}

.btn-volver-detalle:hover {
    text-decoration: underline;
}

@media (max-width: 850px) {
    .detalle-grid {
        grid-template-columns: 1fr;
    }

    .detalle-imagen img {
        height: 250px;
    }

    .detalle-info h1 {
        font-size: 26px;
    }
}

.info-intro {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 30px;
    margin-bottom: 35px;
    align-items: start;
}

.info-intro h2 {
    color: #082544;
    font-size: 26px;
    margin-bottom: 14px;
}

.info-intro p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.info-box {
    background: #082544;
    color: white;
    padding: 24px;
    border-radius: 10px;
}

.info-box h3 {
    margin-bottom: 12px;
}

.info-box p {
    color: #e5e7eb;
}

.empty-installations {
    grid-column: 1 / -1;
    background: #f4f6f8;
    border: 1px dashed #bbb;
    padding: 30px;
    text-align: center;
}

.installations-info,
.reservation-steps,
.faq-section {
    padding: 45px 0;
    background: linear-gradient(90deg, #ffffff, #f1f5f9);
}

.rules-section {
    padding: 45px 0;
    background: #ffffff;
}

.section-header-basic {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-header-basic h2 {
    color: #082544;
    font-size: 28px;
    margin-bottom: 10px;
}

.section-header-basic p {
    color: #555;
    line-height: 1.7;
}

.info-grid,
.steps-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.info-card,
.step-card,
.faq-item {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 22px;
    border-radius: 10px;
}

.info-card i {
    color: #2e8b45;
    font-size: 30px;
    margin-bottom: 14px;
}

.info-card h3,
.step-card h3,
.faq-item h3 {
    color: #082544;
    font-size: 18px;
    margin-bottom: 10px;
}

.info-card p,
.step-card p,
.faq-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.step-card span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    background: #082544;
    color: white;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 14px;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
}

.rules-grid h2 {
    color: #082544;
    font-size: 28px;
    margin-bottom: 14px;
}

.rules-grid p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.rules-list {
    background: #f4f6f8;
    border: 1px solid #ddd;
    padding: 24px 24px 24px 42px;
    border-radius: 10px;
}

.rules-list li {
    margin-bottom: 12px;
    color: #333;
}

@media (max-width: 950px) {
    .info-grid,
    .steps-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-intro,
    .rules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .info-grid,
    .steps-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* HERO */

.page-hero {
    background: linear-gradient(90deg, #04192f 0%, #082f57 65%, #0d3d28 100%);
    padding: 60px 0 50px;
    color: white;
}

.hero-inner {
    max-width: 760px;
}

.subtitle-tag {
    display: inline-block;
    color: #5fbf6a;
    background: rgba(95, 191, 106, 0.12);
    border: 1px solid rgba(95, 191, 106, 0.35);
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    font-size: 16px;
}

/* ÍNDICE */

.index-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

.index-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 24px;
    color: #64748b;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.index-link:hover {
    color: #082544;
    border-bottom-color: #2e8b45;
}

/* SECCIONES */

.install-section {
    padding: 70px 0;
    border-bottom: 1px solid #e2e8f0;
}

.install-section:nth-child(odd) {
    background: #ffffff;
}

.install-section:nth-child(even) {
    background: #f8fafc;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.section-grid.flip {
    direction: rtl;
}

.section-grid.flip > * {
    direction: ltr;
}

/* TEXTO */

.install-number {
    color: #2e8b45;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.install-icon-wrap {
    width: 54px;
    height: 54px;
    background: #082544;
    color: #5fbf6a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.install-title {
    color: #082544;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 18px;
}

.install-desc {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 15px;
}

/* LISTA */

.feat-list {
    list-style: none;
    padding: 0;
    margin: 22px 0;
    display: grid;
    gap: 10px;
}

.feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #0f172a;
    font-size: 14px;
}

.feat-list i {
    color: #2e8b45;
    margin-top: 3px;
}

/* DATOS */

.specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.spec {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 14px;
}

.install-section:nth-child(even) .spec {
    background: #f8fafc;
}

.spec-label {
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.spec-value {
    color: #082544;
    font-size: 15px;
    font-weight: 800;
    margin: 0;
}

/* ESTADO */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dcfce7;
    color: #166534;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

/* PANEL VISUAL */

.visual-wrap {
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.visual-inner {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-big-icon {
    font-size: 90px;
    color: rgba(255, 255, 255, 0.8);
}

.visual-padel .visual-inner {
    background: linear-gradient(135deg, #04192f, #0b3350);
}

.visual-tennis .visual-inner {
    background: linear-gradient(135deg, #5c1e08, #8b3a18);
}

.visual-futbol .visual-inner {
    background: linear-gradient(135deg, #0a2e0c, #174d1a);
}

.visual-pabellon .visual-inner {
    background: linear-gradient(135deg, #0a1628, #0f2850);
}

.court-label {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* CTA */

.cta-section {
    background: linear-gradient(90deg, #04192f, #082f57);
    padding: 65px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.cta-section .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2e8b45;
    color: white;
    padding: 13px 26px;
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
}

.cta-section .btn-primary:hover {
    background: #5fbf6a;
    color: white;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .section-grid,
    .section-grid.flip {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 35px;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .install-title {
        font-size: 28px;
    }

    .visual-wrap,
    .visual-inner {
        min-height: 260px;
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 45px 0;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .install-section {
        padding: 45px 0;
    }

    .specs {
        grid-template-columns: 1fr;
    }

    .index-bar {
        justify-content: flex-start;
    }

    .visual-big-icon {
        font-size: 70px;
    }
}

.info-page {
    background: #ffffff;
}

.info-hero {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 50px 0;
}

.info-tag {
    display: inline-block;
    color: #2e8b45;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.info-hero h1 {
    color: #082544;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
}

.info-hero p {
    max-width: 850px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.info-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 45px;
    padding-top: 45px;
    padding-bottom: 60px;
}

.info-index {
    position: sticky;
    top: 90px;
    align-self: start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
}

.info-index h2 {
    color: #082544;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
}

.info-index a {
    display: block;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-index a:last-child {
    border-bottom: none;
}

.info-index a:hover {
    color: #2e8b45;
}

.info-content {
    max-width: 900px;
}

.wiki-section {
    padding-bottom: 42px;
    margin-bottom: 42px;
    border-bottom: 1px solid #e2e8f0;
}

.wiki-section:last-child {
    border-bottom: none;
}

.wiki-section h2 {
    color: #082544;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
}

.wiki-section h3 {
    color: #0b345f;
    font-size: 20px;
    font-weight: 800;
    margin-top: 24px;
    margin-bottom: 10px;
}

.wiki-section p {
    color: #334155;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.info-note {
    background: #f8fafc;
    border-left: 4px solid #2e8b45;
    padding: 16px 18px;
    color: #334155;
    margin-top: 20px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.info-table th {
    width: 230px;
    background: #f8fafc;
    color: #082544;
    text-align: left;
    font-weight: 800;
    border: 1px solid #e2e8f0;
    padding: 12px;
}

.info-table td {
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 12px;
}

.info-list {
    padding-left: 22px;
    margin-top: 15px;
}

.info-list li {
    color: #334155;
    line-height: 1.8;
    margin-bottom: 8px;
}

.info-final-box {
    background: linear-gradient(90deg, #04192f, #082f57);
    color: white;
    padding: 28px;
    margin-top: 24px;
}

.info-final-box h3 {
    color: white;
    margin-top: 0;
}

.info-final-box p {
    color: #cbd5e1;
}

.info-btn {
    display: inline-block;
    background: #2e8b45;
    color: white;
    text-decoration: none;
    padding: 11px 18px;
    font-weight: 700;
    margin-top: 10px;
}

.info-btn:hover {
    background: #5fbf6a;
    color: white;
}

@media (max-width: 900px) {
    .info-layout {
        grid-template-columns: 1fr;
    }

    .info-index {
        position: static;
    }

    .info-hero h1 {
        font-size: 30px;
    }

    .wiki-section h2 {
        font-size: 26px;
    }
}