:root {
    --verde-agua: #13c0aa;
    --azul-oscuro: #222C36;
    --naranja-coral: #FF6B3D;
    --gris-oscuro: #2C2C2C;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f9f9f9;
    color: #222;
    margin: 0;
    padding: 0;
}

/* NAV */
nav {
    background: #fff;
    box-shadow: 0 2px 6px #0001;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 10;
}
nav .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--verde-agua);
    letter-spacing: 1px;
}
nav ul {
    list-style: none;
    margin: 0;
    display: flex;
    gap: 24px;
    padding: 0;
}
nav ul li a {
    text-decoration: none;
    color: var(--azul-oscuro);
    font-weight: 500;
    transition: color 0.2s;
}
nav ul li a:hover {
    color: var(--naranja-coral);
}

/* HERO */
.hero {
    text-align: center;
    padding: 100px 24px 60px 24px;
    background: linear-gradient(110deg, var(--verde-agua) 0%, #51e6d0 100%);
    color: #fff;
}
.hero h1 {
    font-size: 2.5em;
    margin-bottom: 12px;
}
.hero p {
    font-size: 1.25em;
    margin-bottom: 24px;
}

/* BOTÓN PRINCIPAL */
.btn-principal {
    display: inline-block;
    padding: 14px 32px;
    background: var(--naranja-coral);
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px #0002;
    transition: background 0.2s, color 0.2s;
    border: none;
    font-size: 1em;
    cursor: pointer;
}
.btn-principal:hover {
    background: var(--azul-oscuro);
    color: #fff;
}

/* SECCIONES Y TITULOS */
section {
    padding: 60px 16px;
    max-width: 1100px;
    margin: 0 auto;
}
section h2, .title-blue {
    text-align: center;
    color: var(--azul-oscuro);
    margin-bottom: 18px;
}
.subtitle-blue {
    color: var(--azul-oscuro);
    text-align: center;
}

/* SECCIÓN ABOUT */
.about {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0001;
    margin-top: -60px;
    margin-bottom: 30px;
    padding: 40px 32px;
}

/* SERVICIOS */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0001;
    padding: 28px 22px;
    width: 250px;
    text-align: center;
    margin-bottom: 18px;
    border: 2px solid #f2faf9;
    transition: border 0.2s, box-shadow 0.2s;
}
.service-card:hover {
    border: 2px solid var(--naranja-coral);
    box-shadow: 0 4px 16px #0002;
}

/* SECCIÓN PERSONALIZADA DESARROLLO */
.custom-dev {
    background: var(--azul-oscuro);
    color: #fff;
    border-radius: 18px;
    margin: 40px auto;
    padding: 42px 18px 32px 18px;
    max-width: 980px;
}
.custom-dev h2 {
    color: var(--naranja-coral) !important;
}

/* FORMULARIOS */
.demo-form, .contact-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.demo-form input, .demo-form textarea,
.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}
.demo-form button, .contact-form button {
    background: var(--verde-agua);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
.demo-form button:hover, .contact-form button:hover {
    background: var(--naranja-coral);
}

/* TECNOLOGÍAS QUE USAMOS */
.tech-used h3 {
    color: var(--azul-oscuro);
}

/* FOOTER */
footer {
    background: #fff;
    text-align: center;
    padding: 18px 0;
    color: #aaa;
    font-size: 1em;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    nav {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    section {
        padding: 40px 8px;
    }
    .about {
        padding: 20px 12px;
    }
    .custom-dev {
        padding: 28px 8px 18px 8px;
    }
}

/* OPCIONAL: Otros detalles visuales */
::-webkit-scrollbar-thumb { background: var(--verde-agua); }
::-webkit-scrollbar-track { background: #eee; }