/*
Theme Name: TN Digi Solution
Theme URI: https://tndigi.com
Author: TN Digi Solution
Author URI: https://tndigi.com
Description: ĐÁP ỨNG MỌI NHU CẦU — Website của chúng tôi phù hợp với tất cả mọi người dù bạn là người mới bắt đầu hay chuyên gia.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: az-ai-theme
Tags: thiết kế website chuẩn SEO, Content AIO chuẩn Google, Index Google nhanh chóng, tối ưu tốc độ, responsive, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ═══════════════════════════════════════════════════
   DPL — White-Blue Design System (Clinical Architect)
   Primary: #0057B8  Secondary: #0097A7  BG: #F5FAFF
═══════════════════════════════════════════════════ */

/* CSS custom properties — single source of truth */
:root {
    --dpl-primary:          #0057B8;
    --dpl-primary-dark:     #003A6B;
    --dpl-primary-light:    #DDEEFF;
    --dpl-secondary:        #0097A7;
    --dpl-secondary-light:  #B2EBF2;
    --dpl-bg:               #F5FAFF;
    --dpl-surface:          #FFFFFF;
    --dpl-surface-low:      #EEF5FC;
    --dpl-text:             #0D1B2A;
    --dpl-text-muted:       #3A5068;
    --dpl-border:           rgba(0,87,184,.12);
    --dpl-shadow:           rgba(0,87,184,.10);
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    background: var(--dpl-bg);
    min-height: 100vh;
    color: var(--dpl-text);
    overflow-x: hidden;
}

/* Glass panel — white/blue tint (replaces dark glass) */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--dpl-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--dpl-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--dpl-shadow);
}

/* Text gradient — blue tones */
.text-gradient {
    background: linear-gradient(to right, #0057B8, #0097A7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card with blue accent border */
.neon-border-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 1rem;
    z-index: 1;
    border: 1px solid var(--dpl-border);
    transition: all 0.3s ease;
}

.neon-border-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: 1.05rem;
    background: linear-gradient(to bottom right, #0057B8, #0097A7, rgba(255,255,255,0) 60%);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.neon-border-card:hover {
    border-color: var(--dpl-secondary);
    box-shadow: 0 0 20px rgba(0, 151, 167, 0.15);
    transform: translateY(-5px);
}

.neon-border-card:hover::before {
    opacity: 0.5;
}

.pricing-glow {
    box-shadow: 0 0 30px rgba(0, 87, 184, 0.12);
    border: 1px solid rgba(0, 87, 184, 0.3);
}

.dashboard-glow {
    filter: drop-shadow(0 0 20px rgba(0, 87, 184, 0.2));
}

.glow-underline {
    position: relative;
    display: inline-block;
}

.glow-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0057B8, transparent);
    border-radius: 2px;
}

