body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background-color: #f8f8f8cb;
    padding-top: 70px; /* Para navbar fija */
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.75);
    pointer-events: none;
    z-index: 0;
}
body > * {
    position: relative;
    z-index: 1;
}

/* Navbar clara */
.navbar-light {
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(3px);
    color: #333;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
}
.navbar-logo {
    margin-left: 40px;
    transition: all 0.3s;
    z-index: 200;
}
.navbar-logo img {
    height: 60px;
    transition: all 0.3s;
}
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 48px;
    min-height: 48px;
}
.navbar-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}
.navbar-links li {
    position: relative;
}
.navbar-links a {
    color: #181818;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #181818 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
.navbar-links a.active,
.navbar-links a:hover {
    background: #ffc83d;
    color: #181818;
}
.navbar-btn {
    background: #fff;
    color: #181818 !important;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 18px;
    margin-left: 8px;
    transition: background 0.2s, color 0.2s;
}
.navbar-btn:hover {
    background: #ffc83d;
    color: #181818 !important;
}
.navbar-icon {
    width: 25px;
    height: 25px;
    margin-left: 10px;
    transition: transform 0.3s;
    filter: invert(0.2);
}
.navbar-icon:hover {
    transform: scale(1.2);
}
.navbar-toggle {
    display: none;
}
@media (max-width: 900px) {
    .navbar-logo img { height: 38px; }
    .navbar-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        cursor: pointer;
        margin-left: auto;
        margin-right: 10px;
        height: 32px;
        width: 32px;
    }
    .navbar-toggle span {
        display: block;
        height: 3px;
        width: 22px;
        background: #a0522d;
        margin: 4px 0;
        border-radius: 2px;
        transition: 0.3s;
    }
    .navbar-links {
        flex-direction: column;
        background: #181818;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100vw;
        display: none;
        margin: 0;
        padding: 0;
        z-index: 200;
        border-bottom: 1px solid #ececec;
        gap: 0;
    }
    .navbar-links.active {
        display: flex;
    }
    .navbar-links li {
        margin: 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #ececec;
        padding: 12px 0 12px 16px;
    }
    .navbar-links a {
        color: #fff;
        background: none;
        border-radius: 0;
        padding: 12px 0 12px 16px;
        width: 100%;
        display: block;
    }
    .navbar-links a.active,
    .navbar-links a:hover {
        background: #ffc83d;
        color: #181818;
        text-decoration: underline;
        text-underline-offset: 4px;
        text-decoration-thickness: 3px;
        text-decoration-color: #ffc83d;
    }
}
/* Íconos de redes sociales en una sola línea horizontal */
.navbar-links li:last-child {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 0;
}
.navbar-links li:last-child a {
    padding: 0;
    background: none !important;
}
@media (max-width: 900px) {
    .navbar-links li:last-child {
        flex-direction: row !important;
        justify-content: flex-start;
        gap: 12px;
        padding: 10px 0 10px 10px;
    }
}

.contacto-main {
    padding-top: 90px;
    min-height: 80vh;
}
.contacto-intro {
    text-align: center;
    margin-bottom: 32px;
}
.contacto-intro h1 {
    color: #a0522d;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 10px;
}
.contacto-intro p {
    color: #444;
    font-size: 1.1em;
    margin-bottom: 0;
}
.contacto-form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contacto-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(160,82,45,0.08);
    padding: 32px 28px 24px 28px;
    max-width: 480px;
    width: 100%;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-row {
    display: flex;
    gap: 18px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}
.form-group label {
    font-weight: 600;
    color: #a0522d;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    border: 1.5px solid #ffc83d;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 1em;
    font-family: inherit;
    margin-bottom: 0;
    background: #fffdfa;
    transition: border 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: 2px solid #a0522d;
}
.contacto-btn {
    background: linear-gradient(90deg, #ffc83d 60%, #a0522d 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 12px 0;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(160,82,45,0.10);
    transition: background 0.2s, color 0.2s;
}
.contacto-btn:hover {
    background: linear-gradient(90deg, #a0522d 0%, #ffc83d 100%);
    color: #181818;
}
.contacto-exito {
    background: #fffdfa;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(160,82,45,0.10);
    padding: 24px 18px;
    text-align: center;
    color: #a0522d;
    font-weight: 600;
    font-size: 1.1em;
}
.contacto-redes {
    text-align: center;
    margin-top: 32px;
}
.contacto-redes h2 {
    color: #a0522d;
    font-size: 1.3em;
    margin-bottom: 12px;
}
.contacto-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
}
.social-icon img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff8f0;
    box-shadow: 0 2px 8px rgba(160,82,45,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}
.social-icon:hover img {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 4px 16px #ffc83d;
    background: #ffc83d;
}
@media (max-width: 700px) {
    .contacto-form {
        padding: 18px 6vw 18px 6vw;
        max-width: 98vw;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* --- Nuevo Footer Moderno --- */
.footer-section {
    background: #fffdfa;
    color: #181818;
    padding: 48px 0 0 0;
    margin-top: 20px;
    border-top: 1.5px solid #f3e6d0;
}
.footer-container.new-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 24px 24px;
}
.footer-col {
    flex: 1 1 220px;
    min-width: 200px;
    text-align: center;
}
.footer-logo img {
    height: 54px;
    margin-bottom: 10px;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
}
.footer-social img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(160,82,45,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 6px;
    border: 2px solid #ffc83d;
}
.footer-social a:hover img {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 4px 16px #ffc83d;
    background: #ffc83d;
}
.footer-title {
    font-weight: 700;
    font-size: 1.15em;
    margin-bottom: 8px;
    color: #a0522d;
    letter-spacing: 0.01em;
}
.footer-link {
    color: #a0522d;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-link:hover {
    color: #ffc83d;
}
.footer-copyright {
    background: #a0522d;
    color: #fff;
    text-align: center;
    padding: 16px 0 12px 0;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-top: 0;
}
@media (max-width: 900px) {
    .footer-container.new-footer {
        flex-direction: column;
        gap: 24px;
        padding: 0 8vw 18px 8vw;
    }
    .footer-col {
        min-width: 0;
        margin-bottom: 18px;
    }
}
.footer-col.footer-libro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    margin-top: 0;
}
.footer-col.footer-libro img {
    margin-bottom: 10px;
    width: 54px;
    height: 54px;
}
.footer-col.footer-libro .footer-link {
    color: #a0522d;
    font-size: 1.08em;
    font-weight: 700;
    text-decoration: underline;
    margin-top: 0;
    transition: color 0.2s;
}
.footer-col.footer-libro .footer-link:hover {
    color: #ffc83d;
}