/* Variables CSS - Basado en tu logo */
:root {
    --primary-dark: #1A2E40; /* Azul más oscuro del logo */
    --primary-medium: #2C5282; /* Azul medio del logo */
    --primary-light: #4A90E2; /* Azul más claro del logo */
    --accent-green: #27AE60; /* Verde Esmeralda (para CTAs) */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #f0f2f5; /* Fondo más claro para secciones */
    --bg-dark: #1A2E40; /* Fondo oscuro, igual al primary-dark */
    --font-family: 'Poppins', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-align: center;
    white-space: nowrap; /* Evita que el texto se rompa */
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--text-light);
    border: 2px solid var(--accent-green);
}

.btn-primary:hover {
    background-color: #219d55; /* Un verde ligeramente más oscuro */
    border-color: #219d55;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo img {
    height: 80px; /* Ajusta el tamaño de tu logo */
    margin-right: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--primary-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.hamburger {
    display: none; /* Oculto en desktop */
    font-size: 1.8em;
    cursor: pointer;
    color: var(--primary-dark);
}

/* Hero Section */
.hero {
    background-color: var(--bg-light);
    padding: 100px 0;
    text-align: left;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.8em;
    font-weight: 700;
    color: var(--primary-dark);
}

.hero-content .subtitle {
    font-size: 1.3em;
    color: #555;
    margin-bottom: 30px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    /*box-shadow: var(--box-shadow);*/
    border-radius: var(--border-radius);
}

/* Secciones Generales */
.section-light {
    background-color: #fff;
    padding: 80px 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.section-dark h2, .section-dark h3 {
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

h2 {
    font-size: 2.8em;
    margin-bottom: 25px;
    font-weight: 700;
}

.section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #666;
}

/* Benefits Grid */
.benefits-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item, .feature-item {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover, .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-item .icon-wrapper, .feature-item .icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2em;
    margin: 0 auto 20px auto;
}

.benefit-item h3, .feature-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.benefit-item p, .feature-item p {
    font-size: 1em;
    color: #666;
}

/* Diferencia (AI Concierge) */
.difference-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.difference-content h2 {
    color: var(--text-light);
    font-size: 2.5em;
}

.difference-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--text-light);
}

.difference-content ul {
    list-style: none;
    padding-left: 0;
}

.difference-content ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: flex-start;
    color: var(--text-light);
}

.difference-content ul li i {
    color: var(--accent-green);
    margin-right: 15px;
    font-size: 1.3em;
    flex-shrink: 0; /* Evita que el ícono se encoja */
}

.difference-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.difference-image img {
    max-width: 90%;
    height: auto;
    border-radius: var(--border-radius);
  
}

/* Admin Panel Section */
.admin-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.admin-panel-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-panel-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.admin-panel-content h2 {
    color: var(--text-light);
    font-size: 2.5em;
}

.admin-panel-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--text-light);
}

.admin-panel-content ul {
    list-style: none;
    padding-left: 0;
}

.admin-panel-content ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: flex-start;
    color: var(--text-light);
}

.admin-panel-content ul li i {
    color: var(--accent-green);
    margin-right: 15px;
    font-size: 1.3em;
    flex-shrink: 0;
}


/* CTA Section */
.section-cta {
    background-color: var(--primary-light); /* Un color llamativo */
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.section-cta h2 {
    color: var(--text-light);
    font-size: 3em;
    margin-bottom: 20px;
}

.section-cta p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.section-cta .btn-primary {
    background-color: var(--primary-dark); /* Botón oscuro sobre fondo claro */
    border-color: var(--primary-dark);
}

.section-cta .btn-primary:hover {
    background-color: #0d1e2f;
    border-color: #0d1e2f;
}


/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 20px 0;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Para responsive */
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    margin-right: 20px;
}

.footer-links {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-grid, .difference-grid, .admin-panel-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content, .difference-content, .admin-panel-content {
        order: 2; /* Contenido abajo */
    }

    .hero-image, .difference-image, .admin-panel-image {
        order: 1; /* Imagen arriba */
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2.2em;
    }

    .navbar-content {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #fff;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
        position: absolute;
        top: 70px; /* Ajusta según la altura de tu navbar */
        left: 0;
        padding: 20px 0;
        border-top: 1px solid var(--bg-light);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links li:last-child {
        margin-top: 20px; /* Espacio para el botón Contacto */
    }

    .hamburger {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-links, .footer-social {
        margin-bottom: 25px;
    }

    .footer-links {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content .subtitle {
        font-size: 1.1em;
    }
    h2 {
        font-size: 1.8em;
    }
    .section-cta h2 {
        font-size: 2.2em;
    }
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9em;
    }
}