.workflow-line {
    background: linear-gradient(to right, #0057B8, #0097A7, #DDEEFF);
    height: 4px;
    top: 40px;
    transform: translateY(-50%);
}

/* Remove dark neon mix-blend — not needed on light bg */
.neon-icon { mix-blend-mode: normal; }
img { mix-blend-mode: normal; }

/* Legacy neon color classes → blue equivalents */
.text-neon-blue    { color: #0057B8; }
.text-neon-purple  { color: #0097A7; }
.text-neon-green   { color: #006e20; }

.border-neon-blue   { border-color: #0057B8; }
.border-neon-purple { border-color: #0097A7; }
.border-neon-green  { border-color: #006e20; }

.hover\:text-neon-blue:hover   { color: #0057B8; }
.hover\:text-neon-purple:hover { color: #0097A7; }
.hover\:text-neon-green:hover  { color: #006e20; }

.hover\:bg-neon-blue\/10:hover   { background-color: rgba(0, 87, 184, 0.08); }
.hover\:bg-neon-purple\/10:hover { background-color: rgba(0, 151, 167, 0.08); }
.hover\:bg-neon-green\/10:hover  { background-color: rgba(0, 110, 32, 0.08); }

/* Glass panel as card (second definition — overrides above for card usage) */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--dpl-border);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-0.25rem);
    box-shadow: 0 8px 32px var(--dpl-shadow);
}

/* Pro/featured card — blue gradient */
.pro-card {
    position: relative;
    background: linear-gradient(160deg, #0057B8, #0097A7);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
    box-shadow: 0 0 0 2px transparent;
}

.pro-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(135deg, #0057B8, #0097A7);
    border-radius: inherit;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

#mobile-menu {
    transition: all 0.3s ease;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Remove duplicate dark overrides */
.text-gradient {
    background: linear-gradient(to right, #0057B8, #0097A7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   DPL Prose — global white-blue typography
═══════════════════════════════════════════════════ */
.dpl-prose { font-family:'Inter',sans-serif; color:#0D1B2A; line-height:1.8; }
.dpl-prose h1,.dpl-prose h2,.dpl-prose h3,.dpl-prose h4,.dpl-prose h5,.dpl-prose h6 { font-family:'Manrope',sans-serif; color:#0057B8; font-weight:800; margin-top:2rem; margin-bottom:1rem; line-height:1.25; }
.dpl-prose h2 { font-size:1.875rem; }
.dpl-prose h3 { font-size:1.5rem; }
.dpl-prose h4 { font-size:1.25rem; }
.dpl-prose p  { color:#3A5068; font-size:1.0625rem; margin-bottom:1.25rem; }
.dpl-prose a  { color:#0057B8; font-weight:600; text-decoration:none; }
.dpl-prose a:hover { color:#0097A7; text-decoration:underline; }
.dpl-prose strong { color:#0D1B2A; font-weight:700; }
.dpl-prose ul,.dpl-prose ol { color:#3A5068; padding-left:1.5rem; margin:1.25rem 0; }
.dpl-prose li { margin-bottom:.5rem; font-size:1.0625rem; }
.dpl-prose ul li::marker,.dpl-prose ol li::marker { color:#0057B8; font-weight:700; }
.dpl-prose blockquote { border-left:4px solid #0097A7; padding:1rem 1.25rem; color:#3A5068; font-style:italic; margin:1.5rem 0; background:#EEF5FC; border-radius:0 .5rem .5rem 0; }
.dpl-prose code { color:#0057B8; background:#EEF5FC; padding:.2rem .5rem; border-radius:.375rem; font-size:.875rem; }
.dpl-prose pre  { background:#EEF5FC; border:1px solid rgba(0,87,184,.15); border-radius:.75rem; padding:1.5rem; overflow-x:auto; margin:1.5rem 0; }
.dpl-prose img  { border-radius:.75rem; box-shadow:0 8px 32px rgba(0,87,184,.10); margin:1.5rem 0; max-width:100%; }
.dpl-prose table { width:100%; margin:1.5rem 0; border-collapse:collapse; }
.dpl-prose th { color:#0057B8; font-weight:700; padding:.75rem; border-bottom:2px solid rgba(0,87,184,.15); text-align:left; }
.dpl-prose td { padding:.75rem; border-top:1px solid rgba(0,87,184,.08); color:#3A5068; }
.dpl-prose hr { border:none; border-top:1px solid rgba(0,87,184,.10); margin:2.5rem 0; }

/* WP pagination — white-blue */
.wp-pagenavi a, .wp-pagenavi span,
.nav-links a, .nav-links span.current {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:2.5rem; height:2.5rem; padding:0 1rem;
    background:#EEF5FC; border:1px solid rgba(0,87,184,.15);
    border-radius:.75rem; color:#3A5068; font-weight:600;
    transition:all .2s; text-decoration:none;
}
.nav-links a:hover { background:rgba(0,87,184,.10); border-color:rgba(0,87,184,.3); color:#0057B8; }
.nav-links span.current { background:#0057B8; border-color:#0057B8; color:#fff; }

/* ═══════════════════════════════════════════
   HOMEPAGE 2.0 — AZ AI / DPL
═══════════════════════════════════════════ */
.hp-page {
    color: #0d1b2a;
    overflow: hidden;
}

.hp-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.hp-hero {
    position: relative;
    padding: 28px 0 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 87, 184, 0.14), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(0, 151, 167, 0.12), transparent 24%),
        linear-gradient(180deg, #f5f8fc 0%, #f5f8fc 52%, #ffffff 100%);
}

.hp-hero::before,
.hp-hero::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(28px);
    opacity: 0.5;
}

.hp-hero::before {
    width: 220px;
    height: 220px;
    left: -80px;
    top: 120px;
    background: rgba(0, 87, 184, 0.12);
}

.hp-hero::after {
    width: 260px;
    height: 260px;
    right: -100px;
    bottom: 40px;
    background: rgba(0, 151, 167, 0.10);
}

.hp-hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 32px;
    align-items: center;
    min-height: calc(100vh - 108px);
    padding-bottom: 28px;
}

.hp-hero-copy {
    max-width: 620px;
}

.hp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 87, 184, 0.08);
    border: 1px solid rgba(0, 87, 184, 0.12);
    color: #003a6b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hp-kicker .ms {
    font-size: 16px;
    color: #0057b8;
}

.hp-eyebrow {
    margin: 18px 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5a7a94;
}

.hp-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.045em;
    color: #061827;
}

.hp-lead {
    max-width: 560px;
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.75;
    color: #4a6070;
}

.hp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hp-btn:hover {
    transform: translateY(-1px);
}

.hp-btn-primary {
    background: linear-gradient(135deg, #0057b8, #0097a7);
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 87, 184, 0.22);
}

.hp-btn-primary:hover {
    box-shadow: 0 24px 48px rgba(0, 87, 184, 0.28);
}

.hp-btn-secondary {
    color: #003a6b;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 87, 184, 0.14);
    box-shadow: 0 8px 26px rgba(0, 87, 184, 0.06);
}

.hp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hp-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 87, 184, 0.12);
    color: #3a5068;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 87, 184, 0.06);
}

.hp-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.hp-mini-stat {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 18px 42px rgba(0, 87, 184, 0.06);
}

.hp-mini-num {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    color: #061827;
}

.hp-mini-num span {
    color: #0097a7;
}

.hp-mini-label {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #5a7a94;
}

.hp-hero-visual {
    min-width: 0;
}

.hp-carousel,
.hp-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(0, 87, 184, 0.12);
    background: #061827;
    box-shadow: 0 26px 80px rgba(0, 52, 101, 0.18);
}

.hp-carousel {
    min-height: 540px;
}

.hp-carousel-stage {
    position: relative;
    min-height: 540px;
}

.hp-banner-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(12px) scale(0.99);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hp-banner-card.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 1;
}

.hp-banner-media {
    position: absolute;
    inset: 0;
}

.hp-banner-media img,
.hp-visual-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-banner-fallback {
    width: 100%;
    height: 100%;
}

.hp-banner-overlay,
.hp-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 24, 39, 0.88) 0%, rgba(6, 24, 39, 0.5) 42%, rgba(6, 24, 39, 0.18) 100%),
        linear-gradient(180deg, rgba(0, 87, 184, 0.16), rgba(0, 151, 167, 0.08));
}

.hp-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 540px;
    padding: 34px;
    color: #fff;
}

.hp-banner-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(130, 252, 135, 0.14);
    border: 1px solid rgba(130, 252, 135, 0.22);
    color: #baf7bf;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-banner-title {
    margin: 16px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    max-width: 12ch;
}

.hp-banner-sub {
    max-width: 520px;
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(224, 234, 245, 0.86);
}

.hp-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hp-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hp-banner-btn:hover {
    transform: translateY(-1px);
}

.hp-banner-btn-primary {
    background: #82fc87;
    color: #061827;
}

.hp-banner-btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-carousel-controls {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-carousel-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hp-carousel-nav:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.hp-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    padding: 0;
}

.hp-carousel-dot.is-active {
    background: #82fc87;
    transform: scale(1.2);
}

.hp-visual-stack {
    display: grid;
    gap: 14px;
}

.hp-visual-primary {
    min-height: 420px;
}

.hp-visual-media {
    position: absolute;
    inset: 0;
}

.hp-visual-meta {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
}

.hp-visual-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #baf7bf;
}

.hp-visual-title {
    margin-top: 8px;
    max-width: 14ch;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hp-visual-seal {
    width: 84px;
    height: 84px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.hp-visual-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hp-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hp-visual-chip {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 87, 184, 0.10);
    box-shadow: 0 14px 34px rgba(0, 87, 184, 0.06);
}

.hp-visual-chip .ms {
    color: #0057b8;
    font-size: 24px;
}

.hp-visual-chip strong {
    display: block;
    font-size: 14px;
    color: #061827;
}

.hp-visual-chip p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: #5a7a94;
}

.hp-strip {
    margin-top: -18px;
    padding: 0 0 16px;
}

.hp-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hp-strip-card {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 20px 48px rgba(0, 87, 184, 0.06);
}

.hp-strip-num {
    font-family: 'Manrope', sans-serif;
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 900;
    color: #061827;
}

.hp-strip-num span {
    color: #0097a7;
}

.hp-strip-label {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
    color: #5a7a94;
}

.hp-section {
    padding: clamp(72px, 8vw, 112px) 0;
}

.hp-section-alt {
    background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
}

.hp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 34px;
}

.hp-section-head-center {
    justify-content: center;
    text-align: center;
}

.hp-section-head-center > div {
    max-width: 760px;
}

.hp-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #006e20;
}

.hp-section-title {
    margin: 14px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #061827;
}

.hp-section-lead {
    margin: 16px 0 0;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.8;
    color: #4a6070;
}

.hp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    color: #003a6b;
    font-size: 13px;
    font-weight: 800;
}

.hp-text-link:hover {
    color: #0057b8;
}

.hp-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hp-service-feature {
    grid-column: span 2;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(150deg, #061827 0%, #0a2443 55%, #0057b8 100%);
    color: #fff;
    box-shadow: 0 24px 64px rgba(0, 52, 101, 0.20);
}

.hp-feature-badge,
.hp-service-badge,
.hp-hub-badge,
.hp-cta-side-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-feature-badge {
    background: rgba(130, 252, 135, 0.14);
    border: 1px solid rgba(130, 252, 135, 0.18);
    color: #baf7bf;
}

.hp-service-feature h3 {
    margin: 18px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hp-service-feature p {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.85;
    color: rgba(224, 234, 245, 0.86);
}

.hp-feature-points {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.hp-feature-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.hp-feature-points .ms {
    font-size: 18px;
    color: #82fc87;
}

.hp-service-card {
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 20px 48px rgba(0, 87, 184, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hp-service-card:hover,
.hp-hub-card:hover,
.hp-partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 87, 184, 0.10);
    border-color: rgba(0, 87, 184, 0.16);
}

.hp-service-top {
    position: relative;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef5fc, #ddeeff);
    aspect-ratio: 16 / 10;
}

.hp-service-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 87, 184, 0.08);
    margin-bottom: 4px;
}

.hp-service-icon .ms {
    color: #0057b8;
    font-size: 28px;
}

.hp-service-badge {
    margin-top: 2px;
    background: rgba(0, 151, 167, 0.08);
    border: 1px solid rgba(0, 151, 167, 0.15);
    color: #006e7a;
}

.hp-service-title {
    margin: 14px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #061827;
}

.hp-service-title a {
    color: inherit;
    text-decoration: none;
}

.hp-service-desc {
    margin: 12px 0 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: #4a6070;
    flex: 1;
}

.hp-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #0057b8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.hp-service-link:hover {
    color: #0097a7;
}

.hp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 32px;
    align-items: center;
}

.hp-tech-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.hp-tech-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 18px 40px rgba(0, 87, 184, 0.05);
}

.hp-tech-abbr {
    flex-shrink: 0;
    width: 54px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 900;
    color: #0057b8;
}

.hp-tech-item h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    color: #061827;
}

.hp-tech-item p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: #4a6070;
}

.hp-tech-visual {
    padding: 0;
    min-height: 520px;
}

.hp-tech-media {
    position: relative;
    min-height: 370px;
}

.hp-tech-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 20px;
}

.hp-tech-foot strong {
    display: block;
    font-size: 15px;
    color: #061827;
}

.hp-tech-foot p {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.65;
    color: #5a7a94;
}

.hp-tech-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0, 151, 167, 0.08);
    color: #006e7a;
    font-size: 12px;
    font-weight: 800;
}

