/*
Theme Name: SCOTECH Electrical Theme
Theme URI: https://www.scotech-electrical.com/
Author: AI Assistant
Description: A modern, light-themed, professional corporate design for SCOTECH Electrical.
Version: 1.0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scotech-theme
*/

/* -----------------------------------------------------
   Encapsulated Component Styles 
   (Replacing Tailwind @apply to avoid CDN parsing errors)
----------------------------------------------------- */

body {
    font-family: sans-serif;
    background-color: #ffffff;
    color: #011837;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout & Wrappers */
.container-box { max-width: 80rem; margin: 0 auto; padding: 0 1rem; width: 100%; box-sizing: border-box; }
@media (min-width: 640px) { .container-box { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-box { padding: 0 2rem; } }

.section-wrapper { padding: 2rem 0; }
@media (min-width: 640px) { .section-wrapper { padding: 7rem 0; } }

.section-bg-white { background-color: #ffffff; }
.section-bg-light { background-color: #E7EEF1; }
.section-bg-products-home { background-color: #FAFBFB; }

/* Homepage — Technical Capabilities band */
.scotech-home-tech__head {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .scotech-home-tech__head { margin-bottom: 3rem; }
}
.scotech-home-tech__heading {
    margin-bottom: 1rem;
}
.scotech-home-tech__sub {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #475569;
}
.scotech-home-tech__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .scotech-home-tech__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }
}
@media (min-width: 1024px) {
    .scotech-home-tech__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
.scotech-home-tech__card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, #fafcfd 0%, #ffffff 55%, #f5f9fb 100%);
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(1, 82, 123, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.22s ease;
}
.scotech-home-tech__card:hover,
.scotech-home-tech__card:focus-within {
    border-color: rgba(132, 189, 0, 0.65);
    box-shadow: 0 10px 28px -12px rgba(1, 82, 123, 0.18);
    transform: translateY(-2px);
}
.scotech-home-tech__index {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.65rem;
    height: 2.65rem;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #01527b;
    background: linear-gradient(145deg, rgba(132, 189, 0, 0.22) 0%, rgba(132, 189, 0, 0.08) 100%);
    border-radius: 0.45rem;
    border: 1px solid rgba(132, 189, 0, 0.4);
}
.scotech-home-tech__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    font-weight: 600;
    color: #334155;
    padding-top: 0.2rem;
}

/* Homepage — Global Presence + flags */
.scotech-home-global__head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 2.5rem;
}
.scotech-home-global__heading {
    margin-bottom: 1rem;
}
.scotech-home-global__lead {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #475569;
}
.scotech-home-global__flags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.75rem;
}
@media (min-width: 480px) {
    .scotech-home-global__flags {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}
@media (min-width: 768px) {
    .scotech-home-global__flags {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.15rem 1rem;
    }
}
@media (min-width: 1024px) {
    .scotech-home-global__flags {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
.scotech-home-global__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    padding: 0.65rem 0.35rem 0.85rem;
    border-radius: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.25s ease;
    cursor: default;
    outline: none;
}
.scotech-home-global__cell:hover,
.scotech-home-global__cell:focus-visible {
    border-color: #84bd00;
    box-shadow: 0 8px 22px -10px rgba(1, 82, 123, 0.28);
    transform: translateY(-3px);
}
.scotech-home-global__flag-wrap {
    width: 100%;
    max-width: 5.5rem;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    border-radius: 0.35rem;
    overflow: hidden;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: box-shadow 0.28s ease, background 0.28s ease;
}
.scotech-home-global__cell:hover .scotech-home-global__flag-wrap,
.scotech-home-global__cell:focus-visible .scotech-home-global__flag-wrap {
    box-shadow: inset 0 0 0 2px #84bd00, 0 4px 14px -6px rgba(1, 24, 55, 0.35);
    background: #ffffff;
}
.scotech-home-global__flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.45) contrast(0.92) brightness(1.05);
    transform: scale(1);
    transition: filter 0.35s ease, transform 0.3s ease;
}
.scotech-home-global__cell:hover .scotech-home-global__flag,
.scotech-home-global__cell:focus-visible .scotech-home-global__flag {
    filter: saturate(1.12) contrast(1) brightness(1);
    transform: scale(1.06);
}
.scotech-home-global__label {
    font-size: 0.6875rem;
    line-height: 1.35;
    font-weight: 600;
    color: #64748b;
    max-width: 100%;
    padding: 0 0.15rem;
    transition: color 0.25s ease;
}
@media (min-width: 640px) {
    .scotech-home-global__label { font-size: 0.75rem; }
}
.scotech-home-global__cell:hover .scotech-home-global__label,
.scotech-home-global__cell:focus-visible .scotech-home-global__label {
    color: #01527b;
}

/* Homepage — Quality + certificates */
.scotech-home-quality__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.25rem;
}
.scotech-home-quality__heading {
    margin-bottom: 0;
}
.scotech-home-quality__list {
    margin: 0 auto 2.25rem;
    padding: 0 0 0 1.2rem;
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
    list-style-position: outside;
}
.scotech-home-quality__list li {
    margin: 0 0 0.65rem;
}
.scotech-home-quality__list li:last-child {
    margin-bottom: 0;
}
.scotech-home-quality__list li::marker {
    color: #84bd00;
}
.scotech-home-quality__certs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 768px) {
    .scotech-home-quality__certs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.15rem;
    }
}
.scotech-home-quality__cert {
    margin: 0;
    padding: 0;
    border-radius: 0.45rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.scotech-home-quality__cert:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px -8px rgba(1, 24, 55, 0.12);
}
.scotech-home-quality__cert img {
    width: 100%;
    height: auto;
    display: block;
}
.scotech-home-quality__cert--empty {
    min-height: 9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.25rem;
    border: 2px dashed #cbd5e1;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: #94a3b8;
    text-align: center;
}
.scotech-home-quality__cert-hint {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

/* Homepage — three feature cards (image + title + subtitle) */
.scotech-feature-trio__head {
    margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
    .scotech-feature-trio__head { margin-bottom: 3rem; }
}
.scotech-feature-trio__lead {
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #475569;
}
@media (min-width: 640px) {
    .scotech-feature-trio__lead { font-size: 1.125rem; }
}
.scotech-feature-trio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 768px) {
    .scotech-feature-trio-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.scotech-feature-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(1, 82, 123, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.scotech-feature-card:hover {
    box-shadow: 0 12px 28px -8px rgba(1, 82, 123, 0.18);
    transform: translateY(-3px);
}
.scotech-feature-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    overflow: hidden;
}
.scotech-feature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.scotech-feature-card__body {
    padding: 1.25rem 1.35rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.scotech-feature-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #011837;
    line-height: 1.35;
    margin: 0 0 0.65rem;
}
@media (min-width: 1024px) {
    .scotech-feature-card__title { font-size: 1.125rem; }
}
.scotech-feature-card__bar {
    display: block;
    width: 40px;
    height: 3px;
    background: #84bd00;
    border-radius: 2px;
    margin-bottom: 0.85rem;
}
.scotech-feature-card__subtitle {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.62;
    color: #475569;
    flex: 1;
}

.top-bar { background-color: #ffffff; color: #011837; font-size: 0.875rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .top-bar-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .top-bar-inner { padding: 0 2rem; } }
.top-bar-links.top-bar-social { display: none; gap: 0.75rem; align-items: center; }
@media (min-width: 640px) { .top-bar-links.top-bar-social { display: flex; flex-wrap: wrap; justify-content: flex-end; } }
.top-bar-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: #011837;
    transition: color 0.2s;
    text-decoration: none;
}
.top-bar-social__link:hover,
.top-bar-social__link:focus-visible { color: #84BD00; }
.top-bar-social__link svg { width: 1.125rem; height: 1.125rem; }
.top-bar-contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar-contact-link:hover,
.top-bar-contact-link:focus-visible {
    color: #01527b;
    text-decoration: underline;
    outline: none;
}
@media (max-width: 767px) {
    .top-bar { display: none; }
}

/* Header */
.site-header { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid #f3f4f6; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 6rem; max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .header-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .header-inner { padding: 0 2rem; } }
.site-logo { font-size: 1.75rem; font-weight: 700; color: #011837; letter-spacing: -0.025em; display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; text-decoration: none; }
.site-logo:hover { color: #01527B; }
.site-branding .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    text-decoration: none;
}
.site-branding .custom-logo-link:focus-visible {
    outline: 2px solid #01527b;
    outline-offset: 2px;
}
.site-branding img.custom-logo {
    display: block;
    max-height: 5rem;
    width: auto;
    height: auto;
}
@media (min-width: 768px) {
    .site-branding img.custom-logo { max-height: 5rem; }
}

/* Homepage — About Us featured image */
.scotech-about-media {
    position: relative;
    border-radius: 0.5rem;
    min-height: 280px;
}
@media (min-width: 1024px) {
    .scotech-about-media { min-height: 400px; }
}
.scotech-about-media__img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}
@media (min-width: 1024px) {
    .scotech-about-media__img { min-height: 400px; }
}

/* Navigation — desktop row + mobile drawer (cf. aceweld) */
body.scotech-nav-open { overflow: hidden; }

.header-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch;
}

.scotech-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(1, 24, 55, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    visibility: hidden;
}
.scotech-nav-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.scotech-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 48;
}
.scotech-nav-toggle__bar {
    display: block;
    height: 2px;
    width: 22px;
    margin-inline: auto;
    background: #011837;
}

.scotech-primary-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    width: min(88vw, 22rem);
    max-width: 100%;
    height: 100dvh;
    margin: 0;
    padding: 1rem 1.15rem 1.25rem;
    background: #fff;
    z-index: 55;
    overflow-y: auto;
    box-shadow: none;
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    pointer-events: none;
}
.scotech-primary-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
    box-shadow: 12px 0 40px rgba(1, 24, 55, 0.18);
}

