@charset "UTF-8";

/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */
 /* ========== ESTILOS PRINCIPALES ========== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        background-color: #000;
        /* background-image: url('<?= $bg_image ?>'); */
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        background-position: center 30%;
        color: #ffffff;
        font-family: 'Urbanist', sans-serif;
        line-height: 1.5;
    }

    .global-overlay-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.65);
        z-index: -1;
    }

    .top-header {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0) 100%);
        padding: 0.8rem 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .logo-motelweb {
        font-family: 'Urbanist', sans-serif;
        font-weight: 800;
        font-size: 1.7rem;
        letter-spacing: -0.5px;
        color: #fff;
        text-decoration: none;
    }

    .logo-motelweb span {
        color: #D4AF37;
        font-weight: 900;
    }

    .nav-links {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links a {
        color: #eee;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none;
        transition: color 0.2s;
    }

    .nav-links a:hover {
        color: #FF8E0A;
    }

    .country-lang-switcher select {
        background: #111;
        color: #eee;
        border: 1px solid #D4AF37;
        padding: 0.2rem 0.5rem;
        border-radius: 20px;
        font-size: 0.8rem;
        cursor: pointer;
    }

    .cover-container {
        min-height: 85vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        background-size: cover;
        background-position: center;
        margin-top: -10px;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-title-span {
        font-size: 2.2rem;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 2.8rem;
        font-weight: 500;
        max-width: 700px;
        margin: 1.2rem auto 0;
    }

    .gold-accent {
        color: #D4AF37;
        font-weight: 800;
    }

    .main-content {
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(2px);
        padding: 2rem 0 4rem;
    }

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

    .section-title {
        font-family: 'Urbanist', sans-serif;
        font-weight: 700;
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .section-title span {
        color: #FF8E0A;
    }

    .benefits-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-top: 20px;
    }

    .benefit-card {
        background: rgba(0, 0, 0, 0.6);
        border-radius: 20px;
        padding: 25px;
        text-align: center;
        border: 1px solid #333;
        flex: 1;
        min-width: 250px;
    }

    .benefit-card i {
        font-size: 2.5rem;
        color: #FF8E0A;
    }

    .benefit-card h3 {
        color: #fff;
        margin: 15px 0 10px;
    }

    .benefit-card p {
        color: #ccc;
    }

    .planes-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
    }

    .plan-card {
        background: #111;
        border-radius: 20px;
        padding: 20px;
        width: 260px;
        text-align: center;
        display: flex;
        flex-direction: column;
        /* Los elementos se apilan verticalmente */
    }

    .plan-card .btn-plan {
        margin-top: auto;
        /* Empuja el botón hacia el fondo */
        align-self: center;
        /* Centra el botón horizontalmente (opcional) */
    }

    .plan-card h3 {
        color: #fff;
    }

    .plan-price {
        color: #D4AF37;
        font-size: 1.8rem;
        font-weight: bold;
        margin: 15px 0;
    }

    ol {
        text-align: left;
    }

    li {
        text-align: left;
    }

    .plan-price span {
        font-size: 1rem;
    }

    .plan-card p {
        color: #ccc;
        margin-bottom: 20px;
    }

    .btn-plan {
        display: inline-block;
        padding: 5px 20px;
        border-radius: 10px;
        background: #FF8E0A;
        color: #000;
        text-decoration: none;
        font-weight: bold;
        transition: 0.2s;
    }

    .btn-plan-outline {
        background: transparent;
        border: 1px solid #D4AF37;
        color: #D4AF37;
    }

    .btn-plan-outline:hover {
        background: #D4AF37;
        color: #000;
    }

    footer {
        background-color: #0a0a0a;
        padding: 2rem 0;
        text-align: center;
        border-top: 1px solid #222;
    }

    footer p {
        color: #aaa;
        margin-top: 15px;
    }

    .footer-links {
        margin-top: 10px;
    }

    .footer-links a {
        color: #D4AF37;
        text-decoration: none;
        margin: 0 10px;
    }

    .footer-links a:hover {
        text-decoration: underline;
    }

    @media (max-width: 768px) {
        .top-header {
            padding: 0.8rem 1rem;
        }

        .logo-motelweb {
            font-size: 1.3rem;
        }

        .nav-links a {
            font-size: 0.7rem;
        }

        .hero-title-span {
            font-size: 1.2rem;
        }

        .hero-subtitle {
            font-size: 2rem;
        }
    }

    /* ========== ESTILOS PARA MODALES (siempre disponibles) ========== */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        z-index: 10000;
        display: none;
        justify-content: center;
        align-items: center;
    }

    .modal-container {
        background: #1a1a1a;
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid #D4AF37;
        width: 90%;
        max-width: 900px;
        max-height: 90%;
        display: flex;
        flex-direction: column;
    }

    .modal-header {
        padding: 1rem;
        background: #000;
        border-bottom: 1px solid #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .modal-header h3 {
        margin: 0;
        color: #D4AF37;
    }

    .close-modal {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .tabs {
        display: flex;
        background: #111;
        border-bottom: 1px solid #333;
    }

    .tab {
        padding: 0.8rem 1.5rem;
        cursor: pointer;
        background: #111;
        color: #ccc;
        border: none;
        font-weight: bold;
    }

    .tab.active {
        background: #D4AF37;
        color: #000;
    }

    .tab-content {
        padding: 1.5rem;
        overflow-y: auto;
        flex: 1;
    }

    .modal-footer {
        padding: 1rem;
        background: #000;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        border-top: 1px solid #333;
    }

    .btn-save,
    .btn-cancel {
        padding: 0.5rem 1.2rem;
        border-radius: 30px;
        border: none;
        cursor: pointer;
    }

    .btn-save {
        background: #D4AF37;
        color: #000;
    }

    .btn-cancel {
        background: #333;
        color: #fff;
    }

    .loading {
        text-align: center;
        color: #D4AF37;
        padding: 2rem;
    }

    footer strong {
        cursor: pointer;
        transition: opacity 0.2s;
    }

    footer strong:hover {
        opacity: 0.8;
        text-decoration: underline;
    }