.hp-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hp-hub-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 18px 40px rgba(0, 87, 184, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hp-hub-media {
    min-height: 220px;
    background: linear-gradient(135deg, #eef5fc, #d6e8f8);
}

.hp-hub-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-hub-fallback {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0057b8;
}

.hp-hub-fallback .ms {
    font-size: 72px;
    opacity: 0.28;
}

.hp-hub-body {
    padding: 24px;
}

.hp-hub-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.hp-hub-top h3 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #061827;
}

.hp-hub-badge {
    background: rgba(0, 87, 184, 0.08);
    border: 1px solid rgba(0, 87, 184, 0.10);
    color: #003a6b;
}

.hp-hub-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.hp-hub-metrics span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a90a4;
}

.hp-hub-metrics strong {
    display: block;
    margin-top: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: #061827;
}

.hp-hub-desc {
    margin: 16px 0 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: #4a6070;
}

.hp-hub-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 87, 184, 0.08);
    color: #4a6070;
    font-size: 13px;
}

.hp-hub-location .ms {
    color: #0097a7;
    font-size: 18px;
}

.hp-partner-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.hp-partner-item {
    min-height: 86px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 14px 32px rgba(0, 87, 184, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hp-partner-item img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.hp-partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.hp-partner-item span {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #003a6b;
    text-align: center;
}

.hp-cta {
    padding-bottom: 92px;
}

.hp-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, #061827 0%, #0a2443 50%, #0057b8 100%);
    color: #fff;
    box-shadow: 0 28px 84px rgba(0, 52, 101, 0.24);
}

.hp-cta-copy .hp-section-kicker,
.hp-cta-copy .hp-section-title,
.hp-cta-copy .hp-section-lead {
    color: #fff;
}

.hp-cta-copy .hp-section-lead {
    max-width: 640px;
    color: rgba(224, 234, 245, 0.86);
}

.hp-cta-side {
    display: grid;
    gap: 12px;
}

.hp-cta-side-card,
.hp-cta-side-list {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hp-cta-side-card strong {
    display: block;
    margin-top: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
}

.hp-cta-side-card p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(224, 234, 245, 0.82);
}

.hp-cta-side-list {
    display: grid;
    gap: 10px;
}

.hp-cta-side-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.hp-cta-side-list .ms {
    font-size: 18px;
    color: #82fc87;
}

@media (max-width: 1100px) {
    .hp-hero-shell,
    .hp-split,
    .hp-cta-panel {
        grid-template-columns: 1fr;
    }

    .hp-mini-stats,
    .hp-strip-grid,
    .hp-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-service-feature {
        grid-column: span 2;
    }

    .hp-hub-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hp-shell {
        padding: 0 20px;
    }

    .hp-hero-shell {
        min-height: auto;
        padding-bottom: 10px;
    }

    .hp-title {
        font-size: clamp(2.3rem, 11vw, 3.6rem);
    }

    .hp-lead {
        font-size: 16px;
    }

    .hp-mini-stats,
    .hp-strip-grid,
    .hp-partner-grid,
    .hp-services-grid,
    .hp-visual-grid {
        grid-template-columns: 1fr;
    }

    .hp-service-feature {
        grid-column: auto;
    }

    .hp-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-cta-panel {
        padding: 24px;
    }

    .hp-carousel,
    .hp-carousel-stage,
    .hp-banner-content {
        min-height: 460px;
    }

    .hp-banner-content {
        padding: 24px;
    }

    .hp-carousel-controls {
        right: 14px;
        left: 14px;
        justify-content: space-between;
    }
}

/* ═══════════════════════════════════════════
   HOMEPAGE RED / GOLD OVERRIDES
═══════════════════════════════════════════ */
body.home {
    background: #faf7f5;
    color: #24171a;
}

body.home #site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

body.home #site-header ~ #site-header,
body.home #mobile-nav:not(.open) {
    display: none !important;
}