.scotech-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #f8fafc;
    color: #011837;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}
.scotech-nav-close:hover,
.scotech-nav-close:focus-visible {
    background: #01527b;
    color: #fff;
    outline: none;
}

.scotech-nav-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.scotech-nav-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.scotech-nav-panel__body .nav-link {
    height: auto;
    justify-content: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
}
.scotech-nav-panel__body .nav-link.active {
    border-bottom-color: #01527b;
}
.scotech-nav-panel__body .sub-menu {
    list-style: none;
    margin: 0 0 0.35rem;
    padding: 0 0 0 0.75rem;
    border-left: 2px solid #e7eef1;
}
.scotech-nav-panel__body .sub-menu .nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    padding: 0.5rem 0;
    border-bottom: none;
}

.scotech-nav-panel__foot {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
}
.scotech-nav-panel__mobile-only { display: block; }

.scotech-nav-drawer__brand {
    display: none;
}
.scotech-nav-drawer__brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.scotech-nav-drawer__brand img.custom-logo {
    max-height: 2.75rem;
    width: auto;
    height: auto;
    display: block;
}
.scotech-nav-drawer__logo.site-logo {
    font-size: 1.35rem;
}
.scotech-nav-drawer__logo .w-10 {
    width: 2.25rem;
    height: 2.25rem;
}

.scotech-header-search {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    position: relative;
    align-self: center;
    z-index: 56;
}
.scotech-search-expand {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-width 0.42s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
}
.scotech-search-expand__inner {
    width: min(18rem, calc(100vw - 6rem));
    min-width: min(15rem, calc(100vw - 6rem));
    padding-right: 0.4rem;
}
.scotech-header-search.is-open .scotech-search-expand {
    max-width: min(18rem, calc(100vw - 6rem));
    opacity: 1;
    pointer-events: auto;
}
.scotech-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #011837;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.scotech-search-toggle__icon--close {
    display: none;
}
.scotech-header-search.is-open .scotech-search-toggle__icon--open {
    display: none;
}
.scotech-header-search.is-open .scotech-search-toggle__icon--close {
    display: block;
}
.scotech-header-search:not(.is-open) .scotech-search-toggle:hover,
.scotech-header-search:not(.is-open) .scotech-search-toggle:focus-visible {
    background: #e7eef1;
    color: #01527b;
    outline: none;
}
.scotech-header-search.is-open .scotech-search-toggle {
    background: transparent;
    color: #475569;
}
.scotech-header-search.is-open .scotech-search-toggle:hover,
.scotech-header-search.is-open .scotech-search-toggle:focus-visible {
    background: #e7eef1;
    color: #011837;
    outline: none;
}

.scotech-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.scotech-search-form--header {
    margin: 0;
}
.scotech-search-pill {
    display: flex;
    align-items: center;
    min-height: 2.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    box-shadow: 0 4px 18px rgba(1, 24, 55, 0.08);
    overflow: hidden;
}
.scotech-search-form--header .scotech-search-form__input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.5rem;
    padding: 0.45rem 0.5rem 0.45rem 1.1rem;
    border: none;
    border-radius: 0;
    background: transparent;
    font: inherit;
    font-size: 0.9375rem;
    color: #011837;
}
.scotech-search-form--header .scotech-search-form__input::placeholder {
    color: #94a3b8;
}
.scotech-search-form--header .scotech-search-form__input:focus {
    outline: none;
}
.scotech-search-pill:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 4px 22px rgba(1, 24, 55, 0.1);
}
.scotech-search-pill__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #01527b;
    cursor: pointer;
    transition: color 0.15s ease;
}
.scotech-search-pill__submit:hover,
.scotech-search-pill__submit:focus-visible {
    color: #011837;
    outline: none;
}

