﻿:root {
    --bg: #f7f5ef;
    --bg-dark: #0f2f3f;
    --bg-mid: #173f4f;
    --paper: #fffdf9;
    --text: #1f2f3a;
    --muted: #5f7080;
    --primary: #c46b35;
    --primary-dark: #9f4f21;
    --line: rgba(23, 63, 79, 0.16);
    --shadow: 0 24px 60px rgba(12, 35, 49, 0.18);
    --radius-lg: 20px;
    --radius-md: 14px;
    --header-height: 82px;
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
    --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at 12% -20%, #ffffff 0%, var(--bg) 50%, #ece7db 100%);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1400px, 95vw);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(16px);
    background: rgba(9, 28, 38, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(7, 24, 32, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-height);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    flex: 0 0 auto;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-has-logo .brand-copy {
    gap: 0;
}

.brand-logo {
    display: block;
    width: auto;
    height: clamp(48px, 6vw, 62px);
    max-width: min(22vw, 180px);
    object-fit: contain;
    border-radius: 12px;
}

.brand-main {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-has-logo .brand-main {
    display: none;
}

.brand-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.68);
}

.brand-has-logo .brand-sub {
    display: block;
    max-width: min(28vw, 260px);
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
}

.primary-nav {
    margin-left: auto;
}

.header-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.header-lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-lang-link:hover,
.header-lang-link.is-current {
    color: #fff;
    background: rgba(196, 107, 53, 0.92);
    box-shadow: 0 10px 22px rgba(177, 89, 35, 0.26);
}

.primary-nav .menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav .menu > li {
    position: relative;
}

.menu-item-bar {
    display: flex;
    align-items: center;
    height: var(--header-height);
}

.top-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    padding: 0 1.1rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: color 0.22s ease;
    z-index: 1;
}

.top-link-label {
    position: relative;
    z-index: 1;
}

.top-link:hover,
.menu-item.is-current > .menu-item-bar .top-link,
.menu-item.is-hovering > .menu-item-bar .top-link {
    color: #fff;
}

.top-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(196, 107, 53, 0.96), rgba(176, 86, 35, 0.96));
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.26s ease, opacity 0.26s ease;
    z-index: -1;
}

.top-link:hover::before,
.menu-item.is-current > .menu-item-bar .top-link::before,
.menu-item.is-hovering > .menu-item-bar .top-link::before {
    opacity: 1;
    transform: translateY(0);
}

.menu-item-priority .top-link {
    font-weight: 800;
}

.submenu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.mega-panel {
    position: fixed;
    top: var(--header-height);
    left: 50%;
    width: 100vw;
    padding: 0;
    background: rgba(247, 245, 239, 0.985);
    border-top: 1px solid rgba(196, 107, 53, 0.2);
    border-bottom: 1px solid rgba(23, 63, 79, 0.16);
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    box-shadow: 0 18px 36px rgba(12, 35, 49, 0.14);
    overflow: hidden;
}

.mega-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #c46b35 0%, #e4a06d 35%, #f4d0b2 100%);
    opacity: 0.95;
}

.mega-panel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.primary-nav .menu > li:hover > .mega-panel,
.primary-nav .menu > li.is-hovering > .mega-panel,
.primary-nav .menu > li:focus-within > .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.mega-panel-inner {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 40px;
    width: min(1400px, 95vw);
    margin: 0 auto;
    padding: 34px 0 30px;
}

.mega-panel-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 8px 8px 8px 0;
    min-height: 160px;
    border-right: 1px solid rgba(23, 63, 79, 0.12);
}

.mega-kicker,
.mega-links-kicker {
    display: none;
}

.mega-panel-intro h3 {
    margin: 0;
    color: #142f40;
    font-size: 1.75rem;
    letter-spacing: 0.01em;
}

.mega-panel-intro p {
    margin: 0;
    color: #5b6d79;
    font-size: 0.94rem;
    line-height: 1.8;
}

.mega-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #768794;
    font-size: 0.84rem;
    font-weight: 600;
}

.mega-meta strong {
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1;
    font-family: var(--font-serif);
}

.mega-entry-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0 0 4px;
    border-bottom: 2px solid rgba(196, 107, 53, 0.28);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
    transition: border-color 0.22s ease, color 0.22s ease;
}

.mega-entry-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.mega-links-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 2px;
}

.mega-links-head {
    display: block;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(23, 63, 79, 0.1);
}

.mega-links-head h4 {
    margin: 0;
    color: #1d3949;
    font-size: 1.05rem;
    font-weight: 700;
}