body.admin-bar.home #site-header {
    top: 32px;
}

body.home #site-header.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

body.home #site-header .header-inner {
    width: 100%;
    max-width: 1510px;
    height: 92px;
    gap: 42px;
    padding: 18px 40px 0;
}

body.home #site-header #logo-wrap .logo-fallback-text,
body.home #site-header #logo-wrap .custom-logo-link,
body.home #site-header #logo-wrap img.custom-logo {
    color: #fff;
}

body.home #site-header #logo-wrap .custom-logo-link img,
body.home #site-header #logo-wrap img.custom-logo {
    height: 56px;
    max-width: 312px;
}

body.home #site-header #logo-wrap .logo-fallback-icon {
    width: 116px;
    height: 42px;
    border-radius: 0;
    background: linear-gradient(90deg, #e2b21c 0%, #c49318 34%, #b11f2c 74%, #8f1b2a 100%);
}

body.home #site-header #logo-wrap .logo-fallback-text {
    display: none;
}

body.home #site-header #site-nav {
    flex: 0 1 auto;
    justify-content: flex-start;
    margin-right: auto;
    gap: 0;
}

body.home #site-header #site-nav ul {
    justify-content: flex-start;
    gap: 16px;
}

body.home #site-header #site-nav li a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 7px 8px;
}

body.home #site-header #site-nav li a:hover,
body.home #site-header #site-nav li.current-menu-item > a,
body.home #site-header #site-nav li.current-page-ancestor > a {
    color: #fff;
    background: transparent;
}

body.home #site-header .btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #a5090d;
    color: #fff;
    box-shadow: none;
}

body.home #site-header .header-actions {
    margin-left: auto;
}

body.home #site-header .btn-icon:hover {
    background: #88080c;
    color: #fff;
}

body.home #site-header .btn-cta {
    display: none;
}

body.home #site-header .az-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
}

body.home #site-header .az-lang-current {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 400;
    padding: 6px 4px;
    border-color: transparent;
    background: transparent;
}

body.home #site-header .az-lang-current:hover,
body.home #site-header .az-lang-current:focus {
    color: #fff;
    background: transparent;
    border-color: transparent;
}

body.home #site-header .az-lang-current .ms {
    font-size: 18px;
}

body.home #site-header .az-lang-menu {
    top: calc(100% + 9px);
}

body.home .home-page {
    overflow: hidden;
}

body.home .home-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 clamp(16px, 3vw, 48px);
}

body.home .home-hero {
    padding: 0;
    background: #fff;
    position: relative;
    z-index: 1;
}

body.home .home-hero-slider {
    position: relative;
    width: 100%;
    height: min(100vh, 930px);
    min-height: 640px;
    overflow: hidden;
    background: #0e2338;
    z-index: 1;
}

body.home .home-hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}

body.home .home-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

body.home .home-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

body.home .home-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.02) 42%, rgba(0, 0, 0, 0.10) 100%);
}

body.home .home-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    opacity: 1;
    transition: opacity 0.3s ease, background 0.2s ease;
}

body.home .home-hero-slider:hover .home-hero-nav {
    opacity: 1;
}

body.home .home-hero-nav:hover {
    background: rgba(255, 255, 255, 0.16);
}

body.home .home-hero-nav-prev { left: 36px; }
body.home .home-hero-nav-next { right: 36px; }

body.home .home-hero-nav .ms {
    font-size: 22px;
}

/* Dots indicator cho banner */
body.home .home-hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
    align-items: center;
}

body.home .home-hero-dot {
    width: 28px;
    height: 4px;
    border-radius: 0;
    background: rgba(185, 74, 27, 0.45);
    cursor: pointer;
    transition: all 0.3s ease;
}

body.home .home-hero-dot:hover {
    background: rgba(185, 74, 27, 0.8);
}

body.home .home-hero-dot.is-active {
    width: 38px;
    background: #b80009;
}

body.home .home-section {
    padding: 40px 0 32px;
    width: 100%;
}

body.home .home-region-section {
    padding: 42px 0 34px;
    background: #fbf8f6;
}

body.home .home-region-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 42px;
    align-items: center;
}

body.home .home-region-left {
    min-width: 0;
}

body.home .home-region-slider {
    position: relative;
    padding: 0 44px;
}

body.home .home-region-viewport {
    overflow: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
}

body.home .home-region-viewport:active {
    cursor: grabbing;
}

body.home .home-region-track {
    display: flex;
    gap: 24px;
    padding: 52px 0 56px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.home .home-region-card {
    position: relative;
    display: block;
    flex: 0 0 calc(33.333% - 16px);
    min-height: 320px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: none;
    background: #d8cfd5;
    border: 1px solid rgba(141, 29, 44, 0.08);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
    opacity: 0.54;
    cursor: pointer;
}

body.home .home-region-card.is-center {
    transform: scale(1.16);
    opacity: 1;
    box-shadow: 0 16px 34px rgba(90, 24, 32, 0.12);
    z-index: 2;
}

/* Hover: nổi cao hơn cả card giữa, sáng lên */
body.home .home-region-card:hover {
    transform: scale(1.17);
    opacity: 1;
    box-shadow: 0 28px 56px rgba(90, 24, 32, 0.24);
    z-index: 3;
}

body.home .home-region-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(141, 29, 44, 0.18);
    background: rgba(255, 255, 255, 0.95);
    color: #8d1d2c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 10px 24px rgba(90, 24, 32, 0.12);
    transition: all 0.2s ease;
}

body.home .home-region-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

body.home .home-region-prev { left: 0; }
body.home .home-region-next { right: 0; }

body.home .home-region-nav .ms {
    font-size: 20px;
}

body.home .home-region-media,
body.home .home-region-fallback {
    position: absolute;
    inset: 0;
}

body.home .home-region-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1.2px) saturate(0.9) opacity(0.36);
    transform: scale(1.08);
    transition: filter 0.45s ease, transform 0.45s ease;
}

