@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-bold.woff") format("woff"); }
@font-face { font-family: "Debenhams Modern"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/DebenhamsModern_VH.woff") format("woff"); }
@font-face { font-family: "NVN Motherland Signature"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/NVN-Motherland-Signature.woff") format("woff"); }


body.cs-page {
  --cs-paper: #fcf8ef; --cs-teal: #187f85; --cs-ink: #245a5e; --cs-coral: #eb565f;
  --cs-font: "Lato", sans-serif;
  margin: 0; padding: 0; background: var(--cs-paper); color: var(--cs-ink);
  font: 700 14px/1.5 var(--cs-font); font-synthesis: none; -webkit-font-smoothing: antialiased;
}
.cs-hero, .cs-hero *, .cs-hero *::before, .cs-hero *::after,
.cs-cta, .cs-cta *, .cs-cta *::before, .cs-cta *::after { box-sizing: border-box; }
.cs-hero {
  --cs-edge: clamp(28px,4vw,76px);
  position: relative; isolation: isolate; width: 100%; height: 100vh; height: 100svh;
  min-height: 760px; overflow: hidden; background: var(--cs-paper);
}
.cs-hero img { display: block; max-width: 100%; }
.cs-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.cs-scenery, .cs-photo, .cs-daylight, .cs-veil { position: absolute; inset: 0; }
.cs-scenery { z-index: -2; overflow: hidden; }
.cs-photo { display: block; }
.cs-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 14%; filter: brightness(1.07) saturate(.96); animation: cs-scene 3.6s cubic-bezier(.18,.6,.22,1) both; }
.cs-daylight { pointer-events: none; background: linear-gradient(180deg,rgba(255,249,233,.2),transparent 48%,rgba(255,220,176,.13)); mix-blend-mode: soft-light; }
.cs-veil {
  pointer-events: none;
  background: linear-gradient(90deg,transparent 37%,rgba(252,248,239,.12) 46%,rgba(252,248,239,.73) 62%,rgba(252,248,239,.98) 78%,#fcf8ef 100%);
  -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 58%,rgba(0,0,0,.95) 66%,rgba(0,0,0,.42) 78%,transparent 94%);
  mask-image: linear-gradient(180deg,#000 0%,#000 58%,rgba(0,0,0,.95) 66%,rgba(0,0,0,.42) 78%,transparent 94%);
}
.cs-intro { position: absolute; z-index: 2; left: 56%; right: max(104px,7.2vw); top: clamp(46px,6.5vh,85px); bottom: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cs-brand { width: clamp(208px,17.5vw,272px); max-width: 66%; margin: 0; padding: 0; font-size: 0; animation: cs-rise 1.5s .45s both; }
.cs-brand img { width: 100%; height: auto; }
.cs-signature { position: relative; width: min(490px,100%); aspect-ratio: 510 / 205; margin: 34px 0 0; }
.cs-signature img { position: absolute; height: auto; }
.cs-signature__first { width: 44%; left: 9%; top: 0; animation: cs-rise 1.4s .8s both; }
.cs-signature__script {width: 70%; left:21%; top: 20%;animation: cs-write 1.7s 1s both; }
.cs-signature__last { width: 37%; right: 3.5%; bottom: 16%; animation: cs-rise 1.3s 1.15s both; }
.cs-leaf--left {width: 13.6%; left: 0; top: 33%; transform-origin: 100% 60%; animation: cs-leaf 1.8s 1.1s both; }
.cs-leaf--right {width: 10.7%; right: -13%; top: 2%; transform-origin: 0% 70%; animation: cs-leaf 1.8s 1.25s both; }
.cs-flower { width: 11.4%; right: -5%; top: 21%; animation: cs-flower 1.7s 1.35s both; }
.cs-register { appearance: none; display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 264px; min-height: 56px; max-width: 100%; margin: 29px 0 0; padding: 6px 7px 6px 27px; border: 1px solid rgba(255,255,255,.38); border-radius: 50px; background: #217a7e; color: #fff; font: 700 12px/1.5 var(--cs-font); letter-spacing: .11em; text-transform: uppercase; cursor: pointer; transition: background .25s,box-shadow .25s; animation: cs-rise 1.3s 1.6s both; }
.cs-register__arrow { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fffdf8; color: #24585c; }
.cs-register__arrow svg { display: block; width: 21px; height: 21px; transition: transform .25s; }
.cs-register:hover { background: #17676d; box-shadow: 0 5px 20px rgba(22,96,99,.12); }
.cs-register:hover .cs-register__arrow svg { transform: translateX(2px); }
.cs-hero :focus-visible, .cs-cta :focus-visible { outline: 2px solid var(--cs-coral); outline-offset: 5px; }
.cs-river { position: absolute; z-index: 1; left: -2px; bottom: 12%; width: calc(100% + 4px); height: 155px; pointer-events: none; opacity: .36; animation: cs-write 2.4s .85s both; }
.cs-river path { stroke: #339899; stroke-width: .8; vector-effect: non-scaling-stroke; }
.cs-river path + path { stroke: #ee777c; }
.cs-details { display: flex; align-items: center; justify-content: center; gap: 28px; width: min(395px,100%); margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(35,104,105,.19); animation: cs-rise 1.25s 1.9s both; }
.cs-origin { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 10px; width: 103px;text-decoration: none !important; color: #4d706c !important;}
.cs-origin > span { font: 700 12px/1.5 var(--cs-font); letter-spacing: .035em; }
.cs-origin > img { width: 103px; height: auto; }
.cs-origin:hover > span { color: var(--cs-teal); }
.cs-gallery { display: flex; align-items: center; gap: 13px; padding: 0 0 0 28px; border-left: 1px solid rgba(35,104,105,.2); color: #285d5e; text-decoration: none !important;    outline: 0 !important; text-align: left; }
.cs-gallery > img { flex: 0 0 60px; width: 60px; height: 60px; padding: 4px; border: 1px solid rgba(35,104,105,.14); border-radius: 5px; background: #fff; object-fit: contain; }
.cs-gallery__copy { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cs-gallery__label { font: 400 19px/1.15 "Debenhams Modern", serif; white-space: nowrap; }
.cs-gallery__hint { display: flex; align-items: center; gap: 7px; font: 700 11px/1.5 var(--cs-font); color: #4d706c; white-space: nowrap; }
.cs-gallery__hint svg { flex: 0 0 10px; display: block; width: 10px; height: 10px; transition: transform .2s; }
.cs-gallery:hover .cs-gallery__hint svg { transform: translate(1px,-1px); }
.cs-gallery:hover .cs-gallery__label { color: var(--cs-teal); }
/* A light, quiet rail. The icon targets remain available on all screen sizes. */
.cs-cta { position: fixed; z-index: 20; top: 50%; right: 19px; transform: translateY(-50%); display: grid; gap: 1px; padding: 7px 0 7px 9px; border-left: 1px solid rgba(24,127,133,.18); font: 700 12px/1.5 var(--cs-font); }
.cs-cta a{text-decoration: none;}
.cs-cta__item { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 46px; padding: 11px; border: 0; border-radius: 0; background: transparent; color: var(--cs-teal); text-decoration: none; transition: color .2s; }
.cs-cta__item > svg { display: block; width: 23px; height: 23px; overflow: visible; }
.cs-cta__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cs-cta__item[href]:hover, .cs-cta__item[href]:focus-visible { color: var(--cs-coral); }
.cs-cta__item--pending { color: #789690; }
.cs-cta__tooltip { position: absolute; top: 50%; right: calc(100% + 15px); padding: 8px 11px; background: var(--cs-paper); color: #214d50; border: 1px solid #d5dfd9; font-size: 12px; line-height: 1.4; white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(4px,-50%); pointer-events: none; transition: opacity .2s,visibility .2s,transform .2s; }
.cs-cta__item:hover .cs-cta__tooltip, .cs-cta__item:focus-visible .cs-cta__tooltip { opacity: 1; visibility: visible; transform: translate(0,-50%); }
/* View 9 faces the opposite direction: move the KV, never mirror the building. */
.cs-hero--01 .cs-intro { left: 7%; right: 57%; }
.cs-hero--01 .cs-veil { background: linear-gradient(90deg,#fcf8ef 0%,rgba(252,248,239,.98) 22%,rgba(252,248,239,.74) 36%,rgba(252,248,239,.1) 52%,transparent 62%); }
.cs-hero--02 .cs-photo img { filter: brightness(1.17) saturate(.79) sepia(.08); }
.cs-hero--02 .cs-daylight { background: linear-gradient(180deg,rgba(255,241,218,.22),rgba(255,223,190,.06) 75%,transparent); mix-blend-mode: screen; }
.cs-hero--04 .cs-photo img { filter: brightness(1.04) saturate(.92); }
.cs-page:has(.cs-hero--01) .cs-cta { background: rgba(252,248,239,.88); }
@keyframes cs-scene { from { transform: scale(1.025); } to { transform: scale(1); } }
@keyframes cs-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cs-write { from { opacity: 0; clip-path: inset(0 100% 0 0); } 20% { opacity: 1; } to { opacity: 1; clip-path: inset(0); } }
@keyframes cs-leaf { from { opacity: 0; transform: translateY(7px) rotate(-14deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes cs-flower { from { opacity: 0; transform: scale(.82) rotate(-18deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@media (min-width: 1001px) and (min-aspect-ratio: 2/1) {
  .cs-photo img { width: auto; height: 100%; object-fit: contain; -webkit-mask-image: linear-gradient(90deg,#000 0%,#000 76%,transparent 100%); mask-image: linear-gradient(90deg,#000 0%,#000 76%,transparent 100%); }
  .cs-veil { -webkit-mask-image: none; mask-image: none; background: linear-gradient(90deg,transparent 36%,rgba(252,248,239,.25) 49%,#fcf8ef 70%); }
  .cs-intro { left: 57%; right: 10%; }
  .cs-hero--01 .cs-photo img { position: absolute; right: 0; -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 24%,#000 100%); mask-image: linear-gradient(90deg,transparent 0%,#000 24%,#000 100%); }
  .cs-hero--01 .cs-veil { background: linear-gradient(90deg,#fcf8ef 26%,rgba(252,248,239,.25) 51%,transparent 67%); }
  .cs-hero--01 .cs-intro { left: 8%; right: 59%; }
}

@media (min-width: 1001px) and (max-height: 800px) {
  .cs-hero { min-height: 596px; }
  .cs-intro { top: 0px; bottom:0px; }
  .cs-brand { width: 204px; }
  .cs-signature { margin-top: 27px; width: min(435px,100%); }
  .cs-register { margin-top: 24px; }
  .cs-details { margin-top: 22px; padding-top: 18px; }
}
@media (min-width: 1001px) and (max-width: 1200px) {
  .cs-intro { left: 52%; right: 88px; }
  .cs-hero--01 .cs-intro { left: 4%; right: 57%; }
  .cs-hero--01 .cs-veil { background: linear-gradient(90deg,#fcf8ef 0%,rgba(252,248,239,.98) 23%,rgba(252,248,239,.55) 38%,transparent 57%); }
  .cs-details { gap: 20px; }
  .cs-origin, .cs-origin > img { width: 90px; }
  .cs-gallery { padding-left: 20px; gap: 11px; }
  .cs-gallery__label { font-size: 17px; }
  .cs-gallery__hint { font-size: 8px; gap: 5px; }
}
@media (max-width: 1000px) {
  .cs-hero { --cs-photo-height: 660px; --cs-edge: 30px; height: auto; min-height: 100svh; padding: calc(var(--cs-photo-height) + 8px) 65px 38px 35px; }
  .cs-scenery { bottom: auto; height: calc(var(--cs-photo-height) + 20px); }
  .cs-photo img { object-position: 36% 0%; }
  .cs-hero--01 .cs-photo img { object-position: 64% 0%; }
  .cs-veil, .cs-hero--01 .cs-veil { background: linear-gradient(180deg,rgba(252,248,239,.18),transparent 18%,transparent 73%,#fcf8ef 100%); -webkit-mask-image: none; mask-image: none; }
  .cs-intro, .cs-hero--01 .cs-intro { position: relative; inset: auto; width: min(460px,100%); margin: 0 auto; }
  .cs-brand { width: 226px; max-width: 65%; }
  .cs-signature { margin-top: 29px; }
  .cs-register { margin-top: 29px; }
  .cs-river { top: calc(var(--cs-photo-height) - 88px); bottom: auto; height: 125px; opacity: .28; }
  .cs-details { margin-top: 30px; padding-top: 25px; }
  .cs-cta { top: auto; bottom: max(24px,env(safe-area-inset-bottom)); right: 2px; transform: none; gap: 0; padding: 5px 0; background: rgba(252,248,239,.96); }
  .cs-cta__item { width: 44px; height: 44px; padding: 10px; }
}
@media (max-width: 600px) {
  .cs-hero { --cs-photo-height: 350px; --cs-edge: 20px; padding-left: 24px; padding-right: 54px; padding-bottom: 30px; }
  .cs-photo { top: 0; }
  .cs-photo img { object-position: 36% 0%; }
  .cs-hero--01 .cs-photo img { object-position: 65% 0%; }
  .cs-brand { width: 190px; max-width: 69%; }
  .cs-signature { width: 100%; margin-top: 26px; }
  .cs-register {min-height: 54px; margin-top: 27px; gap: 12px; padding: 6px 6px 6px 24px; }
  .cs-register__arrow { flex-basis: 40px; width: 40px; height: 40px; }
  .cs-details { gap: 18px; margin-top: 29px; padding-top: 23px; }
  .cs-origin, .cs-origin > img { width: 88px; }
  .cs-origin > span { font-size: 9px; }
  .cs-gallery { padding-left: 18px; gap: 10px; }
  .cs-gallery__label { font-size: 16px; white-space: normal; }
  .cs-gallery__hint { font-size: 8px; gap: 4px; }
  .cs-gallery__hint svg { width: 9px; height: 9px; flex-basis: 9px; }
}
@media (max-width: 400px) {
    .cs-hero {
        --cs-photo-height: 310px;
    }
}
@media (max-width: 374px) {
  .cs-hero { --cs-photo-height: 390px; padding-left: 19px; padding-right: 52px; }
  .cs-brand { width: 170px; }
  .cs-register { padding-left: 17px; font-size: 9px; }
  .cs-signature { margin-top: 24px; }
  .cs-details { flex-direction: column; gap: 20px; }
  .cs-origin { align-items: center; gap: 8px; }
  .cs-gallery { border-left: 0; padding-left: 0; gap: 15px; }
  .cs-gallery__label { font-size: 19px; }
  .cs-gallery__hint { font-size: 9px; }
}
@media (max-width: 1000px) and (max-height: 520px) and (orientation: landscape) { .cs-hero { --cs-photo-height: 535px; } }
@media (prefers-reduced-motion: reduce) { .cs-hero *, .cs-cta * { animation: none !important; transition: none !important; } }

/* Phương án 03–04: cụm liên hệ bo tròn, có tên kênh như ảnh tham khảo. */
.cs-cta--capsule { right: 16px; gap: 5px; padding: 7px; border: 1px solid rgba(255,255,255,.9); border-radius: 48px; background: rgba(250,254,252,.97); box-shadow: 0 10px 30px rgba(43,97,107,.13); }
.cs-cta--capsule .cs-cta__item { flex-direction: column; gap: 5px; width: 54px; height: 58px; padding: 7px 3px; border-radius: 50%; color: #547e84; }
.cs-cta--capsule .cs-cta__item > svg { flex: 0 0 22px; width: 22px; height: 22px; }
.cs-cta--capsule .cs-cta__name { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font: 700 9px/1.2 var(--cs-font); white-space: nowrap; }
.cs-cta--capsule .cs-cta__item--hotline { height: 54px; padding: 7px 3px; gap: 4px; background: #187f85; color: #fff; }
.cs-cta--capsule .cs-cta__item[href]:hover, .cs-cta--capsule .cs-cta__item[href]:focus-visible { background: #e8f3ed; color: #187f85; }
.cs-cta--capsule .cs-cta__item--hotline[href]:hover, .cs-cta--capsule .cs-cta__item--hotline[href]:focus-visible { background: #126970; color: #fff; }
.cs-cta--capsule .cs-cta__tooltip { border-radius: 8px; right: calc(100% + 18px); }
@media (min-width: 1001px) and (max-width: 1200px) { .cs-page--rail-capsule .cs-intro { right: 106px; } }
@media (max-width: 1000px) {
  .cs-page--rail-capsule .cs-hero { padding-right: 85px; }
  .cs-cta--capsule { right: 8px; bottom: max(20px,env(safe-area-inset-bottom)); gap: 3px; padding: 5px; border-radius: 44px; }
  .cs-cta--capsule .cs-cta__item { width: 48px; height: 55px; }
  .cs-cta--capsule .cs-cta__item--hotline { height: 48px; gap: 3px; }
  .cs-cta--capsule .cs-cta__name { font-size: 8px; }
  .cs-cta--capsule .cs-cta__item > svg { flex-basis: 21px; width: 21px; height: 21px; }
}
@media (max-width: 600px) {
  .cs-page--rail-capsule .cs-hero { padding-left: 22px; padding-right: 80px; }
  .cs-page--rail-capsule .cs-details { gap: 14px; }
  .cs-page--rail-capsule .cs-origin, .cs-page--rail-capsule .cs-origin > img { width: 77px; }
  .cs-page--rail-capsule .cs-gallery { padding-left: 14px; gap: 9px; }
  .cs-page--rail-capsule .cs-gallery__hint { white-space: normal; }
}
@media (max-width: 374px) {
  .cs-page--rail-capsule .cs-hero { padding-left: 18px; padding-right: 78px; }
  .cs-page--rail-capsule .cs-register { padding-left: 13px; gap: 8px; font-size: 8px; }
  .cs-page--rail-capsule .cs-gallery { padding-left: 0; }
}


/* V4: ảnh gốc đúng tỷ lệ; đường sóng phía sau khối tòa nhà và dưới cụm chữ. */
.cs-hero--04 .cs-scenery { z-index: auto; pointer-events: none; }
.cs-hero--04 .cs-photo { z-index: 0; }
.cs-hero--04 .cs-photo img,
.cs-hero--04 .cs-building {
  position: absolute; inset: auto; top: 0; left: 0;
  width: auto; height: 100%; max-width: none; aspect-ratio: 2600 / 1670;
  filter: brightness(1.04) saturate(.92);
  -webkit-mask-image: linear-gradient(90deg,#000 0%,#000 76%,transparent 100%);
  mask-image: linear-gradient(90deg,#000 0%,#000 76%,transparent 100%);
  transform: scale(1.025); animation: none;
}
.cs-hero--04.cs-scene-ready .cs-photo img,
.cs-hero--04.cs-scene-ready .cs-building { animation: cs-scene 3.6s cubic-bezier(.18,.6,.22,1) both; }
.cs-hero--04 .cs-building { z-index: 2; pointer-events: none; }
.cs-hero--04 .cs-daylight { z-index: 3; }
.cs-hero--04 .cs-veil { z-index: 4; }
.cs-hero--04 .cs-intro { z-index: 5; }
.cs-hero--04 .cs-river {
  z-index: 1; top: auto; bottom: 20%; height: clamp(100px,13vh,150px);
  opacity: .7; animation: cs-river-reveal 2.4s .85s both;
}
@keyframes cs-river-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}
@media (max-aspect-ratio: 2600/1670) {
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building { left: 50%; translate: -50% 0; }
}
@media (min-width: 1001px) and (max-width: 1200px) {
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building { left: 50%; translate: -50% 0; }
}
@media (max-width: 1000px) {
  .cs-hero--04 { padding-bottom: 60px; }
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    left: 50%; translate: -50% 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .cs-hero--04 .cs-river { top: auto; bottom: 12px; height: 64px; opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building { transform: none; }
}
@media (min-width: 1430px) and (max-height: 800px) {
  .cs-hero--04 .cs-photo img, .cs-hero--04 .cs-building{
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 100%);
  }
}
/* Cụm 3 đường sóng theo KV */
.cs-hero--04 .cs-river {
  animation: none;
  clip-path: none;
  opacity: .85;
}

.cs-hero--04 .cs-river path {
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: cs-kv-wave-draw 2.8s
    cubic-bezier(.22, .61, .36, 1) both;
}

/* Nét coral */
.cs-hero--04 .cs-river .cs-river__line--coral {
  stroke: #eb565f;
  animation-delay: .65s;
}

/* Nét xanh có biên độ lớn */
.cs-hero--04 .cs-river .cs-river__line--teal {
  stroke: #00a5aa;
  animation-delay: .85s;
}

/* Nét xanh dịu */
.cs-hero--04 .cs-river .cs-river__line--soft {
  stroke: #53989b;
  animation-delay: 1.05s;
}

@keyframes cs-kv-wave-draw {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-hero--04 .cs-river path {
    animation: none !important;
    clip-path: none;
  }
}
.cs-hero--04 .cs-river {
  opacity: 1;
}

.cs-hero--04 .cs-river path {
  fill: none;
  stroke-width: 1.15;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.cs-hero--04 .cs-river .cs-river__line--coral {
  stroke: #eb565f;
}

.cs-hero--04 .cs-river .cs-river__line--teal {
  stroke: #00a5aa;
}

.cs-hero--04 .cs-river .cs-river__line--soft {
  stroke: #287f87;
}
@keyframes ribbon-in {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  15% { opacity: 1; }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
.ribbons {
  position: absolute;
  z-index: 1;bottom: 3rem !important;
  inset: 0;
  pointer-events: none;
  animation: ribbon-in 3.6s var(--ease-out) .55s both;
}
.ribbons img {width: 100%; height: 100%; object-fit: contain; object-position: left center;}
:root {
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1000px) {
  .cs-hero--04 > .ribbons {
    top: 0;
    right: 0;
    bottom: auto !important;
    left: 0;
    width: 100%;
    height: var(--cs-photo-height);    
    animation: ribbon-in 2.6s var(--ease-out) .55s both;
  }

  
}
/* =========================================================
   V4 - HIỂN THỊ PHẦN SÔNG NHIỀU HƠN
   ========================================================= */

/* ===== PC / DESKTOP ===== */
@media (min-width: 1001px) {

  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 67%,
      rgba(0,0,0,.95) 74%,
      rgba(0,0,0,.65) 82%,
      rgba(0,0,0,.20) 91%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 67%,
      rgba(0,0,0,.95) 74%,
      rgba(0,0,0,.65) 82%,
      rgba(0,0,0,.20) 91%,
      transparent 100%
    );
  }

  .cs-hero--04 .cs-veil {
    background: linear-gradient(
      180deg,
      rgba(252,248,239,1) 0%,
      rgba(252,248,239,.98) 48%,
      rgba(252,248,239,.76) 67%,
      rgba(252,248,239,.35) 82%,
      rgba(252,248,239,.08) 100%
    );

    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 35%,
      rgba(0,0,0,.15) 45%,
      #000 62%,
      #000 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 35%,
      rgba(0,0,0,.15) 45%,
      #000 62%,
      #000 100%
    );
  }
}

/* ===== PC MÀN HÌNH RỘNG / LAPTOP THẤP ===== */
@media (min-width: 1430px) and (max-height: 800px) {

  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 64%,
      rgba(0,0,0,.9) 73%,
      rgba(0,0,0,.5) 84%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 64%,
      rgba(0,0,0,.9) 73%,
      rgba(0,0,0,.5) 84%,
      transparent 100%
    );
  }
}

/* ===== TABLET ===== */
@media (min-width: 601px) and (max-width: 1000px) {

  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    left: 46%;
    translate: -50% 0;
  }

  .cs-hero--04 .cs-veil {
    background: linear-gradient(
      180deg,
      rgba(252,248,239,.06) 0%,
      transparent 18%,
      transparent 70%,
      rgba(252,248,239,.45) 88%,
      #fcf8ef 100%
    );
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {

  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    left: 43%;
    translate: -50% 0;
  }

  .cs-hero--04 .cs-veil {
    background: linear-gradient(
      180deg,
      rgba(252,248,239,.03) 0%,
      transparent 15%,
      transparent 72%,
      rgba(252,248,239,.38) 88%,
      #fcf8ef 100%
    );
  }
}

/* ===== MOBILE NHỎ ===== */
@media (max-width: 430px) {
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    left: 41%;
  }
}

/* =========================================================
   V4 - ƯU TIÊN HÌNH ẢNH SÔNG RÕ HƠN
   Mục tiêu: nhấn mạnh concept "Đặc quyền sống bên sông"
   ========================================================= */

/* ===== DESKTOP / PC ===== */
@media (min-width: 1001px) {
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 78%,
      rgba(0,0,0,.95) 84%,
      rgba(0,0,0,.52) 90%,
      rgba(0,0,0,.18) 95%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 78%,
      rgba(0,0,0,.95) 84%,
      rgba(0,0,0,.52) 90%,
      rgba(0,0,0,.18) 95%,
      transparent 100%
    );
  }

  /* Giữ vùng logo/text đủ sạch ở phía trên,
     nhưng mở mạnh vùng ảnh từ giữa xuống chân hero để thấy mặt sông. */
  .cs-hero--04 .cs-veil {
    background: linear-gradient(
      180deg,
      rgba(252,248,239,.96) 0%,
      rgba(252,248,239,.88) 38%,
      rgba(252,248,239,.58) 58%,
      rgba(252,248,239,.24) 72%,
      rgba(252,248,239,.06) 86%,
      transparent 100%
    );

    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 40%,
      rgba(0,0,0,.08) 47%,
      rgba(0,0,0,.48) 58%,
      #000 70%,
      #000 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 40%,
      rgba(0,0,0,.08) 47%,
      rgba(0,0,0,.48) 58%,
      #000 70%,
      #000 100%
    );
  }
}

/* ===== DESKTOP RỘNG / LAPTOP THẤP ===== */
@media (min-width: 1430px) and (max-height: 800px) {
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 75%,
      rgba(0,0,0,.52) 83%,
      rgba(0,0,0,.3) 91%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 75%,
      rgba(0,0,0,.52) 83%,
      rgba(0,0,0,.3) 91%,
      transparent 100%
    );
  }
}
@media (min-width: 1660px) {
    .cs-hero--04 .cs-photo img, .cs-hero--04 .cs-building {
        -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 78%, rgba(0, 0, 0, .85) 80%, rgba(0, 0, 0, .62) 85%, rgba(0, 0, 0, .28) 90%, transparent 100%);
        mask-image: linear-gradient(90deg, #000 0%, #000 78%, rgba(0, 0, 0, .85) 80%, rgba(0, 0, 0, .62) 85%, rgba(0, 0, 0, .28) 90%, transparent 100%);
    }
    .cs-hero--04 .cs-intro { left: 64.5%; right: max(100px, 6.5vw); }
}
/* ===== TABLET ===== */
@media (min-width: 601px) and (max-width: 1000px) {
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    left: 42%;
    translate: -50% 0;
  }

  .cs-hero--04 .cs-veil {
    background: linear-gradient(
      180deg,
      rgba(252,248,239,.03) 0%,
      transparent 16%,
      transparent 78%,
      rgba(252,248,239,.05) 94%,
      #fcf8ef 100%
    );
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    left: 42%;
    translate: -50% 0;
  }

  .cs-hero--04 .cs-veil {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 80%,
      rgba(252,248,239,.14) 91%,
      #fcf8ef 100%
    );
  }
}

@media (max-width: 410px) {
  .cs-hero--04 .cs-photo img,
  .cs-hero--04 .cs-building {
    left: 46%;
  }
  .cs-page--rail-capsule .cs-gallery__hint{gap: 0}
  .cs-gallery__hint svg{display: none;}
}

/* =========================================================
   V4 - RESPONSIVE INTRO / DESKTOP TUNING
   Muc tieu:
   - Man hinh PC nho: thu gon cum noi dung va day sang phai
     de khong de len toa nha / canh song.
   - Man hinh PC lon: giu cum noi dung trong vung sang ben phai,
     can doi voi KV va van thay ro mat song.
   ========================================================= */

/* Desktop nho / laptop: 1001px - 1199px */
@media (min-width: 1001px) and (max-width: 1199px) {
  .cs-hero--04 .cs-intro {
    left: 60%;
    right: 86px;
    top: 0;
    bottom: 0;
  }

  .cs-hero--04 .cs-brand {
    width: 168px;
    max-width: 58%;
  }

  .cs-hero--04 .cs-signature {
    width: min(360px, 100%);
    margin-top: 20px;
  }

  .cs-hero--04 .cs-register {
    width: 250px;
    min-height: 48px;
    margin-top: 18px;
    padding: 5px 6px 5px 22px;
    gap: 14px;
    font-size: 10px;
  }

  .cs-hero--04 .cs-register__arrow {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .cs-hero--04 .cs-details {
    width: min(320px, 100%);
    gap: 16px;
    margin-top: 17px;
    padding-top: 15px;
  }

  .cs-hero--04 .cs-origin,
  .cs-hero--04 .cs-origin > img {
    width: 78px;
  }

  .cs-hero--04 .cs-origin > span {
    font-size: 9px;
  }

  .cs-hero--04 .cs-gallery {
    padding-left: 15px;
    gap: 9px;
  }

  .cs-hero--04 .cs-gallery > img {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .cs-hero--04 .cs-gallery__label {
    font-size: 15px;
  }

  .cs-hero--04 .cs-gallery__hint {
    font-size: 8px;
    gap: 4px;
  }
}

/* Laptop / desktop pho bien: 1200px - 1440px */
@media (min-width: 1200px) and (max-width: 1440px) {
  .cs-hero--04 .cs-intro {
    left: 61%;
    right: 94px;
  }

  .cs-hero--04 .cs-brand {
    width: 184px;
    max-width: 60%;
  }

  .cs-hero--04 .cs-signature {
    width: min(392px, 100%);
    margin-top: 23px;
  }

  .cs-hero--04 .cs-register {
    width: 265px;
    min-height: 50px;
    margin-top: 20px;
    padding-left: 23px;
    font-size: 11px;
  }

  .cs-hero--04 .cs-register__arrow {
    flex-basis: 37px;
    width: 37px;
    height: 37px;
  }

  .cs-hero--04 .cs-details {
    width: min(345px, 100%);
    gap: 18px;
    margin-top: 19px;
    padding-top: 16px;
  }

  .cs-hero--04 .cs-origin,
  .cs-hero--04 .cs-origin > img {
    width: 84px;
  }

  .cs-hero--04 .cs-gallery {
    padding-left: 17px;
    gap: 10px;
  }

  .cs-hero--04 .cs-gallery > img {
    flex-basis: 51px;
    width: 51px;
    height: 51px;
  }

  .cs-hero--04 .cs-gallery__label {
    font-size: 16px;
  }

  .cs-hero--04 .cs-gallery__hint {
    font-size: 8px;
  }
}

/* Desktop trung binh: 1441px - 1799px */
@media (min-width: 1441px) and (max-width: 1799px) {
  .cs-hero--04 .cs-intro {
    left:61.5%;
    right: max(100px, 6.5vw);
  }

  .cs-hero--04 .cs-brand {
    width: clamp(195px, 14vw, 220px);
  }

  .cs-hero--04 .cs-signature {
    width: min(430px, 100%);
    margin-top: 27px;
  }

  .cs-hero--04 .cs-register {
    min-height: 52px;
    margin-top: 23px;
  }

  .cs-hero--04 .cs-details {
    width: min(370px, 100%);
    margin-top: 22px;
    padding-top: 18px;
  }
}

/* Desktop lon: 1800px tro len */
@media (min-width: 1800px) {
  .cs-hero--04 .cs-intro {
    left: 66.5%;
    right: max(120px, 7.5vw);
  }

  .cs-hero--04 .cs-brand {
    width: clamp(218px, 12.5vw, 250px);
    max-width: 62%;
  }

  .cs-hero--04 .cs-signature {
    width: min(455px, 100%);
    margin-top: 29px;
  }

  .cs-hero--04 .cs-register {
    min-height: 54px;
    margin-top: 25px;
  }

  .cs-hero--04 .cs-details {
    width: min(385px, 100%);
    margin-top: 24px;
    padding-top: 19px;
  }
}
@media (min-width: 2400px) {
    .cs-hero--04 .cs-signature {
        width: min(615px, 100%);
        margin-top: 59px;
    }
    .cs-hero--04 .cs-brand { width: clamp(218px, 12.5vw, 310px); max-width: 67%; }
}
/* Man hinh thap: uu tien khong de cum detail cham day hero. */
@media (min-width: 1001px) and (max-height: 700px) {
  .cs-hero--04 .cs-intro {
    top: 0;
    bottom: 0;
  }

  .cs-hero--04 .cs-brand {
    width: min(168px, 52%);
  }

  .cs-hero--04 .cs-signature {
    width: min(350px, 100%);
    margin-top: 17px;
  }

  .cs-hero--04 .cs-register {
    width: 230px;
    min-height: 46px;
    margin-top: 15px;
  }

  .cs-hero--04 .cs-register__arrow {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .cs-hero--04 .cs-details {
    width: min(315px, 100%);
    gap: 14px;
    margin-top: 14px;
    padding-top: 13px;
  }

  .cs-hero--04 .cs-origin,
  .cs-hero--04 .cs-origin > img {
    width: 74px;
  }

  .cs-hero--04 .cs-origin > span {
    font-size: 8px;
  }

  .cs-hero--04 .cs-gallery {
    padding-left: 13px;
    gap: 8px;
  }

  .cs-hero--04 .cs-gallery > img {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .cs-hero--04 .cs-gallery__label {
    font-size: 14px;
  }

  .cs-hero--04 .cs-gallery__hint {
    font-size: 7px;
  }
}

/* =========================================================
   V4 - RIBBON FADE: RO BEN TRAI, NHAT DAN VE BEN PHAI
   Muc tieu: giu line ro o vung anh, giam dan khi di vao vung text
   ========================================================= */

.cs-hero--04 > .ribbons {
  opacity: .96;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 54%,
    rgba(0,0,0,.82) 64%,
    rgba(0,0,0,.48) 74%,
    rgba(0,0,0,.18) 84%,
    rgba(0,0,0,.06) 90%,
    transparent 96%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 54%,
    rgba(0,0,0,.82) 64%,
    rgba(0,0,0,.48) 74%,
    rgba(0,0,0,.18) 84%,
    rgba(0,0,0,.06) 90%,
    transparent 96%
  );
}

.cs-hero--04 > .ribbons img {
  opacity: .92;
}

/* Laptop / desktop nho: fade som hon vi cum noi dung nam gan line hon */
@media (min-width: 1001px) and (max-width: 1366px) {
  .cs-hero--04 > .ribbons {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 50%,
      rgba(0,0,0,.75) 60%,
      rgba(0,0,0,.38) 70%,
      rgba(0,0,0,.12) 80%,
      rgba(0,0,0,.03) 87%,
      transparent 93%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 50%,
      rgba(0,0,0,.75) 60%,
      rgba(0,0,0,.38) 70%,
      rgba(0,0,0,.12) 80%,
      rgba(0,0,0,.03) 87%,
      transparent 93%
    );
  }
}

/* Desktop lon: cho line di xa hon mot chut truoc khi nhat dan */
@media (min-width: 1600px) {
  .cs-hero--04 > .ribbons {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 57%,
      rgba(0,0,0,.86) 67%,
      rgba(0,0,0,.54) 77%,
      rgba(0,0,0,.22) 86%,
      rgba(0,0,0,.07) 92%,
      transparent 97%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 57%,
      rgba(0,0,0,.86) 67%,
      rgba(0,0,0,.54) 77%,
      rgba(0,0,0,.22) 86%,
      rgba(0,0,0,.07) 92%,
      transparent 97%
    );
  }
}

/* Tablet / mobile: giu line co do hien dien nhung khong tranh chu */
@media (max-width: 1000px) {
  .cs-hero--04 > .ribbons {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 58%,
      rgba(0,0,0,.82) 70%,
      rgba(0,0,0,.42) 82%,
      rgba(0,0,0,.10) 91%,
      transparent 97%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 58%,
      rgba(0,0,0,.82) 70%,
      rgba(0,0,0,.42) 82%,
      rgba(0,0,0,.10) 91%,
      transparent 97%
    );
  }
}

/* =========================================================
   V4 - RIBBON FADE STRONGER
   Line ro o vung anh ben trai, mo nhanh truoc khi vao cum content.
   ========================================================= */

/* Desktop mac dinh: fade bat dau som hon va bien mat truoc vung text */
.cs-hero--04 > .ribbons {
  opacity: .9;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 48%,
    rgba(0,0,0,.82) 54%,
    rgba(0,0,0,.52) 60%,
    rgba(0,0,0,.22) 66%,
    rgba(0,0,0,.07) 70%,
    transparent 75%
  ) !important;
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 48%,
    rgba(0,0,0,.82) 54%,
    rgba(0,0,0,.52) 60%,
    rgba(0,0,0,.22) 66%,
    rgba(0,0,0,.07) 70%,
    transparent 75%
  ) !important;
}

.cs-hero--04 > .ribbons img {
  opacity: .88;
}

/* Laptop / desktop nho: content sat vao giua hon => fade som them */
@media (min-width: 1001px) and (max-width: 1440px) {
  .cs-hero--04 > .ribbons {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 44%,
      rgba(0,0,0,.78) 50%,
      rgba(0,0,0,.44) 56%,
      rgba(0,0,0,.16) 62%,
      rgba(0,0,0,.04) 66%,
      transparent 71%
    ) !important;
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 44%,
      rgba(0,0,0,.78) 50%,
      rgba(0,0,0,.44) 56%,
      rgba(0,0,0,.16) 62%,
      rgba(0,0,0,.04) 66%,
      transparent 71%
    ) !important;
  }
}



/* Tablet/mobile: line chi lam nen, khong di vao khu text ben duoi */
@media (max-width: 1000px) {
  .cs-hero--04 > .ribbons {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    opacity: 1 !important;
  }
}
.cs-modal__form .form-group br{display: none;}
.none-form,.gscf7-frontend-gdpr-notice{font-family: sans-serif; font-weight: 400; font-style: italic;    margin-top: 1rem;}
.cs-modal__form .wpcf7-not-valid-tip{position: absolute; top: 0.5rem; right: 1rem;}