.mega-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-link-item.is-featured {
    grid-column: auto;
}

.mega-link {
    display: block;
    position: relative;
    min-height: auto;
    padding: 0 0 0 14px;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: var(--text);
    transition: transform 0.2s ease;
    box-shadow: none;
}

.mega-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42rem;
    width: 3px;
    height: 0.92rem;
    border-radius: 999px;
    background: var(--primary);
    opacity: 0.9;
    transition: opacity 0.22s ease;
}

.mega-link:hover,
.mega-link-item.is-current .mega-link {
    background: transparent;
    border-color: transparent;
    transform: translateX(4px);
    box-shadow: none;
}

.mega-link:hover::before,
.mega-link-item.is-current .mega-link::before {
    opacity: 1;
}

.mega-link-index {
    display: none;
}

.mega-link-topline {
    display: block;
    margin-bottom: 4px;
}

.mega-link-title {
    color: #1f3240;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
}

.mega-link-badge {
    display: none;
}

.mega-link-desc {
    display: block;
    color: #6f808c;
    font-size: 0.84rem;
    line-height: 1.7;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    width: 44px;
    height: 40px;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

.page-shell {
    padding-top: var(--header-height);
}

.screen {
    padding: clamp(64px, 8vw, 112px) 0;
}

.eyebrow {
    display: inline-block;
    border-radius: 999px;
    background: rgba(196, 107, 53, 0.18);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    padding: 8px 14px;
}

.hero-screen {
    position: relative;
    min-height: calc(100vh - 78px);
    display: grid;
    align-items: center;
    color: #fff;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 248, 238, 0.03) 58%, rgba(255, 244, 224, 0.08));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-content h1,
.region-hero h1 {
    margin: 16px 0 14px;
    line-height: 1.2;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.3vw, 3.65rem);
    text-shadow: 0 8px 26px rgba(14, 41, 56, 0.28);
}

.hero-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.93);
    font-size: clamp(1rem, 1.65vw, 1.22rem);
    max-width: 680px;
    text-shadow: 0 6px 18px rgba(14, 41, 56, 0.22);
}

.region-hero p,
.article-hero-meta {
    text-shadow: 0 6px 18px rgba(14, 41, 56, 0.22);
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(110deg, var(--primary), #dd8348);
    box-shadow: 0 14px 28px rgba(177, 89, 35, 0.34);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(110deg, #d77a3d, var(--primary-dark));
}

.btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.07);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-inline {
    margin-top: 10px;
    color: var(--primary-dark);
    border-color: rgba(159, 79, 33, 0.4);
    padding: 8px 16px;
}

.btn-inline:hover {
    background: rgba(159, 79, 33, 0.08);
}

.trust-list {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.trust-list li {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.92);
}

.trust-list li::before {
    content: '✓';
    margin-right: 10px;
    color: #8cd9a0;
}

h2 {
    margin: 0 0 14px;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.9vw, 2.5rem);
    line-height: 1.28;
    color: #142f40;
}

.section-subtitle {
    margin: 0 0 28px;
    color: var(--muted);
    max-width: 760px;
}

.region-screen,
.product-screen,
.case-screen {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
}

.region-grid,
.product-grid,
.case-grid,
.guide-grid,
.region-content-grid {
    display: grid;
    gap: 20px;
}