/* Card giữa: sáng hơn 2 bên một chút */
body.home .home-region-card.is-center .home-region-media img {
    filter: blur(0.2px) saturate(1) opacity(0.72);
    transform: scale(1.05);
}

/* Hover: bỏ hoàn toàn blur, ảnh sáng rõ */
body.home .home-region-card:hover .home-region-media img {
    filter: blur(0px) saturate(1.15) opacity(0.9);
    transform: scale(1.03);
}

body.home .home-region-fallback {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.48), transparent 24%),
        radial-gradient(circle at 80% 28%, rgba(255, 255, 255, 0.32), transparent 22%),
        linear-gradient(145deg, rgba(141, 29, 44, 0.24) 0%, rgba(176, 166, 178, 0.72) 45%, rgba(235, 226, 231, 0.92) 100%);
}

body.home .home-region-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(90, 75, 86, 0.20) 0%, rgba(255,255,255,0.10) 54%, rgba(141, 29, 44, 0.05) 100%);
}

body.home .home-region-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 18px 14px 0;
    text-align: center;
}

body.home .home-region-icon {
    display: none;
}

body.home .home-region-city {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

body.home .home-region-nav {
    display: none;
}

body.home .home-region-right {
    padding-left: 12px;
}

body.home .home-region-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    line-height: 1.1;
    font-weight: 900;
    color: #a10d10;
    text-transform: uppercase;
    white-space: nowrap;
}

body.home .home-region-subtitle {
    margin: 18px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #a10d10;
}

body.home .home-region-text {
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.78;
    color: #2e2527;
}

body.home .home-region-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-bottom: 2px;
    color: #a10d10;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(161, 13, 16, 0.22);
}

/* ── Section 3: DỊCH VỤ ─────────────────────────────────────────────────────── */
body.home .home-dv-section {
    padding: 56px 0 48px;
    background: #fff;
    border-top: 1px solid #f0eae8;
}

body.home .home-dv-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 56px;
    align-items: start;
}

body.home .home-dv-intro {
    padding-right: 8px;
}

body.home .home-dv-title {
    margin: 0 0 24px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 900;
    line-height: 1.05;
    color: #a10d10;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

body.home .home-dv-desc {
    margin: 0;
    font-size: 18px;
    line-height: 1.82;
    color: #3e2e31;
}

body.home .home-dv-list-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}

body.home .home-dv-col {
    display: flex;
    flex-direction: column;
}

body.home .home-dv-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #ede6e4;
    text-decoration: none;
    color: #24171a;
    transition: color .18s ease;
}

body.home .home-dv-item:first-child {
    border-top: 1px solid #ede6e4;
}

body.home .home-dv-item:hover {
    color: #a10d10;
}

body.home .home-dv-item-name {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

body.home .home-dv-item-arrow {
    font-size: 18px;
    color: #a10d10;
    flex-shrink: 0;
    opacity: 0.75;
    transition: transform .18s ease, opacity .18s ease;
}

body.home .home-dv-item:hover .home-dv-item-arrow {
    transform: translateX(3px);
    opacity: 1;
}

body.home .home-dv-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

body.home .home-dv-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1.5px solid #a10d10;
    color: #a10d10;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background .18s ease, color .18s ease;
}

body.home .home-dv-more-btn:hover {
    background: #a10d10;
    color: #fff;
}

body.home .home-dv-more-btn .ms {
    font-size: 16px;
}

/* ── Section 3 Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    body.home .home-dv-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    body.home .home-dv-intro {
        padding-right: 0;
        max-width: 680px;
    }
}

@media (max-width: 600px) {
    body.home .home-dv-list-wrap {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body.home .home-dv-col:last-child .home-dv-item:first-child {
        border-top: none;
    }
}

/* ── End Section 3 ─────────────────────────────────────────────────────────── */

/* ── Section 4: BÀI VIẾT MỚI ───────────────────────────────────────────────── */
body.home .home-blog-section {
    padding: 56px 0 48px;
    background: #f9f7f6;
}

body.home .home-blog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

body.home .home-blog-section-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 900;
    line-height: 1.05;
    color: #a10d10;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

body.home .home-blog-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1.5px solid #a10d10;
    color: #a10d10;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background .18s ease, color .18s ease;
    border-radius: 20px;
}

body.home .home-blog-more-link:hover {
    background: #a10d10;
    color: #fff;
}

body.home .home-blog-more-link .ms {
    font-size: 16px;
}

body.home .home-blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Bài lớn bên trái — layout dọc: ảnh 16/9 + nội dung */
body.home .home-blog-featured {
    background: #fff;
    box-shadow: 0 8px 24px rgba(49, 18, 22, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.home .home-blog-featured-media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex-shrink: 0;
}

body.home .home-blog-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

body.home .home-blog-featured:hover .home-blog-featured-media img {
    transform: scale(1.05);
}

body.home .home-blog-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e3e1 0%, #d4ccc9 100%);
}

body.home .home-blog-featured-body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

body.home .home-blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.home .home-blog-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(161, 13, 16, 0.08);
    color: #a10d10;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(161, 13, 16, 0.18);
    transition: background .18s ease;
    width: fit-content;
    white-space: nowrap;
}

body.home .home-blog-label:hover {
    background: rgba(161, 13, 16, 0.14);
}

body.home .home-blog-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #a28b91;
}

