/* Personal CSS Styles */
/* ----- General Styles ----- */
:root {
    --white: #ffffff;
    --black: #000000;
    --main-blue: #0b2341;
    --main-grey: #758390;
    --main-black: #333333;
    --main-yellow: #c5a059;
    --whatsapp-header-icon: #25d366;
}
html, body {
    font-size: 16px;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
body::-webkit-scrollbar {
    width: 7px;
}
body::-webkit-scrollbar-thumb {
    background-color: var(--main-yellow, #c5a059);
    border-radius: 1rem;
}
body::-webkit-scrollbar-track {
    background-color: var(--main-blue, #0b2341)
}
a:focus-visible {
    outline: 0;
}
img {
    max-width: 100%;
    height: auto;
}
/* ----- Topbar ----- */
#topbar {
    margin: 0;
    background-color: var(--main-blue, #0b2341);
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--white, #ffffff);
    border-bottom: 2px solid var(--main-yellow, #c5a059);
}
#topbar .container > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#topbar .container > div:first-child > div {
    display: flex;
    align-items: center;
}
#topbar .container > div:first-child small {
    display: flex;
    align-items: center;
}
#topbar span {
    color: rgba(255, 255, 255, 0.3);
}
#topbar a {
    color: var(--white, #ffffff);
    text-decoration: none;
}
#topbar i.bi-whatsapp {
    color: var(--whatsapp-header-icon, #25d366);
}
@media screen and (max-width: 575.99px) {
    #topbar {
        padding: 0.2rem;
    }
    #topbar .container > div:last-child small,
    #topbar .container > div:last-child a {
        font-size: 0.8rem;
    }
    #topbar i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #topbar {
        padding: 0.2rem;
    }
    #topbar .container > div:last-child small,
    #topbar .container > div:last-child a {
        font-size: 0.9rem;
    }
    #topbar i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }
}
@media screen and (max-width: 767.99px) {
    #topbar .container > div:first-child {
        display: none;
    }
}
@media screen and (min-width: 768px) {
    #topbar .container > div:last-child {
        display: none;
    }
    #topbar .container > div:first-child small:hover,
    #topbar .container > div:first-child a:hover {
        color: var(--main-yellow, #c5a059);
    }

}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #topbar {
        padding: 0.2rem;
    }
    #topbar .container {
        max-width: 758px;
    }
    #topbar .container > div:first-child small,
    #topbar .container > div:first-child a {
        font-size: 0.6rem;
    }
    #topbar .container > div:first-child > div {
        gap: 0.4rem;
    }
    #topbar i {
        margin-right: 0.3rem;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #topbar {
        padding: 0.25rem;
    }
    #topbar .container > div:first-child small,
    #topbar .container > div:first-child a {
        font-size: 0.7rem;
    }
    #topbar .container > div:first-child > div {
        gap: 0.6rem;
    }
    #topbar i {
        margin-right: 0.3rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #topbar {
        padding: 0.3rem;
    }
    #topbar .container > div:first-child small,
    #topbar .container > div:first-child a {
        font-size: 0.75rem;
    }
    #topbar .container > div:first-child > div {
        gap: 0.7rem;
    }
    #topbar i {
        margin-right: 0.35rem;
    }
}
@media screen and (min-width: 1400px) {
    #topbar {
        padding: 0.4rem;
    }
    #topbar .container > div:first-child small,
    #topbar .container > div:first-child a {
        font-size: 0.8rem;
    }
    #topbar .container > div:first-child > div {
        gap: 0.8rem;
    }
    #topbar i {
        margin-right: 0.4rem;
    }
}
/* ----- Navbar ----- */
#navbar {
    background-color: var(--white, #ffffff);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    font-family: "Plus Jakarta Sans", sans-serif;
    border-bottom: 1px solid var(--main-blue, #0b2341);
    box-shadow: 0 3px 6px rgba(51, 51, 51, 0.3);
}
#navbar.navbar {
    padding: 4px;
}
#navbar .navbar-toggler {
    width: 30px;
    height: 24px;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    position: relative;
    display: inline-block;
}
#navbar .navbar-toggler .navbar-toggler-icon {
    background-image: none;
    background-color: var(--main-blue, #0b2341);
    width: 100%;
    height: 2px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    margin: 0;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}