@media (max-width: 767px) {
    .scotech-nav-drawer__brand {
        display: block;
        padding-right: 3rem;
        margin-bottom: 0.35rem;
    }
    .scotech-nav-panel__foot .scotech-header-search {
        position: relative;
        width: 100%;
        height: auto;
        max-width: 100%;
        flex: 0 0 auto;
        align-self: stretch;
    }
    .scotech-nav-panel__foot .scotech-search-toggle {
        display: none;
    }
    .scotech-nav-panel__foot .scotech-search-expand {
        position: static;
        right: auto;
        top: auto;
        transform: none;
        max-width: 100% !important;
        width: 100%;
        opacity: 1 !important;
        overflow: visible;
        pointer-events: auto;
        z-index: 1;
        padding: 0;
    }
    .scotech-nav-panel__foot .scotech-search-expand__inner {
        width: 100%;
        min-width: 0;
        padding-right: 0;
    }

    /* 抽屉内多级菜单：默认收起，点右侧按钮展开 */
    .scotech-nav-panel__list .menu-item-has-children > .sub-menu {
        display: none;
    }
    .scotech-nav-panel__list .menu-item-has-children.is-submenu-open > .sub-menu {
        display: block;
    }
    .scotech-nav-item-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: 100%;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #e2e8f0;
    }
    .scotech-nav-panel__body .scotech-nav-item-head .nav-link {
        flex: 1 1 auto;
        min-width: 0;
        border-bottom: none;
    }
    .scotech-nav-panel__body .scotech-nav-item-head .nav-link-caret {
        display: none;
    }
    .scotech-submenu-toggle {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        margin: 0 -0.25rem 0 0;
        border: none;
        border-radius: 6px;
        background: transparent;
        color: #011837;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease;
    }
    .scotech-submenu-toggle:hover,
    .scotech-submenu-toggle:focus-visible {
        background: #e7eef1;
        color: #01527b;
        outline: none;
    }
    .scotech-submenu-toggle__icon {
        display: block;
        transition: transform 0.2s ease;
    }
    .scotech-submenu-toggle[aria-expanded="true"] .scotech-submenu-toggle__icon {
        transform: rotate(180deg);
    }
}
.scotech-nav-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}
.scotech-nav-drawer-contact__link {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
    color: #011837;
    transition: color 0.2s;
}
.scotech-nav-drawer-contact__link:hover,
.scotech-nav-drawer-contact__link:focus-visible {
    color: #01527b;
    outline: none;
}
.scotech-nav-drawer-contact__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}
.scotech-nav-drawer-contact__value {
    font-size: 0.9rem;
    font-weight: 600;
    word-break: break-word;
}

.scotech-nav-panel__social-label {
    margin: 0 0 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
}
.scotech-nav-panel__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.scotech-nav-panel__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #011837;
    color: #fff;
    transition: background 0.2s ease, transform 0.15s ease;
}
.scotech-nav-panel__social-link:hover,
.scotech-nav-panel__social-link:focus-visible {
    background: #01527b;
    transform: translateY(-2px);
    outline: none;
}
.scotech-nav-panel__social-link svg {
    width: 1.125rem;
    height: 1.125rem;
}

