* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a3d62;
    --secondary: #00a8ff;
    --accent: #f39c12;
    --dark: #1e272e;
    --light: #f5f6fa;
    --white: #ffffff;
    --gray: #6c757d;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

.logo img {
    height: 55px;
}

.menu {
    display: flex;
    gap: 2rem;
}

.menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: 0.3s;
}

.menu a:hover {
    color: var(--secondary);
}

.btn-header {
    background: var(--primary);
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    background: url('img/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,61,98,0.92),
        rgba(0,0,0,0.65)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.92);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* SECCIONES */
.services,
.about,
.contact {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
}

/* SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* ABOUT */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

.about-content h2 {
    font-size: 2.3rem;
    margin: 1rem 0;
    color: var(--primary);
}

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    margin-bottom: 1rem;
    font-weight: 500;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary), #07406b);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
}

/* CONTACTO */
.contact-form {
    max-width: 900px;
    margin: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    margin-bottom: 1rem;
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 60px 0;
}

.footer h3,
.footer h4 {
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 1.5rem 0;
    color: rgba(255,255,255,0.7);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .btn-header {
        display: none;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .form-row,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}