* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

:root {
  --primary-color: #0a1f3d;
  --secondary-color: #0f2c5c;
  --app-color: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

}

html {
  scroll-behavior: smooth;
}

body {
    background: #f4f6f9;
    color: #1c1c1c;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= HEADER MODERNO ================= */

.main-header {
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo img {
    width: 50px;
    margin-right: 5px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #1d7a46;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-ayuda-header {
    background: #1d7a46;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn-ayuda-header:hover {
    background: #155e34;
}

/* ================= HAMBURGER ================= */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    nav {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--primary-color);
        transition: 0.3s;
    }

    nav.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
        align-items: center;
    }

    .btn-ayuda-header {
        display: none;
    }

    .hamburger {
        display: flex;
    }

}

.btn-ayuda {
    background: #1d7a46;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

/* ================= FOOTER ================= */

footer {
  background: var(--primary-color);
  color: white;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-info p {
  font-size: 14px;
  margin-bottom: 5px;
}

.footer-social h4 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  text-decoration: none;
  color: white;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.3);
}

.social-link:hover {
  background: #1d7a46;
  border-color: #1d7a46;
}

/* Responsive */

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}