* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
    color: #1e293b;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #0f172a 0%, #0284c7 100%);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
}

.logo span {
    color: #38bdf8;
}

nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

nav a {
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

nav a:hover, nav a.activo {
    background-color: #38bdf8;
    color: #0f172a;
}

main {
    flex: 1;
    max-width: 1000px;
    width: 100%;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

.hero {
    background: white;
    padding: 3.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border-top: 5px solid #0284c7;
}

.hero h1 {
    font-size: 2.4rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.15rem;
    color: #475569;
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

.btn-principal {
    display: inline-block;
    background-color: #0284c7;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-principal:hover {
    background-color: #0369a1;
    transform: translateY(-2px);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-bottom: 4px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-bottom-color: #0284c7;
}

.card h3 {
    color: #0f172a;
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
}

.card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.precio {
    display: inline-block;
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 1.1rem;
}

.seccion-titulo {
    text-align: center;
    margin-bottom: 2rem;
}

.seccion-titulo h2 {
    font-size: 2rem;
    color: #0f172a;
}

.seccion-titulo p {
    color: #64748b;
}

.contenedor-form {
    background: white;
    max-width: 550px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.grupo-form {
    margin-bottom: 1.2rem;
}

.grupo-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #334155;
}

.grupo-form input,
.grupo-form select,
.grupo-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.grupo-form input:focus,
.grupo-form select:focus,
.grupo-form textarea:focus {
    outline: none;
    border-color: #0284c7;
}

.btn-submit {
    width: 100%;
    background-color: #0284c7;
    color: white;
    border: none;
    padding: 0.9rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.btn-submit:hover {
    background-color: #0369a1;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-box h3 {
    color: #0284c7;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-item {
    margin-bottom: 1rem;
    color: #334155;
}

.info-item strong {
    display: block;
    color: #0f172a;
}

footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}