#navbar .navbar-toggler .navbar-toggler-icon::before,
#navbar .navbar-toggler .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--main-blue, #0b2341);
    transform-origin: center;
    transition: transform 0.3s ease, top 0.3s ease, background-color 0.3s ease;
}
#navbar .navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
    transform: none;
}
#navbar .navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
    transform: none;
}
#navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}
#navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
    background-color: var(--main-yellow, #c5a059)
}
#navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: var(--main-yellow, #c5a059)
}
#navbar .navbar-toggler:focus-visible {
    outline: 0;
}
#navbar ul {
    margin-left: auto;
}
#navbar ul .active {
    color: var(--main-blue, #0b2341);
    font-weight: bold;
}
#navbar ul li:not(:last-child) {
    color: var(--main-grey, #758390);
    font-weight: 500;
}
#navbar ul li:not(:last-child) a:hover {
    color: var(--main-yellow, #c5a059);
}
#navbar ul,
#navbar .btn {
    font-size: 0.9rem;
}
#navbar .btn {
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
    font-weight: 500;
    border-radius: 0.375rem;
    border: 2px solid var(--main-yellow, #c5a059);
    box-shadow: 0 3px 6px rgba(197, 160, 89, 0.3);
}
#navbar .btn:hover {
    background-color: transparent;
    color: var(--main-yellow, #c5a059);
}
#navbar i {
    margin-right: 0.4rem;
}
@media screen and (max-width: 575.99px) {
    #navbar .navbar-brand img {
        width: 130px;
        height: 33.28px;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #navbar .navbar-brand img {
        width: 140px;
        height: 35.84px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #navbar .navbar-brand img {
        width: 150px;
        height: 38.4px;
    }
}
@media screen and (max-width: 991.99px) {
    #navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white, #ffffff);
        border-bottom: 2px solid var(--main-yellow, #c5a059);
        box-shadow: 0 10px 20px rgba(51, 51, 51, 0.2);
    }
    #navbar .navbar-collapse ul {
        margin: 0;
        padding: 0.5rem 1.5rem 0;
    }
    #navbar ul li:not(:last-child) {
        border-bottom: 1px solid #eef0f3;
    }
    #navbar .btn {
        margin: 15px 0;
    }
}
@media screen and (min-width: 992px) {
    #navbar .navbar-toggler {
        display: none;
    }
    #navbar ul {
        align-items: center;
    }
    #navbar ul {
        gap: 1rem;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #navbar .navbar-brand img {
        width: 160px;
        height: 40.96px;
    }
    #navbar .btn {
        padding: 0.25rem 0.6rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #navbar .navbar-brand img {
        width: 180px;
        height: 46.08px;
    }
    #navbar .btn {
        padding: 0.3rem 0.6rem;
    }
}
@media screen and (min-width: 1400px) {
    #navbar .navbar-brand img {
        width: 200px;
        height: 51.2px;
    }
    #navbar .btn {
        padding: 0.35rem 0.7rem;
    }
}
/* ----- Hero ----- */
#hero-section {
    background: linear-gradient(rgba(11, 35, 65, 0.65), rgba(11, 35, 65, 0.85)), url('../images/hero-image.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white, #ffffff);
    font-family: "Plus Jakarta Sans", sans-serif;
}
#hero-section .container .row {
    align-items: center;
}
#hero-section span.badge {
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
    box-shadow: 0 3px 6px rgba(197, 160, 89, 0.3);
    border-radius: 50rem;
    font-weight: bold;
    text-transform: uppercase;
}
#hero-section h1 {
    font-weight: bold;
}
#hero-section p {
    color: var(--white, #ffffff);
    font-weight: 300;
}
#hero-section .container .row > div:first-child > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
}
#hero-section .container .row > div:first-child > div a:first-child {
    border: 2px solid var(--main-yellow, #c5a059);
    background-color: var(--main-yellow, #c5a059);
}
#hero-section .container .row > div:first-child > div a:last-child {
    border: 2px solid var(--white, #ffffff);
    background-color: transparent;
}
#hero-section .container .row > div:first-child > div a:first-child:hover {
    background-color: transparent;
    color: var(--main-yellow, #c5a059);
}
#hero-section .container .row > div:first-child > div a:last-child:hover {
    background-color: var(--white, #ffffff);
    color: var(--main-blue, #0b2341);
}
#hero-section .container .row > div:first-child > div a:first-child,
#hero-section .container .row > div:first-child > div a:last-child {
    border-radius: 0.5rem;
    color: var(--white, #ffffff);
    font-weight: 600;
}
#hero-section .container .row > div:last-child > div {
    background-color: rgba(197, 160, 89, 0.75);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);

}
#hero-section .form-title {
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}
#hero-section .form-control:focus {
    box-shadow: 0 0 0 .25rem var(--main-yellow, #c5a059) !important;
    border-color: var(--main-yellow, #c5a059);
}
#hero-section .form-control:focus-visible {
    outline: 1px solid var(--main-yellow, #c5a059) !important;
}
#hero-section textarea {
    resize: none;
}
#hero-section button {
    width: 100%;
    border: 2px solid var(--white, #ffffff);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    font-weight: 600;
}
#hero-section button:hover {
    border: 2px solid var(--main-blue, #0b2341);
    background-color: var(--white, #ffffff);
    color: var(--main-blue, #0b2341);
}
@media screen and (max-width: 575.99px) {
    #hero-section {
        padding: 2.5rem 0;
    }
    #hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    #hero-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    #hero-section .container .row > div:first-child > div {
        flex-direction: column;
    }
    #hero-section .form-title {
        font-size: 1.25rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #hero-section {
        padding: 3rem 0;
    }
    #hero-section h1 {
        font-size: 2.75rem;
        margin-bottom: 1.5rem;
    }
    #hero-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    #hero-section .form-title {
        font-size: 1.375rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #hero-section {
        padding: 4rem 0;
    }
    #hero-section h1 {
        font-size: 2.75rem;
        margin-bottom: 1.5rem;
    }
    #hero-section p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    #hero-section .form-title {
        font-size: 1.5rem;
    }
}
@media screen and (max-width: 991.99px) {
    #hero-section {
        text-align: center;
    }
    #hero-section span.badge {
        margin-bottom: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
    #hero-section .container .row > div:first-child > div a:first-child,
    #hero-section .container .row > div:first-child > div a:last-child {
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
    }
    #hero-section .container .row > div:first-child > div {
        margin-bottom: 30px;
    }
}
@media screen and (min-width: 992px) {
    #hero-section {
        text-align: left;
    }
    #hero-section .container .row > div:first-child > div {
        justify-content: flex-start;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #hero-section {
        padding: 5rem 0;
    }
    #hero-section span.badge {
        margin-bottom: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
    #hero-section h1 {
        font-size: 2.75rem;
        margin-bottom: 1.5rem;
    }
    #hero-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    #hero-section .container .row > div:first-child > div a:first-child,
    #hero-section .container .row > div:first-child > div a:last-child {
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }
    #hero-section .form-title {
        font-size: 1.25rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #hero-section {
        padding: 5.5rem 0;
    }
    #hero-section span.badge {
        margin-bottom: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    #hero-section h1 {
        font-size: 3rem;
        margin-bottom: 1.75rem;
    }
    #hero-section p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    #hero-section .container .row > div:first-child > div a:first-child,
    #hero-section .container .row > div:first-child > div a:last-child {
        padding: 0.5rem 1rem;
        font-size: 1.125rem;
    }
    #hero-section .form-title {
        font-size: 1.375rem;
    }
}
@media screen and (min-width: 1400px) {
    #hero-section {
        padding: 6rem 0;
    }
    #hero-section span.badge {
        margin-bottom: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    #hero-section h1 {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }
    #hero-section p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    #hero-section .container .row > div:first-child > div a:first-child,
    #hero-section .container .row > div:first-child > div a:last-child {
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
    }
    #hero-section .form-title {
        font-size: 1.5rem;
    }
}
/* ----- Quiénes somos & Filosofía ----- */
#quienes-somos,
#filosofia {
    font-family: "Plus Jakarta Sans", sans-serif;
    scroll-margin-top: 70px;
}
#quienes-somos .section-label,
#filosofia .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--main-yellow, #c5a059);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
#quienes-somos .section-label::before,
#filosofia .section-label::before {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--main-yellow, #c5a059);
}
#quienes-somos h2,
#filosofia h2 {
    font-weight: 800;
    line-height: 1.2;
}
#quienes-somos h2 span,
#filosofia h2 span {
    color: var(--main-yellow, #c5a059);
}
/* ----- Quiénes somos ----- */
#quienes-somos {
    background-color: var(--white, #ffffff);
    color: var(--main-black, #333333);
}
#quienes-somos .container > .row:first-child {
    align-items: center;
}
#quienes-somos h2 {
    color: var(--main-blue, #0b2341);
}
#quienes-somos p {
    color: var(--main-grey, #758390);
    line-height: 1.8;
}
#quienes-somos p.about-lead {
    color: var(--main-blue, #0b2341);
    font-weight: 600;
}
#quienes-somos .about-image {
    position: relative;
}
#quienes-somos .about-image::before {
    content: "";
    position: absolute;
    top: -1.25rem;
    left: -1.25rem;
    width: 70%;
    height: 70%;
    border: 3px solid var(--main-yellow, #c5a059);
    border-radius: 0.5rem;
    z-index: 0;
}
#quienes-somos .about-image::after {
    content: "";
    position: absolute;
    right: -1.25rem;
    bottom: -1.25rem;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--main-yellow, #c5a059) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.5;
    z-index: 0;
}
#quienes-somos .about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(11, 35, 65, 0.2);
}
#quienes-somos .about-image-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    border-left: 4px solid var(--main-yellow, #c5a059);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2rem rgba(11, 35, 65, 0.35);
}
#quienes-somos .about-image-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--main-yellow, #c5a059);
}
#quienes-somos .about-image-card strong {
    display: block;
    font-weight: 700;
}
#quienes-somos .about-image-card span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
}
#quienes-somos blockquote {
    position: relative;
    margin: 1.5rem 0 0;
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    background-color: rgba(197, 160, 89, 0.08);
    border-left: 4px solid var(--main-yellow, #c5a059);
    border-radius: 0 0.5rem 0.5rem 0;
}
#quienes-somos blockquote i {
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--main-yellow, #c5a059);
}
#quienes-somos blockquote p {
    margin: 0;
    color: var(--main-blue, #0b2341);
    font-weight: 600;
    font-style: italic;
}
#quienes-somos .about-values {
    row-gap: 1.5rem;
    text-align: center;
}
#quienes-somos .about-value-card {
    position: relative;
    height: 100%;
    padding: 2rem 1.5rem;
    background-color: var(--white, #ffffff);
    border: 1px solid #eef0f3;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#quienes-somos .about-value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--main-yellow, #c5a059);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
#quienes-somos .about-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
#quienes-somos .about-value-card:hover::before {
    transform: scaleX(1);
}
#quienes-somos .about-value-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--main-yellow, #c5a059);
    font-size: 1.6rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#quienes-somos .about-value-card:hover i {
    background-color: var(--main-blue, #0b2341);
    color: var(--main-yellow, #c5a059);
}
#quienes-somos .about-value-card h3 {
    margin-bottom: 0.75rem;
    color: var(--main-blue, #0b2341);
    font-size: 1.15rem;
    font-weight: 700;
}
#quienes-somos .about-value-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
/* ----- Nuestra filosofía ----- */
#filosofia {
    position: relative;
    overflow: hidden;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
}
#filosofia::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.18), transparent 70%);
    pointer-events: none;
}
#filosofia .container {
    position: relative;
    z-index: 1;
}
#filosofia .filosofia-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
#filosofia .filosofia-header .section-label::after {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--main-yellow, #c5a059);
}
#filosofia .filosofia-header p {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    line-height: 1.8;
}
#filosofia .filosofia-highlight {
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2), rgba(197, 160, 89, 0.05));
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 0.75rem;
    text-align: center;
}
#filosofia .filosofia-highlight i {
    position: absolute;
    top: -1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
    font-size: 1.75rem;
    box-shadow: 0 3px 6px rgba(197, 160, 89, 0.3);
}
#filosofia .filosofia-highlight p {
    margin: 0;
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
}
#filosofia .filosofia-pillars {
    row-gap: 1.5rem;
}
#filosofia .filosofia-pillar {
    position: relative;
    height: 100%;
    padding: 2rem 1.75rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
