* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f6f7;
    color: #17232b;
}

/* Menú */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;
    background-color: white;

    z-index: 1000;
}

.logo img {
    width: 110px;
    transform: translateY(-5px);
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    color: #17232b;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav a:hover {
    color: #087f8c;
}


/* Portada */

.hero {
    min-height: 100vh;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 25, 32, 0.65);
}

.hero-content {
    position: relative;
    z-index: 1;

    width: 90%;
    max-width: 1100px;

    color: white;
}

.hero-small {
    color: #45c2c9;
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(45px, 7vw, 90px);
    line-height: 0.95;
    max-width: 900px;
    margin-bottom: 40px;
}

.button {
    display: inline-block;

    padding: 16px 32px;

    background-color: #087f8c;
    color: white;

    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.button:hover {
    background-color: #45c2c9;
    transform: translateY(-3px);
}


/* Nosotros */

.about {
    min-height: 80vh;

    display: flex;
    align-items: center;

    padding: 120px 10%;

    background-color: white;
}

.about-content {
    max-width: 800px;
}

.section-label {
    color: #087f8c;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.about h2 {
    font-size: clamp(35px, 5vw, 65px);
    line-height: 1;
    margin-bottom: 35px;
}

.about p:not(.section-label) {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}


/* Servicios */

.services {
    padding: 120px 8%;
    background-color: #17232b;
    color: white;
}

.services-title {
    margin-bottom: 70px;
}

.services-title h2 {
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.service-card {
    padding: 45px;
    min-height: 230px;

    background-color: #203139;

    transition: 0.3s;
}

.service-card:hover {
    background-color: #087f8c;
    transform: translateY(-5px);
}

.service-card span {
    color: #45c2c9;
    font-size: 14px;
    font-weight: bold;
}

.service-card h3 {
    margin: 30px 0 15px;
    font-size: 28px;
}

.service-card p {
    color: #cbd4d7;
    line-height: 1.6;
}


/* Contacto */

.contact {
    min-height: 70vh;

    display: flex;
    align-items: center;

    padding: 120px 10%;

    background-color: #087f8c;
    color: white;
}

.contact .section-label {
    color: #b8f0f2;
}

.contact h2 {
    font-size: clamp(45px, 7vw, 85px);
    line-height: 0.95;
    max-width: 900px;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info a {
    color: white;
    font-size: 22px;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}


/* Pie */

.footer {
    padding: 30px 8%;
    background-color: #10191e;
    color: #9da9ad;
    font-size: 14px;
}


/* Responsive */

@media (max-width: 700px) {

    .header {
        height: 70px;
        padding: 0 5%;
    }

    .logo img {
        width: 120px;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 13px;
    }

    .hero-content {
        width: 85%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 200px;
    }

}