* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0b2e59;
    --secondary: #1e5eff;
    --accent: #00c2ff;
    --white: #ffffff;
    --gray: #6b7a90;
    --bg-light: #f5f7fb;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: #1f2d3d;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain; 
    border-radius: 10px;
    background: white;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.2;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.search-box {
    position: relative;
    width: 260px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 25px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.search-box input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 8px rgba(30,94,255,0.3);
}

.search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 14px;
    cursor: pointer;
}

#hero {
    background: linear-gradient(rgba(11,46,89,0.85), rgba(30,94,255,0.85)),
                url("fotos/9.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 140px 0;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-text p {
    margin: 20px 0;
    font-size: 1.3rem;
}

.btn {
    display: inline-block;
    background: var(--accent);
    padding: 14px 30px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,194,255,0.3);
}

.btn:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.section {
    padding: 90px 0;
}

.alt {
    background: white;
}

.center {
    text-align: center;
}

h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.highlight {
    color: var(--secondary);
    font-weight: 600;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
    border: 1px solid #eef1f6;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 25px;
    margin-top: 30px;
}

.identity-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-left: 5px solid var(--secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.value-item:hover {
    transform: scale(1.05);
}

.value-item i {
    font-size: 35px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.galeria img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.galeria img:hover {
    transform: scale(1.05);
}

.contacto {
    background: linear-gradient(135deg, #0b2e59, #1e5eff);
    color: white;
}

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.detalles-contacto p {
    margin: 10px 0;
}

.detalles-contacto i {
    color: var(--accent);
    margin-right: 10px;
}

.iconos a {
    display: inline-block;
    margin-right: 10px;
    background: white;
    color: var(--primary);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
}

.iconos a:hover {
    background: var(--accent);
    color: white;
}

.formulario {
    background: white;
    padding: 30px;
    border-radius: 15px;
    color: #333;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.formulario button {
    width: 100%;
    background: var(--secondary);
    color: white;
    padding: 12px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

footer {
    background: #081f3a;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
}

.copy {
    text-align: center;
    margin-top: 20px;
}

@media(max-width:768px){
    .hero-text h1 {
        font-size: 2.3rem;
    }

    .contacto-container {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    nav {
        text-align: center;
    }

    .search-box {
        width: 100%;
    }
}