/**
 * CSS de adaptación mínimo (no forma parte del sitio público real):
 * Bootstrap 4 (cargado desde general/style/bootstrap.min.css) usa
 * `.sr-only`, no `.visually-hidden`. Varias vistas MVC ya usaban
 * `.visually-hidden` (honeypot de formularios, labels accesibles) antes
 * de esta hoja; sin esta regla quedan visibles por error. Definición
 * estándar WAI/Bootstrap 5, sin equivalente visual en el sitio público.
 */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    padding: 12px 0 0;
}

.blog-pagination__list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #c2d0d8;
    background: #dfebf1;
    color: #364049;
    font: normal normal 400 16px/1 DMSans, sans-serif;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-pagination__link:hover,
.blog-pagination__link:focus {
    border-color: #364049;
    background: #cbd7dd;
    color: #000;
    text-decoration: none;
    outline: none;
}

.blog-pagination__item.is-active .blog-pagination__link {
    border-color: #364049;
    background: #364049;
    color: #fff;
}

.blog-pagination__item.is-disabled .blog-pagination__link {
    pointer-events: none;
    opacity: 0.45;
}

.contact-date-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px;
    border: 1px solid rgba(54, 64, 73, 0.12);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.28);
}

.contact-date-toggle__option {
    position: relative;
}

.contact-date-toggle__option input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-date-toggle__option label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 40px;
    padding: 0 18px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 3px;
    color: #364049;
    font: normal normal 300 15px/1 DMSans, sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-date-toggle__option label:hover {
    border-color: rgba(54, 64, 73, 0.28);
    background: rgba(255, 255, 255, 0.5);
}

.contact-date-toggle__option input[type="radio"]:checked + label {
    border-color: #364049;
    background: #364049;
    color: #fff;
    font-weight: 400;
}

.contact-date-toggle__option input[type="radio"]:focus + label {
    outline: 2px solid rgba(54, 64, 73, 0.24);
    outline-offset: 2px;
}

.contact-date-field {
    position: relative;
}

.contact-date-input {
    cursor: pointer;
    background-color: #e3ebef;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23364049' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cline x1='16' y1='3' x2='16' y2='7'/%3E%3Cline x1='8' y1='3' x2='8' y2='7'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.contact-date-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    background-color: #e3ebef;
    border: 1px solid #364049;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(54, 64, 73, 0.18);
    font: normal normal 300 14px/1 DMSans, sans-serif;
    color: #364049;
}

.contact-date-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.contact-date-dropdown__label {
    font-weight: 500;
    text-transform: capitalize;
}

.contact-date-dropdown__nav {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(54, 64, 73, 0.24);
    border-radius: 50%;
    background: transparent;
    color: #364049;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.contact-date-dropdown__nav:hover {
    background: rgba(54, 64, 73, 0.08);
    border-color: #364049;
}

.contact-date-dropdown__weekdays,
.contact-date-dropdown__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.contact-date-dropdown__weekdays span {
    font-size: 11px;
    font-weight: 500;
    color: rgba(54, 64, 73, 0.6);
    padding-bottom: 4px;
}

.contact-date-dropdown__day {
    height: 30px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #364049;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-date-dropdown__day:hover {
    background: rgba(54, 64, 73, 0.12);
}

.contact-date-dropdown__day.is-today {
    border: 1px solid rgba(54, 64, 73, 0.4);
}

.contact-date-dropdown__day.is-selected {
    background: #364049;
    color: #fff;
}

.contact-side-cta {
    background-color: #d7e2e8;
    border: 1px solid #9FB3BF;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(54, 64, 73, 0.08);
    margin-top: 32px;
    max-width: 360px;
    padding: 22px 24px;
    text-align: left;
    width: 100%;
}

.contact-side-cta__title {
    align-items: center;
    color: #364049;
    display: flex;
    font: normal normal 600 19px/24px DMSans;
    gap: 8px;
    margin-bottom: 6px;
}

.contact-side-cta__title-icon {
    color: #5B6B76;
    font-size: 16px;
}

.contact-side-cta__phone {
    color: #364049;
    display: block;
    font: normal normal 600 16px/22px DMSans;
    margin-bottom: 18px;
    padding-left: 2ch;
    text-decoration: none;
}

.contact-side-cta__phone:hover,
.contact-side-cta__phone:focus {
    color: #364049;
    text-decoration: underline;
}

