:root {
    --verde: #1f5f52;
    --dorado: #c8a96a;
    --blanco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    background: url('../bg.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay fondo */
body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.9));
    top: 0;
    left: 0;
}

/* Card principal */
.card {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 60px 50px;
    border-radius: 12px;
    text-align: center;
    max-width: 650px;
    width: 90%;
    animation: fadeIn 1.5s ease;
}

.logo {
    width: 140px;
    margin-bottom: 25px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--blanco);
    letter-spacing: 3px;
}

.divider {
    width: 70px;
    height: 2px;
    background: var(--dorado);
    margin: 20px auto;
}

h2 {
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--dorado);
    margin-bottom: 15px;
}

p {
    font-size: 15px;
    color: #dcdcdc;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Contacto */
.contact {
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
}

.contact a {
    color: var(--dorado);
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Botón */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 1px solid var(--dorado);
    color: var(--dorado);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--dorado);
    color: #000;
}

footer {
    margin-top: 40px;
    font-size: 12px;
    color: #aaa;
}

/* ===== MODAL ===== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    animation: fadeInModal 0.6s ease;
}

/* Fondo modal */
.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../bg.jpg') no-repeat center center/cover;
    filter: brightness(0.3) blur(4px);
}

/* Contenido */
.modal-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(200, 169, 106, 0.4);
    padding: 40px;
    max-width: 700px;
    width: 90%;
    border-radius: 12px;
    color: #eee;
    text-align: left;
    animation: scaleIn 0.5s ease;
}

.modal-logo {
    width: 90px;
    display: block;
    margin: 0 auto 15px;
}

.modal h3 {
    color: var(--dorado);
    text-align: center;
    margin-bottom: 15px;
}

.modal ul {
    margin: 10px 0 20px 20px;
}

.modal button {
    display: block;
    margin: 25px auto 0;
    padding: 10px 25px;
    border: 1px solid var(--dorado);
    background: transparent;
    color: var(--dorado);
    cursor: pointer;
    border-radius: 30px;
    transition: 0.3s;
}

.modal button:hover {
    background: var(--dorado);
    color: #000;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 34px; }
    .card { padding: 40px 25px; }
}