/* ==========================================================================
   Pixora visual refresh
   Direction: editorial commerce / blueprint navy / warm yellow
   Loaded after the legacy stylesheet so the existing content structure stays
   compatible while the visual system becomes more intentional.
   ========================================================================== */

:root {
    --header-height: 82px;
    --brand-ink: #102a56;
    --brand-ink-soft: #183d78;
    --brand-blue: #1c54d8;
    --brand-blue-light: #4b82ee;
    --brand-yellow: #f4b629;
    --brand-yellow-soft: #fff3c9;
    --paper: #f5f8fc;
    --surface: #ffffff;
    --surface-soft: #edf3fb;
    --line: #dbe5f1;
    --line-strong: #c5d4e8;
    --muted: #708096;
    --ink: #172238;
    --shadow-card: 0 14px 36px rgba(16, 42, 86, 0.08);
    --shadow-float: 0 20px 54px rgba(16, 42, 86, 0.16);
    --font-sans: "Plus Jakarta Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Plus Jakarta Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
    --paper: #0b1528;
    --surface: #111f36;
    --surface-soft: #172944;
    --line: #29415f;
    --line-strong: #375677;
    --muted: #9eb0c9;
    --ink: #f5f8fc;
    --shadow-card: 0 16px 42px rgba(0, 0, 0, 0.24);
    --shadow-float: 0 22px 60px rgba(0, 0, 0, 0.35);
}

html {
    scrollbar-color: var(--brand-blue-light) var(--paper);
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background:
        linear-gradient(rgba(28, 84, 216, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 84, 216, 0.025) 1px, transparent 1px),
        var(--paper);
    background-size: 36px 36px;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

main {
    min-height: 55vh;
}

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 11000;
    padding: 10px 14px;
    color: #fff;
    background: var(--brand-ink);
    border-radius: 6px;
    transform: translateY(-140%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 1100;
    width: 0;
    height: 3px;
    background: var(--brand-yellow);
    box-shadow: 0 0 14px rgba(244, 182, 41, 0.65);
    transition: width 0.08s linear;
}

.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--brand-ink);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--brand-blue);
    transform: translateY(-3px);
}

/* Header */
#header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(197, 212, 232, 0.9);
    box-shadow: 0 5px 24px rgba(16, 42, 86, 0.05) !important;
    backdrop-filter: blur(16px) saturate(140%);
}

[data-theme="dark"] #header {
    background: rgba(17, 31, 54, 0.92) !important;
    border-bottom-color: var(--line);
}

#header::after {
    height: 3px;
    background: linear-gradient(90deg, var(--brand-ink) 0 32%, var(--brand-blue) 32% 78%, var(--brand-yellow) 78%);
}

#header .container {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100%;
}

.navbar-brand {
    position: relative;
    z-index: 2;
    min-width: 185px;
    color: var(--brand-ink) !important;
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 185px;
    height: 46px;
}

.brand-logo-wrap img {
    width: auto;
    max-width: 185px;
    height: 42px;
    object-fit: contain;
}

.brand-text {
    color: var(--brand-ink);
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0;
}

[data-theme="dark"] .brand-text {
    color: #fff;
}

.navbar-nav {
    gap: 4px;
}

.navbar-nav .nav-link {
    padding: 10px 14px !important;
    color: var(--muted) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.nav-item.active > .dropdown-toggle {
    color: var(--brand-ink) !important;
    background: var(--brand-yellow-soft);
}

[data-theme="dark"] .navbar-nav .nav-link:hover,
[data-theme="dark"] .navbar-nav .nav-link.active,
[data-theme="dark"] .nav-item.active > .dropdown-toggle {
    color: #fff !important;
    background: rgba(244, 182, 41, 0.16);
}

.navbar-nav .nav-link::after {
    display: none;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 7px;
    vertical-align: 2px;
    border-top-color: currentColor;
}

.dropdown-menu {
    min-width: 220px;
    padding: 8px;
    /* Keep the hover hit area connected to the parent item. */
    margin-top: 0 !important;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-float);
}