#filosofia .filosofia-pillar:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--main-yellow, #c5a059);
}
#filosofia .filosofia-pillar span {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(197, 160, 89, 0.5);
}
#filosofia .filosofia-pillar i {
    display: block;
    margin-bottom: 1rem;
    color: var(--main-yellow, #c5a059);
    font-size: 2rem;
}
#filosofia .filosofia-pillar h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}
#filosofia .filosofia-pillar p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}
#filosofia .filosofia-compromiso {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background-color: var(--white, #ffffff);
    color: var(--main-blue, #0b2341);
    border-radius: 0.75rem;
    border-bottom: 4px solid var(--main-yellow, #c5a059);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}
#filosofia .filosofia-compromiso h3 {
    margin-bottom: 0.4rem;
    font-weight: 800;
}
#filosofia .filosofia-compromiso p {
    margin: 0;
    color: var(--main-grey, #758390);
}
#filosofia .filosofia-compromiso ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
#filosofia .filosofia-compromiso li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border: 2px solid var(--main-yellow, #c5a059);
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#filosofia .filosofia-compromiso li i {
    color: var(--main-yellow, #c5a059);
    transition: color 0.3s ease;
}
#filosofia .filosofia-compromiso li:hover {
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
}
#filosofia .filosofia-compromiso li:hover i {
    color: var(--white, #ffffff);
}
@media screen and (max-width: 575.99px) {
    #quienes-somos,
    #filosofia {
        padding: 6rem 0 3rem;
    }
    #quienes-somos h2,
    #filosofia h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    #quienes-somos p {
        font-size: 0.95rem;
    }
    #quienes-somos .about-image {
        margin: 1.25rem 0.5rem 3.5rem 1.25rem;
    }
    #quienes-somos .about-image img {
        aspect-ratio: 4 / 3;
    }
    #quienes-somos .about-image-card {
        left: 0.75rem;
        right: 0.75rem;
        bottom: -2rem;
        padding: 0.85rem 1rem;
    }
    #quienes-somos .about-image-card i {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    #quienes-somos .about-image-card span {
        font-size: 0.8rem;
    }
    #quienes-somos blockquote {
        padding: 3rem 1.25rem 1.25rem 1.25rem;
    }
    #quienes-somos .about-values {
        margin-top: 2.5rem;
    }
    #filosofia .filosofia-highlight {
        margin-top: 3.5rem;
        margin-bottom: 2.5rem;
        padding: 2.5rem 1.25rem 1.75rem;
    }
    #filosofia .filosofia-highlight p {
        font-size: 1.25rem;
    }
    #filosofia .filosofia-compromiso {
        margin-top: 2.5rem;
        padding: 1.75rem 1.25rem;
    }
    #filosofia .filosofia-compromiso h3 {
        font-size: 1.35rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #quienes-somos,
    #filosofia {
        padding: 6rem 0 4rem;
    }
    #quienes-somos h2,
    #filosofia h2 {
        font-size: 2.1rem;
        margin-bottom: 1.5rem;
    }
    #quienes-somos .about-image {
        margin: 1.25rem 1.25rem 3rem 1.25rem;
    }
    #quienes-somos .about-image img {
        aspect-ratio: 16 / 10;
    }
    #quienes-somos .about-image-card {
        right: 1.5rem;
        bottom: -1.75rem;
        padding: 1rem 1.25rem;
    }
    #quienes-somos .about-image-card i {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    #quienes-somos .about-values {
        margin-top: 3rem;
    }
    #filosofia .filosofia-highlight {
        margin-top: 3.5rem;
        margin-bottom: 3rem;
        padding: 2.75rem 2rem 2rem;
    }
    #filosofia .filosofia-highlight p {
        font-size: 1.5rem;
    }
    #filosofia .filosofia-compromiso {
        margin-top: 3rem;
        padding: 2rem;
    }
    #filosofia .filosofia-compromiso h3 {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #quienes-somos,
    #filosofia {
        padding: 6rem 0 4rem;
    }
    #quienes-somos h2,
    #filosofia h2 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }
    #quienes-somos .about-image {
        margin: 1.25rem 1.25rem 3rem 1.25rem;
    }
    #quienes-somos .about-image img {
        aspect-ratio: 16 / 9;
    }
    #quienes-somos .about-image-card {
        right: 2rem;
        bottom: -1.75rem;
        padding: 1.1rem 1.5rem;
    }
    #quienes-somos .about-image-card i {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    #quienes-somos .about-values {
        margin-top: 3.5rem;
    }
    #filosofia .filosofia-highlight {
        margin-top: 4rem;
        margin-bottom: 3.5rem;
        padding: 3rem 2.5rem 2.25rem;
    }
    #filosofia .filosofia-highlight p {
        font-size: 1.75rem;
    }
    #filosofia .filosofia-compromiso {
        margin-top: 3.5rem;
        padding: 2.25rem 2.5rem;
    }
    #filosofia .filosofia-compromiso h3 {
        font-size: 1.6rem;
    }
}
@media screen and (max-width: 991.99px) {
    #quienes-somos .container > .row:first-child > div:last-child {
        text-align: left;
    }
    #filosofia .filosofia-compromiso {
        flex-direction: column;
        text-align: center;
    }
    #filosofia .filosofia-compromiso ul {
        justify-content: center;
    }
}
@media screen and (min-width: 992px) {
    #quienes-somos .about-image {
        margin: 1.25rem 2rem 1.25rem 1.25rem;
    }
    #quienes-somos .about-image img {
        aspect-ratio: 4 / 5;
    }
    #quienes-somos .about-image-card {
        right: -1.5rem;
        bottom: 2.5rem;
        padding: 1.25rem 1.5rem;
    }
    #quienes-somos .about-image-card i {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #quienes-somos,
    #filosofia {
        padding: 2.5rem 0 3rem;
    }
    #quienes-somos h2,
    #filosofia h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    #quienes-somos p {
        font-size: 0.95rem;
    }
    #quienes-somos .about-values {
        margin-top: 4rem;
    }
    #filosofia .filosofia-highlight {
        margin-top: 4rem;
        margin-bottom: 3.5rem;
        padding: 3rem 3rem 2.25rem;
    }
    #filosofia .filosofia-highlight p {
        font-size: 1.75rem;
    }
    #filosofia .filosofia-compromiso {
        margin-top: 3.5rem;
        padding: 2.25rem 2.5rem;
    }
    #filosofia .filosofia-compromiso h3 {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #quienes-somos,
    #filosofia {
        padding: 3rem 0 3.5rem;
    }
    #quienes-somos h2,
    #filosofia h2 {
        font-size: 2.5rem;
        margin-bottom: 1.75rem;
    }
    #quienes-somos .about-values {
        margin-top: 4.5rem;
    }
    #filosofia .filosofia-highlight {
        margin-top: 4.5rem;
        margin-bottom: 4rem;
        padding: 3.25rem 3.5rem 2.5rem;
    }
    #filosofia .filosofia-highlight p {
        font-size: 2rem;
    }
    #filosofia .filosofia-compromiso {
        margin-top: 4rem;
        padding: 2.5rem 3rem;
    }
    #filosofia .filosofia-compromiso h3 {
        font-size: 1.65rem;
    }
}
@media screen and (min-width: 1400px) {
    #quienes-somos,
    #filosofia {
        padding: 3.5rem 0 4rem;
    }
    #quienes-somos h2,
    #filosofia h2 {
        font-size: 2.75rem;
        margin-bottom: 2rem;
    }
    #quienes-somos p {
        font-size: 1.05rem;
    }
    #quienes-somos .about-values {
        margin-top: 5rem;
    }
    #filosofia .filosofia-highlight {
        margin-top: 5rem;
        margin-bottom: 4.5rem;
        padding: 3.5rem 4rem 2.75rem;
    }
    #filosofia .filosofia-highlight p {
        font-size: 2.25rem;
    }
    #filosofia .filosofia-compromiso {
        margin-top: 4.5rem;
        padding: 2.75rem 3.5rem;
    }
    #filosofia .filosofia-compromiso h3 {
        font-size: 1.75rem;
    }
}
/* ----- Servicios ----- */
#servicios {
    position: relative;
    overflow: hidden;
    background-color: #f6f7f9;
    color: var(--main-black, #333333);
    font-family: "Plus Jakarta Sans", sans-serif;
    scroll-margin-top: 70px;
}
#servicios::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(11, 35, 65, 0.06) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
}
#servicios .container {
    position: relative;
    z-index: 1;
}
/* Cabecera */
#servicios .servicios-header {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
#servicios .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--main-yellow, #c5a059);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
#servicios .section-label::before,
#servicios .section-label::after {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--main-yellow, #c5a059);
}
#servicios h2 {
    color: var(--main-blue, #0b2341);
    font-weight: 800;
    line-height: 1.2;
}
#servicios h2 span {
    color: var(--main-yellow, #c5a059);
}
#servicios .servicios-header p {
    color: var(--main-grey, #758390);
    line-height: 1.8;
}
/* Jurisdicciones */
#servicios .servicios-jurisdicciones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background-color: var(--white, #ffffff);
    border: 1px solid #eef0f3;
    border-radius: 50rem;
    box-shadow: 0 10px 25px rgba(11, 35, 65, 0.06);
}
#servicios .servicios-jurisdicciones p {
    margin: 0;
    color: var(--main-blue, #0b2341);
    font-weight: 700;
    white-space: nowrap;
}
#servicios .servicios-jurisdicciones ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
#servicios .servicios-jurisdicciones li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 50rem;
    background-color: rgba(197, 160, 89, 0.12);
    color: var(--main-blue, #0b2341);
    font-size: 0.9rem;
    font-weight: 600;
}
#servicios .servicios-jurisdicciones li i {
    color: var(--main-yellow, #c5a059);
}
/* Tarjetas de servicio */
#servicios .servicios-grid {
    row-gap: 1.5rem;
}
#servicios .servicio-card {
    position: relative;
    height: 100%;
    padding: 2rem 1.75rem;
    background-color: var(--white, #ffffff);
    border: 1px solid #eef0f3;
    border-radius: 0.5rem;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
#servicios .servicio-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(160deg, var(--main-blue, #0b2341) 0%, #182b49 100%);
    transform: translateY(101%);
    transition: transform 0.4s ease;
}
#servicios .servicio-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--main-yellow, #c5a059);
}
#servicios .servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2.5rem rgba(11, 35, 65, 0.2);
}
#servicios .servicio-card:hover::before {
    transform: translateY(0);
}
#servicios .servicio-card span {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(197, 160, 89, 0.5);
    transition: -webkit-text-stroke-color 0.35s ease;
}
#servicios .servicio-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--main-yellow, #c5a059);
    font-size: 1.6rem;
    transition: background-color 0.35s ease, color 0.35s ease;
}
#servicios .servicio-card h3 {
    margin-bottom: 0.75rem;
    color: var(--main-blue, #0b2341);
    font-size: 1.15rem;
    font-weight: 700;
    transition: color 0.35s ease;
}
#servicios .servicio-card p {
    margin: 0;
    color: var(--main-grey, #758390);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.35s ease;
}
#servicios .servicio-card:hover span {
    -webkit-text-stroke-color: var(--main-yellow, #c5a059);
}
#servicios .servicio-card:hover i {
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
}
#servicios .servicio-card:hover h3 {
    color: var(--white, #ffffff);
}
#servicios .servicio-card:hover p {
    color: rgba(255, 255, 255, 0.75);
}
/* Llamada a la acción */
#servicios .servicios-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    overflow: hidden;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    border-radius: 0.75rem;
    border-left: 5px solid var(--main-yellow, #c5a059);
    box-shadow: 0 1rem 3rem rgba(11, 35, 65, 0.25);
}
#servicios .servicios-cta::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.25), transparent 70%);
    pointer-events: none;
}
#servicios .servicios-cta > div {
    position: relative;
    z-index: 1;
}
#servicios .servicios-cta h3 {
    margin-bottom: 0.4rem;
    font-weight: 800;
}
#servicios .servicios-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}
#servicios .servicios-cta > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
#servicios .servicios-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    color: var(--white, #ffffff);
    font-weight: 600;
    white-space: nowrap;
}
#servicios .servicios-cta .btn:first-child {
    border: 2px solid var(--main-yellow, #c5a059);
    background-color: var(--main-yellow, #c5a059);
    box-shadow: 0 3px 6px rgba(197, 160, 89, 0.3);
}
#servicios .servicios-cta .btn:first-child:hover {
    background-color: transparent;
    color: var(--main-yellow, #c5a059);
}
#servicios .servicios-cta .btn:last-child {
    border: 2px solid var(--white, #ffffff);
    background-color: transparent;
}
#servicios .servicios-cta .btn:last-child:hover {
    background-color: var(--white, #ffffff);
    color: var(--main-blue, #0b2341);
}
/* ----- Servicios: responsive ----- */
@media screen and (max-width: 575.99px) {
    #servicios {
        padding: 6rem 0 3rem;
    }
    #servicios h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    #servicios .servicios-header p {
        font-size: 0.95rem;
    }
    #servicios .servicios-jurisdicciones {
        margin: 2rem 0;
        padding: 1.25rem;
        border-radius: 0.75rem;
    }
    #servicios .servicio-card {
        padding: 1.75rem 1.5rem;
    }
    #servicios .servicios-cta {
        margin-top: 2.5rem;
        padding: 1.75rem 1.25rem;
    }
    #servicios .servicios-cta h3 {
        font-size: 1.35rem;
    }
    #servicios .servicios-cta > div:last-child {
        flex-direction: column;
    }
    #servicios .servicios-cta .btn {
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #servicios {
        padding: 6rem 0 4rem;
    }
    #servicios h2 {
        font-size: 2.1rem;
        margin-bottom: 1.5rem;
    }
    #servicios .servicios-jurisdicciones {
        margin: 2.5rem 0;
        padding: 1.25rem 1.5rem;
        border-radius: 0.75rem;
    }
    #servicios .servicios-cta {
        margin-top: 3rem;
        padding: 2rem;
    }
    #servicios .servicios-cta h3 {
        font-size: 1.5rem;
    }
    #servicios .servicios-cta .btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #servicios {
        padding: 6rem 0 4rem;
    }
    #servicios h2 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }
    #servicios .servicios-jurisdicciones {
        margin: 3rem 0;
        padding: 1.25rem 2rem;
        border-radius: 0.75rem;
    }
    #servicios .servicios-cta {
        margin-top: 3.5rem;
        padding: 2.25rem 2.5rem;
    }
    #servicios .servicios-cta h3 {
        font-size: 1.6rem;
    }
    #servicios .servicios-cta .btn {
        padding: 0.5rem 1rem;
        font-size: 1.05rem;
    }
}
@media screen and (max-width: 991.99px) {
    #servicios .servicios-jurisdicciones {
        flex-direction: column;
    }
    #servicios .servicios-cta {
        flex-direction: column;
        text-align: center;
    }
    #servicios .servicios-cta > div:last-child {
        justify-content: center;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #servicios {
        padding: 2.5rem 0 3rem;
    }
    #servicios h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    #servicios .servicios-header p {
        font-size: 0.95rem;
    }
    #servicios .servicios-jurisdicciones {
        margin: 3rem auto;
        padding: 0.75rem 0.75rem 0.75rem 1.75rem;
    }
    #servicios .servicios-jurisdicciones li {
        font-size: 0.8rem;
    }
    #servicios .servicios-cta {
        margin-top: 3.5rem;
        padding: 2.25rem 2.5rem;
    }
    #servicios .servicios-cta h3 {
        font-size: 1.5rem;
    }
    #servicios .servicios-cta .btn {
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #servicios {
        padding: 3rem 0 3.5rem;
    }
    #servicios h2 {
        font-size: 2.5rem;
        margin-bottom: 1.75rem;
    }
    #servicios .servicios-jurisdicciones {
        margin: 3.5rem auto;
        padding: 0.75rem 0.75rem 0.75rem 2rem;
        width: fit-content;
    }
    #servicios .servicios-cta {
        margin-top: 4rem;
        padding: 2.5rem 3rem;
    }
    #servicios .servicios-cta h3 {
        font-size: 1.65rem;
    }
    #servicios .servicios-cta .btn {
        padding: 0.5rem 1rem;
        font-size: 1.125rem;
    }
}
@media screen and (min-width: 1400px) {
    #servicios {
        padding: 3.5rem 0 4rem;
    }
    #servicios h2 {
        font-size: 2.75rem;
        margin-bottom: 2rem;
    }
    #servicios .servicios-header p {
        font-size: 1.05rem;
    }
    #servicios .servicios-jurisdicciones {
        margin: 4rem auto;
        padding: 0.75rem 0.75rem 0.75rem 2rem;
        width: fit-content;
    }
    #servicios .servicios-cta {
        margin-top: 4.5rem;
        padding: 2.75rem 3.5rem;
    }
    #servicios .servicios-cta h3 {
        font-size: 1.75rem;
    }
    #servicios .servicios-cta .btn {
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
    }
}
/* ----- Partidos Judiciales ----- */
#partidos-judiciales {
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--main-black, #333333);
    font-family: "Plus Jakarta Sans", sans-serif;
    scroll-margin-top: 70px;
}
/* Cabecera */
#partidos-judiciales .partidos-header {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
#partidos-judiciales .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--main-yellow, #c5a059);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
#partidos-judiciales .section-label::before,
#partidos-judiciales .section-label::after {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--main-yellow, #c5a059);
}
#partidos-judiciales h2 {
    color: var(--main-blue, #0b2341);
    font-weight: 800;
    line-height: 1.2;
}
#partidos-judiciales h2 span {
    color: var(--main-yellow, #c5a059);
}
#partidos-judiciales .partidos-header p {
    color: var(--main-grey, #758390);
    line-height: 1.8;
}
/* Sede y mapa */
#partidos-judiciales .partidos-sede {
    row-gap: 1.5rem;
}
#partidos-judiciales .sede-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    border-radius: 0.75rem;
    border-bottom: 4px solid var(--main-yellow, #c5a059);
    box-shadow: 0 1rem 3rem rgba(11, 35, 65, 0.25);
}
#partidos-judiciales .sede-card::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.22), transparent 70%);
    pointer-events: none;
}
#partidos-judiciales .sede-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 3px 6px rgba(197, 160, 89, 0.3);
}
#partidos-judiciales .sede-card h3 {
    position: relative;
    margin-bottom: 1.25rem;
    font-weight: 800;
}
#partidos-judiciales .sede-card ul {
    position: relative;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}
