/* ---------- GLOBAL ---------- */
body {
    margin: 0;
    background: #f4f4f4;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ---------- HEADER ---------- */
header {
    position: relative;
    text-align: center;
    color: #fff;
    background: url("https://i.imgur.com/Rh8qCJR.png") center/cover no-repeat;
}

header .content {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 15px;
    background: rgba(0, 0, 0, 0.35);
}

header h1 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
}

header p {
    font-size: clamp(15px, 2vw, 20px);
    max-width: 720px;
    margin: 0 auto;
    font-weight: 400;
}

header a {
    display: inline-block;
    background: #2E7D32;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.3s ease;
}
header a:hover {
    background: #256628;
}

/* ---------- HEADER TOP (LOGO + NAV) ---------- */
.header-top {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1200;
}

.header-top .logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* ---------- NAV DESKTOP ---------- */
.header-top nav {
    margin-left: auto;
    display: flex;
    gap: 24px;
}

.header-top nav a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 0;               /* 👈 eliminamos padding extra lateral */
    background: transparent !important; /* 🔥 fuerza quitar fondo verde */
    border-radius: 0 !important;       /* 🔥 quita redondeado */
    transition: color 0.3s;
}

.header-top nav a:hover,
.header-top nav a.active {
    color: #a8f5b0;
}


/* ---------- NAV MOBILE ---------- */
@media (max-width: 1023px) {
    .header-top nav {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(10px);
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 20px;
        border-radius: 10px;
        gap: 15px;
    }
    .header-top nav.active { display: flex; }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    .hamburger span {
        width: 25px;
        height: 3px;
        background: #fff;
    }
}
@media (min-width: 1024px) {
    .hamburger { display: none; }
}

/* ---------- SECTIONS ---------- */
/* Sección principal expandida */
section {
    max-width: 900px;        /* más angosto que 1100 para lectura cómoda */
    margin: 60px auto;
    display: block;          /* ya no es flex, solo un bloque */
    padding: 0 20px;
}

.col-text {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* títulos */
.col-text h2 {
    font-size: 22px;
    margin-bottom: 0px;
    color: #2E7D32;
}

/* párrafos */
.col-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0px;
    color: #444;
}

/* nota */
.note {
    background: #f9f9f9;
    border-left: 5px solid #2E7D32;
    border-radius: 10px;
    padding: 14px 16px;
    font-style: italic;
}
.note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}


/* ---------- NOTE ---------- */
.note {
    background: #f9f9f9;
    border-left: 5px solid #2E7D32;
    border-radius: 10px;
    padding: 14px 16px;
    font-style: italic;
}
.note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* ---------- FOOTER ---------- */
footer {
    background: #2E7D32;
    color: #fff;
    padding: 20px 10px;
    margin-top: 40px;
}
footer .footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}
footer h3 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}
footer p,
footer a {
    font-size: 13px;
    line-height: 1.4;
    color: #f4f4f4;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
    color: #fff;
}

/* ---------- SOCIAL ICONS ---------- */
footer .social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
footer .social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25D366;          /* WhatsApp verde */
    transition: background 0.3s ease;
}
footer .social a:hover {
    background: #1ebe5b;
}
footer .social a img {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) invert(1); /* blanco */
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    section {
        flex-direction: column;
        gap: 24px;
        margin: 40px auto;
    }
    .col-text {
        padding: 24px 20px;
        border-radius: 12px;
    }
    .col-text h2 {
        font-size: 20px;
    }
    .col-img img {
        max-width: 100%;
        border-radius: 12px;
    }
    header .content {
        min-height: 36vh;
        padding: 28px 12px;
    }
    header h1 { font-size: 22px; }
    header p { font-size: 14px; }
}

@media (max-width: 600px) {
    section {
        padding: 20px 12px;
        gap: 20px;
    }
    .col-text {
        padding: 18px 14px;
    }
    .col-text h2 {
        font-size: 18px;
    }
    .col-text p {
        font-size: 13px;
    }
    header .content {
        min-height: 30vh;
        padding: 20px 10px;
    }
    header h1 { font-size: 20px; }
    header p { font-size: 13px; }
}