.nav-link { color: #011837; font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.025em; transition: color 0.2s; display: flex; align-items: center; gap: 0.25rem; height: 100%; border-bottom: 2px solid transparent; text-decoration: none; background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; }
.nav-link:hover { color: #01527B; }
.nav-link.active { color: #01527B; border-bottom-color: #01527B; }

@media (min-width: 768px) {
    .scotech-nav-backdrop,
    .scotech-nav-backdrop.is-active {
        display: none !important;
    }
    .scotech-nav-toggle {
        display: none;
    }
    .scotech-nav-close {
        display: none;
    }
    .scotech-primary-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        position: static;
        width: auto;
        max-width: none;
        height: 100%;
        min-height: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
        pointer-events: auto;
        overflow: visible;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-end;
    }
    .scotech-primary-nav.is-open {
        transform: none;
    }
    .scotech-nav-panel__body {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
        height: 100%;
        min-height: 0;
        flex: 1 1 auto;
        min-width: 0;
    }
    .scotech-nav-panel__list {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.25rem 2rem;
        height: 100%;
        min-height: 0;
        overflow: visible;
        flex: 1 1 auto;
        min-width: 0;
    }
    .scotech-nav-panel__list > .menu-item {
        position: relative;
        display: flex;
        align-items: center;
        align-self: stretch;
        flex-shrink: 0;
    }
    .scotech-nav-panel__list > .menu-item-has-children > .scotech-nav-item-head {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        height: 100%;
        flex: 1 1 auto;
        min-width: 0;
    }
    .scotech-nav-panel__list .scotech-submenu-toggle {
        display: none;
    }
    .scotech-nav-panel__list .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        margin: 0;
        padding: 0.4rem 0;
        min-width: 13rem;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 0.4rem;
        box-shadow: 0 14px 34px rgba(1, 24, 55, 0.16);
        z-index: 100;
        list-style: none;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(0.35rem);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }
    .scotech-nav-panel__list .menu-item-has-children:hover > .sub-menu,
    .scotech-nav-panel__list .menu-item-has-children:focus-within > .sub-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .scotech-nav-panel__list .sub-menu .nav-link {
        white-space: nowrap;
        font-size: 0.8125rem;
        font-weight: 600;
        text-transform: none;
        letter-spacing: 0.02em;
        padding: 0.55rem 1.1rem;
        border-bottom: 1px solid #f1f5f9;
        height: auto;
    }
    .scotech-nav-panel__list .sub-menu li:last-child .nav-link {
        border-bottom: none;
    }
    .scotech-nav-panel__body .nav-link {
        height: 100%;
        padding: 0;
        border-bottom: 2px solid transparent;
    }
    .scotech-nav-panel__body .nav-link.active {
        border-bottom-color: #01527b;
    }
    .scotech-nav-panel__list > .menu-item:not(.menu-item-has-children) > .nav-link,
    .scotech-nav-panel__list > .menu-item-has-children > .scotech-nav-item-head > .nav-link {
        position: relative;
        border-bottom: none;
    }
    .scotech-nav-panel__list > .menu-item:not(.menu-item-has-children) > .nav-link::after,
    .scotech-nav-panel__list > .menu-item-has-children > .scotech-nav-item-head > .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background-color: #01527b;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .scotech-nav-panel__list > .menu-item:not(.menu-item-has-children) > .nav-link:hover::after,
    .scotech-nav-panel__list > .menu-item:not(.menu-item-has-children) > .nav-link:focus-visible::after,
    .scotech-nav-panel__list > .menu-item-has-children > .scotech-nav-item-head > .nav-link:hover::after,
    .scotech-nav-panel__list > .menu-item-has-children > .scotech-nav-item-head > .nav-link:focus-visible::after {
        transform: scaleX(1);
    }
    .scotech-nav-panel__list > .menu-item:not(.menu-item-has-children) > .nav-link.active::after,
    .scotech-nav-panel__list > .menu-item-has-children > .scotech-nav-item-head > .nav-link.active::after {
        transform: scaleX(1);
    }
    .scotech-nav-panel__foot {
        flex-direction: row;
        align-items: center;
        margin-top: 0;
        padding-top: 0;
        border: none;
        gap: 0.75rem;
        flex: 0 0 auto;
    }
    .scotech-nav-panel__mobile-only {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scotech-primary-nav,
    .scotech-nav-backdrop,
    .scotech-search-expand {
        transition-duration: 0.01ms;
    }
    .scotech-nav-panel__list > .menu-item:not(.menu-item-has-children) > .nav-link::after,
    .scotech-nav-panel__list > .menu-item-has-children > .scotech-nav-item-head > .nav-link::after {
        transition-duration: 0.01ms;
    }
    .scotech-submenu-toggle__icon {
        transition-duration: 0.01ms;
    }
}

/* Hero carousel */
.scotech-hero {
    position: relative;
    overflow: hidden;
    background: #012f47;
}
.scotech-hero__ratio {
    position: relative;
    width: 100%;
    padding-top: 37.5%;
}
@media (max-width: 767px) {
    .scotech-hero__ratio { padding-top: 62.5%; }
}
.scotech-hero__track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.scotech-hero__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.scotech-hero__picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.scotech-hero__picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.scotech-hero__picture--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #012f47 0%, #01527b 55%, #012f47 100%);
}
.scotech-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(1, 24, 55, 0.88) 0%,
        rgba(1, 82, 123, 0.55) 50%,
        rgba(132, 189, 0, 0.08) 100%
    );
    z-index: 1;
}
.scotech-hero__slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-decoration: none;
}
.scotech-hero__slide-link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -6px;
}
.scotech-hero__content-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.scotech-hero__content-wrap .container-box {
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    pointer-events: none;
}
.scotech-hero__content {
    display: flex;
    align-items: center;
    min-height: 100%;
    width: 100%;
    pointer-events: none;
}
.scotech-hero__content--left { justify-content: flex-start; text-align: left; }
.scotech-hero__content--center {
    justify-content: center;
    text-align: center;
}
.scotech-hero__content--right {
    justify-content: flex-end;
    text-align: right;
}
.scotech-hero__content--center .scotech-hero__title-bar { margin-left: auto; margin-right: auto; }
.scotech-hero__content--right .scotech-hero__title-bar { margin-left: auto; margin-right: 0; }
.scotech-hero__text {
    max-width: 720px;
    padding: 0.75rem 0;
    color: #ffffff;
    pointer-events: auto;
}
.scotech-hero__title {
    font-size: clamp(1.75rem, 3.75vw, 3.25rem);
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 0.25rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.scotech-hero__title .scotech-hero__accent {
    display: inline-block;
    color: #d4f074;
}
.scotech-hero__title-bar {
    display: block;
    width: 52px;
    height: 4px;
    background: #84bd00;
    border-radius: 2px;
    margin: 0.75rem 0 1.1rem;
}
.scotech-hero__desc {
    font-size: clamp(0.95rem, 1.65vw, 1.1875rem);
    line-height: 1.7;
    margin: 0 0 1.75rem;
    color: rgba(231, 238, 241, 0.92);
}
.scotech-hero__content--center .scotech-hero__actions { justify-content: center; }
.scotech-hero__content--right .scotech-hero__actions { justify-content: flex-end; }
.scotech-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}
.scotech-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.scotech-hero__btn--primary {
    background: #84bd00;
    color: #ffffff;
}
.scotech-hero__btn--primary:hover,
.scotech-hero__btn--primary:focus-visible {
    background: #6a9600;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(104, 150, 0, 0.35);
}
.scotech-hero__btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    background: transparent;
}
.scotech-hero__btn--outline:hover,
.scotech-hero__btn--outline:focus-visible {
    background: #ffffff;
    color: #01527b;
    text-decoration: none;
}
.scotech-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    backdrop-filter: blur(6px);
}
.scotech-hero__arrow--prev { left: 1.25rem; }
.scotech-hero__arrow--next { right: 1.25rem; }
.scotech-hero__arrow:hover {
    background: rgba(132, 189, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.04);
}
@media (max-width: 767px) {
    .scotech-hero__arrow {
        width: 38px;
        height: 38px;
    }
    .scotech-hero__arrow--prev { left: 0.65rem; }
    .scotech-hero__arrow--next { right: 0.65rem; }
}
.scotech-hero__dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 5;
}
.scotech-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, width 0.3s ease;
}
.scotech-hero__dot.is-active {
    background: #84bd00;
    width: 22px;
}
.scotech-hero__dot:hover { background: rgba(255, 255, 255, 0.75); }