.region-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.region-card,
.product-card,
.case-card,
.guide-card,
.content-box,
.post-card {
    background: var(--paper);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.region-image,
.product-thumb,
.case-thumb {
    min-height: 184px;
    background-size: cover;
    background-position: center;
}

.region-body,
.product-body,
.case-body,
.guide-card,
.content-box,
.post-card {
    padding: 20px;
}

.tag,
.case-meta {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(20, 47, 64, 0.08);
    color: #234b60;
    font-size: 0.78rem;
    font-weight: 700;
}

.policy-screen {
    background: linear-gradient(135deg, #12394b, #1d4f62 58%, #306f86);
    color: #fff;
}

.policy-screen h2,
.policy-screen .section-subtitle {
    color: #fff;
}

.policy-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.policy-list {
    margin: 0;
    padding: 22px;
    list-style: none;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.policy-list li {
    margin-bottom: 12px;
}

.policy-list li:last-child {
    margin-bottom: 0;
}

.policy-list li::before {
    content: '▸';
    margin-right: 9px;
    color: #ffe0c8;
}

.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cred-screen {
    background: linear-gradient(180deg, #f3efe4, #efe8da);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stats-grid article {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    padding: 16px;
    text-align: center;
}

.stats-grid strong {
    display: block;
    font-size: 2rem;
    font-family: var(--font-serif);
    color: var(--primary-dark);
}

.stats-grid span {
    color: var(--muted);
    font-size: 0.92rem;
}

.cred-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cred-grid div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px;
}

.cred-grid ul,
.content-box ul {
    margin: 0;
    padding-left: 18px;
}

.case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-screen {
    background: linear-gradient(180deg, #fff, #f6f2ea);
}

.guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-screen {
    background: linear-gradient(180deg, #f6f2ea, #fff);
}

.story-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.story-card h3,
.story-card p {
    margin: 0;
}

.story-card p {
    color: var(--muted);
    flex: 1;
}

.region-page .region-hero {
    position: relative;
    min-height: 29vh;
    color: #fff;
    display: grid;
    align-items: center;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
}

.region-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.region-cta-screen {
    background: linear-gradient(120deg, #12384b, #17485d);
}

.footer-contact-promo {
    padding: 32px 0 0;
    background: linear-gradient(180deg, #fff, #f4eee1);
}

.footer-contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(240px, 0.9fr);
    gap: 26px;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

.footer-contact-copy h2 {
    margin: 14px 0 12px;
}

.footer-contact-copy p {
    margin: 0;
    color: var(--muted);
}

.footer-contact-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.footer-contact-points li {
    padding: 10px 14px;
    border-radius: 999px;
    background: #f6f2ea;
    border: 1px solid rgba(19, 57, 74, 0.1);
    color: #17394a;
    font-weight: 600;
}

.footer-contact-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border-radius: calc(var(--radius-lg) - 8px);
    background: linear-gradient(135deg, #12394b, #1d4f62 58%, #306f86);
    color: #fff;
    text-align: center;
}

.footer-contact-actions p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.heyiyou-contact-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-intro {
    margin: 0;
    color: var(--muted);
}

.contact-hero-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #12394b, #1d4f62 58%, #306f86);
    color: #fff;
    box-shadow: var(--shadow);
}

.contact-kicker {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.contact-number {
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.contact-actions .btn-inline {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.contact-actions .btn-inline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-tip {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
    min-height: 100%;
}

.contact-card-qr {
    align-items: flex-start;
}

.contact-qr-image {
    display: block;
    width: min(100%, 320px);
    margin-top: 6px;
    border-radius: 18px;
    cursor: zoom-in;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.contact-qr-image.is-zoomed {
    transform: scale(1.18);
    box-shadow: 0 18px 32px rgba(17, 44, 56, 0.22);
    cursor: zoom-out;
}

.contact-steps {
    margin-top: 0;
}

.contact-steps .prose {
    padding: 24px 28px;
}

.contact-steps ol {
    margin: 14px 0 0;
    padding-left: 20px;
}

.contact-steps li + li {
    margin-top: 10px;
}

.region-editor-screen {
    background: linear-gradient(180deg, #fff, #f4eee1);
}

.cta-panel {
    text-align: center;
    color: #fff;
}

.cta-panel h2 {
    color: #fff;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 248, 238, 0.03)),
    var(--heyiyou-hero-bg, none);
  background-position: center, center;
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  padding: clamp(58px, 7.2vw, 102px) 0;
  min-height: clamp(270px, 32vw, 390px);
}

.section-hero {
  display: flex;
  align-items: flex-end;
  min-height: inherit;
  padding-bottom: clamp(44px, 5.2vw, 74px);
}

.section-hero-kicker {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-shadow: 0 6px 18px rgba(14, 41, 56, 0.22);
}

.inner-hero h1 {
    margin: 0 0 10px;
    font-family: var(--font-serif);
    text-shadow: 0 10px 30px rgba(14, 41, 56, 0.3);
}

.section-breadcrumb {
    background: #fff;
    border-bottom: 1px solid rgba(23, 63, 79, 0.08);
}

.section-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 0;
    list-style: none;
    color: #738490;
    font-size: 0.86rem;
}

.section-breadcrumb-list a {
    color: #567081;
}

.section-breadcrumb-list span {
    color: #1f3240;
}

.section-breadcrumb-list em {
    font-style: normal;
    color: rgba(31, 50, 64, 0.32);
}

.section-subnav {
    background: linear-gradient(180deg, #fff, #faf7f1);
    border-bottom: 1px solid rgba(23, 63, 79, 0.12);
}

.section-subnav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.section-subnav-list li {
    position: relative;
}

.section-subnav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 60px;
    padding: 0 24px;
    color: #415967;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.22s ease, background 0.22s ease;
}

.section-subnav-list li::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    background: var(--primary);
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.section-subnav-list li:hover a,
.section-subnav-list li.is-current a {
    color: #17394a;
    background: rgba(196, 107, 53, 0.05);
}

.section-subnav-list li:hover::after,
.section-subnav-list li.is-current::after {
    opacity: 1;
    transform: scaleX(1);
}

.section-layout-screen {
    padding-top: 40px;
}

.section-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.section-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.section-sidebar-panel,
.section-sidebar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.section-sidebar-panel {
    padding: 18px 18px 6px;
}

.section-sidebar-panel h3,
.section-sidebar-card h3 {
    margin: 0 0 14px;
    font-size: 1.1rem;
    color: #17394a;
}

.section-sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.section-sidebar-list li {
    border-top: 1px solid rgba(23, 63, 79, 0.08);
}

.section-sidebar-list li:first-child {
    border-top: 0;
}

.section-sidebar-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 2px;
    color: #455f6f;
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 0.22s ease, transform 0.22s ease;
}

.section-sidebar-list a span {
    display: inline-block;
    width: 3px;
    height: 14px;
    border-radius: 999px;
    background: rgba(196, 107, 53, 0.22);
    transition: background 0.22s ease;
}

.section-sidebar-list li:hover a,
.section-sidebar-list li.is-current a {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.section-sidebar-list li:hover a span,
.section-sidebar-list li.is-current a span {
    background: var(--primary);
}

.section-sidebar-card {
    padding: 20px;
}

.section-sidebar-card p {
    margin: 0;
    color: var(--muted);
}

.section-sidebar-meta {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 14px;
    color: #6d808b;
    font-size: 0.86rem;
    font-weight: 700;
}

.section-sidebar-meta strong {
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1;
    font-family: var(--font-serif);
}

.section-main {
    min-width: 0;
}

.section-post-filter {
    margin-bottom: 28px;
    padding: 18px 22px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98));
    border: 1px solid rgba(23, 63, 79, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.section-post-filter-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.section-post-filter-head h2 {
    margin: 0;
    color: #17394a;
    font-size: 1.06rem;
}

.section-post-filter-head span {
    color: #70828f;
    font-size: 0.84rem;
    font-weight: 700;
}

.section-post-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 6px;
    background: #f2ede3;
    border: 1px solid rgba(23, 63, 79, 0.08);
    border-radius: 18px;
}

.section-post-filter-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    color: #4f6573;
    font-size: 0.93rem;
    font-weight: 700;
    transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.section-post-filter-tab::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 7px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.section-post-filter-tab:hover,
.section-post-filter-tab.is-current {
    color: #17394a;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(24, 48, 62, 0.08);
}

.section-post-filter-tab:hover::after,
.section-post-filter-tab.is-current::after {
    opacity: 1;
    transform: scaleX(1);
}

.section-main .inner-content {
    padding: 0;
}

.section-main .prose {
    box-shadow: var(--shadow);
}

.section-related-content {
    margin-top: 28px;
}

.inner-content .prose,
.post-list {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.section-hub-list {
    padding-top: 0;
}

.hub-heading {
    margin-bottom: 28px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hub-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hub-card-featured {
    background: linear-gradient(135deg, #12394b, #1d4f62 58%, #306f86);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    grid-column: span 2;
}

.hub-card h3 {
    margin: 0;
}

.hub-card p {
    margin: 0;
    color: var(--muted);
}

.article-card-meta {
    color: #7a8b96;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.section-post-empty {
    margin-top: 0;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 320px;
    gap: 28px;
    align-items: start;
}

.article-main .prose {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.article-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.article-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
    font-weight: 700;
}

.article-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.article-aside-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
}

.article-aside-card h3 {
    margin-top: 0;
}

.article-aside-card p {
    margin: 0;
    color: var(--muted);
}

.article-taxonomy {
    margin-top: 16px;
}

.article-taxonomy strong {
    display: block;
    margin-bottom: 8px;
    color: #17394a;
}

.article-taxonomy ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-taxonomy li {
    display: inline-flex;
}

.hub-card-featured p {
    color: rgba(255, 255, 255, 0.82);
}

.hub-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(20, 47, 64, 0.08);
    color: #234b60;
    font-size: 0.78rem;
    font-weight: 700;
}

.hub-card-featured .hub-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.site-footer {
    background: #0d2937;
    color: rgba(255, 255, 255, 0.88);
    padding: 42px 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    color: #fff;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 14px;
    text-align: center;
}

.footer-copyright-copy p {
    margin: 0 0 8px;
}

.footer-copyright-copy p:last-child {
    margin-bottom: 0;
}

.footer-records {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.footer-records a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-records img {
    width: 16px;
    height: 16px;
}

.footer-records-sep {
    opacity: 0.7;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
    font-size: 0.88rem;
}

.cookie-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 20px 22px;
    background: rgba(12, 34, 46, 0.96);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(7, 24, 32, 0.28);
}

.cookie-consent__content strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.cookie-consent__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-consent__links,
.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.cookie-consent__links {
    margin-top: 12px;
    font-size: 0.9rem;
}

.cookie-consent__links a {
    color: #ffd8bf;
}

.cookie-consent__btn {
    min-width: 128px;
}

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1080px) {
    .primary-nav {
        position: absolute;
        right: 16px;
        top: calc(100% + 10px);
        width: min(420px, 92vw);
        background: rgba(9, 28, 38, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 18px;
        padding: 12px;
        display: none;
        max-height: calc(100vh - 120px);
        overflow: auto;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .primary-nav .menu > li {
        width: 100%;
    }

    .menu-item-bar {
        width: 100%;
        gap: 8px;
        height: auto;
    }

    .top-link {
        flex: 1 1 auto;
        justify-content: space-between;
        min-height: 48px;
        padding: 0 16px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.04);
    }

    .top-link::before {
        display: none;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
    }

    .menu-item.is-open > .menu-item-bar .submenu-toggle {
        color: #fff;
        background: rgba(255, 255, 255, 0.18);
        transform: rotate(45deg);
    }

    .mega-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.08);
        border: 0;
        border-radius: 14px;
        margin-top: 8px;
        width: 100%;
        display: none;
        pointer-events: auto;
    }

    .menu-item.is-open > .mega-panel {
        display: block;
    }

    .mega-panel-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

    .mega-panel-intro {
        min-height: 0;
        padding: 0 0 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .mega-panel-intro h3,
    .mega-links-head h4,
    .mega-link-title {
        color: #fff;
    }

    .mega-panel-intro p,
    .mega-meta,
    .mega-link-desc {
        color: rgba(255, 255, 255, 0.74);
    }

    .mega-meta strong,
    .mega-entry-link {
        color: #fff;
    }

    .mega-entry-link {
        border-bottom-color: rgba(255, 255, 255, 0.26);
    }

    .mega-link::before {
        background: #e4a06d;
    }

    .mega-links-head {
        padding-bottom: 8px;
    }

    .mega-link-item.is-featured {
        grid-column: auto;
    }

    .mega-links,
    .hub-grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: 0;
    }

    .header-lang-switcher {
        order: 2;
        margin-left: 0;
    }

    .primary-nav {
        margin-left: 0;
    }

    .region-grid,
    .case-grid,
    .guide-grid,
    .region-content-grid,
    .article-layout,
    .section-layout,
    .footer-contact-panel,
    .footer-grid,
    .contact-grid,
    .policy-wrap {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .stats-grid,
    .cred-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hub-card-featured {
        grid-column: auto;
    }

    .section-post-filter {
        padding: 16px 18px 14px;
    }

    .section-post-filter-tab {
        min-height: 44px;
        padding: 0 18px;
    }

    .cookie-consent__inner {
        grid-template-columns: 1fr;
    }

    .cookie-consent__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .product-grid,
    .stats-grid,
    .cred-grid {
        grid-template-columns: 1fr;
    }

    .screen {
        padding: 52px 0;
    }

    .section-breadcrumb-list {
        gap: 0;
    }

    .page-shell {
        padding-top: 74px;
    }

    .header-inner {
        min-height: 74px;
    }

    :root {
        --header-height: 74px;
    }

    .brand:not(.brand-has-logo) .brand-sub {
        display: none;
    }

    .brand-logo {
        height: 46px;
        max-width: 138px;
    }

    .brand-has-logo .brand-sub {
        max-width: 160px;
        font-size: 0.72rem;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .header-lang-switcher {
        width: 100%;
        justify-content: flex-end;
    }

    .mega-link-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 8px;
    }

    .footer-records {
        gap: 6px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .section-post-filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
    }

    .section-post-filter-tab {
        flex: 0 0 auto;
    }

    .contact-qr-image.is-zoomed {
        transform: none;
    }

    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-consent__inner {
        padding: 18px;
        border-radius: 18px;
    }

    .cookie-consent__btn {
        width: 100%;
    }
}
