/* ======== CONFIGURACIÓN GENERAL Y VARIABLES ======== */
:root {
    --gold-color: #D4AF37;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --dark-bg-t: rgba(26, 26, 26, 0.85); /* Fondo oscuro con transparencia */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-weight: 700;
    color: var(--dark-color);
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

p.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: #666;
}

.section-container {
    padding: 80px 0;
}

/* ======== NAVEGACIÓN ======== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--dark-bg-t);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav a {
    color: var(--light-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--gold-color);
}

/* ======== SECCIÓN INICIO (HERO) ======== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://archangelink.com/wp-content/uploads/2017/08/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    color: var(--light-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin: 20px 0 40px 0;
}

.hero-buttons .btn {
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn i {
    margin-right: 10px;
}

.btn-primary {
    background-color: var(--gold-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold-color);
    border-color: var(--gold-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border-color: var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* ======== SECCIÓN SERVICIOS ======== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--gold-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.app-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.app-buttons img {
    height: 45px;
    transition: opacity 0.3s;
}

.app-buttons a.disabled-link {
    cursor: not-allowed;
}

.app-buttons a.disabled-link img {
    opacity: 0.5;
}

.btn-simple {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--dark-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-simple:hover {
    background-color: var(--gold-color);
    color: var(--dark-color);
}


/* ======== SECCIÓN APP ======== */
.app-section {
    background-color: var(--dark-color);
    padding: 80px 0;
    color: var(--light-color);
}

.app-section h2 {
    color: var(--light-color);
    text-align: left;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.app-text ul {
    list-style: none;
    margin-top: 20px;
}

.app-text li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.app-text li i {
    color: var(--gold-color);
    margin-right: 15px;
    font-size: 1.4rem;
}

.app-image img {
    max-width: 100%;
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.2));
}

/* ======== SECCIÓN PRIVACIDAD ======== */
.privacy-section {
    background-color: #f1f1f1;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--gold-color);
}
.privacy-content p {
    margin-bottom: 15px;
}

/* ======== PIE DE PÁGINA ======== */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px 0;
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    opacity: 0.8;
}

footer h3 {
    color: var(--gold-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-info {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-info span {
    font-size: 1rem;
}

.contact-info i {
    color: var(--gold-color);
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
}


/* ======== RESPONSIVE DESIGN (PARA MÓVILES Y TABLETAS) ======== */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero-section {
        height: auto;
        padding: 150px 0 80px 0;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-section h2 {
        text-align: center;
    }
    
    .app-image {
        margin-top: 40px;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
}

.main-nav a.active {
    color: var(--gold-color);
}