* {
    box-sizing: border-box; margin: 0; padding: 0;
    font-family: "Noto Sans JP", sans-serif; 
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: #0f0e0e;
}

/* NAVBAR */
.navbar {
    background: #c0392b;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 0.8; }

.nav-links a{
    position: relative;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.3s;
}

.nav-links a{
    position: relative;
    text-decoration: none;
    padding: 8px 12px;
}

/* linea animada */
.nav-links a::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: white;
    transition: all 0.35s ease;
    transform: translateX(-50%);
}

/* hover */
.nav-links a:hover::after{
    width: 100%;
}

/* página activa */
.nav-links a.active::after{
    width: 100%;
}

.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-contenido {
    position: relative;
    z-index: 2;
}

.hero h1 { font-size: 3rem; margin-bottom: 15px; }
.hero p  { font-size: 1.3rem; margin-bottom: 25px; }

/* BOTONES */
.btn {
    background: #c0392b;
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover { background: #a93226; }

/* SECCIONES */
section {
    padding: 50px 30px;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #c0392b;
}

/* CARDS */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 280px;
    text-align: center;
    transition: transform 0.2s;
}

.card:hover { transform: translateY(-5px); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; color: #c0392b; }
.card p  { color: #666; margin-bottom: 15px; }

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* MISION VISION */
.mision-vision {
    background: #f9f9f9;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.mv-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    width: 350px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mv-card h3 { color: #c0392b; margin-bottom: 10px; font-size: 1.4rem; }

/* FOOTER */
footer {
    background: #c0392b;
    color: white;
    text-align: center;
    padding: 20px;
}

/* FORMULARIO CONTACTO */
.form-contacto {
    max-width: 600px;
    margin: 0 auto;
}

.form-contacto input,
.form-contacto textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.form-contacto textarea { height: 150px; resize: vertical; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { gap: 10px; }
    .card { width: 100%; }
}

.navbar .logo img {
    height: 80px;
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    gap: -5px;        /* 👈 reduce el espacio entre imagen y texto (antes era 10px) */
    padding-left: -5px; /* 👈 mueve todo el logo hacia la izquierda */
}


/* Logo */ 
body {
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
}

h1 {
    font-size: 28px;
    font-weight: 400;
}

h2 {
    font-size: 22px;
    font-weight: 400;
}

h3 {
    font-size: 18px;
    font-weight: 400;
}

/* Para el texto del logo de tu navbar */
.logo span {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300; /* más grueso para el logo */
}