#partidos-judiciales .sede-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}
#partidos-judiciales .sede-card li i {
    color: var(--main-yellow, #c5a059);
    font-size: 1.05rem;
}
#partidos-judiciales .sede-card a {
    color: var(--white, #ffffff);
    text-decoration: none;
    transition: color 0.3s ease;
}
#partidos-judiciales .sede-card a:hover {
    color: var(--main-yellow, #c5a059);
}
#partidos-judiciales .sede-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
#partidos-judiciales .sede-stats > div {
    padding: 0.85rem 0.5rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 0.5rem;
    background-color: rgba(197, 160, 89, 0.08);
    text-align: center;
}
#partidos-judiciales .sede-stats strong {
    display: block;
    color: var(--main-yellow, #c5a059);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
}
#partidos-judiciales .sede-stats span {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
}
#partidos-judiciales .sede-map {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid #eef0f3;
    box-shadow: 0 10px 25px rgba(11, 35, 65, 0.08);
}
#partidos-judiciales .sede-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(25%);
}
/* Zonas */
#partidos-judiciales .partidos-zona h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #eef0f3;
    color: var(--main-blue, #0b2341);
    font-size: 1.35rem;
    font-weight: 800;
}
#partidos-judiciales .partidos-zona h3 i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--main-yellow, #c5a059);
    font-size: 1.1rem;
}
#partidos-judiciales .partidos-zona .row {
    row-gap: 1.25rem;
}
/* Tarjetas de partido */
#partidos-judiciales .partido-card {
    background-color: var(--white, #ffffff);
    border: 1px solid #eef0f3;
    border-left: 3px solid var(--main-blue, #0b2341);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
#partidos-judiciales .partido-card:hover {
    transform: translateY(-4px);
    border-left-color: var(--main-yellow, #c5a059);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
#partidos-judiciales .partido-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
}
#partidos-judiciales .partido-card-header > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(11, 35, 65, 0.06);
    color: var(--main-blue, #0b2341);
    font-size: 1.25rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#partidos-judiciales .partido-card:hover .partido-card-header > i {
    background-color: var(--main-blue, #0b2341);
    color: var(--main-yellow, #c5a059);
}
#partidos-judiciales .partido-card h4 {
    margin: 0 0 0.15rem;
    color: var(--main-blue, #0b2341);
    font-size: 1.05rem;
    font-weight: 700;
}
#partidos-judiciales .partido-card-header span {
    color: var(--main-grey, #758390);
    font-size: 0.85rem;
}
#partidos-judiciales .partido-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 1.25rem;
    border: 0;
    border-top: 1px solid #eef0f3;
    background-color: #f8f9fa;
    color: var(--main-blue, #0b2341);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#partidos-judiciales .partido-toggle i {
    color: var(--main-yellow, #c5a059);
    transform: rotate(180deg);
    transition: transform 0.3s ease, color 0.3s ease;
}
#partidos-judiciales .partido-toggle.collapsed i {
    transform: rotate(0deg);
}
#partidos-judiciales .partido-toggle:hover,
#partidos-judiciales .partido-toggle:not(.collapsed) {
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
}
#partidos-judiciales .partido-toggle:focus-visible {
    outline: 2px solid var(--main-yellow, #c5a059);
    outline-offset: -2px;
}
#partidos-judiciales .partido-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
    list-style: none;
}
#partidos-judiciales .partido-card li {
    padding: 0.25rem 0.7rem;
    border-radius: 50rem;
    background-color: rgba(197, 160, 89, 0.12);
    color: var(--main-blue, #0b2341);
    font-size: 0.8rem;
    font-weight: 500;
}
/* Tarjeta de la sede */
#partidos-judiciales .partido-card.sede {
    border: 2px solid var(--main-yellow, #c5a059);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12), rgba(197, 160, 89, 0.02));
}
#partidos-judiciales .partido-card.sede .partido-card-header > i {
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
}
#partidos-judiciales .partido-card.sede .partido-card-header span {
    color: var(--main-yellow, #c5a059);
    font-weight: 600;
}
/* Comunidades autónomas */
#partidos-judiciales .partidos-espana {
    position: relative;
    overflow: hidden;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    border-radius: 0.75rem;
    border-bottom: 4px solid var(--main-yellow, #c5a059);
    box-shadow: 0 1rem 3rem rgba(11, 35, 65, 0.25);
}
#partidos-judiciales .partidos-espana::before {
    content: "";
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.18), transparent 70%);
    pointer-events: none;
}
#partidos-judiciales .partidos-espana > * {
    position: relative;
}
#partidos-judiciales .partidos-espana-header {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}
#partidos-judiciales .partidos-espana-header h3 {
    margin-bottom: 0.75rem;
    font-weight: 800;
}
#partidos-judiciales .partidos-espana-header h3 span {
    color: var(--main-yellow, #c5a059);
}
#partidos-judiciales .partidos-espana-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    line-height: 1.8;
}
#partidos-judiciales .partidos-espana .row {
    row-gap: 1rem;
}
#partidos-judiciales .ccaa-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
#partidos-judiciales .ccaa-card:hover {
    transform: translateY(-4px);
    border-color: var(--main-yellow, #c5a059);
    background-color: rgba(255, 255, 255, 0.08);
}
#partidos-judiciales .ccaa-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
}
#partidos-judiciales .ccaa-card-header > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--main-yellow, #c5a059);
    font-size: 1.05rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#partidos-judiciales .ccaa-card:hover .ccaa-card-header > i {
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
}
#partidos-judiciales .ccaa-card h4 {
    margin: 0 0 0.1rem;
    color: var(--white, #ffffff);
    font-size: 0.98rem;
    font-weight: 700;
}
#partidos-judiciales .ccaa-card-header span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}
#partidos-judiciales .ccaa-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.55rem 1.1rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#partidos-judiciales .ccaa-toggle i {
    color: var(--main-yellow, #c5a059);
    transform: rotate(180deg);
    transition: transform 0.3s ease, color 0.3s ease;
}
#partidos-judiciales .ccaa-toggle.collapsed i {
    transform: rotate(0deg);
}
#partidos-judiciales .ccaa-toggle:hover,
#partidos-judiciales .ccaa-toggle:not(.collapsed) {
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
}
#partidos-judiciales .ccaa-toggle:hover i,
#partidos-judiciales .ccaa-toggle:not(.collapsed) i {
    color: var(--white, #ffffff);
}
#partidos-judiciales .ccaa-toggle:focus-visible {
    outline: 2px solid var(--white, #ffffff);
    outline-offset: -2px;
}
#partidos-judiciales .ccaa-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0.9rem 1.1rem 1.1rem;
    list-style: none;
}
#partidos-judiciales .ccaa-card li {
    padding: 0.25rem 0.7rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 50rem;
    color: var(--white, #ffffff);
    font-size: 0.78rem;
    font-weight: 500;
}
#partidos-judiciales .ccaa-card.sede {
    border: 2px solid var(--main-yellow, #c5a059);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.25), rgba(197, 160, 89, 0.06));
}
#partidos-judiciales .ccaa-card.sede .ccaa-card-header > i {
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
}
#partidos-judiciales .ccaa-card.sede .ccaa-card-header span {
    color: var(--main-yellow, #c5a059);
    font-weight: 600;
}
/* Enlaces de interés */
#partidos-judiciales .partidos-enlaces {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: #f6f7f9;
    border: 1px solid #eef0f3;
    border-left: 5px solid var(--main-yellow, #c5a059);
    border-radius: 0.75rem;
}
#partidos-judiciales .partidos-enlaces h3 {
    margin-bottom: 0.4rem;
    color: var(--main-blue, #0b2341);
    font-weight: 800;
}
#partidos-judiciales .partidos-enlaces p {
    margin: 0;
    color: var(--main-grey, #758390);
}
#partidos-judiciales .partidos-enlaces ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
#partidos-judiciales .partidos-enlaces a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border: 2px solid var(--main-blue, #0b2341);
    border-radius: 50rem;
    background-color: var(--white, #ffffff);
    color: var(--main-blue, #0b2341);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#partidos-judiciales .partidos-enlaces a i {
    color: var(--main-yellow, #c5a059);
    font-size: 0.8rem;
}
#partidos-judiciales .partidos-enlaces a:hover {
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
}
/* ----- Partidos Judiciales: comunidades autónomas responsive ----- */
@media screen and (max-width: 575.99px) {
    #partidos-judiciales .partidos-espana {
        margin-bottom: 2.25rem;
        padding: 2rem 1.25rem;
    }
    #partidos-judiciales .partidos-espana-header h3 {
        font-size: 1.5rem;
    }
    #partidos-judiciales .partidos-espana-header p {
        font-size: 0.9rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #partidos-judiciales .partidos-espana {
        margin-bottom: 2.5rem;
        padding: 2.5rem 2rem;
    }
    #partidos-judiciales .partidos-espana-header h3 {
        font-size: 1.75rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #partidos-judiciales .partidos-espana {
        margin-bottom: 3rem;
        padding: 3rem 2.5rem;
    }
    #partidos-judiciales .partidos-espana-header h3 {
        font-size: 2rem;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #partidos-judiciales .partidos-espana {
        margin-bottom: 3rem;
        padding: 3rem 2.5rem;
    }
    #partidos-judiciales .partidos-espana-header h3 {
        font-size: 2rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #partidos-judiciales .partidos-espana {
        margin-bottom: 3.5rem;
        padding: 3.5rem 3rem;
    }
    #partidos-judiciales .partidos-espana-header h3 {
        font-size: 2.15rem;
    }
}
@media screen and (min-width: 1400px) {
    #partidos-judiciales .partidos-espana {
        margin-bottom: 4rem;
        padding: 4rem 3.5rem;
    }
    #partidos-judiciales .partidos-espana-header h3 {
        font-size: 2.35rem;
    }
}
/* ----- Partidos Judiciales: responsive ----- */
@media screen and (max-width: 575.99px) {
    #partidos-judiciales {
        padding: 6rem 0 3rem;
    }
    #partidos-judiciales h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    #partidos-judiciales .partidos-header p {
        font-size: 0.95rem;
    }
    #partidos-judiciales .partidos-sede {
        margin: 2rem 0 2.5rem;
    }
    #partidos-judiciales .sede-card {
        padding: 1.75rem 1.25rem;
    }
    #partidos-judiciales .sede-card h3 {
        font-size: 1.5rem;
    }
    #partidos-judiciales .sede-stats strong {
        font-size: 1.4rem;
    }
    #partidos-judiciales .sede-stats span {
        font-size: 0.65rem;
    }
    #partidos-judiciales .sede-map iframe {
        min-height: 260px;
    }
    #partidos-judiciales .partidos-zona {
        margin-bottom: 2.25rem;
    }
    #partidos-judiciales .partidos-zona h3 {
        font-size: 1.15rem;
    }
    #partidos-judiciales .partidos-enlaces {
        padding: 1.75rem 1.25rem;
    }
    #partidos-judiciales .partidos-enlaces h3 {
        font-size: 1.35rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #partidos-judiciales {
        padding: 6rem 0 4rem;
    }
    #partidos-judiciales h2 {
        font-size: 2.1rem;
        margin-bottom: 1.5rem;
    }
    #partidos-judiciales .partidos-sede {
        margin: 2.5rem 0 3rem;
    }
    #partidos-judiciales .sede-card {
        padding: 2rem;
    }
    #partidos-judiciales .sede-card h3 {
        font-size: 1.6rem;
    }
    #partidos-judiciales .sede-map iframe {
        min-height: 300px;
    }
    #partidos-judiciales .partidos-zona {
        margin-bottom: 2.5rem;
    }
    #partidos-judiciales .partidos-enlaces {
        padding: 2rem;
    }
    #partidos-judiciales .partidos-enlaces h3 {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #partidos-judiciales {
        padding: 6rem 0 4rem;
    }
    #partidos-judiciales h2 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }
    #partidos-judiciales .partidos-sede {
        margin: 3rem 0 3.5rem;
    }
    #partidos-judiciales .sede-card {
        padding: 2.25rem 2.5rem;
    }
    #partidos-judiciales .sede-card h3 {
        font-size: 1.75rem;
    }
    #partidos-judiciales .sede-map iframe {
        min-height: 340px;
    }
    #partidos-judiciales .partidos-zona {
        margin-bottom: 3rem;
    }
    #partidos-judiciales .partidos-enlaces {
        padding: 2.25rem 2.5rem;
    }
    #partidos-judiciales .partidos-enlaces h3 {
        font-size: 1.6rem;
    }
}
@media screen and (max-width: 991.99px) {
    #partidos-judiciales .partidos-enlaces {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media screen and (min-width: 992px) {
    #partidos-judiciales .sede-map iframe {
        min-height: 100%;
    }
    #partidos-judiciales .partidos-enlaces > div:first-child {
        flex: 0 0 32%;
    }
    #partidos-judiciales .partidos-enlaces ul {
        justify-content: flex-end;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #partidos-judiciales {
        padding: 2.5rem 0 3rem;
    }
    #partidos-judiciales h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    #partidos-judiciales .partidos-header p {
        font-size: 0.95rem;
    }
    #partidos-judiciales .partidos-sede {
        margin: 3rem 0 3.5rem;
    }
    #partidos-judiciales .sede-card {
        padding: 2rem;
    }
    #partidos-judiciales .sede-card h3 {
        font-size: 1.6rem;
    }
    #partidos-judiciales .sede-card li {
        font-size: 0.85rem;
    }
    #partidos-judiciales .partidos-zona {
        margin-bottom: 3rem;
    }
    #partidos-judiciales .partido-card h4 {
        font-size: 0.95rem;
    }
    #partidos-judiciales .partidos-enlaces {
        padding: 2.25rem 2.5rem;
    }
    #partidos-judiciales .partidos-enlaces h3 {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #partidos-judiciales {
        padding: 3rem 0 3.5rem;
    }
    #partidos-judiciales h2 {
        font-size: 2.5rem;
        margin-bottom: 1.75rem;
    }
    #partidos-judiciales .partidos-sede {
        margin: 3.5rem 0 4rem;
    }
    #partidos-judiciales .sede-card {
        padding: 2.25rem 2.5rem;
    }
    #partidos-judiciales .sede-card h3 {
        font-size: 1.75rem;
    }
    #partidos-judiciales .partidos-zona {
        margin-bottom: 3.5rem;
    }
    #partidos-judiciales .partidos-enlaces {
        padding: 2.5rem 3rem;
    }
    #partidos-judiciales .partidos-enlaces h3 {
        font-size: 1.65rem;
    }
}
@media screen and (min-width: 1400px) {
    #partidos-judiciales {
        padding: 3.5rem 0 4rem;
    }
    #partidos-judiciales h2 {
        font-size: 2.75rem;
        margin-bottom: 2rem;
    }
    #partidos-judiciales .partidos-header p {
        font-size: 1.05rem;
    }
    #partidos-judiciales .partidos-sede {
        margin: 4rem 0 4.5rem;
    }
    #partidos-judiciales .sede-card {
        padding: 2.5rem 3rem;
    }
    #partidos-judiciales .sede-card h3 {
        font-size: 2rem;
    }
    #partidos-judiciales .partidos-zona {
        margin-bottom: 4rem;
    }
    #partidos-judiciales .partidos-enlaces {
        padding: 2.75rem 3.5rem;
    }
    #partidos-judiciales .partidos-enlaces h3 {
        font-size: 1.75rem;
    }
}
/* ----- Contacto ----- */
#contacto {
    position: relative;
    overflow: hidden;
    background-color: #f6f7f9;
    color: var(--main-black, #333333);
    font-family: "Plus Jakarta Sans", sans-serif;
    scroll-margin-top: 70px;
}
#contacto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(11, 35, 65, 0.06) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
}
#contacto .container {
    position: relative;
    z-index: 1;
}
/* Cabecera */
#contacto .contacto-header {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
#contacto .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--main-yellow, #c5a059);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
#contacto .section-label::before,
#contacto .section-label::after {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--main-yellow, #c5a059);
}
#contacto h2 {
    color: var(--main-blue, #0b2341);
    font-weight: 800;
    line-height: 1.2;
}
#contacto h2 span {
    color: var(--main-yellow, #c5a059);
}
#contacto .contacto-header p {
    color: var(--main-grey, #758390);
    line-height: 1.8;
}
#contacto .contacto-content {
    row-gap: 1.5rem;
}
/* Panel de información */
#contacto .contacto-info {
    position: relative;
    height: 100%;
    overflow: hidden;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    border-radius: 0.75rem;
    border-bottom: 4px solid var(--main-yellow, #c5a059);
    box-shadow: 0 1rem 3rem rgba(11, 35, 65, 0.25);
}
#contacto .contacto-info::before {
    content: "";
    position: absolute;
    bottom: -140px;
    right: -140px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.22), transparent 70%);
    pointer-events: none;
}
#contacto .contacto-info > * {
    position: relative;
}
#contacto .contacto-info h3 {
    margin-bottom: 0.5rem;
    font-weight: 800;
}
#contacto .contacto-info > p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}
#contacto .contacto-info ul {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}
#contacto .contacto-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#contacto .contacto-info li:last-child {
    border-bottom: 0;
}
#contacto .contacto-info li > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--main-yellow, #c5a059);
    font-size: 1.25rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#contacto .contacto-info li:hover > i {
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
}
#contacto .contacto-info li span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--main-yellow, #c5a059);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
#contacto .contacto-info li a,
#contacto .contacto-info li p {
    margin: 0;
    color: var(--white, #ffffff);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
#contacto .contacto-info li a:hover {
    color: var(--main-yellow, #c5a059);
}
#contacto .contacto-info-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
#contacto .contacto-info-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    color: var(--white, #ffffff);
    font-weight: 600;
    white-space: nowrap;
}
#contacto .contacto-info-buttons .btn:first-child {
    border: 2px solid var(--whatsapp-header-icon, #25d366);
    background-color: var(--whatsapp-header-icon, #25d366);
    box-shadow: 0 3px 6px rgba(37, 211, 102, 0.3);
}
#contacto .contacto-info-buttons .btn:first-child:hover {
    background-color: transparent;
    color: var(--whatsapp-header-icon, #25d366);
}
#contacto .contacto-info-buttons .btn:last-child {
    border: 2px solid var(--white, #ffffff);
    background-color: transparent;
}
#contacto .contacto-info-buttons .btn:last-child:hover {
    background-color: var(--white, #ffffff);
    color: var(--main-blue, #0b2341);
}
/* Formulario */
#contacto .contacto-form {
    height: 100%;
    background-color: var(--white, #ffffff);
    border: 1px solid #eef0f3;
    border-top: 4px solid var(--main-yellow, #c5a059);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(11, 35, 65, 0.08);
}
#contacto .contacto-form h3 {
    margin-bottom: 0.4rem;
    color: var(--main-blue, #0b2341);
    font-weight: 800;
}
#contacto .contacto-form > p {
    margin-bottom: 1.5rem;
    color: var(--main-grey, #758390);
    font-size: 0.9rem;
}
#contacto .contacto-form span {
    color: var(--main-yellow, #c5a059);
}
#contacto .form-label {
    margin-bottom: 0.35rem;
    color: var(--main-blue, #0b2341);
    font-size: 0.85rem;
    font-weight: 600;
}
#contacto .form-control,
#contacto .form-select {
    padding: 0.65rem 0.9rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    color: var(--main-black, #333333);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
#contacto .form-control::placeholder {
    color: #a3adb7;
}
#contacto .form-control:focus,
#contacto .form-select:focus {
    border-color: var(--main-yellow, #c5a059);
    background-color: var(--white, #ffffff);
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.25);
}
#contacto textarea {
    resize: none;
}
#contacto .form-check-input {
    cursor: pointer;
}
#contacto .form-check-input:checked {
    border-color: var(--main-yellow, #c5a059);
    background-color: var(--main-yellow, #c5a059);
}
#contacto .form-check-input:focus {
    border-color: var(--main-yellow, #c5a059);
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.25);
}
#contacto .form-check-label {
    color: var(--main-grey, #758390);
    font-size: 0.85rem;
}
#contacto .form-check-label a {
    color: var(--main-blue, #0b2341);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--main-yellow, #c5a059);
    text-underline-offset: 3px;
}
#contacto .contacto-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--main-blue, #0b2341);
    border-radius: 0.5rem;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    font-weight: 600;
}
#contacto .contacto-form button:hover {
    background-color: var(--white, #ffffff);
    color: var(--main-blue, #0b2341);
}
#contacto .contacto-form button i {
    color: var(--main-yellow, #c5a059);
}
#contacto .contacto-rgpd {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--main-yellow, #c5a059);
    border-radius: 0 0.5rem 0.5rem 0;
    background-color: rgba(197, 160, 89, 0.08);
}
#contacto .contacto-rgpd p {
    margin: 0;
    color: var(--main-grey, #758390);
    font-size: 0.72rem;
    line-height: 1.6;
}
#contacto .contacto-rgpd strong {
    color: var(--main-blue, #0b2341);
}
/* ----- Contacto: responsive ----- */
@media screen and (max-width: 575.99px) {
    #contacto {
        padding: 6rem 0 3rem;
    }
    #contacto h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    #contacto .contacto-header p {
        font-size: 0.95rem;
    }
    #contacto .contacto-content {
        margin-top: 2rem;
    }
    #contacto .contacto-info,
    #contacto .contacto-form {
        padding: 1.75rem 1.25rem;
    }
    #contacto .contacto-info h3,
    #contacto .contacto-form h3 {
        font-size: 1.35rem;
    }
    #contacto .contacto-info-buttons {
        flex-direction: column;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #contacto {
        padding: 6rem 0 4rem;
    }
    #contacto h2 {
        font-size: 2.1rem;
        margin-bottom: 1.5rem;
    }
    #contacto .contacto-content {
        margin-top: 2.5rem;
    }
    #contacto .contacto-info,
    #contacto .contacto-form {
        padding: 2rem;
    }
    #contacto .contacto-info h3,
    #contacto .contacto-form h3 {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #contacto {
        padding: 6rem 0 4rem;
    }
    #contacto h2 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }
    #contacto .contacto-content {
        margin-top: 3rem;
    }
    #contacto .contacto-info,
    #contacto .contacto-form {
        padding: 2.25rem 2.5rem;
    }
    #contacto .contacto-info h3,
    #contacto .contacto-form h3 {
        font-size: 1.6rem;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #contacto {
        padding: 2.5rem 0 3rem;
    }
    #contacto h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    #contacto .contacto-header p {
        font-size: 0.95rem;
    }
    #contacto .contacto-content {
        margin-top: 3rem;
    }
    #contacto .contacto-info,
    #contacto .contacto-form {
        padding: 2rem;
    }
    #contacto .contacto-info h3,
    #contacto .contacto-form h3 {
        font-size: 1.5rem;
    }
    #contacto .contacto-info li a,
    #contacto .contacto-info li p {
        font-size: 0.9rem;
    }
    #contacto .contacto-info-buttons .btn {
        font-size: 0.9rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #contacto {
        padding: 3rem 0 3.5rem;
    }
    #contacto h2 {
        font-size: 2.5rem;
        margin-bottom: 1.75rem;
    }
    #contacto .contacto-content {
        margin-top: 3.5rem;
    }
    #contacto .contacto-info,
    #contacto .contacto-form {
        padding: 2.5rem;
    }
    #contacto .contacto-info h3,
    #contacto .contacto-form h3 {
        font-size: 1.65rem;
    }
}
@media screen and (min-width: 1400px) {
    #contacto {
        padding: 3.5rem 0 4rem;
    }
    #contacto h2 {
        font-size: 2.75rem;
        margin-bottom: 2rem;
    }
    #contacto .contacto-header p {
        font-size: 1.05rem;
    }
    #contacto .contacto-content {
        margin-top: 4rem;
    }
    #contacto .contacto-info,
    #contacto .contacto-form {
        padding: 2.75rem 3rem;
    }
    #contacto .contacto-info h3,
    #contacto .contacto-form h3 {
        font-size: 1.75rem;
    }
}
/* ----- Footer ----- */
#footer {
    position: relative;
    overflow: hidden;
    background-color: var(--main-blue, #0b2341);
    color: rgba(255, 255, 255, 0.75);
    font-family: "Plus Jakarta Sans", sans-serif;
    border-top: 3px solid var(--main-yellow, #c5a059);
}
#footer::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -220px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15), transparent 70%);
    pointer-events: none;
}
#footer .container {
    position: relative;
    z-index: 1;
}
#footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
#footer a:hover {
    color: var(--main-yellow, #c5a059);
}
/* Columnas */
#footer .footer-top {
    row-gap: 2rem;
}
#footer .footer-brand {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background-color: var(--white, #ffffff);
    border-radius: 0.5rem;
    border-bottom: 3px solid var(--main-yellow, #c5a059);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}
#footer .footer-brand:hover {
    transform: translateY(-3px);
}
#footer .footer-brand img {
    display: block;
    height: auto;
}
#footer .footer-top p {
    margin: 1.25rem 0;
    font-weight: 300;
    line-height: 1.8;
}
#footer .footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--whatsapp-header-icon, #25d366);
    border-radius: 0.5rem;
    color: var(--white, #ffffff);
    font-weight: 600;
    font-size: 0.9rem;
}
#footer .footer-whatsapp i {
    color: var(--whatsapp-header-icon, #25d366);
    transition: color 0.3s ease;
}
#footer .footer-whatsapp:hover {
    background-color: var(--whatsapp-header-icon, #25d366);
    color: var(--white, #ffffff);
}
#footer .footer-whatsapp:hover i {
    color: var(--white, #ffffff);
}
#footer h4 {
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    color: var(--white, #ffffff);
    font-size: 1.05rem;
    font-weight: 700;
}
#footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--main-yellow, #c5a059);
}
#footer .footer-top ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer .footer-top ul:not(.footer-contacto) li {
    margin-bottom: 0.6rem;
}
#footer .footer-top ul:not(.footer-contacto) a {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}
#footer .footer-top ul:not(.footer-contacto) a::before {
    content: "";
    width: 0;
    height: 2px;
    margin-right: 0;
    background-color: var(--main-yellow, #c5a059);
    transition: width 0.3s ease, margin-right 0.3s ease;
}
#footer .footer-top ul:not(.footer-contacto) a:hover::before {
    width: 12px;
    margin-right: 0.5rem;
}
#footer .footer-contacto li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
}
#footer .footer-contacto i {
    color: var(--main-yellow, #c5a059);
    font-size: 1rem;
}
/* Copyright */
#footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#footer .footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}
#footer .footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer .footer-bottom li {
    position: relative;
    font-size: 0.85rem;
}
#footer .footer-bottom li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.75rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--main-yellow, #c5a059);
    transform: translateY(-50%);
}
/* Volver arriba */
#back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid var(--main-yellow, #c5a059);
    border-radius: 0.5rem;
    background-color: var(--main-yellow, #c5a059);
    color: var(--white, #ffffff);
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(11, 35, 65, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease, color 0.3s ease, transform 0.4s ease;
}
#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top.show:hover {
    background-color: var(--main-blue, #0b2341);
    color: var(--main-yellow, #c5a059);
}
/* ----- Footer: responsive ----- */
@media screen and (max-width: 575.99px) {
    #footer .footer-top {
        padding: 3rem 0 2rem;
    }
    #footer .footer-brand img {
        width: 150px;
    }
    #footer .footer-bottom {
        padding: 1.25rem 0 4.5rem;
    }
    #footer .footer-bottom p,
    #footer .footer-bottom li {
        font-size: 0.8rem;
    }
    #back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #footer .footer-top {
        padding: 3.5rem 0 2.5rem;
    }
    #footer .footer-brand img {
        width: 160px;
    }
    #footer .footer-bottom {
        padding: 1.25rem 0;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #footer .footer-top {
        padding: 4rem 0 2.5rem;
    }
    #footer .footer-brand img {
        width: 170px;
    }
    #footer .footer-bottom {
        padding: 1.5rem 0;
    }
}
@media screen and (max-width: 991.99px) {
    #footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    #footer .footer-bottom ul {
        justify-content: center;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #footer .footer-top {
        padding: 4.5rem 0 3rem;
    }
    #footer .footer-brand img {
        width: 170px;
    }
    #footer .footer-bottom {
        padding: 1.5rem 0;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #footer .footer-top {
        padding: 5rem 0 3rem;
    }
    #footer .footer-brand img {
        width: 185px;
    }
    #footer .footer-bottom {
        padding: 1.5rem 0;
    }
}
@media screen and (min-width: 1400px) {
    #footer .footer-top {
        padding: 5.5rem 0 3.5rem;
    }
    #footer .footer-brand img {
        width: 200px;
    }
    #footer .footer-bottom {
        padding: 1.75rem 0;
    }
}
/* -- Whatsapp Icon -- */
.whatsapp-icon {
	position: fixed;
	bottom: 10px;
	left: 10px;
	z-index: 100;
}
.whatsapp-icon img {
	width: 38px;
	height: 38px;
}
@media (min-width: 992px) {
	.whatsapp-icon {
		bottom: 10px;
		left: 5px;
		padding: 6px;
	}
	.whatsapp-icon img {
		width: 40px;
		height: 40px;
	}
}
@media (min-width: 2560px) {
	.whatsapp-icon {
		bottom: 8px;
		left: 10px;
		padding: 6px;
	}
	.whatsapp-icon img {
		width: 56px;
		height: 56px;
	}
}
/* ----- Aviso de formulario ----- */
.form-aviso {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    z-index: 1050;
    width: calc(100% - 2rem);
    max-width: 520px;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
    transform: translateX(-50%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.form-aviso.ok {
    border-left: 5px solid var(--whatsapp-header-icon, #25d366);
}
.form-aviso.error {
    border-left: 5px solid #dc3545;
}
.form-aviso.oculto {
    opacity: 0;
    transform: translate(-50%, -20px);
    pointer-events: none;
}
/* ----- Páginas legales: cabecera ----- */
#legal-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    font-family: "Plus Jakarta Sans", sans-serif;
    border-bottom: 3px solid var(--main-yellow, #c5a059);
}
#legal-hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.2), transparent 70%);
    pointer-events: none;
}
#legal-hero .container {
    position: relative;
    z-index: 1;
}
#legal-hero .breadcrumb {
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}
#legal-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
#legal-hero .breadcrumb a:hover {
    color: var(--main-yellow, #c5a059);
}
#legal-hero .breadcrumb-item + .breadcrumb-item::before {
    color: var(--main-yellow, #c5a059);
}
#legal-hero .breadcrumb-item.active {
    color: var(--white, #ffffff);
}
#legal-hero h1 {
    margin-bottom: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
}
#legal-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}
#legal-hero p i {
    margin-right: 0.4rem;
    color: var(--main-yellow, #c5a059);
}
/* ----- Páginas legales: contenido ----- */
#legal-content {
    background-color: #f6f7f9;
    color: var(--main-black, #333333);
    font-family: "Plus Jakarta Sans", sans-serif;
}
#legal-content .row {
    row-gap: 1.5rem;
}
/* Índice */
#legal-content .legal-toc {
    padding: 1.5rem;
    background-color: var(--white, #ffffff);
    border: 1px solid #eef0f3;
    border-top: 4px solid var(--main-yellow, #c5a059);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(11, 35, 65, 0.06);
}
#legal-content .legal-toc h2 {
    margin-bottom: 1rem;
    color: var(--main-blue, #0b2341);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
#legal-content .legal-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}
#legal-content .legal-toc li {
    counter-increment: toc;
}
#legal-content .legal-toc a {
    display: flex;
    gap: 0.6rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #eef0f3;
    color: var(--main-grey, #758390);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
#legal-content .legal-toc a::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--main-yellow, #c5a059);
    font-weight: 700;
}
#legal-content .legal-toc li:last-child a {
    border-bottom: 0;
}
#legal-content .legal-toc a:hover {
    padding-left: 0.3rem;
    color: var(--main-blue, #0b2341);
}
#legal-content .legal-toc .legal-toc-links {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 2px solid #eef0f3;
}
#legal-content .legal-toc .legal-toc-links a {
    border-bottom: 0;
    padding: 0.3rem 0;
}
#legal-content .legal-toc .legal-toc-links a::before {
    content: "\2192";
}
/* Artículo */
#legal-content article {
    background-color: var(--white, #ffffff);
    border: 1px solid #eef0f3;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(11, 35, 65, 0.06);
}
#legal-content article section {
    scroll-margin-top: 90px;
}
#legal-content article section + section {
    margin-top: 2.25rem;
    padding-top: 2.25rem;
    border-top: 1px solid #eef0f3;
}
#legal-content article h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--main-blue, #0b2341);
    font-weight: 800;
    line-height: 1.3;
}
#legal-content article h2 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--main-yellow, #c5a059);
    font-size: 0.9rem;
    font-weight: 800;
}
#legal-content article h3 {
    margin: 1.5rem 0 0.6rem;
    color: var(--main-blue, #0b2341);
    font-size: 1.05rem;
    font-weight: 700;
}
#legal-content article p,
#legal-content article li {
    color: #55606b;
    line-height: 1.8;
}
#legal-content article ul {
    padding-left: 1.25rem;
}
#legal-content article ul li::marker {
    color: var(--main-yellow, #c5a059);
}
#legal-content article a {
    color: var(--main-blue, #0b2341);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--main-yellow, #c5a059);
    text-underline-offset: 3px;
    word-break: break-word;
}
#legal-content article a:hover {
    color: var(--main-yellow, #c5a059);
}
/* Ficha de datos */
#legal-content .legal-data {
    display: grid;
    grid-template-columns: minmax(150px, 30%) 1fr;
    margin: 1.25rem 0 0;
    border: 1px solid #eef0f3;
    border-radius: 0.5rem;
    overflow: hidden;
}
#legal-content .legal-data dt,
#legal-content .legal-data dd {
    margin: 0;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eef0f3;
    font-size: 0.92rem;
}
#legal-content .legal-data dt {
    background-color: rgba(11, 35, 65, 0.04);
    color: var(--main-blue, #0b2341);
    font-weight: 700;
}
#legal-content .legal-data dd {
    color: #55606b;
}
#legal-content .legal-data dt:last-of-type,
#legal-content .legal-data dd:last-of-type {
    border-bottom: 0;
}
/* Nota destacada */
#legal-content .legal-note {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--main-yellow, #c5a059);
    border-radius: 0 0.5rem 0.5rem 0;
    background-color: rgba(197, 160, 89, 0.08);
}
#legal-content .legal-note p {
    margin: 0;
}
/* Tablas */
#legal-content .table-responsive {
    margin: 1.25rem 0;
    border: 1px solid #eef0f3;
    border-radius: 0.5rem;
}
#legal-content table {
    margin: 0;
    font-size: 0.88rem;
}
#legal-content table th {
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
    font-weight: 600;
    white-space: nowrap;
}
#legal-content table td {
    color: #55606b;
    vertical-align: top;
}
/* ----- Páginas legales: responsive ----- */
@media screen and (max-width: 575.99px) {
    #legal-hero {
        padding: 2.5rem 0;
    }
    #legal-hero h1 {
        font-size: 1.85rem;
    }
    #legal-content {
        padding: 2rem 0 3rem;
    }
    #legal-content article {
        padding: 1.5rem 1.25rem;
    }
    #legal-content article h2 {
        font-size: 1.2rem;
    }
    #legal-content .legal-data {
        grid-template-columns: 1fr;
    }
    #legal-content .legal-data dt {
        border-bottom: 0;
        padding-bottom: 0.25rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #legal-hero {
        padding: 3rem 0;
    }
    #legal-hero h1 {
        font-size: 2.2rem;
    }
    #legal-content {
        padding: 2.5rem 0 3.5rem;
    }
    #legal-content article {
        padding: 2rem;
    }
    #legal-content article h2 {
        font-size: 1.3rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #legal-hero {
        padding: 3.5rem 0;
    }
    #legal-hero h1 {
        font-size: 2.5rem;
    }
    #legal-content {
        padding: 3rem 0 4rem;
    }
    #legal-content article {
        padding: 2.5rem;
    }
    #legal-content article h2 {
        font-size: 1.4rem;
    }
}
@media screen and (min-width: 992px) {
    #legal-content .legal-toc {
        position: sticky;
        top: 90px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #legal-hero {
        padding: 4rem 0;
    }
    #legal-hero h1 {
        font-size: 2.6rem;
    }
    #legal-content {
        padding: 3.5rem 0 4.5rem;
    }
    #legal-content article {
        padding: 2.5rem;
    }
    #legal-content article h2 {
        font-size: 1.4rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #legal-hero {
        padding: 4.5rem 0;
    }
    #legal-hero h1 {
        font-size: 2.85rem;
    }
    #legal-content {
        padding: 4rem 0 5rem;
    }
    #legal-content article {
        padding: 3rem;
    }
    #legal-content article h2 {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 1400px) {
    #legal-hero {
        padding: 5rem 0;
    }
    #legal-hero h1 {
        font-size: 3rem;
    }
    #legal-content {
        padding: 4.5rem 0 5.5rem;
    }
    #legal-content article {
        padding: 3.5rem;
    }
    #legal-content article h2 {
        font-size: 1.55rem;
    }
}
#partidos-judiciales .map-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    min-height: 300px;
    padding: 2rem 1.5rem;
    background-color: #f6f7f9;
    background-image: radial-gradient(rgba(11, 35, 65, 0.08) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    text-align: center;
}
#partidos-judiciales .map-consent > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--main-yellow, #c5a059);
    font-size: 1.6rem;
}
#partidos-judiciales .map-consent p {
    max-width: 420px;
    margin: 0;
    color: var(--main-grey, #758390);
    font-size: 0.9rem;
}
#partidos-judiciales .map-consent .map-consent-title {
    color: var(--main-blue, #0b2341);
    font-size: 1.1rem;
    font-weight: 700;
}
#partidos-judiciales .map-consent p a {
    color: var(--main-blue, #0b2341);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--main-yellow, #c5a059);
    text-underline-offset: 3px;
}
#partidos-judiciales .map-consent > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}
#partidos-judiciales .map-consent .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--main-blue, #0b2341);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}
#partidos-judiciales .map-consent .btn:first-child {
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
}
#partidos-judiciales .map-consent .btn:first-child:hover {
    background-color: var(--white, #ffffff);
    color: var(--main-blue, #0b2341);
}
#partidos-judiciales .map-consent .btn:last-child {
    background-color: transparent;
    color: var(--main-blue, #0b2341);
}
#partidos-judiciales .map-consent .btn:last-child:hover {
    background-color: var(--main-blue, #0b2341);
    color: var(--white, #ffffff);
}

/*
@media screen and (max-width: 575.99px) {
    
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    
}
@media screen and (min-width: 1400px) {

}
*/