.dropdown-item {
    padding: 11px 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--brand-ink);
    background: var(--surface-soft);
    transform: none;
}

.header-actions {
    min-width: 250px;
    justify-content: flex-end;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--brand-ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.icon-button:hover {
    color: var(--brand-ink);
    background: var(--brand-yellow-soft);
    border-color: var(--brand-yellow);
    transform: translateY(-2px);
}

[data-theme="dark"] .icon-button {
    color: #fff;
    background: var(--surface);
    border-color: var(--line);
}

.site-search {
    width: 224px;
    height: 40px;
}

.site-search .form-control {
    width: 100% !important;
    height: 40px;
    padding: 0 42px 0 38px !important;
    color: var(--ink);
    background: var(--surface-soft) !important;
    border: 1px solid transparent !important;
    border-radius: 20px !important;
    box-shadow: none;
    font-size: 12px;
}

.site-search .form-control::placeholder {
    color: var(--muted);
}

.site-search .form-control:focus {
    background: var(--surface) !important;
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 4px rgba(28, 84, 216, 0.12) !important;
}

.search-icon {
    position: absolute;
    top: 11px;
    left: 14px;
    z-index: 1;
    color: var(--muted);
}

.search-submit {
    position: absolute;
    top: 4px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: var(--brand-ink);
    background: var(--brand-yellow);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.search-submit:hover {
    background: #ffca4f;
    transform: translateX(2px);
}

.mobile-menu-toggle {
    position: absolute;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--brand-ink);
    border: 0;
    border-radius: 6px;
}

/* Hero */
.hero-swiper {
    height: 560px;
}

.hero-slide {
    align-items: center;
    justify-content: flex-start;
}

.hero-bg {
    background-position: center 42%;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(9, 27, 61, 0.92) 0%, rgba(16, 42, 86, 0.73) 42%, rgba(16, 42, 86, 0.18) 100%);
}

.hero-content {
    width: min(100%, 780px);
    max-width: 780px;
    padding: 0 20px;
    text-align: left;
}

.hero-tag {
    padding: 8px 14px;
    color: var(--brand-yellow-soft);
    background: rgba(244, 182, 41, 0.16);
    border: 1px solid rgba(244, 182, 41, 0.7);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.hero-title {
    max-width: 740px;
    margin: 18px 0 16px;
    font-family: var(--font-display);
    font-size: 62px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero-desc {
    max-width: 580px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.75;
}

.hero .btn-primary {
    min-height: 50px;
}

.hero-swiper .swiper-pagination {
    right: 24px;
    bottom: 28px;
    left: auto;
    width: auto;
}

.hero-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.62);
}

.hero-swiper .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--brand-yellow);
}

/* Shared sections and buttons */
.gallery-section,
.blog-section,
.about-section,
.news-section,
.contact-section,
.faq-section {
    position: relative;
    padding: 88px 0;
}

.gallery-section,
.news-section {
    background: var(--surface);
}

.blog-section,
.contact-section {
    background: transparent;
}

.about-section {
    overflow: hidden;
    background: var(--brand-ink);
}

