/* ============================================
   Enterprise Portal - Main Styles
   ============================================ */

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animation-delay-400 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* ---- Text utilities ---- */
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* ---- Swiper overrides ---- */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: #002f25;
    transform: scale(1.2);
}

.swiper-button-prev,
.swiper-button-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    transition: all 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
}

/* ---- Back to top ---- */
#backTop {
    transition: opacity 0.3s, transform 0.3s;
}

#backTop.visible {
    display: flex !important;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* ---- Header styles ---- */
.header-transparent {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-transparent.scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-transparent + div,
.header-transparent ~ #searchWrapper {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.header-solid {
    background: rgba(255, 255, 255, 1) !important;
    border-bottom: 1px solid #f3f4f6 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-solid .nav-link {
    color: #374151 !important;
}

.header-solid .nav-link:hover {
    color: #002f25 !important;
}

.header-solid #logoText {
    color: #002f25 !important;
}

.header-solid #searchToggle,
.header-solid #mobileMenuToggle {
    color: #6b7280 !important;
}

.header-solid #searchToggle:hover,
.header-solid #mobileMenuToggle:hover {
    color: #002f25 !important;
}

.header-consult { min-height: 40px; align-items: center; gap: .65rem; border: 1px solid rgba(255,255,255,.45); padding: .55rem 1.15rem; color: #fff; font-size: .875rem; font-weight: 600; transition: all .25s; }
.header-consult span { transition: transform .25s; }
.header-consult:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.header-consult:hover span { transform: translateX(3px); }
.header-solid .header-consult { border-color: #002f25; background: #002f25; color: #fff; }
.header-solid .header-consult:hover { background: #004d3c; }

/* ---- Search bar styles ---- */
#searchWrapper {
    transition: background-color 0.3s, border-color 0.3s;
}

.header-transparent ~ #searchWrapper {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header-solid ~ #searchWrapper {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

/* ---- Card hover effects ---- */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ---- Image zoom on hover ---- */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* ---- Responsive banner ---- */
@media (max-width: 768px) {
    .swiper-slide h2 {
        font-size: 1.75rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

/* ---- Hero Video ---- */
#heroVideo {
    scroll-snap-align: start;
}

#heroVideo video {
    transition: opacity 0.5s ease;
}

#videoToggle {
    transition: all 0.3s ease;
}

#videoToggle:hover {
    transform: scale(1.1);
}

#videoToggle:active {
    transform: scale(0.95);
}

/* ---- Button styles ---- */
.btn-primary {
    @apply px-6 py-2 bg-primary text-white rounded-lg hover:bg-primary-dark transition-colors font-medium;
}

.btn-outline {
    @apply px-6 py-2 border-2 border-primary text-primary rounded-lg hover:bg-primary hover:text-white transition-colors font-medium;
}

/* ---- Section spacing ---- */
section {
    position: relative;
}

/* ---- Mobile menu animation ---- */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.active {
    max-height: 400px;
}

/* ============================================
   Home page
   ============================================ */
html { scroll-behavior: smooth; }

