:root {
    --primary: #5ab3f0; /* celeste cálido */
    --secondary: #e6e9ed; /* gris suave */
    --background: #ffffff;
    --text: #333333;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text);
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f0f0f0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(to right, var(--primary), #7fc4ff);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 span {
    color: #e6e9ed;
}

.btn {
    background-color: white;
    color: var(--primary);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--secondary);
}

/* ===== SERVICIOS ===== */
.services {
    padding: 60px 20px;
    background-color: var(--secondary);
    text-align: center;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
}

/* ===== NOSOTROS ===== */
.about {
    padding: 60px 20px;
    text-align: center;
}

/* ===== CONTACTO ===== */
.contact {
    background-color: var(--primary);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input, .contact textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
    resize: none;
    font-family: inherit;
}

.contact button {
    background-color: white;
    color: var(--primary);
    font-weight: bold;
    cursor: pointer;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--secondary);
    text-align: center;
    padding: 20px;
}

footer img {
    height: 50px;
    display: block;
    margin: 0 auto 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--primary);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .contact label {
  text-align: left;
  font-weight: 500;
  margin-top: 10px;
  color: #f5f5f5;
}
}