* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1e293b;
}

header {
    background-color: #0f172a;
    padding: 18px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    background:  #818cf8;
    background-clip: text;
    color: transparent;
}

.enlaces-nav {
    display: flex;
    gap: 30px;
    list-style: none;
}

.enlaces-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: 0.3s;
}

.enlaces-nav a:hover {
    color: #38bdf8;
}

section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 50px 30px;
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.titulo-seccion {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #0f172a;
    font-weight: 700;
}

#inicio {
    background:  #0f172a;
    color: white;
    text-align: center;
    padding: 80px 30px;
    margin-top: 0;
}

#inicio h1 {
    font-size: 56px;
    margin-bottom: 15px;
    background:  #a78bfa;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#inicio h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #e2e8f0;
}

#inicio p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #94a3b8;
}

.boton {
    background:   #818cf8;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px #818cf8;
}

.boton:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px #818cf8;
}

.servicios-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.tarjeta {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    flex: 1 1 250px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.tarjeta h3 {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 22px;
}

.tarjeta p {
    color: #475569;
    line-height: 1.6;
}

.proyectos-todo {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.proyecto-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    flex: 1 1 300px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.proyecto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.proyecto-info {
    padding: 25px;
}

.proyecto-info h3 {
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 20px;
}

.proyecto-info p {
    color: #475569;
    line-height: 1.6;
}

.quienes-posicion {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quienes-posicion h3 {
    font-size: 22px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.7;
    background:  #334155;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contacto-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contacto-info {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 35px;
    border-radius: 24px;
    flex: 1;
}

.contacto-info h3 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 20px;
}

.contacto-info p {
    margin-bottom: 12px;
    color: #334155;
}

.contacto-formulario {
    flex: 2;
}

.grupo-formulario {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0f172a;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;

    background-color: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

button {
    background: #1e293b;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: #818cf8;
}

.formulario-extra {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.formulario-extra label {
    margin-top: 20px;
    font-weight: 600;
}

.formulario-extra label:first-child {
    margin-top: 0;
}

.formulario-extra input[type="radio"],
.formulario-extra input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-left: 15px;
}

footer {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #94a3b8;
    text-align: center;
    padding: 35px;
    font-size: 14px;
    margin-top: 40px;
}