/* Buttons */
.btn-group { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .btn-group { flex-direction: row; } }
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 0.875rem 2rem; font-size: 1rem; font-weight: 500; border-radius: 0.25rem; transition: all 0.3s; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); text-transform: uppercase; letter-spacing: 0.025em; cursor: pointer; text-decoration: none; }
.btn-primary { background-color: #84BD00; color: #ffffff; border: none; }
.btn-primary:hover { background-color: #6A9600; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.btn-outline { border: 1px solid #ffffff; color: #ffffff; background-color: transparent; }
.btn-outline:hover { background-color: #ffffff; color: #01527B; }
.btn-outline-primary { border: 1px solid #01527B; color: #01527B; background-color: transparent; }
.btn-outline-primary:hover { background-color: #01527B; color: #ffffff; }

.btn-outline-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 13rem;
    margin-top: 0.35rem;
    padding: 0.9rem 1.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    color: #01527b;
    background: #ffffff;
    border: 2px solid #01527b;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(1, 82, 123, 0.1);
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.28s ease, transform 0.22s ease;
}
.btn-outline-cta__icon {
    flex-shrink: 0;
    transition: transform 0.26s ease;
}
.btn-outline-cta:hover,
.btn-outline-cta:focus-visible {
    background: #01527b;
    color: #ffffff;
    border-color: #01527b;
    box-shadow: 0 10px 28px rgba(1, 82, 123, 0.28);
    transform: translateY(-2px);
}
.btn-outline-cta:hover .btn-outline-cta__icon,
.btn-outline-cta:focus-visible .btn-outline-cta__icon {
    transform: translateX(4px);
}
.btn-outline-cta:focus-visible {
    outline: 2px solid #84bd00;
    outline-offset: 3px;
}

/* About Us page (Template: Scotech About Us) — layout after scotech-electrical.com/about-us */
body.scotech-inner-page {
    background-color: #ffffff;
}
.scotech-about-page__hero {
    background: linear-gradient(135deg, #01527b 0%, #013251 55%, #012f47 100%);
    color: #ffffff;
    padding: 2rem 0 2.5rem;
}
@media (min-width: 640px) {
    .scotech-about-page__hero { padding: 2.5rem 0 3rem; }
}
.scotech-about-page__breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
}
.scotech-about-page__breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.scotech-about-page__breadcrumb a:hover,
.scotech-about-page__breadcrumb a:focus-visible {
    color: #ffffff;
    border-bottom-color: rgba(212, 240, 116, 0.85);
}
.scotech-about-page__breadcrumb-sep {
    margin: 0 0.45rem;
    opacity: 0.75;
}
.scotech-about-page__breadcrumb-current {
    color: #d4f074;
    font-weight: 600;
}
.scotech-about-page__hero-title {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.scotech-404-hero .scotech-about-page__hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    letter-spacing: 0.04em;
    line-height: 1;
}

.scotech-404-hero__lead {
    margin: 1rem 0 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.scotech-404-body__inner {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.scotech-404-body__text {
    margin: 0 0 1.75rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #475569;
}

.scotech-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
    margin-bottom: 2.25rem;
}
.scotech-404-actions .btn {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

.scotech-404-search {
    padding-top: 1.75rem;
    border-top: 1px solid #e2e8f0;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}
.scotech-404-search__label {
    margin: 0 0 0.85rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #011837;
}
.scotech-404-search .scotech-search-form {
    display: flex;
    justify-content: center;
}
.scotech-404-search .scotech-search-form.scotech-search-form--header {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}
.scotech-404-search .scotech-search-pill {
    width: 100%;
}

.scotech-about-page.section-wrapper {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    background-color: #ffffff;
}
@media (min-width: 640px) {
    .scotech-about-page.section-wrapper { padding-top: 3rem; padding-bottom: 5.5rem; }
}
.scotech-about-page__grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .scotech-about-page__grid {
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
        gap: 2.5rem 3rem;
    }
}

.scotech-inner-sidebar__card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 1.5rem;
}
@media (min-width: 1024px) {
    .scotech-inner-sidebar__card {
        padding: 0 2rem 0 0;
        border-right: 1px solid #e8eef2;
        margin-right: 0.5rem;
    }
}
@media (max-width: 1023px) {
    .scotech-inner-sidebar__card {
        border-bottom: 1px solid #e8eef2;
        margin-bottom: 0.25rem;
    }
}
@media (min-width: 1024px) {
    .scotech-inner-sidebar {
        position: sticky;
        top: 1rem;
    }
}
.scotech-inner-sidebar__title {
    margin: 0 0 1rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #01527b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.scotech-inner-sidebar__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #f1f5f9;
}
.scotech-inner-sidebar__nav li {
    border-bottom: 1px solid #f1f5f9;
}
.scotech-inner-sidebar__nav a {
    display: block;
    padding: 0.65rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.scotech-inner-sidebar__nav a:hover,
.scotech-inner-sidebar__nav a:focus-visible {
    color: #01527b;
    padding-left: 0.35rem;
}
.scotech-inner-sidebar__nav a.is-active {
    color: #01527b;
    border-left: 3px solid #84bd00;
    padding-left: 0.75rem;
    margin-left: -3px;
    background: rgba(132, 189, 0, 0.09);
}
.scotech-inner-sidebar__meta {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    color: #011837;
}
.scotech-inner-sidebar__meta-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.5rem;
}
.scotech-inner-sidebar__meta-line:last-child {
    margin-bottom: 0;
}
.scotech-inner-sidebar__meta-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 0;
    color: #84bd00;
}
.scotech-inner-sidebar__meta-icon svg {
    display: block;
    width: 1.375rem;
    height: 1.375rem;
}
.scotech-inner-sidebar__meta a {
    flex: 1 1 auto;
    min-width: 0;
    color: #01527b;
    text-decoration: none;
    line-height: 1.35;
}
.scotech-inner-sidebar__meta a:hover,
.scotech-inner-sidebar__meta a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.scotech-article-index__intro {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e8eef2;
}
.scotech-article-index__intro > *:last-child {
    margin-bottom: 0;
}

.scotech-article-index__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.scotech-article-index__link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem 1.5rem;
    padding: 0.72rem 0;
    border-bottom: 1px dotted #c5cdd5;
    text-decoration: none;
    color: #1e293b;
    transition: color 0.15s ease;
}
.scotech-article-index__link:hover,
.scotech-article-index__link:focus-visible {
    color: #01527b;
    outline: none;
}
.scotech-article-index__title {
    flex: 1;
    min-width: 0;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.45;
}
@media (min-width: 640px) {
    .scotech-article-index__title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
.scotech-article-index__date {
    flex-shrink: 0;
    font-size: 0.9375rem;
    color: #475569;
    font-weight: 400;
}

.scotech-article-index__empty {
    margin: 0;
    font-size: 1rem;
    color: #64748b;
}

.scotech-article-index__pagination {
    margin-top: 2rem;
}
.scotech-article-index__pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.scotech-article-index__pagination .page-numbers li {
    margin: 0;
}
.scotech-article-index__pagination .page-numbers a,
.scotech-article-index__pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    color: #475569;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-sizing: border-box;
}
.scotech-article-index__pagination .page-numbers a:hover,
.scotech-article-index__pagination .page-numbers a:focus-visible {
    color: #01527b;
    border-color: #01527b;
    outline: none;
}
.scotech-article-index__pagination .page-numbers span.current {
    background: #01527b;
    color: #fff;
    border-color: #01527b;
}
.scotech-article-index__pagination .page-numbers span.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0.45rem 0.25rem;
}

.scotech-about-page__article {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.scotech-about-page__entry-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}
.scotech-about-page__entry-content > *:first-child {
    margin-top: 0;
}
.scotech-about-page__entry-content > *:last-child {
    margin-bottom: 0;
}
.scotech-about-page__entry-content h2 {
    margin: 2rem 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #011837;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.35;
}
.scotech-about-page__entry-content h2:first-child {
    margin-top: 0;
}
.scotech-about-page__entry-content h3,
.scotech-about-page__entry-content h4 {
    margin: 1.5rem 0 0.65rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #011837;
    line-height: 1.35;
}
.scotech-about-page__entry-content h3:first-child,
.scotech-about-page__entry-content h4:first-child {
    margin-top: 0;
}
.scotech-about-page__entry-content p {
    margin: 0 0 1rem;
}
.scotech-about-page__entry-content hr {
    border: none;
    border-top: 1px solid #cbd5e1;
    margin: 0 0 1.25rem;
    max-width: 12rem;
    margin-left: auto;
    margin-right: auto;
}
.scotech-about-page__entry-content ul,
.scotech-about-page__entry-content ol {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}
.scotech-about-page__entry-content li {
    margin: 0.35rem 0;
}
.scotech-about-page__entry-content a {
    color: #01527b;
    font-weight: 600;
    text-underline-offset: 2px;
}
.scotech-about-page__entry-content a:hover,
.scotech-about-page__entry-content a:focus-visible {
    color: #013251;
}
.scotech-about-page__entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e8eef2;
}
.scotech-about-page__entry-content .wp-block-image {
    margin: 1.35rem 0;
}
.scotech-about-page__entry-content .wp-block-image.aligncenter,
.scotech-about-page__entry-content .wp-block-image .aligncenter {
    text-align: center;
}
.scotech-about-page__entry-content .wp-block-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
}
.scotech-about-page__entry-content .wp-block-columns {
    margin-bottom: 1.25rem;
}
.scotech-about-page__entry-content blockquote {
    border-left: 4px solid #84bd00;
    margin: 1.25rem 0;
    padding: 0.65rem 0 0.65rem 1rem;
    color: #334155;
    background: #f8fafc;
}
.scotech-about-page__entry-content .page-links,
.scotech-about-page__entry-content .post-page-numbers {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.scotech-about-page__section {
    margin-bottom: 2.25rem;
}
.scotech-about-page__section:last-of-type {
    margin-bottom: 0;
}
.scotech-about-page__section-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #011837;
    text-align: center;
    letter-spacing: 0.02em;
}
.scotech-about-page__section-title--split {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    width: 100%;
    gap: 0;
    margin-left: auto;
    margin-right: auto;
}
.scotech-about-page__section-title--split span {
    font-size: 1.125rem;
    display: inline-block;
}
.scotech-about-page__rule {
    border: none;
    border-top: 1px solid #cbd5e1;
    margin: 0 0 1.25rem;
    max-width: 12rem;
    margin-left: auto;
    margin-right: auto;
}
.scotech-about-page__prose {
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}
.scotech-about-page__prose p {
    margin: 0 0 1rem;
}
.scotech-about-page__prose p:last-child {
    margin-bottom: 0;
}
.scotech-about-page__center-line {
    text-align: center;
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}

