/* VARIABLES Y RESET */
:root {
    --primary-color: #0d47a1;
    --accent-color: #fbc02d;
    --dark-color: #1a1a1a;
    --light-color: #f4f6f9;
    --white: #ffffff;
    --whatsapp-color: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.text-center {
    text-align: center;
}

/* HEADER Y LOGO CON NOMBRE */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--whatsapp-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-nav:hover {
    background: #1ebe5d;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION CON FONDO fondo1e.png */
.hero {
    background: linear-gradient(rgba(13, 71, 161, 0.75), rgba(26, 26, 26, 0.85)), url('img/fondo1e.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 100px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary {
    background: var(--whatsapp-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #1ebe5d;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-color);
}

/* SERVICES */
.services {
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-item {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.about-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* CONTACTO WHATSAPP SECTION */
.contact-whatsapp {
    background: #eef2f7;
}

.contact-whatsapp h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.contact-whatsapp p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #555;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: background 0.3s, transform 0.2s;
}

.btn-whatsapp-large:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

/* FOOTER */
.footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 25px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-container {
        height: 80px;
    }
    .logo img {
        height: 45px;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero {
        padding-top: 80px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}