:root {
    --eds-primary: #329b56;
    --eds-secondary: #dd3741;
    --eds-light: #f8f9fa;
    --eds-dark: #212921;
    --eds-soft-green: #dbf0e4;
    --eds-font-family: 'Google Sans', 'Roboto', sans-serif;
    --eds-font-family-body: 'Roboto', sans-serif;
    --eds-border-radius: 0.5rem;
    --eds-jardin-icon-color: #e67e22;
    --eds-primaria-icon-color: var(--eds-secondary);
    --eds-secundaria-icon-color: var(--eds-primary);
}
body {
    font-family: var(--eds-font-family-body);
    color: var(--eds-dark);
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--eds-font-family);
    font-weight: 500;
}
.navbar {
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.navbar-brand {
    font-family: var(--eds-font-family);
    font-weight: 700;
    font-size: 1.5rem;
}
.navbar-brand i {
    color: #FFD43B;
}
.navbar-transparent {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
.navbar-transparent .nav-link {
    color: var(--eds-dark) !important;
}
.navbar-transparent .navbar-brand {
    color: var(--eds-dark) !important;
}

.navbar-transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-scrolled {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
.navbar-scrolled .nav-link {
    color: var(--eds-dark) !important;
}
.navbar-scrolled .navbar-brand {
    color: var(--eds-dark) !important;
}
.hero-section {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.hero-section .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}
.section-padding {
    padding: 4rem 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--eds-secondary-text, #555);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-paragraph {
    font-size: 1.1rem;
    color: var(--eds-secondary-text, #555);
    margin-bottom: 1.2rem;
}
.level-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--eds-border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.level-card .icon-container {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.level-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.level-card p { font-size: 0.95rem; color: var(--eds-secondary-text, #555); flex-grow: 1; }
.level-card .btn { margin-top: 1.5rem; }
.cta-section {
    background: linear-gradient(135deg, var(--eds-primary) 0%, #2a8a4a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}
.cta-section h2 { 
    font-size: 2rem; 
    margin-bottom: 1.5rem; 
    position: relative;
    z-index: 1;
}
.cta-section p { 
    margin-bottom: 2rem; 
    position: relative;
    z-index: 1;
}
.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Animaciones para la sección CTA */
.cta-section img {
    animation: float 3s ease-in-out infinite;
}

.cta-section h2 {
    animation: fadeInUp 0.8s ease-out;
}

.cta-section p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-section form {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Animación flotante para el logo */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animación de entrada desde abajo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efectos hover para los elementos del formulario */
.cta-section input[type="email"] {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-section input[type="email"]:focus {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.cta-section button[type="submit"] {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-section button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-section button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-section button[type="submit"]:hover::before {
    left: 100%;
}

/* Animaciones para los mensajes del formulario */
.cta-section #submitSuccessMessage,
.cta-section #submitErrorMessage {
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de pulso para el botón cuando está cargando */
.cta-section button[type="submit"]:disabled {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}
.contact-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}
.contact-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1);
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.contact-card i {
    font-size: 2.5rem;
    color: var(--eds-primary);
    margin-bottom: 1.5rem;
}
.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--eds-dark);
}
.contact-card p {
    color: #5f6368;
    margin-bottom: 0;
}
.contact-card a {
    color: var(--eds-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-card a:hover {
    color: var(--eds-primary-dark);
    text-decoration: underline;
}
.social-buttons {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.social-button {
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.social-button i {
    font-size: 1.25rem;
}
.social-button.instagram {
    background-color: #E1306C;
    color: white;
}
.social-button.linkedin {
    background-color: #0077B5;
    color: white;
}
.social-button.jardin {
    background-color: var(--eds-jardin-icon-color);
    color: white;
}
.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: white;
}

/* Estilos para el dropdown de Instagram */
.instagram-dropdown {
    position: relative;
    display: inline-block;
}

.instagram-dropdown .dropdown-toggle {
    padding: 0.75rem 0.75rem;
    border-radius: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #E1306C;
    color: white;
    border: none;
    cursor: pointer;
}

.instagram-dropdown .dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: white;
}

.instagram-dropdown .dropdown-toggle i {
    font-size: 1.25rem;
}

.instagram-dropdown .dropdown-toggle .dropdown-arrow {
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.instagram-dropdown.show .dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.instagram-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: block;
}

.instagram-dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
    text-decoration: none;
}

.instagram-dropdown .dropdown-item {
    display: block;
    padding: 0.5rem;
    color: #333;
    text-decoration: none;
}

.instagram-dropdown .dropdown-item:first-child {
    margin-top: 0.5rem;
}

.instagram-dropdown .dropdown-item:last-child {
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.instagram-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #E1306C;
    text-decoration: none;
}

.instagram-dropdown .dropdown-item i {
    margin-right: 0.5rem;
    color: #E1306C;
    text-decoration: none;
}
.footer {
    background-color: var(--eds-dark);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0;
    font-size: 0.9rem;
}

/* Estilos adicionales para completar la funcionalidad */
.masthead {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 35rem;
    padding: 15rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000 100%), url("../assets/img/bg-masthead.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.masthead h1 {
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: 0.8rem;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.masthead h2 {
    max-width: 20rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .masthead h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}

@media (min-width: 992px) {
    .masthead {
        height: 100vh;
        padding: 0;
    }
    .masthead h1 {
        font-size: 6.5rem;
        line-height: 6.5rem;
        letter-spacing: 0.8rem;
    }
    .masthead h2 {
        max-width: 30rem;
        font-size: 1.25rem;
    }
}

/* Estilos para botones adicionales */
.btn-primary2 {
    background-color: #E1306C;
    border-color: #E1306C;
    color: white;
}

.btn-primary2:hover {
    background-color: #c91e5a;
    border-color: #c91e5a;
    color: white;
}

.btn-primary3 {
    background-color: #0077B5;
    border-color: #0077B5;
    color: white;
}

.btn-primary3:hover {
    background-color: #005885;
    border-color: #005885;
    color: white;
}

.btn-primary4 {
    background-color: #e67e22;
    border-color: #e67e22;
    color: white;
}

.btn-primary4:hover {
    background-color: #d35400;
    border-color: #d35400;
    color: white;
}

/* Estilos para secciones adicionales */
.about-section {
    padding-top: 10rem;
    background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.8) 100%);
}

.projects-section {
    padding-top: 10rem;
}

.signup-section {
    position: relative;
    padding: 10rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 75%, #000 100%), url("../assets/img/bg-signup.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.contact-section {
    padding-top: 10rem;
}

.contact-section .card {
    border: 0;
    border-bottom: 0.25rem solid var(--eds-primary);
}

.contact-section .card h4, .contact-section .card .h4 {
    font-size: 0.8rem;
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.contact-section .card hr {
    opacity: 0;
}

.contact-section .social {
    margin-top: 5rem;
}

/* Estilos para blog */
#blog .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

#blog .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

#blog .card-img-top {
    height: 200px;
    object-fit: cover;
}

#blog .card-body {
    padding: 1.5rem;
}

#blog .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#blog .card-text {
    color: var(--eds-text-muted);
    margin-bottom: 1.5rem;
}

#blog .btn2 {
    background-color: var(--eds-primary);
    border-color: var(--eds-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

#blog .btn2:hover {
    background-color: #2a7d47;
    border-color: #2a7d47;
    color: white;
}

#blog .tags {
    margin-bottom: 1rem;
}

#blog .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.tag.tema {
    background-color: #e3f2fd;
    color: #1976d2;
}

#blog .tag.secundaria {
    background-color: #dbf0e4;
    color: #329b56;
}

#blog .tag.primaria {
    background-color: #ffebee;
    color: #dd3741;
}

#blog .tag.inicial {
    background-color: #fff3e0;
    color: #e67e22;
}
.footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .social-icons a { font-size: 1.5rem; margin: 0 0.5rem; color: rgba(255,255,255,0.7); }
.footer .social-icons a:hover { color: #fff; }
.footer h5 { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; }
.footer ul { list-style: none; padding-left: 0; }
.footer ul li { margin-bottom: 0.5rem; }
.btn {
    padding-top: 10px;
    padding-bottom: 10px;
}
.btn-lg {
    padding-top: 14px;
    padding-bottom: 14px;
}
.btn-sm {
    padding-top: 8px;
    padding-bottom: 8px;
}
.btn-primary {
    background-color: var(--eds-primary);
    border-color: var(--eds-primary);
    color: white;
}
.btn-primary:hover {
    background-color: transparent; 
    border-color: white;
    color: rgb(255, 255, 255);
    opacity: 0.7;
}
.btn-outline-light {
    border-color: #fff;
    color: #fff;
}
.btn-outline-light:hover {
    background-color: #fff;
    color: var(--eds-dark);
}
.btn-outline-primary {
    border-color: var(--eds-primary);
    color: var(--eds-primary);
}
.btn-outline-primary:hover {
    background-color: var(--eds-primary);
    color: #fff;
}
.btn-success-eds {
    background-color: #329b56;
    border-color: #329b56;
    color: #fff;
    transition: background 0.2s, border 0.2s, color 0.2s;
}
.btn-success-eds:hover, .btn-success-eds:focus {
    background-color: #43c87a;
    border-color: #43c87a;
    color: #fff;
}
@media (max-width: 991.98px) {
    .navbar-transparent .navbar-collapse {
        background-color: rgba(0,0,0,0.85);
        padding: 1rem;
        border-radius: var(--eds-border-radius);
    }
}
@media (max-width: 767.98px) {
    .hero-section { padding-top: 5rem; padding-bottom: 3rem; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section p { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .footer { text-align: center; }
    .footer .col-md-3, .footer .col-md-2, .footer .col-md-4 { margin-bottom: 2rem; }
}

.contact-card-flex {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(60,64,67,.08);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    min-height: 160px;
    transition: box-shadow 0.2s;
    margin-bottom: 2rem;
    text-decoration: none;
}
.contact-card-flex:hover {
    box-shadow: 0 4px 16px rgba(60,64,67,.16);
}
.contact-card-content {
    flex: 1 1 0;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}
.contact-card-title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: #212921;
}
.contact-card-arrow {
    color: #329b56;
    font-size: 1.5rem;
    margin-top: auto;
    transition: transform 0.2s;
}
.contact-card-flex:hover .contact-card-arrow {
    transform: translateX(4px);
}
.contact-card-img {
    width: 120px;
    object-fit: cover;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    display: block;
}
@media (max-width: 767px) {
    .contact-card-flex {
        flex-direction: column;
        min-height: unset;
    }
    .contact-card-img {
        width: 100%;
        height: 120px;
        border-radius: 0 0 12px 12px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
    }
}
.map-responsive-wrapper {
    overflow: hidden;
    padding-bottom: 75%;
    position: relative;
    height: 0;
}
.map-responsive-wrapper iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}
.navbar-nav {
    gap: 20px;
}
.nav-link {
    display: flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-link .nav-icon {
    margin-right: 8px;
    font-size: 1.1em;
}
.nav-link:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 4px 12px rgba(50, 155, 86, 0.10);
}
@media (max-width: 767px) {
    .hide-mobile {
        display: block !important;
    }
}
/* ESTILOS PARA GACETILLAS */
:root {
    --eds-line-height: 1.7;
    --eds-border-color: #e0e0e0;
    --eds-text-muted: #6c757d;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: var(--eds-soft-green);
    padding: 1rem 0;
    border-bottom: 1px solid var(--eds-border-color);
    margin-top: 80px; /* Compensar el navbar fijo */
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--eds-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--eds-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--eds-text-muted);
}

/* Hero Section para Gacetillas */
.hero-section.blog-hero {
    height: 25vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-section .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 300;
}

/* Article Container */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Article Meta */
.article-meta {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--eds-border-color);
}

.article-date {
    font-size: 0.9rem;
    color: var(--eds-text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tag i {
    font-size: 0.7rem;
    margin-right: 0.25rem;
}
.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.tag.inicial {
    background-color: #fff3e0;
    color: #e67e22;
}
.tag.primaria {
    background-color: #ffebee;
    color: #dd3741;
}
.tag.secundaria {
    background-color: #dbf0e4;
    color: #329b56;
}
.tag.tema {
    background-color: #e3f2fd;
    color: #1976d2;
}
.tag.institucional {
    background-color: #f3e5f5;
    color: #7b1fa2;
}
.tag.inicial i {
    color: #e67e22;
    filter: drop-shadow(0 0 2px rgba(230, 126, 34, 0.3));
}
.tag.primaria i {
    color: #dd3741;
}
.tag.secundaria i {
    color: #329b56;
}
.tag.tema i {
    color: #1976d2;
}
.tag.institucional i {
    color: #7b1fa2;
}
.article-content {
    font-size: 1.1rem;
    line-height: var(--eds-line-height);
    color: #2c3e50;
}
.article-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem 0;
    color: var(--eds-dark);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    color: var(--eds-dark);
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--eds-dark);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    background-color: #f8f9fa;
    border-left: 4px solid var(--eds-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
}

.article-content a {
    color: var(--eds-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: var(--eds-dark);
    text-decoration: underline;
}

/* Article Images */
.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--eds-text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Image Gallery/Carousel */
.image-gallery {
    margin: 3rem 0;
}

.gallery-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-carousel .carousel-item {
    height: 400px;
}

.gallery-carousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.gallery-carousel .carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 1rem;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.gallery-carousel .carousel-caption h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-carousel .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Article Navigation */
.article-navigation {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--eds-border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-links .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--eds-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--eds-border-color);
}

.nav-links .nav-link:hover {
    background-color: var(--eds-primary);
    color: white;
    text-decoration: none;
}

.nav-links .nav-link.disabled {
    color: var(--eds-text-muted);
    pointer-events: none;
    border-color: var(--eds-border-color);
}

/* Gacetillas Index Page */
.gacetillas-hero {
    height: 50vh;
    background: linear-gradient(135deg, var(--eds-primary) 0%, var(--eds-secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.gacetillas-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

.gacetillas-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.gacetillas-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Gacetilla Cards */
.gacetilla-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.gacetilla-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.gacetilla-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.gacetilla-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.gacetilla-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--eds-dark);
    line-height: 1.4;
}

.gacetilla-card .card-text {
    color: var(--eds-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.gacetilla-card .card-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gacetilla-card .card-date {
    font-size: 0.85rem;
    color: var(--eds-text-muted);
    font-weight: 500;
}

.gacetilla-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.gacetilla-card .card-tags .tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

/* Responsive adjustments for gacetillas */
@media (max-width: 767.98px) {
    .hero-section.blog-hero {
        height: 30vh;
        padding: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.2rem;
    }
    
    .article-container {
        padding: 2rem 1rem;
    }
    
    .gacetillas-hero h1 {
        font-size: 2.5rem;
    }
    
    .gacetillas-hero p {
        font-size: 1.1rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-links .nav-link {
        justify-content: center;
    }
}

/* Eliminar hover del botón de reserva */
.reserva-form-container .btn-primary:hover {
    background-color: var(--eds-primary) !important;
    border-color: var(--eds-primary) !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}
.email-domain {
    font-family: 'Courier', monospace;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 2px 6px;
    color: #495057;
    font-size: 0.9em;
}
.inscripciones-cta {
    background: linear-gradient(135deg, #ff6b35 0%, #dd3741 50%, #329b56 100%);
    border-radius: 25px;
    padding: 8px 20px !important;
    margin: 0 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.inscripciones-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.inscripciones-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff5722 0%, #c62828 50%, #2e7d32 100%);
}
.inscripciones-cta:hover::before {
    left: 100%;
}
.inscripciones-cta:hover {
    color: white !important;
}
.inscripciones-cta {
    color: white !important;
}
.navbar-scrolled .inscripciones-cta {
    color: white !important;
}
.navbar.navbar-scrolled .navbar-nav .nav-item .nav-link.inscripciones-cta {
    color: white !important;
}
.navbar.navbar-scrolled .inscripciones-cta,
.navbar.navbar-transparent .inscripciones-cta,
.navbar .inscripciones-cta {
    color: white !important;
}
.inscripciones-cta .nav-icon {
    opacity: 1 !important;
    margin-right: 8px;
    color: white !important;
}
.navbar.navbar-scrolled .navbar-nav .nav-item .nav-link.inscripciones-cta .nav-icon {
    color: white !important;
}
.navbar.navbar-scrolled .inscripciones-cta .nav-icon,
.navbar.navbar-transparent .inscripciones-cta .nav-icon,
.navbar .inscripciones-cta .nav-icon {
    color: white !important;
}
@media (max-width: 767px) {
    .inscripciones-cta {
        margin: 5px 0;
        text-align: center;
        display: block;
    }
}
:root {
    --eds-primary: #329b56;
    --eds-secondary: #dd3741;
    --eds-light: #f8f9fa;
    --eds-dark: #212921;
    --eds-soft-green: #dbf0e4; 
    --eds-font-family: 'Google Sans', 'Roboto', sans-serif;
    --eds-font-family-body: 'Roboto', sans-serif;
    --eds-border-radius: 0.5rem;
    --eds-jardin-icon-color: #e67e22;
    --eds-primaria-icon-color: var(--eds-secondary);
    --eds-secundaria-icon-color: var(--eds-primary);
}
html {
    overflow-x: hidden;
}
body {
    font-family: var(--eds-font-family-body);
    color: var(--eds-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--eds-font-family);
    font-weight: 500;
}
.navbar {
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.navbar-brand {
    font-family: var(--eds-font-family);
    font-weight: 700;
    font-size: 1.5rem;
}
.navbar-brand i {
    color: #FFD43B;
}
.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
}
.navbar-transparent .nav-link {
    color: white !important;
}
.navbar-transparent .navbar-brand {
    color: white !important;
}
.navbar-transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-scrolled {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
.navbar-scrolled .nav-link {
    color: var(--eds-dark) !important;
}
.navbar-scrolled .navbar-brand {
    color: var(--eds-dark) !important;
}
.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.hero-section {
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-background.active {
    opacity: 1; 
}
.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.hero-section .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}
.section-padding {
    padding: 4rem 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--eds-secondary-text, #555);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.level-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--eds-border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.level-card .icon-container {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.level-card h3 { 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
}
.level-card p { 
    font-size: 0.95rem; 
    color: var(--eds-secondary-text, #555); 
    flex-grow: 1; 
}
.level-card .btn { 
    margin-top: 1.5rem; 
}
.level-card .jardin-icon { 
    color: var(--eds-jardin-icon-color); 
}
.level-card .primaria-icon { 
    color: var(--eds-primaria-icon-color); 
}
.level-card .secundaria-icon { 
    color: var(--eds-secundaria-icon-color); 
}
#noticias {
    background-color: var(--eds-soft-green); 
}
#noticias .img-fluid.rounded { 
    box-shadow: none !important;
}
.blog-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
    box-shadow: 0 2px 8px rgba(60,64,67,.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    box-shadow: 0 4px 16px rgba(60,64,67,.16);
    transform: translateY(-4px);
}
.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
    display: block;
}
.blog-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
}
.blog-card .card-title {
    font-size: 1.2rem;
    font-weight: 500;
}
.blog-card-arrow {
    color: #329b56;
    font-size: 1.5rem;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    transition: transform 0.2s;
    display: inline-block;
}
.blog-card:hover .blog-card-arrow {
    transform: translateX(4px);
}

.blog-card.bitacora-featured {
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dd3741;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cta-section {
    background-color: var(--eds-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}
.cta-section h2 { 
    font-size: 2rem; 
    margin-bottom: 1.5rem; 
}
.cta-section p { 
    margin-bottom: 2rem; 
}
.contact-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}
.contact-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1);
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.contact-card i {
    font-size: 2.5rem;
    color: var(--eds-primary);
    margin-bottom: 1.5rem;
}
.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--eds-dark);
}
.contact-card p {
    color: #5f6368;
    margin-bottom: 0;
}
.contact-card a {
    color: var(--eds-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-card a:hover {
    color: var(--eds-primary-dark);
    text-decoration: underline;
}
.social-buttons {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.social-button {
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.social-button i {
    font-size: 1.25rem;
}
.social-button.instagram {
    background-color: #E1306C;
    color: white;
}
.social-button.linkedin {
    background-color: #0077B5;
    color: white;
}
.social-button.jardin {
    background-color: var(--eds-jardin-icon-color);
    color: white;
}
.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: white;
}
.footer {
    background-color: var(--eds-dark);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0;
    font-size: 0.9rem;
}
.footer a { 
    color: rgba(255,255,255,0.9); 
    text-decoration: none; 
}
.footer a:hover { 
    color: #fff; 
    text-decoration: underline; 
}
.footer .social-icons a { 
    font-size: 1.5rem; 
    margin: 0 0.5rem; 
    color: rgba(255,255,255,0.7); 
}
.footer .social-icons a:hover { 
    color: #fff; 
}
.footer h5 { 
    color: #fff; 
    margin-bottom: 1rem; 
    font-size: 1.1rem; 
}
.footer ul { 
    list-style: none; 
    padding-left: 0; 
}
.footer ul li { 
    margin-bottom: 0.5rem; 
}
.btn {
    padding-top: 10px;
    padding-bottom: 10px;
}

.btn-lg {
    padding-top: 14px;
    padding-bottom: 14px;
}
.btn-sm {
    padding-top: 8px;
    padding-bottom: 8px;
}
.btn-primary {
    background-color: var(--eds-primary);
    border-color: var(--eds-primary);
    color: white;
}
.btn-primary:hover {
    background-color: darken(var(--eds-primary), 10%);
    border-color: darken(var(--eds-primary), 10%);
    opacity: 0.9;
    border-color: white;
}
.btn-secondary {
    background-color: var(--eds-secondary);
    border-color: var(--eds-secondary);
}
.btn-secondary:hover {
    background-color: darken(var(--eds-secondary), 10%);
    border-color: darken(var(--eds-secondary), 10%);
    opacity: 0.9;
}
.btn-outline-light {
    border-color: #fff;
    color: #fff;
}
.btn-outline-light:hover {
    background-color: #fff;
    color: var(--eds-dark);
}

.btn-outline-primary {
    border-color: var(--eds-primary);
    color: var(--eds-primary);
}

.btn-outline-primary:hover {
    background-color: var(--eds-primary);
    color: #fff;
}

#trabaja .img-fluid {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--eds-border-radius);
}

.btn-outline-primary {
    --bs-btn-color: #329b56;
    --bs-btn-border-color: #329b56;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #329b56;
    --bs-btn-hover-border-color: #329b56;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #329b56;
    --bs-btn-active-border-color: #329b56;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #329b56;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #329b56;
    --bs-gradient: none;
}

.btn-primary {
    --bs-btn-active-bg: #329b56;
    --bs-btn-active-border-color: #329b56;
}

.btn-primary-green-hover:hover {
    background-color: var(--eds-primary) !important;
    border-color: var(--eds-primary) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: transparent; 
    border-color: white;
    color: rgb(255, 255, 255);
    opacity: 0.7;
}

@media (max-width: 991.98px) {
    .navbar-transparent .navbar-collapse {
        background-color: rgba(0,0,0,0.85);
        padding: 1rem;
        border-radius: var(--eds-border-radius);
    }
}

@media (max-width: 767.98px) {
    .hero-section { 
        padding-top: 5rem; 
        padding-bottom: 3rem; 
    }
    .hero-section h1 { 
        font-size: 2.2rem; 
    }
    .hero-section p { 
        font-size: 1rem; 
    }
    .section-title { 
        font-size: 2rem; 
    }
    .footer { 
        text-align: center; 
    }
    .footer .col-md-3, .footer .col-md-2, .footer .col-md-4 { 
        margin-bottom: 2rem; 
    }
}

.contact-card-flex {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(60,64,67,.08);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    min-height: 160px;
    transition: box-shadow 0.2s;
    margin-bottom: 2rem;
    text-decoration: none;
}

.contact-card-flex:hover {
    box-shadow: 0 4px 16px rgba(60,64,67,.16);
}

.contact-card-content {
    flex: 1 1 0;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}

.contact-card-title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: #212921;
}

.contact-card-arrow {
    color: #329b56;
    font-size: 1.5rem;
    margin-top: auto;
    transition: transform 0.2s;
}

.contact-card-flex:hover .contact-card-arrow {
    transform: translateX(4px);
}

.contact-card-img {
    width: 120px;
    object-fit: cover;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    display: block;
}

@media (max-width: 767px) {
    .contact-card-flex {
        flex-direction: row;
        min-height: 160px;
        overflow: hidden;
    }
    .contact-card-content {
        flex: 1;
        padding: 1rem;
    }
    .contact-card-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .contact-card-img {
        width: 120px;
        height: 100%;
        border-radius: 0 12px 12px 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
        object-fit: cover;
        display: block !important;
    }
    .hide-mobile {
        display: block !important;
    }
}

.map-responsive-wrapper {
    overflow: hidden;
    padding-bottom: 75%;
    position: relative;
    height: 0;
}

.map-responsive-wrapper iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

.levels-container {
    position: relative;
    min-width: 200px;
    height: 48px;
}

.level-pill {
    display: flex;
    align-items: center;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.8s ease;
    box-shadow: none;
    background: #f3f3f3;
    color: #333;
    min-width: 180px;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
}

.level-pill.active {
    opacity: 1;
    box-shadow: 0 4px 16px rgba(60,64,67,.12);
    z-index: 2;
}

.orange-pill {
    background: #ffe5c2;
    color: #e67e22;
}

.red-pill {
    background: #ffd6db;
    color: #dd3741;
}

.green-pill {
    background: #dbf0e4;
    color: #329b56;
}

.navbar-nav {
    gap: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-link .nav-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

.nav-link:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 4px 12px rgba(50, 155, 86, 0.10);
}

@media (max-width: 767px) {
    .hide-mobile {
        display: block !important;
    }
    .hero-section .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hero-section .d-flex.justify-content-center {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    .hero-section .d-flex.justify-content-center > div:first-child {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem;
    }
    .levels-container {
        min-width: auto !important;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .level-pill {
        min-width: auto !important;
        width: 100%;
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
    .level-pill i {
        font-size: 1.8rem !important;
        margin-right: 8px !important;
    }
}
.inscripciones-banner {
    background: linear-gradient(135deg, #329b56 0%, #dd3741 50%, #e67e22 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 3rem;
    margin-top: 0px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.inscripciones-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="circles" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="8" fill="rgba(255,255,255,0.15)"/><circle cx="150" cy="80" r="12" fill="rgba(255,255,255,0.12)"/><circle cx="80" cy="150" r="6" fill="rgba(255,255,255,0.18)"/><circle cx="180" cy="180" r="10" fill="rgba(255,255,255,0.14)"/><circle cx="30" cy="120" r="4" fill="rgba(255,255,255,0.16)"/><circle cx="120" cy="30" r="7" fill="rgba(255,255,255,0.13)"/><circle cx="200" cy="100" r="5" fill="rgba(255,255,255,0.17)"/><circle cx="100" cy="200" r="9" fill="rgba(255,255,255,0.11)"/></pattern></defs><rect width="200" height="200" fill="url(%23circles)"/></svg>');
    opacity: 0.6;
    border-radius: 20px;
}
.banner-content {
    position: relative;
    z-index: 2;
}
.banner-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.banner-subtitle {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-banner-primary {
    background: white;
    color: #dd3741;
    border: 2px solid white;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-banner-primary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.btn-banner-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.btn-banner-secondary:hover {
    background: white;
    color: #dd3741;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
@media (max-width: 767px) {
    .inscripciones-banner {
        padding: 3rem 0;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-banner-primary,
    .btn-banner-secondary {
        width: 100%;
        max-width: 280px;
    }
}
.inscripcion-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}
.inscripcion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.inscripcion-card h3 {
    color: var(--eds-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}
.inscripcion-card p {
    color: var(--eds-text-muted, #6c757d);
    line-height: 1.6;
}
.inscripcion-card ul li {
    margin-bottom: 0.5rem;
    color: var(--eds-dark);
    font-weight: 500;
}
.info-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.info-card h5 {
    color: var(--eds-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--eds-text-muted, #6c757d);
    margin-bottom: 0;
}

/* Responsive para inscripciones */
@media (max-width: 767px) {
    .inscripcion-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
}