.scotech-about-page__figure {
    margin: 1.5rem 0 0;
    text-align: center;
}
.scotech-about-page__figure img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid #e8eef2;
}

.scotech-about-page__contact-block {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e8eef2;
}
.scotech-about-page__contact-title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #01527b;
    text-align: center;
}
.scotech-about-page__contact-list {
    list-style: none;
    margin: 0;
    padding: 1.25rem 0 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-top: 1px solid #e8eef2;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #334155;
}
.scotech-about-page__contact-list li {
    margin: 0 0 0.5rem;
}
.scotech-about-page__contact-list li:last-child {
    margin-bottom: 0;
}
.scotech-about-page__contact-label {
    font-weight: 700;
    color: #011837;
    margin-right: 0.35rem;
}
.scotech-about-page__contact-list a {
    color: #01527b;
    font-weight: 600;
    text-decoration: none;
}
.scotech-about-page__contact-list a:hover,
.scotech-about-page__contact-list a:focus-visible {
    text-decoration: underline;
}

.scotech-about-page__extra {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px dashed #e2e8f0;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}
.scotech-about-page__extra > *:first-child {
    margin-top: 0;
}
.scotech-about-page__extra > *:last-child {
    margin-bottom: 0;
}

/* Section Headings */
.section-tag { color: #01527B; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; display: block; font-size: 0.875rem; }
.section-heading { font-size: 1.875rem; font-weight: 700; color: #011837; margin-bottom: 1.5rem; line-height: 1.25; margin-top: 0; }
@media (min-width: 640px) { .section-heading { font-size: 2.25rem; } }
.section-desc { color: #475569; line-height: 1.625; font-size: 1.125rem; margin-bottom: 2rem; }

/* Homepage — Simple B2B Products (4 columns, plugin post type: product) */
.scotech-home-products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .scotech-home-products__grid { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
}
@media (min-width: 1024px) {
    .scotech-home-products__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.scotech-home-product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8ecec;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
    height: 100%;
}
.scotech-home-product-card:hover {
    box-shadow: 0 14px 34px -14px rgba(1, 82, 123, 0.2);
    transform: translateY(-3px);
}
.scotech-home-product-card__thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e8ecec;
    box-sizing: border-box;
}
.scotech-home-product-card__thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.scotech-home-product-card__placeholder {
    font-size: 0.8125rem;
    color: #94a3b8;
    text-align: center;
}
.scotech-home-product-card__title-row {
    padding: 1rem 1rem 1.2rem;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scotech-home-product-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #011837;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.scotech-home-product-card:hover .scotech-home-product-card__title {
    color: #01527b;
}

.scotech-home-products__empty {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

/* Product Cards */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: flex; flex-direction: column; background-color: #ffffff; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); transition: all 0.3s; border: 1px solid #f3f4f6; height: 100%; border-radius: 0.5rem; overflow: hidden; text-decoration: none; }
.product-card:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); transform: translateY(-4px); }
.card-img-wrap { height: 14rem; background-color: #f1f5f9; display: flex; align-items: center; justify-content: center; color: #94a3b8; position: relative; overflow: hidden; }
.card-overlay { position: absolute; inset: 0; background-color: rgba(1, 82, 123, 0.1); opacity: 0; transition: opacity 0.3s; }
.product-card:hover .card-overlay { opacity: 1; }
.card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; border-top: 4px solid transparent; transition: border-color 0.3s; }
.product-card:hover .card-content { border-top-color: #01527B; }
.card-title { font-size: 1.125rem; font-weight: 700; color: #011837; margin-bottom: 0.75rem; margin-top: 0; transition: color 0.2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card:hover .card-title { color: #01527B; }
.card-desc { color: #475569; font-size: 0.875rem; margin-bottom: 1.25rem; margin-top: 0; flex-grow: 1; line-height: 1.625; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-action { color: #01527B; font-size: 0.875rem; font-weight: 700; margin-top: auto; display: inline-flex; align-items: center; text-transform: uppercase; letter-spacing: 0.025em; }

.scotech-news-section {
    --scotech-news-accent: #f26522;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.scotech-news-section__header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.scotech-news-section__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f172a;
}

.scotech-news-section__tagline {
    margin: 0;
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.scotech-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 640px) {
    .scotech-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .scotech-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.scotech-news-card {
    height: 100%;
    min-width: 0;
}

.scotech-news-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 0.375rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.scotech-news-card__link:not(.scotech-news-card__link--static):hover,
.scotech-news-card__link:not(.scotech-news-card__link--static):focus-visible {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.scotech-news-card__link:not(.scotech-news-card__link--static):focus-visible {
    outline: 3px solid var(--scotech-news-accent);
    outline-offset: 2px;
}

.scotech-news-card__link--static {
    cursor: default;
}

.scotech-news-card__link--static .scotech-news-card__more {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.scotech-news-card__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #e8eef2;
    overflow: hidden;
}

.scotech-news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.scotech-news-card__link:not(.scotech-news-card__link--static):hover .scotech-news-card__img,
.scotech-news-card__link:not(.scotech-news-card__link--static):focus-visible .scotech-news-card__img {
    transform: scale(1.05);
}

.scotech-news-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, #dde5ea 0%, #f2f6f8 48%, #e2ebf0 100%);
}

.scotech-news-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem 1.35rem;
    background: #f7f7f7;
    position: relative;
}

.scotech-news-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scotech-news-card__date {
    display: block;
    margin: 0 0 0.65rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.scotech-news-card__excerpt {
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.scotech-news-card__more {
    display: inline-flex;
    align-items: center;
    margin-top: 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--scotech-news-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    pointer-events: none;
    transition:
        opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.35s;
}

.scotech-news-card:hover .scotech-news-card__more,
.scotech-news-card:focus-within .scotech-news-card__more {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s, 0s, 0s;
}

.scotech-news-section__actions {
    margin-top: 2.75rem;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .scotech-news-card__link,
    .scotech-news-card__img,
    .scotech-news-card__more,
    .btn-outline-cta {
        transition: none !important;
    }

    .scotech-news-card__link:not(.scotech-news-card__link--static):hover,
    .scotech-news-card__link:not(.scotech-news-card__link--static):focus-visible {
        transform: none;
    }

    .scotech-news-card:hover .scotech-news-card__img,
    .scotech-news-card:focus-within .scotech-news-card__img {
        transform: none;
    }

    .scotech-news-card__more {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        transition: none !important;
    }
}
/* Footer */
.site-footer {
    position: relative;
    color: #ffffff;
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
    border-top: none;
    background-color: #0b3a55;
    background-image: url('https://sco.iwptheme.com/wp-content/uploads/2026/04/bottom-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 40, 70, 0.45) 0%, rgba(1, 24, 55, 0.58) 100%);
    pointer-events: none;
    z-index: 0;
}
.footer-inner {
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}
.footer-panel {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    color: inherit;
}
.footer-panel-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    list-style: none;
    cursor: pointer;
    padding: 0.65rem 0;
    margin: 0;
    user-select: none;
    color: inherit;
}
.footer-panel-summary:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
    border-radius: 2px;
}
.footer-panel-summary::-webkit-details-marker {
    display: none;
}
.footer-panel-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
}
.footer-panel-chevron__svg {
    display: block;
    transition: transform 0.2s ease;
}
.footer-panel:not([open]) .footer-panel-chevron__svg {
    transform: rotate(-90deg);
}
.footer-panel-body {
    padding: 0 0 1.15rem;
}
.footer-panel-summary .footer-heading {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}
@media (max-width: 767px) {
    .footer-panel {
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }
    .footer-grid > .footer-panel:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        padding-top: 0.15rem;
    }
    .footer-grid > .footer-panel:last-of-type {
        border-bottom: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .footer-panel-chevron__svg {
        transition-duration: 0.01ms;
    }
}
@media (min-width: 768px) {
    .footer-panel-summary {
        cursor: default;
        pointer-events: none;
        padding: 0;
    }
    .footer-panel-chevron {
        display: none;
    }
    .footer-panel-body {
        padding: 0;
        margin-top: 1.25rem;
    }
    .footer-panel-summary .footer-heading {
        margin-bottom: 0;
    }
}
.footer-heading {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    margin-top: 0;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 1rem;
}
.footer-contact-block .footer-line {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
}
.footer-link {
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.2s, opacity 0.2s;
    font-size: 0.875rem;
    padding: 0.2rem 0;
    display: block;
    text-decoration: none;
}
.footer-link:hover,
.footer-link:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}
.footer-link--inline {
    display: inline;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav-list li {
    margin: 0;
}
.footer-text-muted {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-newsletter__input,
.footer-newsletter__textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    color: #011837;
    background: #ffffff;
}
.footer-newsletter__input::placeholder,
.footer-newsletter__textarea::placeholder {
    color: #94a3b8;
}
.footer-newsletter__textarea {
    resize: vertical;
    min-height: 5.5rem;
}
.footer-newsletter__btn {
    align-self: flex-start;
    padding: 0.55rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #ffffff;
    color: #011837;
    transition: background 0.2s, color 0.2s;
}
.footer-newsletter__btn:hover,
.footer-newsletter__btn:focus-visible {
    background: #e2e8f0;
}
.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 1.75rem;
    text-align: center;
}
.footer-copy {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}
.footer-copy-sep {
    margin: 0 0.5rem;
    opacity: 0.7;
}
.footer-bottom-link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.875rem;
}
.footer-bottom-link:hover,
.footer-bottom-link:focus-visible {
    color: #ffffff;
    opacity: 0.9;
}
.footer-scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.5rem;
    z-index: 50;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(1, 82, 123, 0.92);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.2s;
}
.footer-scroll-top:hover,
.footer-scroll-top:focus-visible {
    background: #01527b;
    transform: translateY(-2px);
}

.scotech-floatwindow {
    position: fixed;
    z-index: 42;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: calc(100vw - 0.5rem);
    pointer-events: none;
}
.scotech-floatwindow__wrap,
.scotech-floatwindow .floatwindow_fd_conct {
    position: relative;
    isolation: isolate;
    pointer-events: auto;
    outline: none;
    box-sizing: content-box;
    padding-left: 220px;
    margin-left: -220px;
}
.scotech-floatwindow__rail {
    width: 52px;
    min-height: 52px;
    flex-shrink: 0;
}

.scotech-floatwindow__panel,
.scotech-floatwindow .floatwindow_fd-main {
    position: absolute;
    right: 0;
    top: 50%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    background: #fff;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    border: 1px solid rgba(52, 120, 182, 0.35);
    border-right: none;
    transform: translate3d(calc(100% + 8px), -50%, 0);
    transition: transform 0.28s ease, visibility 0.28s step-end, box-shadow 0.28s ease;
    pointer-events: none;
    visibility: hidden;
    z-index: 3;
    backface-visibility: hidden;
    will-change: transform;
    box-shadow: none;
}

.scotech-floatwindow__wrap:hover .scotech-floatwindow__panel,
.scotech-floatwindow__wrap:focus-within .scotech-floatwindow__panel {
    transform: translate3d(0, -50%, 0);
    transition: transform 0.28s ease, visibility 0s step-start, box-shadow 0.28s ease;
    pointer-events: auto;
    visibility: visible;
    box-shadow: -6px 6px 24px rgba(1, 24, 55, 0.2);
}

.scotech-floatwindow__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    background: #3478b6;
    color: #fff;
    flex-shrink: 0;
}
.scotech-floatwindow__head-title {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.scotech-floatwindow__head-icon {
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.scotech-floatwindow__trigger,
.scotech-floatwindow .floatwindow_fd-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 52px;
    padding: 0 6px;
    margin: 0;
    border: none;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(180deg, #4190d6 0%, #2d6fad 100%);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    filter: drop-shadow(-3px 3px 12px rgba(1, 24, 55, 0.22));
    transition: background 0.2s ease, filter 0.2s ease;
}
.scotech-floatwindow__trigger:hover,
.scotech-floatwindow__trigger:focus-visible {
    background: linear-gradient(180deg, #3478b6 0%, #255f94 100%);
    outline: none;
}
.scotech-floatwindow__trigger-img {
    display: block;
    width: 32px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.scotech-floatwindow__trigger-fallback {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 017 7v1h-2V9a5 5 0 00-5-5H7a5 5 0 00-5 5v6h4v2H5a2 2 0 01-2-2V9a7 7 0 017-7zm-1 11c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm5 0c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 017 7v1h-2V9a5 5 0 00-5-5H7a5 5 0 00-5 5v6h4v2H5a2 2 0 01-2-2V9a7 7 0 017-7zm-1 11c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm5 0c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.scotech-floatwindow__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
}
.scotech-floatwindow__row,
.scotech-floatwindow .floatwindow_email,
.scotech-floatwindow .floatwindow_wechat,
.scotech-floatwindow .floatwindow_whatsapp,
.scotech-floatwindow .floatwindow_message {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 40px;
    margin: 0;
    padding: 0.35rem 0.65rem 0.35rem 0.25rem;
    gap: 0.35rem;
    border-bottom: 1px solid #e8eef2;
    box-sizing: border-box;
}
.scotech-floatwindow__row:last-child {
    border-bottom: none;
}
.scotech-floatwindow__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
}
.scotech-floatwindow__ico img {
    display: block;
    max-width: 22px;
    height: auto;
}

.scotech-floatwindow__link {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #011837;
    text-decoration: none;
    line-height: 1.35;
    word-break: break-all;
}
.scotech-floatwindow__link:hover,
.scotech-floatwindow__link:focus-visible {
    color: #01527b;
    outline: none;
}
.scotech-floatwindow__text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #011837;
    line-height: 1.35;
    word-break: break-all;
}

.scotech-floatwindow__foot {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0.75rem;
    border: none;
    background: #3478b6;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.scotech-floatwindow__foot:hover,
.scotech-floatwindow__foot:focus-visible {
    background: #2d6fad;
    outline: none;
}
.scotech-floatwindow__foot-chev {
    display: block;
    width: 14px;
    height: auto;
    filter: brightness(0) invert(1);
}

body.scotech-nav-open .scotech-floatwindow {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

@media (max-width: 767px) {
    .scotech-floatwindow {
        top: auto;
        bottom: 6.5rem;
        transform: none;
    }
    .scotech-floatwindow__wrap,
    .scotech-floatwindow .floatwindow_fd_conct {
        padding-left: 200px;
        margin-left: -200px;
    }
    .scotech-floatwindow__panel,
    .scotech-floatwindow .floatwindow_fd-main {
        width: 200px;
        min-width: 200px;
        max-width: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scotech-floatwindow__panel,
    .scotech-floatwindow .floatwindow_fd-main {
        transition-duration: 0.01ms;
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Contact Us page */
.scotech-contact-page__intro-card {
    margin: -0.25rem 0 0;
}
.scotech-contact-page__intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
}
@media (min-width: 768px) {
    .scotech-contact-page__intro-grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
        gap: 2rem;
        align-items: start;
    }
}
.scotech-contact-page__company-name {
    margin: 0 0 1rem;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: #011837;
}
.scotech-contact-page__line {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
}
.scotech-contact-page__line--with-icon {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.scotech-contact-page__line-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-top: 0.1rem;
}
.scotech-contact-page__postal-indent {
    margin: -0.35rem 0 0.85rem 2.125rem;
    font-size: 1rem;
    color: #475569;
    line-height: 1.5;
}
.scotech-contact-page__line a {
    color: #01527b;
    font-weight: 600;
    text-decoration: none;
}
.scotech-contact-page__line a:hover,
.scotech-contact-page__line a:focus-visible {
    text-decoration: underline;
    outline: none;
}
.scotech-contact-page__figure {
    margin: 0;
    padding: 0;
    text-align: center;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    box-sizing: border-box;
}
.scotech-contact-page__hero-img {
    width: 100%;
    max-width: 295px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}
.scotech-contact-page__form-card {
    margin-top: 2rem;
    padding: 1.5rem 1.25rem 1.75rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 48%);
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
@media (min-width: 640px) {
    .scotech-contact-page__form-card {
        padding: 1.75rem 1.75rem 2rem;
    }
}
.scotech-contact-page__fluent {
    max-width: 40rem;
}
.scotech-contact-page__fluent .fluentform {
    --fluentform-primary: #01527b;
}
.scotech-contact-page__fluent .ff-el-form-control {
    border-radius: 6px;
    border-color: #cbd5e1;
}
.scotech-contact-page__fluent .ff-btn-submit {
    background: #01527b;
    border-color: #01527b;
    border-radius: 6px;
    font-weight: 700;
    padding: 0.6rem 1.75rem;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.scotech-contact-page__fluent .ff-btn-submit:hover,
.scotech-contact-page__fluent .ff-btn-submit:focus-visible {
    background: #023d5c;
    border-color: #023d5c;
    outline: none;
    transform: translateY(-1px);
}
.scotech-contact-page__extra {
    margin-top: 2rem;
}

/* Single post: share, prev/next, related news */
.scotech-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.scotech-share__list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.scotech-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.35rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

.scotech-share__link:hover,
.scotech-share__link:focus-visible {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-1px);
    outline: none;
}

.scotech-share__link:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #01527b;
}

.scotech-share__link--facebook {
    background: #1877f2;
}

.scotech-share__link--twitter {
    background: #000;
}

.scotech-share__link--linkedin {
    background: #0a66c2;
}

.scotech-share__link--pinterest {
    background: #e60023;
}

.scotech-share__link--whatsapp {
    background: #25d366;
}

.scotech-post-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.scotech-post-nav__item {
    line-height: 1.45;
}

.scotech-post-nav__label {
    font-weight: 700;
    color: #334155;
    margin-right: 0.35rem;
}

.scotech-post-nav__title {
    font-weight: 400;
    color: #64748b;
    text-decoration: none;
}

.scotech-post-nav__title:hover,
.scotech-post-nav__title:focus-visible {
    color: #01527b;
    text-decoration: underline;
    text-underline-offset: 2px;
    outline: none;
}

.scotech-related-news__heading {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #01527b;
}

.scotech-related-news__rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.scotech-related-news__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px dashed #cbd5e1;
}

.scotech-related-news__row:last-child {
    border-bottom: none;
}

.scotech-related-news__link {
    display: block;
    color: #334155;
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scotech-related-news__link:hover,
.scotech-related-news__link:focus-visible {
    color: #01527b;
    text-decoration: underline;
    text-underline-offset: 2px;
    outline: none;
}

.scotech-related-news__pad {
    display: block;
    min-width: 0;
}

@media (max-width: 640px) {
    .scotech-related-news__row {
        grid-template-columns: 1fr;
    }

    .scotech-related-news__pad {
        display: none;
    }
}
