/* =====================================================
   TOGO SOLIDARITÉ - ESTILOS GENERALES
   ===================================================== */

:root {
    --togo-green: #087f3f;
    --togo-yellow: #f5c400;
    --togo-red: #d62828;
    --togo-dark: #17231d;
    --togo-text: #333333;
    --togo-light: #f7f8f5;
    --togo-white: #ffffff;
    --togo-radius: 14px;
    --togo-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.togo-section {
    width: 100%;
    padding: 80px 20px;
    box-sizing: border-box;
}

.togo-container {
    max-width: 1180px;
    margin: 0 auto;
}

.togo-section-light {
    background: var(--togo-light);
}

.togo-section-dark {
    background: var(--togo-dark);
    color: white;
}

.togo-title {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 20px;
    font-weight: 800;
    color: var(--togo-dark);
}

.togo-section-dark .togo-title {
    color: white;
}

.togo-subtitle {
    font-size: 19px;
    line-height: 1.7;
    color: #666;
    max-width: 760px;
    margin: 0 auto 45px;
}

.togo-section-dark .togo-subtitle {
    color: #e5e5e5;
}

.togo-center {
    text-align: center;
}

.togo-btn {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    transition: all .25s ease;
    margin: 5px;
}

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

.togo-btn-primary:hover {
    background: #056331;
    transform: translateY(-2px);
}

.togo-btn-yellow {
    background: var(--togo-yellow);
    color: #222 !important;
}

.togo-btn-yellow:hover {
    background: #e0b200;
    transform: translateY(-2px);
}

.togo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.togo-card {
    background: white;
    padding: 30px;
    border-radius: var(--togo-radius);
    box-shadow: var(--togo-shadow);
    height: 100%;
    box-sizing: border-box;
}

.togo-card h3 {
    color: var(--togo-green);
    font-size: 22px;
    margin-top: 0;
}

.togo-card p,
.togo-card li {
    color: var(--togo-text);
    line-height: 1.7;
}

.togo-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.togo-list {
    padding-left: 20px;
    line-height: 1.9;
}

.togo-highlight {
    border-left: 5px solid var(--togo-yellow);
    padding: 20px 25px;
    background: white;
    box-shadow: var(--togo-shadow);
    border-radius: 0 var(--togo-radius) var(--togo-radius) 0;
}

@media (max-width: 900px) {
    .togo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .togo-title {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .togo-section {
        padding: 55px 18px;
    }

    .togo-grid {
        grid-template-columns: 1fr;
    }

    .togo-title {
        font-size: 30px;
    }

    .togo-subtitle {
        font-size: 17px;
    }
}

/* =========================================================
   SELECTOR DE IDIOMAS - POLYLANG
   ========================================================= */

.lang-switcher {
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-left: auto;
}

.lang-switcher ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.lang-switcher li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-switcher li + li::before {
    content: "|";
    margin: 0 10px;
    color: #a5b3ae;
}

.lang-switcher a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.lang-switcher a:hover {
    color: var(--green);
}

.lang-switcher .current-lang a {
    color: var(--green);
}

.lang-switcher img {
    width: 18px;
    height: auto;
    display: inline-block;
}


/* Móvil */

@media(max-width:900px) {

    .lang-switcher {
        margin-left: 0;
    }

    .lang-switcher a {
        font-size: 12px;
    }

}