.home-section { padding: 7.5rem 0; }
.home-hero-overlay { background: linear-gradient(90deg, rgba(0, 26, 20, .84) 0%, rgba(0, 26, 20, .46) 48%, rgba(0, 10, 8, .16) 100%); }
.home-default-hero { background: radial-gradient(circle at 80% 35%, rgba(30, 138, 113, .42), transparent 34%), linear-gradient(125deg, #001a14, #003d31 60%, #001f19); }
.home-default-hero::after { content: ''; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; }

.home-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.75rem; border: 1px solid transparent; font-size: .875rem; font-weight: 600; letter-spacing: .04em; transition: all .3s ease; }
.home-btn-light { background: #fff; color: #002f25; }
.home-btn-light:hover { background: #dbe9e5; transform: translateY(-2px); }
.home-btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.home-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.home-scroll-line { position: relative; display: block; width: 1px; height: 44px; overflow: hidden; background: rgba(255,255,255,.22); }
.home-scroll-line::after { content: ''; position: absolute; width: 1px; height: 18px; background: #fff; animation: homeScroll 1.8s ease-in-out infinite; }
@keyframes homeScroll { from { transform: translateY(-18px); } to { transform: translateY(48px); } }

.home-eyebrow { display: flex; align-items: center; gap: .75rem; color: #477167; font-size: .75rem; font-weight: 700; letter-spacing: .22em; }
.home-eyebrow::before { content: ''; width: 2.25rem; height: 1px; background: currentColor; }
.home-eyebrow-light { color: rgba(255,255,255,.55); }
.home-title { max-width: 680px; color: #111827; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.home-text-link { display: inline-flex; align-items: center; gap: .75rem; color: #002f25; font-size: .875rem; font-weight: 700; letter-spacing: .04em; }
.home-text-link span { transition: transform .25s; }
.home-text-link:hover span { transform: translateX(5px); }
.home-text-link-light { color: #fff; }

.home-about-image { height: min(570px, 55vw); min-height: 380px; overflow: hidden; background: #e6ece9; }
.home-about-placeholder { background: linear-gradient(135deg, #dce7e3, #91aea6); }
.home-stats { border-top: 1px solid #dce3e0; border-left: 1px solid #dce3e0; }
.home-stat-item { display: flex; min-height: 150px; flex-direction: column; justify-content: center; padding: 2rem; border-right: 1px solid #dce3e0; border-bottom: 1px solid #dce3e0; }
.home-stat-item strong { color: #002f25; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; line-height: 1; }
.home-stat-item span { margin-top: .75rem; color: #6b7280; font-size: .875rem; }

.home-capability-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid #dce3e0; background: #dce3e0; }
.home-capability-card { position: relative; min-height: 360px; overflow: hidden; background: #fff; padding: 2.5rem; transition: background .35s, color .35s; }
.home-capability-card h3 { margin-top: 2.8rem; color: #111827; font-size: 1.4rem; font-weight: 700; }
.home-capability-card p { margin-top: 1rem; color: #6b7280; line-height: 1.8; }
.home-capability-card a { display: inline-flex; margin-top: 2rem; gap: .7rem; font-size: .875rem; font-weight: 700; }
.home-card-index { position: absolute; top: 2rem; right: 2rem; color: #a6b6b1; font-size: .75rem; letter-spacing: .15em; }
.home-capability-icon { display: flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; background: #e5eeeb; color: #002f25; }
.home-capability-icon svg { width: 1.65rem; height: 1.65rem; stroke-width: 1.4; }
.home-capability-featured { background: #002f25; color: #fff; }
.home-capability-featured::after { content: ''; position: absolute; right: -90px; bottom: -100px; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025); }
.home-capability-featured h3, .home-capability-featured a { color: #fff; }
.home-capability-featured p { color: rgba(255,255,255,.6); }
.home-capability-featured .home-card-index { color: rgba(255,255,255,.45); }
.home-capability-featured .home-capability-icon { background: rgba(255,255,255,.1); color: #fff; }

.home-scenario-pattern { opacity: .22; background: radial-gradient(circle at 75% 50%, rgba(65, 183, 151, .5), transparent 32%), linear-gradient(120deg, transparent 55%, rgba(255,255,255,.05) 55%); }
.home-scenario-item { min-height: 220px; background: rgba(0,47,37,.9); padding: 2.2rem; transition: background .3s; }
.home-scenario-item:hover { background: rgba(9,76,61,.95); }
.home-scenario-item span { color: rgba(255,255,255,.35); font-size: .75rem; letter-spacing: .16em; }
.home-scenario-item h3 { margin-top: 3rem; font-size: 1.45rem; font-weight: 600; }
.home-scenario-item p { margin-top: .7rem; color: rgba(255,255,255,.5); font-size: .875rem; }

.home-case-card { display: block; }
.home-case-image { position: relative; height: 320px; overflow: hidden; background: #e7ecea; }
.home-case-image img, .home-news-feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-case-card:hover .home-case-image img, .home-news-feature-image:hover img { transform: scale(1.045); }
.home-case-arrow { position: absolute; right: 0; bottom: 0; display: flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; background: #fff; color: #002f25; font-size: 1.25rem; transform: translateY(100%); transition: transform .3s; }
.home-case-card:hover .home-case-arrow { transform: translateY(0); }
.home-slider-button { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid #d1d9d6; color: #002f25; transition: all .25s; }
.home-slider-button:hover { background: #002f25; border-color: #002f25; color: #fff; }
.home-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e8eeec, #a8bdb7); }

.home-partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid #e5e7eb; border-left: 1px solid #e5e7eb; }
.home-partner-item { position: relative; display: flex; min-height: 120px; align-items: center; justify-content: center; padding: 1.5rem; border-right: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; background: #fff; color: #64706d; font-weight: 600; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.home-partner-item::after { content: ''; position: absolute; right: 20%; bottom: 0; left: 20%; height: 2px; background: #002f25; transform: scaleX(0); transition: transform .3s ease; }
.home-partner-item img { max-width: 150px; max-height: 55px; opacity: 1; transition: transform .3s ease; }
.home-partner-item:hover { z-index: 2; border-color: transparent; box-shadow: 0 12px 34px rgba(0,47,37,.1); transform: translateY(-5px); }
.home-partner-item:hover::after { transform: scaleX(1); }
.home-partner-item:hover img { transform: scale(1.06); }

.home-news-feature-image { height: 350px; overflow: hidden; background: #e8eeec; }
.home-news-list-item { display: grid; grid-template-columns: 72px 1fr 28px; align-items: center; gap: 1.25rem; min-height: 142px; border-bottom: 1px solid #e5e7eb; }
.home-news-list-item time { display: flex; flex-direction: column; color: #9ca3af; }
.home-news-list-item time strong { color: #002f25; font-size: 2rem; font-weight: 500; line-height: 1; }
.home-news-list-item time span { margin-top: .35rem; font-size: .75rem; }
.home-news-list-item h3 { color: #111827; font-size: 1.05rem; font-weight: 600; line-height: 1.55; transition: color .25s; }
.home-news-list-item p { display: -webkit-box; margin-top: .5rem; overflow: hidden; color: #9ca3af; font-size: .875rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.home-news-list-item:hover h3 { color: #002f25; }
.home-news-list-arrow { color: #6b7280; transition: transform .25s; }
.home-news-list-item:hover .home-news-list-arrow { transform: translateX(5px); }

.home-cta-glow { background: radial-gradient(circle at 14% 50%, rgba(43,145,120,.28), transparent 32%); }
.home-contact-form { padding-left: 0; }
.home-contact-form input, .home-contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.24); border-radius: 0; outline: none; background: transparent; padding: 1rem 0; color: #fff; transition: border-color .25s; }
.home-contact-form input::placeholder, .home-contact-form textarea::placeholder { color: rgba(255,255,255,.42); }
.home-contact-form input:focus, .home-contact-form textarea:focus { border-color: rgba(255,255,255,.85); }
.home-contact-form textarea { margin: 1rem 0 1.5rem; resize: none; }

@media (min-width: 640px) {
    .home-partner-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 768px) {
    .home-capability-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .home-partner-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
    .home-capability-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .home-contact-form { padding-left: 3rem; border-left: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 767px) {
    .home-section { padding: 5rem 0; }
    .home-hero-overlay { background: linear-gradient(90deg, rgba(0,26,20,.86), rgba(0,26,20,.45)); }
    .home-about-image { height: 420px; }
    .home-stat-item { min-height: 120px; padding: 1.25rem; }
    .home-capability-card { min-height: 310px; padding: 2rem; }
    .home-case-image, .home-news-feature-image { height: 260px; }
    .home-news-list-item { grid-template-columns: 56px 1fr 20px; gap: .8rem; min-height: 125px; }
    .home-news-list-item time strong { font-size: 1.6rem; }
}

/* ---- About page ---- */
.about-intro-section { padding: 7.5rem 0; background: #fff; }
.about-intro-grid { display: grid; gap: 3.5rem; }
.about-intro-title { margin-top: 1.4rem; color: #111827; font-size: clamp(2.3rem,4vw,3.5rem); font-weight: 700; letter-spacing: -.03em; }
.about-intro-lead { margin-top: 2rem; color: #80908b; font-size: 1rem; line-height: 1.9; }
.about-intro-copy { position: relative; border-left: 1px solid #dbe3e0; padding-left: 2.5rem; color: #4b5563; font-size: 1.05rem; line-height: 2.05; }
.about-intro-copy p + p { margin-top: 1rem; }
.about-intro-copy::before { content: ''; position: absolute; top: 0; left: -2px; width: 3px; height: 4.5rem; background: #002f25; }
.about-intro-signature { display: flex; align-items: center; gap: 1rem; margin-top: 2.25rem; color: #002f25; font-size: .8rem; font-weight: 700; letter-spacing: .15em; }
.about-intro-signature span { width: 2.5rem; height: 1px; background: #002f25; }
.about-intro-signature p { margin: 0; }

.about-story-section { padding: 7rem 0; background: #f4f7f5; }
.about-story-content { max-width: 980px; margin: 0 auto; counter-reset: about-story; }
.about-story-heading { display: flex; align-items: baseline; gap: 1.25rem; margin: 4rem 0 1.75rem; counter-increment: about-story; }
.about-story-heading:first-child { margin-top: 0; }
.about-story-heading span { color: #729087; font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.about-story-heading span::before { content: counter(about-story, decimal-leading-zero); }
.about-story-heading h2 { color: #111827; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 700; }
.about-story-text { max-width: 780px; margin-left: auto; color: #56625e; font-size: 1rem; line-height: 2; }
.about-story-text p + p { margin-top: 1rem; }
.about-story-image { margin: 3rem 0 4.5rem; overflow: hidden; }
.about-story-image img { display: block; width: 100%; max-height: 620px; object-fit: cover; }

.about-culture-section { position: relative; overflow: hidden; padding: 7rem 0; background: #002f25; color: #fff; }
.about-culture-pattern { position: absolute; inset: 0; opacity: .28; background: radial-gradient(circle at 85% 25%,rgba(42,155,126,.55),transparent 30%),linear-gradient(125deg,transparent 62%,rgba(255,255,255,.04) 62%); }
.about-culture-heading { max-width: 650px; }
.about-culture-heading h2 { margin-top: 1.4rem; font-size: clamp(2rem,3.5vw,3rem); font-weight: 700; line-height: 1.3; }
.about-culture-heading > p { margin-top: 1.25rem; color: rgba(255,255,255,.55); line-height: 1.8; }
.about-culture-grid { display: grid; gap: 1px; margin-top: 3.5rem; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.13); }
.about-culture-card { position: relative; min-height: 310px; padding: 2.2rem; background: rgba(0,47,37,.92); transition: background .3s,transform .3s; }
.about-culture-card:hover { z-index: 1; background: #074b3d; transform: translateY(-5px); }
.about-culture-card > span { position: absolute; top: 2rem; right: 2rem; color: rgba(255,255,255,.28); font-size: .7rem; letter-spacing: .15em; }
.about-culture-icon { display: flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.65); font-size: .75rem; }
.about-culture-card h3 { margin-top: 2.5rem; font-size: 1.35rem; font-weight: 600; }
.about-culture-copy { margin-top: 1rem; color: rgba(255,255,255,.56); line-height: 1.8; }
.about-culture-copy p { margin: 0; }

@media (min-width: 768px) {
    .about-intro-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 6rem; }
    .about-culture-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .about-intro-section,.about-story-section,.about-culture-section { padding: 5rem 0; }
    .about-intro-copy { padding-left: 1.5rem; }
    .about-story-heading { margin-top: 3rem; }
    .about-story-text { margin-left: 0; }
    .about-culture-card { min-height: 260px; }
}

/* ---- Case index ---- */
.case-overview { padding: 7rem 0; background: #fff; }
.case-overview-grid { display: grid; gap: 3rem; }
.case-overview h2 { margin-top: 1.4rem; max-width: 580px; color: #111827; font-size: clamp(2.2rem,4vw,3.25rem); font-weight: 700; line-height: 1.28; letter-spacing: -.03em; }
.case-overview-copy { color: #59645f; font-size: 1.05rem; line-height: 2; }
.case-overview-copy p + p { margin-top: 1rem; }
.case-overview-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 2.5rem; border-top: 1px solid #dbe3e0; }
.case-overview-stats div { display: flex; flex-direction: column; padding: 1.75rem 1rem 0 0; }
.case-overview-stats strong { color: #002f25; font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 600; }
.case-overview-stats span { margin-top: .5rem; color: #8a9692; font-size: .8rem; }

.case-list-section { padding: 0 0 7.5rem; background: #fff; }
.case-filters { display: flex; gap: 2.4rem; overflow-x: auto; margin-bottom: 3.5rem; border-bottom: 1px solid #dfe5e2; white-space: nowrap; scrollbar-width: none; }
.case-filters a { position: relative; flex: none; padding: 1.1rem 0; color: #77817e; font-size: .9rem; font-weight: 600; }
.case-filters a::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #002f25; transform: scaleX(0); transition: transform .25s; }
.case-filters a.active,.case-filters a:hover { color: #002f25; }
.case-filters a.active::after { transform: scaleX(1); }
.case-featured { display: grid; margin-bottom: 5.5rem; background: #f1f5f3; }
.case-featured-image { position: relative; min-height: 480px; overflow: hidden; }
.case-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.case-featured-image:hover img { transform: scale(1.035); }
.case-featured-image > span { position: absolute; top: 1.5rem; left: 1.5rem; background: #002f25; padding: .65rem 1rem; color: #fff; font-size: .72rem; letter-spacing: .12em; }
.case-featured-content { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem; }
.case-industry { color: #54766d; font-size: .75rem; font-weight: 700; letter-spacing: .18em; }
.case-featured-content h2 { margin-top: 1rem; color: #111827; font-size: clamp(2rem,3vw,2.8rem); font-weight: 700; line-height: 1.3; }
.case-featured-summary { margin-top: 1.4rem; color: #64706c; line-height: 1.85; }
.case-featured-meta { display: grid; gap: 1rem; margin: 2rem 0; padding: 1.5rem 0; border-top: 1px solid #d7dfdc; border-bottom: 1px solid #d7dfdc; }
.case-featured-meta div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; font-size: .85rem; }
.case-featured-meta dt { color: #98a19e; }
.case-featured-meta dd { color: #2f3b37; font-weight: 600; }
.case-grid { display: grid; gap: 4rem 2rem; }
.case-grid-card:nth-child(even) { transform: translateY(3.5rem); }
.case-grid-image { position: relative; height: 360px; overflow: hidden; background: #e8eeec; }
.case-grid-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-grid-card:hover .case-grid-image img { transform: scale(1.045); }
.case-grid-arrow { position: absolute; right: 0; bottom: 0; display: flex; width: 3.8rem; height: 3.8rem; align-items: center; justify-content: center; background: #fff; color: #002f25; font-size: 1.25rem; transform: translateY(100%); transition: transform .3s; }
.case-grid-card:hover .case-grid-arrow { transform: translateY(0); }
.case-grid-content { padding-top: 1.5rem; }
.case-grid-content > p { color: #71817c; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.case-grid-content > p span { margin: 0 .6rem; color: #c3cac7; }
.case-grid-content h3 { margin-top: .7rem; color: #111827; font-size: 1.35rem; font-weight: 650; transition: color .25s; }
.case-grid-card:hover h3 { color: #002f25; }
.case-grid-content > div { margin-top: .8rem; color: #87908d; font-size: .9rem; line-height: 1.7; }
.case-empty { padding: 6rem 0; text-align: center; color: #9ca3af; }

.case-process { position: relative; overflow: hidden; padding: 7rem 0; background: #002f25; color: #fff; }
.case-process-pattern { position: absolute; inset: 0; opacity: .25; background: radial-gradient(circle at 85% 30%,rgba(42,155,126,.55),transparent 32%); }
.case-process-heading h2 { margin-top: 1.4rem; font-size: clamp(2rem,3.5vw,3rem); font-weight: 700; }
.case-process-grid { display: grid; margin-top: 4rem; border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.case-process-grid > div { position: relative; min-height: 220px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.case-process-grid span { color: rgba(255,255,255,.35); font-size: .72rem; letter-spacing: .15em; }
.case-process-grid h3 { margin-top: 3rem; font-size: 1.3rem; font-weight: 600; }
.case-process-grid p { margin-top: .8rem; color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.7; }
.case-cta { padding: 5rem 0; background: #001a14; color: #fff; }
.case-cta > div { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.case-cta p { color: rgba(255,255,255,.4); font-size: .7rem; letter-spacing: .2em; }
.case-cta h2 { margin-top: .75rem; font-size: clamp(1.7rem,3vw,2.5rem); font-weight: 650; }

/* ---- Case detail ---- */
.case-detail-intro { padding: 7rem 0; background: #fff; }
.case-detail-intro-grid { display: grid; gap: 4rem; }
.case-detail-intro h1 { margin-top: 1.4rem; color: #111827; font-size: clamp(2.2rem,4vw,3.4rem); font-weight: 700; line-height: 1.25; }
.case-detail-intro h1 + p { margin-top: 1.5rem; max-width: 680px; color: #64706c; font-size: 1.05rem; line-height: 1.9; }
.case-detail-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #dfe5e2; border-left: 1px solid #dfe5e2; }
.case-detail-facts div { min-height: 105px; padding: 1.4rem; border-right: 1px solid #dfe5e2; border-bottom: 1px solid #dfe5e2; }
.case-detail-facts dt { color: #98a19e; font-size: .72rem; }
.case-detail-facts dd { margin-top: .55rem; color: #24312c; font-size: .95rem; font-weight: 600; }
.case-detail-challenge { padding: 7rem 0; background: #f2f5f3; }
.case-detail-challenge > div { display: grid; gap: 2rem; }
.case-detail-section-number { color: #749188; font-size: .75rem; font-weight: 700; letter-spacing: .18em; }
.case-detail-kicker,.case-detail-section-title p { color: #70877f; font-size: .72rem; font-weight: 700; letter-spacing: .18em; }
.case-detail-challenge h2,.case-detail-section-title h2,.case-gallery h2 { margin-top: .9rem; color: #111827; font-size: clamp(2rem,3vw,2.8rem); font-weight: 700; }
.case-detail-richtext { max-width: 850px; margin-top: 2rem; color: #58645f; line-height: 2; }
.case-detail-richtext p + p { margin-top: 1rem; }
.case-detail-solution { padding: 7rem 0; background: #fff; }
.case-detail-section-title { display: flex; gap: 1.5rem; align-items: flex-start; }
.case-detail-section-title > span { padding-top: .25rem; color: #749188; font-size: .75rem; font-weight: 700; }
.case-solution-list { margin-top: 4rem; }
.case-solution-item { display: grid; gap: 2.5rem; align-items: center; padding: 3.5rem 0; border-top: 1px solid #e0e6e3; }
.case-solution-item > div > span { color: #789087; font-size: .72rem; }
.case-solution-item h3 { margin-top: .75rem; color: #17201d; font-size: 1.7rem; font-weight: 650; }
.case-solution-item h3 + div { margin-top: 1.2rem; color: #65716c; line-height: 1.9; }
.case-solution-item img { width: 100%; max-height: 410px; object-fit: cover; }
.case-detail-results { position: relative; overflow: hidden; padding: 7rem 0; background: #002f25; color: #fff; }
.case-results-pattern { position: absolute; inset: 0; opacity: .24; background: radial-gradient(circle at 85% 30%,rgba(43,154,126,.6),transparent 31%); }
.case-detail-section-title.light h2 { color: #fff; }
.case-detail-section-title.light p,.case-detail-section-title.light > span { color: rgba(255,255,255,.45); }
.case-results-copy { max-width: 780px; margin-top: 2rem; color: rgba(255,255,255,.58); line-height: 1.95; }
.case-result-stats { display: grid; margin-top: 4rem; border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.case-result-stats div { display: flex; min-height: 150px; flex-direction: column; justify-content: center; padding: 1.8rem; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.case-result-stats strong { font-size: clamp(2rem,4vw,3rem); font-weight: 600; }
.case-result-stats span { margin-top: .65rem; color: rgba(255,255,255,.48); font-size: .8rem; }
.case-gallery { padding: 7rem 0; background: #fff; }
.case-gallery-grid { display: grid; gap: 1rem; margin-top: 3rem; }
.case-gallery-grid figure { height: 360px; overflow: hidden; }
.case-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-gallery-grid figure:hover img { transform: scale(1.035); }
.case-detail-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #e0e5e3; }
.case-detail-nav > a { display: flex; min-height: 150px; flex-direction: column; justify-content: center; padding: 2rem clamp(1.5rem,5vw,5rem); color: #26332e; }
.case-detail-nav > a + a { border-left: 1px solid #e0e5e3; }
.case-detail-nav span { color: #8c9692; font-size: .75rem; }
.case-detail-nav strong { margin-top: .7rem; font-size: 1.05rem; }

@media (min-width: 768px) {
    .case-overview-grid { grid-template-columns: .95fr 1.05fr; gap: 6rem; }
    .case-featured { grid-template-columns: 1.35fr .85fr; }
    .case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .case-process-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .case-cta > div { flex-direction: row; align-items: center; }
    .case-detail-intro-grid { grid-template-columns: 1.15fr .85fr; }
    .case-detail-challenge > div { grid-template-columns: 100px 1fr; }
    .case-solution-item { grid-template-columns: .85fr 1.15fr; gap: 5rem; }
    .case-solution-item:nth-child(even) > div { order: 2; }
    .case-solution-item:nth-child(even) img { order: 1; }
    .case-result-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .case-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .case-gallery-grid figure:nth-child(3n+1) { grid-column: span 2; height: 520px; }
}
@media (max-width: 767px) {
    .case-overview,.case-process,.case-detail-intro,.case-detail-challenge,.case-detail-solution,.case-detail-results,.case-gallery { padding: 5rem 0; }
    .case-overview-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .case-featured-image { min-height: 320px; }
    .case-featured-content { padding: 2rem; }
    .case-grid { gap: 3rem; }
    .case-grid-card:nth-child(even) { transform: none; }
    .case-grid-image { height: 270px; }
    .case-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .case-process-grid > div { min-height: 190px; padding: 1.5rem; }
    .case-result-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .case-gallery-grid figure { height: 260px; }
    .case-detail-nav { grid-template-columns: 1fr; }
    .case-detail-nav > a + a { border-top: 1px solid #e0e5e3; border-left: 0; }
}

/* ---- Contact page ---- */
.contact-intro { padding: 7rem 0; background: #fff; }
.contact-intro-grid { display: grid; gap: 3.5rem; }
.contact-intro h2 { margin-top: 1.4rem; color: #111827; font-size: clamp(2.2rem,4vw,3.35rem); font-weight: 700; line-height: 1.3; letter-spacing: -.03em; }
.contact-intro-copy > p { color: #58645f; font-size: 1.05rem; line-height: 2; }
.contact-intro-copy > div { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e0e6e3; }
.contact-intro-copy > div > span { color: #779087; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.contact-intro-copy > div p { color: #78827e; font-size: .88rem; }
.contact-intro-copy > div strong { display: block; margin-bottom: .3rem; color: #26332e; font-size: 1rem; }

.contact-main-section { padding: 0 0 7.5rem; background: #fff; }
.contact-main-grid { display: grid; box-shadow: 0 24px 70px rgba(0,47,37,.09); }
.contact-info-panel { position: relative; overflow: hidden; padding: clamp(2.2rem,5vw,4.5rem); background: #002f25; color: #fff; }
.contact-panel-pattern { position: absolute; inset: 0; opacity: .26; background: radial-gradient(circle at 90% 15%,rgba(45,169,136,.65),transparent 32%),linear-gradient(135deg,transparent 65%,rgba(255,255,255,.05) 65%); }
.contact-panel-kicker,.contact-form-kicker { color: rgba(255,255,255,.48); font-size: .7rem; font-weight: 700; letter-spacing: .2em; }
.contact-info-panel h2 { margin-top: 1.2rem; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 650; }
.contact-panel-desc { margin-top: 1.2rem; max-width: 420px; color: rgba(255,255,255,.55); line-height: 1.85; }
.contact-info-list { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.14); }
.contact-info-list > a,.contact-info-row { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: flex-start; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-info-icon { color: rgba(255,255,255,.35); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.contact-info-list small { display: block; color: rgba(255,255,255,.42); font-size: .72rem; }
.contact-info-list strong { display: block; margin-top: .45rem; color: #fff; font-size: .95rem; font-weight: 500; line-height: 1.65; }
.contact-info-list a:hover strong { color: #a9dfd1; }
.contact-wechat { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; }
.contact-wechat img { width: 88px; height: 88px; object-fit: cover; background: #fff; padding: .3rem; }
.contact-wechat strong { font-size: .9rem; }
.contact-wechat p { margin-top: .35rem; color: rgba(255,255,255,.45); font-size: .75rem; }

.contact-form-panel { padding: clamp(2.2rem,5vw,4.5rem); background: #f7f9f8; }
.contact-form-kicker { color: #718a82; }
.contact-form-panel h2 { margin-top: 1.2rem; color: #111827; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 650; }
.contact-form-desc { margin-top: .8rem; color: #8a9490; font-size: .88rem; }
.contact-page-form { margin-top: 2.7rem; }
.contact-form-row { display: grid; gap: 1.5rem; }
.contact-page-form label { display: block; margin-bottom: 1.5rem; }
.contact-page-form label > span { display: block; margin-bottom: .65rem; color: #4c5954; font-size: .78rem; font-weight: 600; }
.contact-page-form input,.contact-page-form select,.contact-page-form textarea { width: 100%; border: 1px solid #d9e0dd; border-radius: 0; outline: none; background: #fff; padding: .95rem 1rem; color: #26332e; transition: border-color .25s,box-shadow .25s; }
.contact-page-form input:focus,.contact-page-form select:focus,.contact-page-form textarea:focus { border-color: #52776d; box-shadow: 0 0 0 3px rgba(0,47,37,.06); }
.contact-page-form input::placeholder,.contact-page-form textarea::placeholder { color: #b0b8b5; }
.contact-page-form textarea { resize: vertical; }
.contact-form-submit { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; justify-content: space-between; }
.contact-form-submit > p { max-width: 330px; color: #a0a9a5; font-size: .7rem; line-height: 1.6; }
.contact-form-submit button { display: inline-flex; min-width: 165px; min-height: 50px; align-items: center; justify-content: center; gap: .8rem; background: #002f25; padding: .8rem 1.7rem; color: #fff; font-size: .85rem; font-weight: 600; transition: background .25s,transform .25s; }
.contact-form-submit button:hover { background: #004d3c; transform: translateY(-2px); }
.contact-form-submit button:disabled { cursor: wait; opacity: .65; transform: none; }
.contact-form-status { min-height: 1.5rem; margin-top: 1rem; font-size: .82rem; }
.contact-form-status.success { color: #187451; }
.contact-form-status.error { color: #b42318; }

.contact-map-section { padding: 7rem 0; background: #f2f5f3; }
.contact-map-heading { display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; margin-bottom: 2.5rem; }
.contact-map-heading h2 { margin-top: 1.2rem; color: #111827; font-size: clamp(2rem,3vw,2.8rem); font-weight: 700; }
.contact-map-heading > p { max-width: 480px; color: #697570; line-height: 1.7; }
.contact-map-frame { min-height: 460px; overflow: hidden; background: #dfe6e3; }
.contact-map-frame iframe { display: block; width: 100% !important; height: 460px !important; border: 0; }
.contact-service-entry { padding: 4rem 0; background: #fff; }
.contact-service-entry > div { display: flex; flex-direction: column; gap: 1.8rem; justify-content: space-between; }
.contact-service-entry > div > p { color: #65716c; font-size: 1.05rem; font-weight: 600; }
.contact-service-entry > div > div { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.contact-service-entry a { display: inline-flex; gap: .8rem; color: #002f25; font-size: .85rem; font-weight: 700; }
.contact-service-entry a span { transition: transform .25s; }
.contact-service-entry a:hover span { transform: translateX(4px); }

@media (min-width: 768px) {
    .contact-intro-grid { grid-template-columns: .95fr 1.05fr; gap: 6rem; }
    .contact-main-grid { grid-template-columns: .8fr 1.2fr; }
    .contact-form-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .contact-form-submit { flex-direction: row; align-items: center; }
    .contact-map-heading,.contact-service-entry > div { flex-direction: row; align-items: flex-end; }
}
@media (max-width: 767px) {
    .contact-intro,.contact-map-section { padding: 5rem 0; }
    .contact-main-section { padding-bottom: 5rem; }
    .contact-map-frame,.contact-map-frame iframe { min-height: 350px; height: 350px !important; }
}

/* ---- News center ---- */
.news-overview { padding: 7rem 0; background: #fff; }
.news-overview-grid { display: grid; gap: 3.5rem; }
.news-overview h2 { margin-top: 1.4rem; color: #111827; font-size: clamp(2.2rem,4vw,3.3rem); font-weight: 700; line-height: 1.3; letter-spacing: -.03em; }
.news-overview-copy > p { color: #5d6964; font-size: 1.05rem; line-height: 2; }
.news-overview-copy > div { display: flex; align-items: flex-end; gap: 1rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid #dfe5e2; }
.news-overview-copy strong { color: #002f25; font-size: 2.8rem; font-weight: 600; line-height: 1; }
.news-overview-copy span { padding-bottom: .25rem; color: #8b9591; font-size: .8rem; }
.news-list-section { padding: 0 0 7.5rem; background: #fff; }
.news-filters { display: flex; gap: 2.4rem; overflow-x: auto; margin-bottom: 3.5rem; border-bottom: 1px solid #dfe5e2; white-space: nowrap; scrollbar-width: none; }
.news-filters a { position: relative; flex: none; padding: 1.1rem 0; color: #77817e; font-size: .9rem; font-weight: 600; }
.news-filters a::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #002f25; transform: scaleX(0); transition: transform .25s; }
.news-filters a.active,.news-filters a:hover { color: #002f25; }
.news-filters a.active::after { transform: scaleX(1); }
.news-featured { display: grid; background: #f1f5f3; }
.news-featured-image { position: relative; min-height: 460px; overflow: hidden; }
.news-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.news-featured-image:hover img { transform: scale(1.035); }
.news-featured-image > span { position: absolute; top: 1.5rem; left: 1.5rem; background: #002f25; padding: .65rem 1rem; color: #fff; font-size: .7rem; letter-spacing: .12em; }
.news-featured-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,5vw,4rem); }
.news-featured-meta { display: flex; gap: 1rem; color: #71837d; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.news-featured-meta time { padding-left: 1rem; border-left: 1px solid #bcc8c4; }
.news-featured-content h2 { margin-top: 1.3rem; color: #111827; font-size: clamp(1.9rem,3vw,2.7rem); font-weight: 700; line-height: 1.4; }
.news-featured-content > p { margin: 1.4rem 0 2rem; color: #65716c; line-height: 1.85; }
.news-latest-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 7rem; padding-bottom: 1.5rem; border-bottom: 1px solid #dfe5e2; }
.news-latest-heading span { color: #718a82; font-size: .7rem; font-weight: 700; letter-spacing: .18em; }
.news-latest-heading h2 { margin-top: .65rem; color: #111827; font-size: 2rem; font-weight: 700; }
.news-latest-heading > p { color: #9aa29f; font-size: .78rem; }
.news-editorial-item { display: grid; grid-template-columns: 70px 1fr 28px; gap: 1.5rem; align-items: center; min-height: 155px; border-bottom: 1px solid #e1e6e4; transition: background .25s,padding .25s; }
.news-editorial-item:hover { background: #f7f9f8; padding-right: 1rem; padding-left: 1rem; }
.news-editorial-item > time { display: flex; flex-direction: column; }
.news-editorial-item > time strong { color: #002f25; font-size: 2rem; font-weight: 500; line-height: 1; }
.news-editorial-item > time span { margin-top: .4rem; color: #9aa4a0; font-size: .72rem; }
.news-editorial-body > p { color: #789088; font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.news-editorial-body h3 { margin-top: .45rem; color: #17201d; font-size: 1.1rem; font-weight: 650; transition: color .25s; }
.news-editorial-item:hover h3 { color: #002f25; }
.news-editorial-body > div { margin-top: .6rem; color: #8a9490; font-size: .85rem; line-height: 1.6; }
.news-editorial-thumb { display: none; width: 150px; height: 90px; overflow: hidden; }
.news-editorial-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-editorial-item:hover .news-editorial-thumb img { transform: scale(1.04); }
.news-editorial-arrow { color: #71807b; transition: transform .25s; }
.news-editorial-item:hover .news-editorial-arrow { transform: translateX(5px); }
.news-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 4rem; }
.news-pagination a { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid #dbe2df; color: #66726d; font-size: .78rem; }
.news-pagination a.active,.news-pagination a:hover { border-color: #002f25; background: #002f25; color: #fff; }
.news-empty { padding: 7rem 0; text-align: center; color: #98a19e; }
.news-cta { padding: 5rem 0; background: #001a14; color: #fff; }
.news-cta > div { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.news-cta p { color: rgba(255,255,255,.4); font-size: .7rem; letter-spacing: .2em; }
.news-cta h2 { margin-top: .75rem; font-size: clamp(1.7rem,3vw,2.5rem); font-weight: 650; }
.news-cta > div > div:last-child { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- News detail ---- */
.news-article { max-width: 1100px; margin: 0 auto; padding: 7rem 1.25rem; }
.news-article-header { max-width: 900px; margin: 0 auto; }
.news-article-category { color: #68867d; font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.news-article-header h1 { margin-top: 1.3rem; color: #111827; font-size: clamp(2.2rem,4vw,3.5rem); font-weight: 700; line-height: 1.35; letter-spacing: -.025em; }
.news-article-header > p { margin-top: 1.5rem; color: #66716d; font-size: 1.05rem; line-height: 1.9; }
.news-article-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e0e5e3; color: #9aa29f; font-size: .76rem; }
.news-article-cover { margin: 4rem 0; }
.news-article-cover img { display: block; width: 100%; max-height: 680px; object-fit: cover; }
.news-article-body { max-width: 820px; margin: 0 auto; color: #3f4a46; font-size: 1.05rem; line-height: 2; }
.news-article-body p { margin: 1.3rem 0; }
.news-article-body h2,.news-article-body h3 { margin: 2.7rem 0 1rem; color: #17201d; font-weight: 700; }
.news-article-body h2 { font-size: 1.65rem; }
.news-article-body h3 { font-size: 1.3rem; }
.news-article-body img { max-width: 100%; height: auto; margin: 2rem auto; }
.news-article-body blockquote { margin: 2rem 0; border-left: 3px solid #002f25; background: #f2f5f3; padding: 1.5rem 2rem; color: #58645f; }
.news-article-footer { display: flex; align-items: center; justify-content: space-between; max-width: 820px; margin: 4rem auto 0; padding-top: 2rem; border-top: 1px solid #dfe5e2; }
.news-article-footer span { color: #a3aaa7; font-size: .68rem; letter-spacing: .18em; }
.news-article-footer a { color: #002f25; font-size: .8rem; font-weight: 700; }
.news-detail-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #e0e5e3; }
.news-detail-nav > a { display: flex; min-height: 145px; flex-direction: column; justify-content: center; padding: 2rem clamp(1.5rem,5vw,5rem); color: #26332e; }
.news-detail-nav > a + a { border-left: 1px solid #e0e5e3; }
.news-detail-nav span { color: #8c9692; font-size: .74rem; }
.news-detail-nav strong { margin-top: .7rem; font-size: 1rem; }
.news-related { padding: 7rem 0; background: #f2f5f3; }
.news-related-heading { display: flex; align-items: flex-end; justify-content: space-between; }
.news-related-heading h2 { margin-top: 1rem; color: #111827; font-size: 2.4rem; font-weight: 700; }
.news-related-grid { display: grid; gap: 2rem; margin-top: 3rem; }
.news-related-card > div { height: 220px; overflow: hidden; }
.news-related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-related-card:hover img { transform: scale(1.04); }
.news-related-card time { display: block; margin-top: 1.2rem; color: #82908b; font-size: .72rem; }
.news-related-card h3 { margin-top: .6rem; color: #17201d; font-size: 1.05rem; font-weight: 650; line-height: 1.6; }

@media (min-width: 768px) {
    .news-overview-grid { grid-template-columns: .95fr 1.05fr; gap: 6rem; }
    .news-featured { grid-template-columns: 1.25fr .75fr; }
    .news-editorial-item { grid-template-columns: 70px 1fr 150px 28px; }
    .news-editorial-thumb { display: block; }
    .news-cta > div { flex-direction: row; align-items: center; }
    .news-related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .news-overview,.news-article,.news-related { padding-top: 5rem; padding-bottom: 5rem; }
    .news-list-section { padding-bottom: 5rem; }
    .news-featured-image { min-height: 300px; }
    .news-editorial-item { grid-template-columns: 55px 1fr 20px; gap: .8rem; min-height: 135px; }
    .news-editorial-body > div { display: none; }
    .news-detail-nav { grid-template-columns: 1fr; }
    .news-detail-nav > a + a { border-top: 1px solid #e0e5e3; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .home-scroll-line::after { animation: none; }
    .home-case-image img, .home-news-feature-image img, .home-btn { transition: none; }
}

/* ---- Inner page banner ---- */
.inner-banner-overlay { background: linear-gradient(90deg, rgba(0,26,20,.9) 0%, rgba(0,26,20,.58) 48%, rgba(0,26,20,.28) 100%); }
.inner-banner-blur { filter: blur(22px) brightness(.72); transform: scale(1.08); }
.inner-banner-image-contain { z-index: 1; }
.inner-banner-overlay-contain { z-index: 2; background: linear-gradient(90deg, rgba(0,26,20,.68) 0%, rgba(0,26,20,.18) 48%, rgba(0,26,20,.08) 100%); }
.inner-banner .relative.z-10 { z-index: 3; }
.inner-banner-eyebrow { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.62); font-size: .7rem; font-weight: 700; letter-spacing: .24em; }
.inner-banner-eyebrow::before { content: ''; width: 2.5rem; height: 1px; background: currentColor; }
@media (max-width: 767px) {
    .inner-banner { min-height: 340px; }
    .inner-banner-overlay { background: linear-gradient(90deg, rgba(0,26,20,.9), rgba(0,26,20,.45)); }
}