.contact-side-cta__button {
    align-items: center;
    background-color: #d7e2e8;
    border: 1px solid #9FB3BF;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(54, 64, 73, 0.08);
    color: #364049;
    display: flex;
    font: normal normal 600 14px/20px DMSans;
    gap: 10px;
    justify-content: center;
    min-height: 38px;
    padding: 9px 20px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    width: 100%;
}

.contact-side-cta__button:hover,
.contact-side-cta__button:focus {
    background-color: #C7D5DD;
    border-color: #85A0AE;
    color: #364049;
    text-decoration: none;
}

.contact-side-cta__hint {
    color: #6B7680;
    font: normal normal 500 12px/16px DMSans;
    margin: 12px 0 0;
    text-align: center;
}

.home-seo-intro,
.home-seo-body,
.home-faq {
    background: #d7e2e8;
    color: #364049;
}

.home-seo-intro {
    padding: 82px 0 58px;
}

.home-seo-body {
    padding: 76px 0;
}

.home-faq {
    padding: 76px 0 96px;
}

.home-seo-container {
    max-width: 1120px;
}

.home-seo-lead {
    max-width: 860px;
}

.home-seo-lead h2,
.home-seo-block h2,
.home-faq h2 {
    color: #364049;
    font: normal normal normal 36px/42px PlayFairDisplay;
    letter-spacing: 0;
    margin: 0 0 24px;
}

.home-seo-lead p,
.home-seo-block p,
.home-faq-item p {
    color: #364049;
    font: normal normal 300 17px/25px DMSans;
    margin: 0 0 16px;
}

.home-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.home-seo-links a,
.home-seo-cta {
    border: 1px solid #364049;
    border-radius: 30px;
    color: #364049;
    display: inline-flex;
    font: normal normal 500 13px/18px DMSans;
    letter-spacing: 0.8px;
    padding: 9px 18px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-seo-links a:hover,
.home-seo-links a:focus,
.home-seo-cta:hover,
.home-seo-cta:focus {
    background: #364049;
    color: #ffffff;
    text-decoration: none;
}

.home-seo-grid {
    display: grid;
    gap: 44px 52px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-seo-block {
    border-top: 1px solid rgba(54, 64, 73, 0.28);
    padding-top: 28px;
}

.home-seo-block:last-child {
    grid-column: 1 / -1;
    max-width: 760px;
}

.home-seo-cta {
    margin-top: 10px;
}

.home-faq-list {
    border-top: 1px solid rgba(54, 64, 73, 0.28);
}

.home-faq-item {
    border-bottom: 1px solid rgba(54, 64, 73, 0.28);
    padding: 0;
}

.home-faq-item summary {
    color: #364049;
    cursor: pointer;
    font: normal normal 600 17px/24px DMSans;
    list-style: none;
    padding: 22px 42px 22px 0;
    position: relative;
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary::after {
    content: "+";
    font: normal normal 300 28px/28px DMSans;
    position: absolute;
    right: 0;
    top: 19px;
}

.home-faq-item[open] summary::after {
    content: "-";
}

.home-faq-item p {
    max-width: 820px;
    padding: 0 42px 22px 0;
}

@media (max-width: 767px) {
    .blog-pagination {
        padding-top: 24px;
    }

    .blog-pagination__list {
        gap: 6px;
    }

    .blog-pagination__link {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 14px;
    }

    .contact-date-toggle {
        display: flex;
        width: 100%;
    }

    .contact-date-toggle__option {
        flex: 1 1 0;
    }

    .contact-date-toggle__option label {
        width: 100%;
        min-width: 0;
    }

    .contact-side-cta {
        margin-bottom: 24px;
        margin-top: 24px;
        max-width: none;
    }

    .home-seo-intro,
    .home-seo-body,
    .home-faq {
        padding: 54px 0;
    }

    .home-seo-lead h2,
    .home-seo-block h2,
    .home-faq h2 {
        font-size: 30px;
        line-height: 35px;
    }

    .home-seo-grid {
        grid-template-columns: 1fr;
    }

    .home-seo-block:last-child {
        grid-column: auto;
    }

    .home-seo-links {
        align-items: stretch;
        flex-direction: column;
    }

    .home-seo-links a,
    .home-seo-cta {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}