body.home .home-blog-featured-title {
    margin: 12px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    color: #24171a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.home .home-blog-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

body.home .home-blog-featured-title a:hover {
    color: #a10d10;
}

body.home .home-blog-featured-desc {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: #73656a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4 bài nhỏ bên phải (grid 2x2) */
body.home .home-blog-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

body.home .home-blog-card {
    background: #fff;
    box-shadow: 0 8px 24px rgba(49, 18, 22, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.home .home-blog-card-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

body.home .home-blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

body.home .home-blog-card:hover .home-blog-card-media img {
    transform: scale(1.05);
}

body.home .home-blog-card-body {
    padding: 14px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.home .home-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

body.home .home-blog-card-title {
    margin: 8px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #24171a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.home .home-blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

body.home .home-blog-card-title a:hover {
    color: #a10d10;
}

body.home .home-blog-card-desc {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #73656a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Section 4 Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    body.home .home-blog-grid {
        grid-template-columns: 1fr;
    }

    body.home .home-blog-side {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    body.home .home-blog-head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.home .home-blog-side {
        grid-template-columns: 1fr;
    }

    body.home .home-blog-featured-media {
        height: 240px;
    }

    body.home .home-blog-card-media {
        height: 180px;
    }
}

/* ── End Section 4 ─────────────────────────────────────────────────────────── */

/* ── Section 5: ĐỐI TÁC CỦA CHÚNG TÔI ─────────────────────────────────────── */
body.home .home-partners-section {
    padding: 52px 0 48px;
    background: #fff;
    border-top: 1px solid #f0eae8;
    overflow: hidden;
}

body.home .home-partners-head {
    text-align: center;
    margin-bottom: 40px;
}

body.home .home-partners-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 900;
    line-height: 1.05;
    color: #a10d10;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

body.home .home-partners-note {
    margin: 12px auto 0;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.7;
    color: #73656a;
}

/* Marquee track */
body.home .home-partners-track-wrap {
    position: relative;
    overflow: hidden;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

body.home .home-partners-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: homePartnersScroll 28s linear infinite;
}

body.home .home-partners-track:hover {
    animation-play-state: paused;
}

@keyframes homePartnersScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

body.home .home-partners-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 90px;
    padding: 0 32px;
    border-right: 1px solid #f0eae8;
    text-decoration: none;
    transition: opacity .2s ease;
    flex-shrink: 0;
}

body.home .home-partners-item:hover {
    opacity: 0.75;
}

body.home .home-partners-item img {
    max-height: 52px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.65);
    transition: filter .25s ease;
}

body.home .home-partners-item:hover img {
    filter: grayscale(0%) opacity(1);
}

body.home .home-partners-name {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #a28b91;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .2s ease;
}

body.home .home-partners-item:hover .home-partners-name {
    color: #a10d10;
}

body.home .home-partners-empty {
    text-align: center;
    color: #a28b91;
    font-size: 14px;
}

body.home .home-partners-empty a {
    color: #a10d10;
    font-weight: 700;
}

/* ── End Section 5 ─────────────────────────────────────────────────────────── */

/* ── Section 6: NHẬN VĂN BẢN PHÁP LUẬT MỚI ────────────────────────────────── */
body.home .home-newsletter-section {
    padding: 0;
    background: linear-gradient(135deg, #6d6d6d 0%, #4a4a4a 100%);
    position: relative;
    overflow: hidden;
}

body.home .home-newsletter-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.03) 49%, rgba(255,255,255,0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.03) 49%, rgba(255,255,255,0.03) 51%, transparent 52%);
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
}

body.home .home-newsletter-inner {
    position: relative;
    z-index: 1;
    padding: 56px 24px;
    text-align: center;
}

body.home .home-newsletter-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

body.home .home-newsletter-desc {
    margin: 12px auto 0;
    max-width: 580px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

body.home .home-newsletter-form {
    margin-top: 32px;
}

body.home .home-newsletter-input-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}

body.home .home-newsletter-input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 20px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.95);
    color: #2e2527;
    font-size: 18px;
    font-family: inherit;
    transition: background .2s ease;
}

body.home .home-newsletter-input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

body.home .home-newsletter-input::placeholder {
    color: #a28b91;
}

body.home .home-newsletter-btn {
    height: 50px;
    padding: 0 28px;
    border: none;
    border-radius: 4px;
    background: #c41e1e;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
    white-space: nowrap;
}

body.home .home-newsletter-btn:hover {
    background: #a10d10;
    transform: translateY(-1px);
}

body.home .home-newsletter-btn:active {
    transform: translateY(0);
}

body.home .home-newsletter-btn:disabled {
    background: #888;
    cursor: not-allowed;
    transform: none;
}