.section-header {
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-title {
    position: relative;
    padding-left: 18px;
    color: var(--brand-ink);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title::before {
    top: 5px;
    width: 5px;
    height: 29px;
    background: var(--brand-yellow);
    border-radius: 2px;
    transform: none;
}

.section-header.text-center .section-title {
    padding-left: 0;
}

.section-header.text-center .section-title::after {
    width: 52px;
    height: 3px;
    margin-top: 12px;
    background: var(--brand-yellow);
    border-radius: 2px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-link:hover {
    color: var(--brand-ink);
}

.btn {
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.btn-primary {
    color: #fff;
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    box-shadow: 0 8px 18px rgba(28, 84, 216, 0.2);
}

.btn-primary:hover {
    color: #fff;
    background: var(--brand-ink);
    border-color: var(--brand-ink);
    box-shadow: 0 12px 24px rgba(16, 42, 86, 0.23);
}

.btn-outline {
    color: var(--brand-ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
}

.btn-outline:hover {
    color: var(--brand-ink);
    background: var(--brand-yellow-soft);
    border-color: var(--brand-yellow);
}

.btn-secondary {
    color: var(--brand-ink);
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
}

/* Cards and lists */
.gallery-card,
.blog-card,
.blog-card-horizontal,
.news-featured,
.contact-info-card,
.contact-form-wrapper,
.faq-item,
.article-main,
.sidebar-widget {
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-card);
}

.gallery-card,
.blog-card,
.blog-card-horizontal,
.news-featured,
.contact-info-card,
.contact-form-wrapper,
.faq-item,
.article-main,
.sidebar-widget {
    background: var(--surface);
}

.gallery-card {
    border-color: var(--line);
}

.gallery-card:hover,
.blog-card:hover,
.blog-card-horizontal:hover,
.news-featured:hover,
.faq-item:hover {
    border-color: var(--brand-yellow);
    box-shadow: var(--shadow-float);
    transform: translateY(-5px);
}

.gallery-card-image,
.blog-image,
.news-image {
    background: var(--surface-soft);
}

/* 商品封面使用完整预览，证书类长图不能被裁掉 */
.gallery-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
}

.gallery-card:hover .gallery-card-image img {
    transform: none;
}

.gallery-card-title,
.blog-title,
.news-title,
.news-list-title {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 800;
}

.gallery-card:hover .gallery-card-title,
.blog-card:hover .blog-title,
.blog-read-more,
.blog-read-more .iconify {
    color: var(--brand-blue);
}

.gallery-card-tag,
.blog-category,
.news-category,
.news-category-sm,
.article-category,
.about-label {
    color: var(--brand-ink) !important;
    background: var(--brand-yellow) !important;
    border-radius: 4px;
    font-weight: 800;
}

.gallery-card-meta {
    border-top-color: var(--line);
}

.gallery-card-stats,
.blog-meta,
.news-meta,
.article-meta {
    color: var(--muted);
}

.gallery-card-stats .iconify,
.blog-meta .iconify,
.news-views .iconify,
.article-meta .iconify {
    color: var(--brand-blue);
}

.blog-card-horizontal .blog-content {
    padding: 26px;
}

.blog-card-horizontal .blog-image {
    aspect-ratio: 1.35;
}

.blog-excerpt,
.news-excerpt,
.sidebar-text,
.about-desc,
.contact-info-card > p {
    color: var(--muted);
}

.news-list-item {
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.news-list-item:hover {
    background: var(--surface);
    border-color: var(--line);
}

.sidebar-widget {
    padding: 22px;
}

.widget-title {
    margin-bottom: 16px;
    padding-bottom: 12px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.widget-title::before {
    width: 4px;
    background: var(--brand-yellow);
    border-radius: 2px;
}

.category-item.active {
    color: var(--brand-ink);
    background: var(--brand-yellow-soft);
    border-left: 3px solid var(--brand-yellow);
}

.category-item:hover {
    color: var(--brand-blue);
    background: var(--surface-soft);
}

.sidebar-tag {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.sidebar-tag:hover {
    color: #fff !important;
    background: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
}

.filter-options .filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filter-options .filter-chip:hover,
.filter-options .filter-chip.active {
    color: var(--brand-ink);
    background: var(--brand-yellow-soft);
    border-color: var(--brand-yellow);
    transform: translateY(-1px);
}

/* Page headers */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 86px 0 74px;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(16, 42, 86, 0.97), rgba(28, 84, 216, 0.84)),
        var(--brand-ink);
}

.page-header::before {
    right: auto;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    opacity: 0.16;
    background:
        linear-gradient(120deg, transparent 0 50%, rgba(244, 182, 41, 0.22) 50% 51%, transparent 51%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: auto, 30px 30px, 30px 30px;
}

.page-header::after {
    height: 5px;
    background: var(--brand-yellow);
}

.page-title {
    max-width: 820px;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-desc {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
}

/* About and contact */
.about-content {
    position: relative;
    z-index: 1;
}

.about-title,
.about-desc,
.about-stat-text {
    color: #fff;
}

.about-title {
    font-family: var(--font-display);
    font-weight: 800;
}

.about-desc {
    opacity: 0.78;
}

.about-stat-num {
    color: var(--brand-yellow);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.about-img-main {
    border: 7px solid rgba(255, 255, 255, 0.9);
    outline: 0;
    border-radius: 10px;
    box-shadow: var(--shadow-float);
}

.contact-section {
    padding-top: 76px;
}

.contact-info-card,
.contact-form-wrapper {
    padding: 32px;
}

.contact-info-card h2 {
    font-family: var(--font-display);
    font-weight: 800;
}

.contact-icon {
    color: var(--brand-ink);
    background: var(--brand-yellow) !important;
    border-radius: 8px;
}

.contact-form label {
    color: var(--ink);
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.sidebar-input {
    color: var(--ink);
    background: var(--surface) !important;
    border-color: var(--line);
    border-radius: 6px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.sidebar-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(28, 84, 216, 0.12);
}

.form-success {
    border: 1px solid var(--brand-yellow);
    background: var(--brand-yellow-soft);
}

.faq-item {
    border-top: 0;
    border-left: 4px solid var(--brand-yellow);
}

.faq-question {
    color: var(--brand-ink);
}

/* Article pages */
.article-section {
    padding-top: 58px;
}

.article-main {
    padding: 42px;
}

.article-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.article-content {
    color: var(--ink);
    line-height: 1.9;
}

.article-content h2,
.article-content h3 {
    font-family: var(--font-display);
    font-weight: 800;
}

.article-content blockquote {
    border-left-color: var(--brand-yellow);
    background: var(--surface-soft);
}

/* Footer */
.footer {
    background: var(--brand-ink) !important;
}

.footer::before {
    height: 5px;
    background: var(--brand-yellow);
}

.footer .logo {
    font-weight: 800;
}

.footer h4 {
    letter-spacing: 0.08em;
}

.footer-links a:hover {
    color: var(--brand-yellow) !important;
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.16) !important;
}

.whatsapp-float {
    right: 22px;
    bottom: 22px;
    background: #16a56a !important;
    border: 3px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 28px rgba(22, 165, 106, 0.3) !important;
}

/* Notifications and loading states */
.notification {
    right: 24px !important;
    bottom: 24px !important;
    max-width: min(360px, calc(100vw - 48px));
    padding: 14px 18px !important;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px !important;
    font-size: 13px;
    box-shadow: var(--shadow-float) !important;
}

.notification-success {
    background: #147a52 !important;
}

.notification-error {
    background: #b4233e !important;
}

.notification-info {
    background: var(--brand-ink) !important;
}

[data-spin="true"] {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (min-width: 992px) {
    .content-with-sidebar {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 42px;
        align-items: start;
    }

    .content-with-sidebar .sidebar {
        position: sticky;
        top: calc(var(--header-height) + 22px);
        order: 1;
    }

    .content-with-sidebar .main-content {
        order: 2;
    }
}

@media (max-width: 991.98px) {
    #header {
        height: 72px;
    }

    :root {
        --header-height: 72px;
    }

    #header .container {
        padding-right: 66px;
    }

    .navbar-brand {
        min-width: 0;
    }

    .brand-logo-wrap,
    .brand-logo-wrap img {
        max-width: 150px;
        height: 36px;
    }

    .header-actions {
        min-width: 0;
        margin-left: auto;
        margin-right: 48px;
    }

    .header-actions .site-search {
        display: none;
    }

    .navbar-collapse {
        position: fixed;
        top: 72px;
        right: 12px;
        left: 12px;
        z-index: 1001;
        max-height: calc(100vh - 88px);
        padding: 12px;
        overflow-y: auto;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow-float);
    }

    .navbar-nav {
        gap: 2px;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid var(--line);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: 0;
    }

    .navbar-nav .nav-link {
        padding: 13px 10px !important;
    }

    .site-search.search-open {
        position: fixed;
        top: 82px;
        right: 12px;
        left: 12px;
        z-index: 1002;
        display: flex !important;
        width: auto;
        padding: 8px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow-float);
    }

    .site-search.search-open .form-control {
        width: 100% !important;
    }

    .hero-swiper {
        height: 520px;
    }

    .hero-content {
        padding-right: 32px;
        padding-left: 32px;
    }

    .hero-title {
        font-size: 44px;
    }

    .page-title {
        font-size: 38px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar-left {
        position: static;
        order: 2;
    }

    .article-main {
        order: 1;
        padding: 28px 22px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .hero-swiper {
        height: 500px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(9, 27, 61, 0.94), rgba(16, 42, 86, 0.64));
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .gallery-section,
    .blog-section,
    .about-section,
    .news-section,
    .contact-section,
    .faq-section {
        padding: 62px 0;
    }

    .section-header {
        align-items: flex-start;
        gap: 14px;
        flex-direction: column;
    }

    .section-title {
        font-size: 24px;
    }

    .page-header {
        padding: 66px 0 56px;
    }

    .page-title {
        font-size: 32px;
    }

    .contact-info-card,
    .contact-form-wrapper {
        padding: 24px 18px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .article-title {
        font-size: 32px;
    }

    .scroll-top {
        right: 16px;
        bottom: 86px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Brand lockup and contact actions
   -------------------------------------------------------------------------- */
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 215px;
    color: var(--brand-ink) !important;
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 48px;
    flex: 0 0 42px;
    color: var(--brand-ink);
    background: var(--brand-yellow);
    border: 2px solid rgba(16, 42, 86, 0.24);
    border-radius: 0;
    clip-path: polygon(50% 0, 91% 13%, 85% 70%, 50% 100%, 15% 70%, 9% 13%);
    transform: rotate(-3deg);
}

.brand-lockup-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand-lockup-copy strong {
    color: var(--brand-ink);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-lockup-copy small {
    color: var(--muted);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    white-space: nowrap;
}

.footer-reference .brand-lockup {
    min-width: 0;
}

.footer-reference .brand-lockup-copy strong {
    color: #fff;
}

.footer-reference .brand-lockup-copy small {
    color: rgba(255, 255, 255, 0.56);
}

.footer-reference .brand-mark {
    color: var(--brand-ink);
    border-color: rgba(244, 182, 41, 0.75);
}

[data-theme="dark"] .brand-lockup-copy strong {
    color: #fff;
}

[data-theme="dark"] .brand-lockup-copy small {
    color: #afc0d8;
}

.contact-detail-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-detail-value p {
    margin: 0;
}

.copy-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    padding: 0;
    color: var(--brand-blue);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 5px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.copy-contact:hover,
.copy-contact.is-copied {
    color: var(--brand-ink);
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    transform: translateY(-1px);
}

.contact-qr-section {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.contact-qr-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-qr-heading span {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.contact-qr-heading small {
    color: var(--muted);
    font-size: 11px;
}

.contact-qr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contact-qr-card {
    display: block;
    padding: 7px;
    color: var(--ink);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 7px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-qr-card:hover {
    color: var(--brand-ink);
    border-color: var(--brand-yellow);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.contact-qr-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #fff;
}

.contact-qr-card span {
    display: block;
    padding-top: 6px;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .brand-lockup {
        min-width: 0;
    }

    .brand-mark {
        width: 36px;
        height: 40px;
        flex-basis: 36px;
    }

    .brand-lockup-copy strong {
        font-size: 12px;
    }

    .brand-lockup-copy small {
        font-size: 6px;
    }
}

@media (max-width: 575.98px) {
    .contact-qr-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
