:root {
    --torok-ink: #142d4a;
    --torok-blue: #184f9f;
    --torok-surface: #f1f6fc;
    --torok-line: #dce7f3;
}
body .penci-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}
body.admin-bar .penci-header-wrap { top: 32px; }
body #header { border-bottom: 1px solid var(--torok-line); }
body #navigation.header-6 {
    background: #fff;
    box-shadow: 0 3px 18px #193d6310;
}
body #navigation.header-6 > .container {
    width: min(100% - 36px, 1320px);
    max-width: none;
    margin-inline: auto;
}
body #navigation.header-6 #logo img {
    width: clamp(174px, 17vw, 234px);
    height: auto;
    max-height: none;
    vertical-align: middle;
}
body #navigation #menu-menu {
    gap: clamp(3px, .85vw, 15px);
    margin-left: auto;
}
body #navigation #menu-menu > li { margin-inline: 0; }
body #navigation #menu-menu > li > a {
    padding: 10px clamp(6px, .6vw, 12px);
    color: var(--torok-ink);
    font-size: clamp(14px, 1.16vw, 17px);
    font-weight: 700;
    line-height: 1.3;
    border-radius: 9px;
}
body #navigation #menu-menu > li > a:hover,
body #navigation #menu-menu > .current-menu-item > a,
body #navigation #menu-menu > .current-language-menu-item > a {
    background: var(--torok-surface);
    color: var(--torok-blue);
}
body #navigation #menu-menu > .menu-item-1165 > a,
body #sidebar-nav .menu-item-1165 > a {
    background: var(--torok-blue);
    color: #fff !important;
    border-radius: 9px;
}
body #navigation #menu-menu > .menu-item-1165 > a:hover { background: #123d7c; }
body #navigation .button-menu-mobile {
    width: 44px;
    height: 44px;
    border: 1px solid var(--torok-line);
    border-radius: 10px;
    background: var(--torok-surface);
    color: var(--torok-ink);
    line-height: 44px;
    text-align: center;
}
body #sidebar-nav {
    width: min(340px, 88vw);
    background: #fff;
    color: var(--torok-ink);
    overscroll-behavior: contain;
}
body #sidebar-nav-logo {
    padding: 20px 58px 18px 20px;
    border-bottom: 1px solid var(--torok-line);
    text-align: left;
}
body #sidebar-nav-logo img {
    width: min(100%, 200px);
    height: auto;
}
body #sidebar-nav li a {
    color: var(--torok-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 44px;
    padding: 12px;
}
body #sidebar-nav .menu > li { border-color: var(--torok-line); }
body #sidebar-nav .menu-item-1165 { margin: 6px 0; }
body #sidebar-nav .current-language-menu-item > a { background: var(--torok-surface); }
body #sidebar-nav .torok-menu-close {
    position: absolute;
    z-index: 1;
    top: 14px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--torok-line);
    border-radius: 10px;
    background: var(--torok-surface);
    color: var(--torok-ink);
    font: 28px/1 system-ui, sans-serif;
    cursor: pointer;
}
body #footer-section:has(.torok-footer-inner) {
    margin: 0;
    padding: 0;
    text-align: left;
    background: #132c49;
    color: #fff;
    border-top: 4px solid #4c87d7;
}
.torok-footer-inner {
    width: min(100% - 48px, 1200px);
    margin-inline: auto;
    padding: 42px 0 12px;
    font: 500 15px/1.45 system-ui, sans-serif;
}
.torok-footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    align-items: start;
    gap: 26px;
    padding-bottom: 25px;
}
body #footer-section .torok-footer-inner h2 {
    margin: 0 0 10px;
    color: #fff;
    font: 720 17px/1.3 system-ui, sans-serif;
}
body #footer-section .torok-footer-inner a {
    color: #e5eefb;
    text-decoration: none;
}
body #footer-section .torok-footer-inner a:hover { color: #fff; text-decoration: underline; }
.torok-footer-logo {
    display: inline-flex;
    width: 212px;
    max-width: 100%;
    padding: 10px 13px;
    border-radius: 10px;
    background: #fff;
}
.torok-footer-logo img { display: block; width: 100%; height: auto; }
.torok-footer-brand p { margin: 10px 0 12px; color: #e5eefb; }
.torok-footer-profiles { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.torok-footer-profiles a { border-bottom: 1px solid #7892b1; padding-bottom: 3px; }
.torok-footer-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 12px; }
.torok-footer-menu h2 { grid-column: 1 / -1; }
.torok-footer-contact a { display: block; margin: 0 0 7px; overflow-wrap: anywhere; }
body #footer-section .torok-footer-inner .torok-legal-links {
    justify-content: flex-start;
    gap: 8px 18px;
    padding: 13px 0;
    border-block: 1px solid #ffffff35;
    background: transparent;
    color: #e5eefb;
}
.torok-legal-links .torok-sal { margin-left: auto; max-width: 100%; }
.torok-sal img { width: 250px; border-radius: 5px; }
.torok-footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 16px; padding: 12px 0 6px; color: #d2e0f2; font-size: 13px; }
body #arcontactus.right { right: max(14px,env(safe-area-inset-right)); bottom: max(14px,env(safe-area-inset-bottom)); }
body #arcontactus .arcu-message-button {
    border: 1px solid #ffffff84;
    background: linear-gradient(145deg,#2569bf,#173e77) !important;
    box-shadow: 0 6px 24px #142d4a48;
}
body #arcontactus .arcu-message-button .static-container,
body #arcontactus .arcu-message-button .icons { border: none; background: transparent; }
body #arcontactus .arcu-message-button .static-container p { display: none; }
body #arcontactus .arcu-message-button .icons-line > span { color: #fff !important; }
body #arcontactus .arcu-message-button .static-container svg {
    display: none;
}
body #arcontactus .arcu-message-button .static-container .img-24::before {
    content: "";
    display: block;
    width: 26px;
    height: 26px;
    margin: auto;
    background: #fff;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 18l-4 3v-4a3 3 0 0 1-2-3V7a3 3 0 0 1 3-3h13a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3H8z'/%3E%3Cpath d='M7 9h9M7 12h6'/%3E%3C/svg%3E") center / contain no-repeat;
}
body #arcontactus .messangers-block {
    max-width: calc(100vw - 32px);
    border: 1px solid var(--torok-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 38px #142d4a32;
}
body #arcontactus .messangers-list { padding: 7px; }
body #arcontactus .messanger { border-radius: 9px; }
body #arcontactus .messanger:hover { background: var(--torok-surface); }
#navigation a:focus-visible,#sidebar-nav a:focus-visible,#sidebar-nav button:focus-visible,
#navigation .button-menu-mobile:focus-visible,#arcontactus .arcu-message-button:focus-visible,
.torok-footer-inner a:focus-visible { outline: 2px solid #629be7; outline-offset: 3px; }
@media (min-width: 961px) {
    body #navigation #menu-menu { display: flex; align-items: center; }
}
@media (max-width: 782px) {
    body.admin-bar .penci-header-wrap { top: 46px; }
    .torok-footer-grid { grid-template-columns: 1fr 1fr; }
    .torok-footer-brand { grid-column: 1 / -1; }
    .torok-footer-menu { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    body #navigation.header-6 > .container { width: calc(100% - 24px); }
    body #navigation.header-6 #logo img { width: min(172px, 53vw); }
    .torok-footer-inner { width: calc(100% - 32px); padding-top: 27px; padding-bottom: 68px; }
    .torok-footer-grid { gap: 18px; padding-bottom: 17px; }
    .torok-footer-contact { min-width: 0; }
    .torok-legal-links .torok-sal { margin-left: 0; }
}
.elementor-section[data-id="df6f1d4"] { display: none !important; }
#torok-site-reviews {
    padding: clamp(27px,5vw,58px) max(16px,calc((100% - 1200px)/2));
    background: var(--torok-surface);
    border-top: 1px solid var(--torok-line);
    color: var(--torok-ink);
}
#torok-site-reviews h2 {
    margin: 0 0 18px;
    color: inherit;
    font: 750 clamp(23px,3vw,38px)/1.18 system-ui,sans-serif;
    letter-spacing: -.025em;
}
.torok-reviews-carousel {
    min-width: 0;
    padding: clamp(12px,2vw,20px);
    border: 1px solid var(--torok-line);
    border-radius: 16px;
    background: #fff;
}
.torok-reviews-carousel .torok-review-note { margin: 0; }
body #torok-site-reviews .torok-review-pause {
    margin: 9px 0 0;
    border: 1px solid var(--torok-line);
    border-radius: 8px;
    padding: 6px 12px;
    background: #fff;
    color: var(--torok-ink);
    cursor: pointer;
}
#torok-site-reviews .torok-review-pause[hidden] { display: none !important; }