body.home .home-newsletter-message {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

body.home .home-newsletter-message-success {
    background: rgba(76, 175, 80, 0.15);
    color: #a8e6a3;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

body.home .home-newsletter-message-error {
    background: rgba(244, 67, 54, 0.15);
    color: #ffb3b3;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ── Section 6 Responsive ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
    body.home .home-newsletter-input-wrap {
        flex-direction: column;
        gap: 10px;
    }

    body.home .home-newsletter-input,
    body.home .home-newsletter-btn {
        width: 100%;
    }
}

/* ── End Section 6 ─────────────────────────────────────────────────────────── */

body.home .home-section-news {
    padding-top: 28px;
    background: #f7f5f3;
}

body.home .home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

body.home .home-section-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.1;
    font-weight: 900;
    color: #8d1d2c;
}

body.home .home-section-title-small {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

body.home .home-section-lead {
    max-width: 650px;
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: #73656a;
}

body.home .home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8d1d2c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

body.home .home-link .ms,
body.home .home-round-btn .ms,
body.home .home-card-link .ms,
body.home .home-expertise-image-arrow .ms {
    font-size: 18px;
}

body.home .home-expertise-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

/* ═══════════════════════════════════════════════════
   Gia Phan Pharma homepage sections
═══════════════════════════════════════════════════ */
body.home {
    background: #f1f1f1;
}

body.home .home-page {
    display: flex;
    flex-direction: column;
}

body.home .home-region-section,
body.home .home-dv-section,
body.home .home-newsletter-section {
    display: none;
}

body.home .home-products-section { order: 2; }
body.home .home-partners-section { order: 3; }
body.home .home-blog-section { order: 4; }
body.home .home-benefits-section { order: 5; }
body.home .home-dealer-cta { order: 6; }

body.home .home-shell {
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
}

body.home .home-products-section {
    padding: 30px 0 42px;
    background: #f0f0f0;
}

body.home .home-products-title {
    margin: 0 auto 12px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8b455;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

body.home .home-products-slider {
    position: relative;
}

body.home .home-products-viewport {
    overflow: hidden;
}

body.home .home-products-track {
    display: flex;
    gap: 24px;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

body.home .home-product-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 72px) / 4);
    min-height: 300px;
    background: #fff;
    border: 1px solid #dedede;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

body.home .home-product-media {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: linear-gradient(145deg, #fff 0%, #f8fbff 100%);
}

body.home .home-product-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

body.home .home-product-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 124px;
    border-radius: 8px;
    background: #fff;
    border: 5px solid #dfeaf6;
    color: #1976b8;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 18px 28px rgba(0,64,128,.12);
}

body.home .home-product-media-1 .home-product-placeholder { color: #31a83c; border-color: #d8f1db; }
body.home .home-product-media-2 .home-product-placeholder { color: #168fc8; border-color: #d8eef8; }
body.home .home-product-media-3 .home-product-placeholder { color: #e2931b; border-color: #fde8be; }
body.home .home-product-media-4 .home-product-placeholder { color: #8b4fc4; border-color: #eadcf8; }

body.home .home-product-card h3 {
    margin: auto 12px 18px;
    color: #40526c;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

body.home .home-products-nav {
    position: absolute;
    top: calc(50% + 20px);
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid #dadada;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #53627a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
    transform: translateY(-50%);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

body.home .home-products-nav:hover {
    background: #e8b455;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

body.home .home-products-nav:disabled {
    display: none;
}

body.home .home-products-prev { left: -54px; }
body.home .home-products-next { right: -54px; }

body.home .home-products-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

body.home .home-products-dot {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    background: rgba(232, 180, 85, .42);
    cursor: pointer;
    transition: background .18s ease, width .18s ease;
}

body.home .home-products-dot.is-active {
    width: 38px;
    background: #e8b455;
}

body.home .home-partners-section {
    padding: 44px 0 74px;
    background: #f4f4f4;
    border-top: 0;
}

body.home .home-partners-head {
    margin-bottom: 28px;
}

body.home .home-partners-title,
body.home .home-blog-section-title {
    color: #ff8b00;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

body.home .home-partners-note {
    display: none;
}

body.home .home-partners-track-wrap {
    -webkit-mask-image: none;
    mask-image: none;
}

body.home .home-partners-track {
    width: auto;
    justify-content: center;
    gap: 46px;
    flex-wrap: wrap;
    animation: none;
}

body.home .home-partners-track .home-partners-item:nth-child(n+7) {
    display: none;
}

body.home .home-partners-item {
    min-width: 120px;
    height: 62px;
    padding: 0;
    border-right: 0;
}

body.home .home-partners-item img {
    filter: none;
    max-height: 58px;
    max-width: 150px;
}

body.home .home-partners-name {
    color: #2769a8;
    font-size: 22px;
}

body.home .home-blog-section {
    padding: 42px 0 54px;
    background: #fff;
}

body.home .home-blog-head {
    display: block;
    margin-bottom: 22px;
    text-align: center;
}

body.home .home-blog-section-title::after {
    content: "";
    display: block;
    width: 76px;
    height: 2px;
    margin: 14px auto 0;
    background: #ff5b33;
}

body.home .home-blog-more-link {
    display: none;
}

body.home .home-blog-grid,
body.home .home-blog-side {
    display: contents;
}

body.home .home-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

body.home .home-blog-featured,
body.home .home-blog-card {
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

body.home .home-blog-featured-media,
body.home .home-blog-card-media {
    aspect-ratio: 1.45 / 1;
    height: auto;
}

body.home .home-blog-featured-body,
body.home .home-blog-card-body {
    padding: 12px 0 0;
}

body.home .home-blog-featured-meta,
body.home .home-blog-card-meta,
body.home .home-blog-featured-desc,
body.home .home-blog-card-desc,
body.home .home-blog-label {
    display: none;
}

body.home .home-blog-featured-title,
body.home .home-blog-card-title {
    margin: 0;
    color: #333;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-line-clamp: 3;
}

body.home .home-blog-date {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 12px;
}

body.home .home-benefits-section {
    padding: 28px 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

body.home .home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
}

body.home .home-benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

body.home .home-benefit-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff7d27;
    background: #fff2e8;
    border-radius: 50%;
    font-size: 32px;
}

body.home .home-benefit-item h3 {
    margin: 0;
    color: #555;
    font-size: 15px;
    font-weight: 800;
}

body.home .home-benefit-item p {
    margin: 5px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 1.45;
}

body.home .home-dealer-cta {
    background: #0474bd;
}

body.home .home-dealer-inner {
    min-height: 110px;
    display: flex;
    align-items: center;
    gap: 24px;
}

body.home .home-dealer-person {
    width: 152px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: end;
    color: #fff;
}

body.home .home-dealer-person .ms {
    font-size: 92px;
    font-variation-settings: 'FILL' 1,'wght' 500,'GRAD' 0,'opsz' 48;
}

body.home .home-dealer-copy h2 {
    margin: 0;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

body.home .home-dealer-copy p {
    margin: 8px 0 0;
    color: #ffdf30;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
}

@media (max-width: 900px) {
    body.home .home-blog-grid,
    body.home .home-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home .home-product-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    body.home .home-products-prev { left: 10px; }
    body.home .home-products-next { right: 10px; }
}

@media (max-width: 600px) {
    body.home .home-blog-grid,
    body.home .home-benefits-grid {
        grid-template-columns: 1fr;
    }

    body.home .home-product-card {
        flex-basis: 100%;
    }

    body.home .home-products-section,
    body.home .home-partners-section,
    body.home .home-blog-section {
        padding-left: 0;
        padding-right: 0;
    }

    body.home .home-dealer-inner {
        justify-content: center;
        text-align: center;
    }

    body.home .home-dealer-person {
        display: none;
    }
}

body.home .home-expertise-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 180px;
    padding: 26px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(49, 18, 22, 0.03);
}

body.home .home-expertise-large {
    grid-column: span 8;
    grid-row: span 2;
    min-height: 360px;
    background: linear-gradient(135deg, #f9f7f6 0%, #ffffff 100%);
}

body.home .home-expertise-dark {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 360px;
    background: #8d1d2c;
    color: #fff;
}

body.home .home-expertise-light {
    grid-column: span 4;
    border-bottom: 3px solid #d3ab57;
}

body.home .home-expertise-image {
    grid-column: span 4;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #fff;
}

body.home .home-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 6px;
    margin-bottom: 20px;
    background: #f0e5cb;
    color: #7b1827;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.home .home-card-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(141, 29, 44, 0.08);
    color: #8d1d2c;
    margin-bottom: 18px;
}

body.home .home-card-icon-dark {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

body.home .home-expertise-card h3 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: inherit;
}

body.home .home-expertise-card p {
    margin: 10px 0 0;
    max-width: 36ch;
    font-size: 14px;
    line-height: 1.7;
    color: inherit;
    opacity: 0.82;
}

body.home .home-card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    color: #8d1d2c;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

body.home .home-card-link-dark {
    color: #ffd468;
}

body.home .home-card-watermark {
    position: absolute;
    right: -20px;
    bottom: -18px;
    color: rgba(141, 29, 44, 0.08);
    font-size: 190px;
    line-height: 1;
}

body.home .home-expertise-dark .home-card-watermark {
    color: rgba(255, 255, 255, 0.08);
}

body.home .home-expertise-image img {
    min-height: 210px;
}

body.home .home-expertise-image-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 20px;
}

body.home .home-expertise-image-foot strong {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #24171a;
}

body.home .home-expertise-image-foot span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: #73656a;
}

body.home .home-expertise-image-arrow {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(141, 29, 44, 0.18);
    color: #8d1d2c;
    flex-shrink: 0;
}

body.home .home-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

body.home .home-post-card {
    background: #fff;
    box-shadow: 0 12px 30px rgba(49, 18, 22, 0.04);
}

body.home .home-post-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

body.home .home-post-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #3b4654 0%, #15202b 100%);
}

body.home .home-post-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 8px;
    background: #8d1d2c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.home .home-post-body {
    padding: 18px 18px 22px;
}

body.home .home-post-body h3 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

body.home .home-post-body a {
    color: #24171a;
    text-decoration: none;
}

body.home .home-post-body a:hover {
    color: #8d1d2c;
}

body.home .home-post-body p {
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 1.7;
    color: #73656a;
}

body.home .home-post-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #a28b91;
    text-transform: uppercase;
}

body.home .home-round-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(141, 29, 44, 0.22);
    background: #fff;
    color: #8d1d2c;
}


body.home #site-footer {
    background: #fff;
    color: #7b6d70;
}

body.home #site-footer::before,
body.home #site-footer::after {
    display: none;
}

body.home #site-footer .ft-top {
    display: none;
}

body.home #site-footer .ft-grid {
    padding-top: 38px;
    padding-bottom: 28px;
}

body.home #site-footer .ft-inner {
    width: 100%;
    max-width: none;
    padding: 0 clamp(16px, 3vw, 48px);
}

body.home #site-footer #ft-logo-wrap .ft-logo-fallback-text,
body.home #site-footer .ft-col-title,
body.home #site-footer .ft-contact-label,
body.home #site-footer .ft-contact-value a,
body.home #site-footer strong,
body.home #site-footer .ft-copy strong {
    color: #8d1d2c;
}

body.home #site-footer .ft-about,
body.home #site-footer .ft-links a,
body.home #site-footer .ft-contact-value,
body.home #site-footer .ft-copy,
body.home #site-footer .ft-legal a {
    color: #7b6d70;
}

body.home #site-footer .ft-col-title::after {
    background: linear-gradient(90deg, #8d1d2c 0%, rgba(141, 29, 44, 0.14) 100%);
}

body.home #site-footer .ft-links a::before {
    background: #8d1d2c;
}

body.home #site-footer .ft-social a,
body.home #site-footer .ft-contact-icon {
    background: #f7f2f1;
    border-color: #efe7e6;
}

body.home #site-footer .ft-social a {
    color: #8d1d2c;
}

body.home #site-footer .ft-contact-icon svg {
    color: #8d1d2c;
}

body.home #site-footer .ft-bottom {
    border-top: 1px solid #efe7e6;
}

@media (max-width: 1199px) {
    body.home .home-region-grid {
        grid-template-columns: 1fr;
    }

    body.home .home-region-right {
        padding-left: 0;
        max-width: 820px;
    }

    body.home .home-region-track {
        grid-template-columns: repeat(4, 1fr);
    }

    body.home .home-expertise-large,
    body.home .home-expertise-dark,
    body.home .home-expertise-light,
    body.home .home-expertise-image {
        grid-column: span 6;
    }

    body.home .home-post-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    body.home .home-region-track {
        gap: 18px;
    }
}

@media (max-width: 767px) {
    body.home #site-header .header-inner {
        gap: 14px;
        height: 66px;
    }

    body.home #site-header .btn-icon {
        width: 38px;
        height: 38px;
    }

    body.home .home-hero-slider {
        height: 78vh;
    }

    body.home .home-hero-nav {
        display: none;
    }

    body.home .home-region-section {
        padding: 54px 0 46px;
    }

    body.home .home-region-grid {
        gap: 42px;
    }

    body.home .home-region-left {
        order: 2;
        width: 100vw;
        margin-top: 28px;
        margin-left: 50%;
        transform: translateX(-50%);
        overflow: hidden;
    }

    body.home .home-region-slider {
        padding: 0;
    }

    body.home .home-region-viewport {
        overflow: visible;
    }

    body.home .home-region-track {
        display: flex;
        gap: 18px;
        padding: 30px 0 34px;
        align-items: center;
    }

    body.home .home-region-card {
        flex: 0 0 min(58vw, 250px);
        min-height: 350px;
        border-radius: 8px;
        transform: scale(0.78);
        opacity: 0.42;
    }

    body.home .home-region-card.is-center {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 20px 42px rgba(90, 24, 32, 0.16);
        z-index: 3;
    }

    body.home .home-region-card:hover {
        transform: scale(1);
    }

    body.home .home-region-media img {
        filter: blur(0.8px) saturate(0.92) opacity(0.42);
        transform: scale(1.06);
    }

    body.home .home-region-card.is-center .home-region-media img {
        filter: blur(0.1px) saturate(1) opacity(0.76);
        transform: scale(1.03);
    }

    body.home .home-region-top {
        padding: 28px 14px 0;
    }

    body.home .home-region-city {
        font-size: 27px;
        line-height: 1.22;
        letter-spacing: 0.025em;
        text-shadow: 0 2px 5px rgba(0,0,0,0.38);
    }

    body.home .home-region-prev { left: 6px; }
    body.home .home-region-next { right: 6px; }

    body.home .home-region-right {
        order: 1;
        padding: 0 16px;
    }

    body.home .home-region-title {
        font-size: 32px;
        line-height: 1.14;
        white-space: normal;
    }

    body.home .home-region-subtitle {
        margin-top: 22px;
        font-size: 30px;
        line-height: 1.18;
    }

    body.home .home-region-text {
        margin-top: 28px;
        font-size: 24px;
        line-height: 1.62;
    }

    body.home .home-region-link {
        margin-top: 30px;
        font-size: 24px;
    }

    body.home .home-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.home .home-expertise-grid,
    body.home .home-post-grid {
        grid-template-columns: 1fr;
    }

    body.home .home-expertise-large,
    body.home .home-expertise-dark,
    body.home .home-expertise-light,
    body.home .home-expertise-image {
        grid-column: span 1;
        grid-row: auto;
        min-height: auto;
    }

    body.home .home-post-media {
        height: 200px;
    }

    body.home #site-footer .ft-grid {
        padding-top: 28px;
    }

    body.home .home-shell {
        padding: 0 16px;
    }

    body.home .home-hero-nav-prev { left: 14px; }
    body.home .home-hero-nav-next { right: 14px; }
}

@media (max-width: 430px) {
    body.home .home-region-card {
        flex-basis: 54vw;
        min-height: 300px;
    }

    body.home .home-region-city {
        font-size: 20px;
    }

    body.home .home-region-title {
        font-size: 25px;
    }

    body.home .home-region-subtitle {
        font-size: 24px;
    }

    body.home .home-region-text,
    body.home .home-region-link {
        font-size: 21px;
    }
}