.torok-sal img { width: 250px; height: 50px; object-fit: contain; }

/* Older page-builder review introductions are replaced by the site-wide section. */
#main .elementor-section:is([data-id="df84646"], [data-id="98b8e8a"], [data-id="2386d19"], [data-id="cec7425"], [data-id="c95ec76"]) {
    display: none !important;
}

#main :is(.elementor-button, .penci-button),
body #main .fc-form :is(.submit-button, .fileupload-button) {
    min-height: 44px;
    border: 1px solid #184f9f;
    border-radius: 9px;
    background-color: #184f9f;
    color: #fff;
    font-weight: 700;
}
body #main :is(.elementor-button,.penci-button):hover,
body #main .fc-form :is(.submit-button,.fileupload-button):hover {
    border-color: #123d7c;
    background-color: #123d7c;
    color: #fff;
}
body #main .pencislider-btn-2 {
    border-color: #fff;
    background-color: #142d4af2;
    color: #fff;
}
body #main .pencislider-btn-2:hover {
    background-color: #fff;
    border-color: #fff;
    color: #142d4a;
}
#main .elementor-section[data-id="7a280dc"] h2 {
    text-shadow: 0 2px 16px #071c33e0;
}
#main .elementor-section[data-id="f6c84f2"] h2 {
    color: #184f9f;
}
#main .fc-form :is(.field-label, .main-label) {
    color: #142d4a;
}
#main .fc-form .sub-label {
    color: #465b72;
}
body #main .fc-form :is(input[type=text],input[type=email],input[type=tel],select,textarea) {
    min-height: 44px;
    border-color: #7890a9;
    border-radius: 8px;
    background: #fff;
    color: #142d4a;
    font-size: 16px;
}
body #main .fc-form :is(input,textarea)::placeholder {
    color: #54687e;
    opacity: 1;
}
body #main .fc-form input[type=checkbox] {
    accent-color: #184f9f;
}
body #main .fc-form .error {
    color: #a31f32;
}
#main :is(a,button,input,select,textarea):focus-visible,
#main .fileupload-button:focus-within {
    outline: 2px solid #184f9f;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}

/* Soledad uses the same geometry before and after its sticky state changes. */
body .penci-header-wrap { --torok-header-height: 76px; }
body #navigation-sticky-wrapper { height: var(--torok-header-height) !important; }
body #navigation.header-6 { min-height: var(--torok-header-height); }
body #navigation.header-6 > .container {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: var(--torok-header-height);
    padding: 0;
    gap: 16px;
}
body #navigation.header-6 > .container::before,
body #navigation.header-6 > .container::after { display: none; }
body #navigation.header-6 #logo {
    float: none;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 0;
    line-height: 1;
}
body #navigation.header-6 #logo a { display: block; }
body #navigation.header-6 #logo img {
    display: block;
    width: clamp(182px, 17vw, 232px) !important;
    height: auto !important;
    max-width: 100%;
    max-height: 58px;
    padding: 0 !important;
    object-fit: contain;
}
@media (min-width: 961px) {
    body #navigation.header-6 #menu-menu {
        display: flex !important;
        align-items: center;
        gap: clamp(3px, .65vw, 12px);
        float: none;
    }
    body #navigation #menu-menu > li { float: none; }
    body #navigation #menu-menu > li > a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        white-space: nowrap;
    }
}
@media (max-width: 960px) {
    body .penci-header-wrap { --torok-header-height: 66px; }
    body #navigation.header-6 > .container {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 8px;
        width: calc(100% - 24px);
    }
    body #navigation .button-menu-mobile {
        display: grid;
        place-items: center;
        float: none;
        margin: 0;
        padding: 0;
    }
    body #navigation.header-6 #logo { justify-self: center; min-width: 0; }
    body #navigation.header-6 #logo img { width: min(200px, 56vw) !important; }
    body #sidebar-nav {
        left: 0 !important;
        width: min(340px, 88vw);
        transform: translateX(-100%) !important;
        visibility: hidden;
        transition: transform .24s ease, visibility .24s;
    }
    body.open-sidebar-nav #sidebar-nav {
        transform: translateX(0) !important;
        visibility: visible;
    }
    body.open-sidebar-nav #close-sidebar-nav {
        left: min(340px, 88vw);
        width: calc(100% - min(340px, 88vw));
    }
}
@media (prefers-reduced-motion: reduce) {
    body #sidebar-nav { transition: none; }
}

/* The policy intro uses the whole page width; the article keeps a reading measure. */
body.torok-policy-page #soledad_wrapper > .container-single-page:has(.torok-policy-hero) {
    width: 100%; max-width: none; padding: 0; margin: 0;
}
body.torok-policy-page .container-single-page:has(.torok-policy-hero) #main {
    width: 100%; max-width: none; padding: 0; margin: 0;
}
body.torok-policy-page #main .entry-content .torok-policy-hero {
    margin: 0;
    padding: clamp(28px, 5.2vw, 70px) 20px;
    background: linear-gradient(112deg, #122a47 0%, #193e6e 100%);
    color: #fff;
}
.torok-policy-hero-inner { max-width: 920px; margin-inline: auto; }
body.torok-policy-page #main .entry-content .torok-policy-hero h1 {
    color: #fff;
    font-size: clamp(29px, 5vw, 54px);
    line-height: 1.11;
    margin: 12px 0;
    overflow-wrap: anywhere;
}
body.torok-policy-page #main .entry-content .torok-policy-hero p {
    color: #ecf4ff; font-size: clamp(14px, 1.6vw, 16px); margin: 0;
}
body.torok-policy-page #main .torok-policy-hero a { color: #b9e4ff; }
body.torok-policy-page #main .torok-policy-body a { color: #184f9f; text-decoration: underline; }

#torok-site-reviews { background: linear-gradient(180deg, #f7faff, #edf4fc); }
#torok-site-reviews h2 { text-align: center; margin-bottom: clamp(16px, 2.6vw, 28px); }
.torok-reviews-carousel {
    padding: clamp(12px, 2vw, 22px) clamp(16px, 3.5vw, 42px);
    border-radius: 20px;
    box-shadow: 0 10px 36px #142d4a0c;
}
.torok-reviews-carousel .torok-review-note { text-align: center; }
body #torok-site-reviews .torok-review-pause {
    display: block; min-height: 44px; margin: 12px auto 0; padding-inline: 18px;
}
#torok-site-reviews { scroll-margin-top: 82px; }
