/*
 Theme Name:   GeneratePress Child - SGHorizon Credit
 Template:     generatepress
 Version:      1.0.0
 Description:  Child theme cho website SGHorizon Credit (concept "Chuyến phà chân trời": cửa sổ tàu, vé phà, chuyến phà 2 giờ, phao tiêu, máy in vé, cầu tàu, container cảng Cát Lái). Toàn bộ CSS của dự án nằm trong file này.
 Text Domain:  sghorizoncredit
*/

/* ==========================================================================
   1. VARIABLES (mau do bang PIL tu logo.png: cam #E85D04 ~62%, den am #1D1B19 ~18%;
      neutral xanh song dem #13323C tu chon de khac cac du an gan nhat)
   ========================================================================== */
:root {
	--sgh-primary: #BF4800;
	--sgh-primary-light: #E85D04;
	--sgh-primary-dark: #9C3A00;
	--sgh-accent-1: #E85D04;
	--sgh-accent-2: #FFC15A;
	--sgh-navy: #13323C;
	--sgh-ink: #13323C;
	--sgh-text: #475A61;
	--sgh-muted: #6B7C82;
	--sgh-bg-soft: #FFF5EC;
	--sgh-bg-river: #ECF4F4;
	--sgh-white: #FFFFFF;
	--sgh-border: #E7E1DA;
	--sgh-water: #9CD3D6;
	--sgh-water-deep: #2F7F89;
	--sgh-gradient: linear-gradient(135deg, #FFC15A 0%, #E85D04 55%, #BF4800 100%);
	/* 3 vach chan troi (bieu tuong logo): rong giam dan, canh trai */
	--sgh-horizon:
		linear-gradient(var(--sgh-accent-1), var(--sgh-accent-1)) 0 0 / 100% 3px no-repeat,
		linear-gradient(var(--sgh-accent-1), var(--sgh-accent-1)) 0 5px / 68% 3px no-repeat,
		linear-gradient(var(--sgh-accent-2), var(--sgh-accent-2)) 0 10px / 36% 3px no-repeat;
	--sgh-shadow-sm: 0 2px 8px rgba(19, 50, 60, .07);
	--sgh-shadow-md: 0 10px 26px rgba(19, 50, 60, .10);
	--sgh-shadow-lg: 0 22px 48px rgba(19, 50, 60, .16);
	--sgh-radius: 18px;
	--sgh-radius-lg: 28px;
	--sgh-radius-btn: 999px;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
html,
body {
	overflow-x: clip;
}

body.sgh-body {
	background: var(--sgh-white);
	color: var(--sgh-text);
}

:where(.sgh-body) a {
	color: var(--sgh-primary);
}

:where(.sgh-body) a:hover,
:where(.sgh-body) a:focus {
	color: var(--sgh-primary-dark);
}

:where(.sgh-body) :where(ul, ol)[class] {
	margin: 0;
	padding: 0;
	list-style: none;
}

:where(.sgh-body) dl,
:where(.sgh-body) dd {
	margin: 0;
}

.sgh-main h1,
.sgh-main h2,
.sgh-main h3,
.sgh-main h4,
.sgh-main h5,
.sgh-main h6 {
	color: var(--sgh-ink);
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.sgh-main img {
	max-width: 100%;
	height: auto;
}

.sgh-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.sgh-container--narrow {
	max-width: 940px;
}

.sgh-skip {
	position: absolute;
	left: -9999px;
	top: 0;
}

.sgh-skip:focus {
	left: 12px;
	top: 12px;
	z-index: 2000;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--sgh-white);
	color: var(--sgh-ink);
	box-shadow: var(--sgh-shadow-md);
}

.sgh-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

:where(.sgh-body) :focus-visible {
	outline: 3px solid var(--sgh-accent-1);
	outline-offset: 2px;
}

/* ==========================================================================
   3. BUTTONS + CTA loading
   ========================================================================== */
.sgh-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 0;
	border-radius: var(--sgh-radius-btn);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sgh-btn--primary {
	background: var(--sgh-primary);
	color: var(--sgh-white);
	box-shadow: 0 8px 18px rgba(191, 72, 0, .26);
}

.sgh-btn--primary:hover,
.sgh-btn--primary:focus {
	background: var(--sgh-primary-dark);
	color: var(--sgh-white);
}

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

.sgh-btn--lg {
	padding: 14px 32px;
	font-size: 17px;
}

.sgh-btn--block {
	width: 100%;
}

.sgh-btn .btn-text {
	transition: opacity .15s ease;
}

.btn-loading {
	pointer-events: none;
}

.btn-loading .btn-text {
	opacity: 0;
}

.btn-loading::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2.5px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: sgh-spin .7s linear infinite;
}

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

/* ==========================================================================
   4. HEADER + NAV
   Header KHONG z-index (khong tao stacking context) de panel menu mobile (fixed, z 1001)
   nam tren overlay (z 1000, dat ngoai header) - bai hoc VayMax.
   ========================================================================== */
.sgh-header {
	position: relative;
	background: #fff;
	border-bottom: 1px solid var(--sgh-border);
}

.sgh-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}

.sgh-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	text-decoration: none;
}

/* Logo wordmark ngang 500x134 */
.sgh-header__logo {
	display: block;
	width: auto;
	height: 44px;
}

.sgh-nav {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
}

.sgh-nav__head,
.sgh-nav__cta {
	display: none;
}

.sgh-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.sgh-nav__link {
	position: relative;
	display: block;
	padding: 9px 16px;
	border-radius: 999px;
	color: var(--sgh-ink);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.sgh-body .sgh-nav__link:hover,
.sgh-body .sgh-nav__link:focus {
	background: var(--sgh-bg-river);
	color: var(--sgh-ink);
}

.sgh-body .sgh-nav__link--active,
.sgh-body .sgh-nav__link--active:hover {
	background: var(--sgh-bg-soft);
	color: var(--sgh-primary);
	pointer-events: none;
}

/* Chi bao active: 3 vach chan troi (logo) duoi chu */
.sgh-nav__link--active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -6px;
	width: 24px;
	height: 13px;
	margin-left: -12px;
	background: var(--sgh-horizon);
}

.sgh-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.sgh-header__toggle {
	display: none;
}

.sgh-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(19, 50, 60, .55);
}

.sgh-nav-overlay[hidden] {
	display: none;
}

/* ==========================================================================
   5. HERO (giu nguyen khuon CLAUDE-TEMPLATE.md: 2 cot 1.1fr / 0.8fr)
   ========================================================================== */
.sgh-hero {
	position: relative;
	padding: 56px 0 96px;
	background:
		radial-gradient(560px 340px at 100% 0, rgba(255, 193, 90, .22), transparent 70%),
		radial-gradient(380px 260px at 0 100%, rgba(156, 211, 214, .18), transparent 70%),
		linear-gradient(180deg, #FFF7F0 0%, #FFFFFF 100%);
}

/* 3 vach chan troi mong o day hero */
.sgh-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	height: 13px;
	background:
		linear-gradient(rgba(232, 93, 4, .16), rgba(232, 93, 4, .16)) 0 0 / 100% 2px no-repeat,
		linear-gradient(rgba(232, 93, 4, .11), rgba(232, 93, 4, .11)) 50% 5px / 70% 2px no-repeat,
		linear-gradient(rgba(255, 193, 90, .3), rgba(255, 193, 90, .3)) 50% 10px / 40% 2px no-repeat;
	pointer-events: none;
}

.sgh-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr .8fr;
	gap: 52px;
	/* Neo mep tren: widget doi chieu cao khong lam slider nhay. */
	align-items: start;
}

.sgh-main h1.sgh-hero__title {
	margin: 0 0 14px;
	font-size: clamp(1.3rem, 5vw, 2rem);
	line-height: 1.25;
	letter-spacing: -.01em;
}

.sgh-hero__desc {
	max-width: 58ch;
	margin: 0 0 22px;
	font-size: 17px;
	line-height: 1.65;
}

.sgh-hero__art {
	max-width: 540px;
	filter: drop-shadow(0 18px 26px rgba(19, 50, 60, .08));
}

.sgh-hero__svg {
	display: block;
	width: 100%;
	height: auto;
}

.sgh-hero__content {
	display: flex;
	justify-content: flex-end;
}

/* Widget tinh thu */
.sgh-calc {
	position: relative;
	width: 100%;
	max-width: 480px;
	padding: 28px 26px 22px;
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius-lg);
	background: #fff;
	box-shadow: var(--sgh-shadow-lg);
}

.sgh-calc__title {
	margin: 0 0 14px;
	color: var(--sgh-ink);
	font-size: 19px;
	font-weight: 800;
}

.sgh-calc__amount-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
}

.sgh-calc__label {
	margin: 0;
	color: var(--sgh-text);
	font-size: 15px;
	font-weight: 600;
}

.sgh-calc__amount {
	color: var(--sgh-primary);
	font-size: 28px;
	font-style: italic;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -.01em;
}

.sgh-calc__range {
	--sgh-fill: 21.05%;
	width: 100%;
	height: 28px;
	margin: 10px 0 4px;
	background: transparent;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.sgh-calc__range::-webkit-slider-runnable-track {
	height: 10px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--sgh-primary) 0, var(--sgh-accent-1) var(--sgh-fill), #F1E7DD var(--sgh-fill));
}

.sgh-calc__range::-moz-range-track {
	height: 10px;
	border-radius: 99px;
	background: #F1E7DD;
}

.sgh-calc__range::-moz-range-progress {
	height: 10px;
	border-radius: 99px;
	background: var(--sgh-accent-1);
}

.sgh-calc__range::-webkit-slider-thumb {
	width: 26px;
	height: 26px;
	margin-top: -8px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: var(--sgh-navy);
	box-shadow: 0 0 0 2px var(--sgh-accent-1), 0 3px 10px rgba(19, 50, 60, .3);
	-webkit-appearance: none;
	appearance: none;
}

.sgh-calc__range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: var(--sgh-navy);
	box-shadow: 0 0 0 2px var(--sgh-accent-1);
}

.sgh-calc__scale {
	display: flex;
	justify-content: space-between;
	color: var(--sgh-muted);
	font-size: 13px;
}

.sgh-calc__rows {
	margin: 16px 0 18px;
	border-top: 1px dashed var(--sgh-border);
}

.sgh-calc__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--sgh-border);
	font-size: 15.5px;
}

.sgh-calc__row dt {
	color: var(--sgh-text);
}

.sgh-calc__row dd {
	color: var(--sgh-ink);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.sgh-calc__row--total dd {
	color: var(--sgh-primary);
	font-size: 19px;
	font-weight: 800;
}

.sgh-calc__legal {
	margin: 12px 0 0;
	color: var(--sgh-muted);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}
.sgh-calc__legal a {
	color: var(--sgh-primary);
	text-decoration: none;
}
/* ==========================================================================
   6. STATS BAR (chi tablet / mobile)
   ========================================================================== */
.sgh-stats {
	position: relative;
	z-index: 2;
	margin-top: -40px;
}

.sgh-stats__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	padding: 14px;
	border: 1px solid var(--sgh-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--sgh-shadow-md);
}

.sgh-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 8px 6px;
	text-align: center;
}

.sgh-stats__item strong {
	color: var(--sgh-primary);
	font-size: 21px;
	font-style: italic;
	font-weight: 800;
	line-height: 1.2;
}

.sgh-stats__item span {
	color: var(--sgh-text);
	font-size: 13px;
}

/* ==========================================================================
   7. SECTION CHUNG
   ========================================================================== */
.sgh-section {
	padding: 84px 0;
}

.sgh-section--soft {
	background: var(--sgh-bg-soft);
}

.sgh-section--river {
	background: var(--sgh-bg-river);
}

.sgh-section--flush-top {
	padding-top: 40px;
}

.sgh-section--flush-bottom {
	padding-bottom: 24px;
}

.sgh-section__head {
	max-width: 720px;
	margin-bottom: 40px;
}

.sgh-section__head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.sgh-main h2.sgh-section__title {
	margin: 0 0 12px;
	font-size: clamp(1.25rem, 3vw, 1.7rem);
	letter-spacing: -.01em;
}

.sgh-section__desc {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.7;
}


/* ==========================================================================
   8. THONG SO: SAU VE PHA
   Ve ngang: than ve + cuong ve tach bang duong rang cua; 2 khuyet tron tren / duoi.
   ========================================================================== */
.sgh-tickets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.sgh-ticket {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 74px;
	border: 1.5px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 70%, #FFF9F3 100%);
	box-shadow: var(--sgh-shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}

.sgh-ticket:hover {
	transform: translateY(-3px);
	box-shadow: var(--sgh-shadow-md);
}

.sgh-ticket__body {
	padding: 20px 18px 18px 22px;
}

.sgh-ticket__label {
	margin: 0 0 4px;
	color: var(--sgh-muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sgh-ticket__value {
	margin: 0 0 6px;
	color: var(--sgh-navy);
	line-height: 1.1;
}

.sgh-ticket__value strong {
	color: var(--sgh-primary);
	font-size: clamp(28px, 3vw, 34px);
	font-style: italic;
	font-weight: 800;
	letter-spacing: -.01em;
}

.sgh-ticket__value span {
	font-size: 16px;
	font-weight: 700;
}

.sgh-ticket__note {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
}

/* Cuong ve: vien trai net dut + 2 khuyet tron (mau nen section) */
.sgh-ticket__stub {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border-left: 2px dashed #E8CDB4;
	border-radius: 0 var(--sgh-radius) var(--sgh-radius) 0;
	background:
		repeating-linear-gradient(0deg, rgba(232, 93, 4, .07) 0 6px, transparent 6px 12px),
		#FFF4EA;
	transform-origin: 0 100%;
	transition: transform .3s ease;
}

.sgh-ticket__stub::before,
.sgh-ticket__stub::after {
	content: "";
	position: absolute;
	left: -12px;
	width: 22px;
	height: 22px;
	border: 1.5px solid var(--sgh-border);
	border-radius: 50%;
	background: #fff;
}

.sgh-ticket__stub::before {
	top: -12px;
	clip-path: inset(50% 0 0 0);
}

.sgh-ticket__stub::after {
	bottom: -12px;
	clip-path: inset(0 0 50% 0);
}

.sgh-ticket:hover .sgh-ticket__stub {
	transform: rotate(4deg);
}

.sgh-ticket__hole {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 2px 3px rgba(19, 50, 60, .18);
}

.sgh-ticket__no {
	color: var(--sgh-primary-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

/* ==========================================================================
   9. SIGNATURE: CHUYEN PHA 2 GIO (nen kem cat SANG)
   Mac dinh (khong JS / reduced-motion) = trang thai cuoi: pha o ben phai, chip hien.
   JS: is-armed (pha ve ben trai, an chip) -> is-mid -> is-docked -> is-done.
   ========================================================================== */
.sgh-ferry-sec {
	background:
		radial-gradient(520px 300px at 92% 8%, rgba(255, 193, 90, .28), transparent 70%),
		radial-gradient(420px 260px at 0 100%, rgba(156, 211, 214, .22), transparent 70%),
		var(--sgh-bg-soft);
}

.sgh-ferry__grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 52px;
	align-items: center;
}

.sgh-ferry__legs {
	display: grid;
	gap: 12px;
	margin: 26px 0 28px;
	counter-reset: none;
}

.sgh-ferry__leg {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 14px;
	align-items: start;
	padding: 14px 16px;
	border: 1.5px solid transparent;
	border-radius: 16px;
	background: rgba(255, 255, 255, .55);
	opacity: .55;
	transition: opacity .35s ease, background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.sgh-ferry__leg.is-on {
	border-color: #F6D3B5;
	background: #fff;
	opacity: 1;
	box-shadow: var(--sgh-shadow-sm);
}

.sgh-ferry__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sgh-navy);
	color: #fff;
	font-size: 18px;
	font-style: italic;
	font-weight: 800;
	transition: background-color .35s ease;
}

.sgh-ferry__leg.is-on .sgh-ferry__n {
	background: var(--sgh-primary);
}

.sgh-ferry__name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 2px 0 4px;
	color: var(--sgh-navy);
	font-size: 17px;
	font-weight: 800;
}

.sgh-ferry__name span {
	padding: 1px 10px;
	border-radius: 999px;
	background: #FFE8D4;
	color: var(--sgh-primary-dark);
	font-size: 13.5px;
	font-weight: 800;
}

.sgh-ferry__desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

/* San khau ben song */
.sgh-ferry__stage {
	position: relative;
	overflow: hidden;
	aspect-ratio: 600 / 380;
	border: 6px solid #fff;
	border-radius: var(--sgh-radius-lg);
	background: #FFE7D2;
	box-shadow: var(--sgh-shadow-lg);
}

.sgh-ferry__scene {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

/* Song 3 vach troi cham (logo) */
.sgh-ferry__waves {
	position: absolute;
	left: 0;
	right: 0;
	top: 73%;
	display: grid;
	gap: 12px;
	pointer-events: none;
}

.sgh-ferry__waves i {
	display: block;
	height: 4px;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .85) 0 26px, transparent 26px 60px);
	background-size: 120px 4px;
	animation: sgh-wave 6s linear infinite;
}

.sgh-ferry__waves i:nth-child(2) {
	margin-left: 30px;
	opacity: .7;
	animation-duration: 8s;
}

.sgh-ferry__waves i:nth-child(3) {
	margin-left: 12px;
	opacity: .5;
	animation-duration: 10s;
}

@keyframes sgh-wave {
	to {
		background-position: 120px 0;
	}
}

.sgh-ferry__tag {
	position: absolute;
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--sgh-navy);
	font-size: clamp(11px, 1.4vw, 13px);
	font-weight: 800;
	white-space: nowrap;
	box-shadow: var(--sgh-shadow-sm);
}

.sgh-ferry__tag--l {
	left: 2%;
	top: 84%;
}

.sgh-ferry__tag--r {
	right: 2%;
	top: 84%;
}

.sgh-ferry__tag--mid {
	left: 50%;
	top: 47%;
	border: 1.5px solid #F6C9A2;
	color: var(--sgh-primary-dark);
	transform: translate(-50%, -100%);
}

.sgh-ferry__boat {
	position: absolute;
	left: 70%;
	top: 62%;
	width: 20%;
	transform: translateY(-50%);
	transition: left 1.6s cubic-bezier(.45, .05, .35, 1), top 1.6s ease;
	animation: sgh-bob 3.2s ease-in-out infinite;
}

.sgh-ferry__boat svg {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

@keyframes sgh-bob {
	0%,
	100% {
		transform: translateY(-50%) rotate(0);
	}

	50% {
		transform: translateY(-56%) rotate(-1.2deg);
	}
}

/* Vet song duoi */
.sgh-ferry__wake {
	position: absolute;
	right: 92%;
	bottom: 14%;
	width: 0;
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95));
	opacity: 0;
	transition: width .6s ease, opacity .6s ease;
}

.sgh-ferry__stage.is-moving .sgh-ferry__wake {
	width: 70%;
	opacity: 1;
}

.sgh-ferry__stage.is-armed .sgh-ferry__boat {
	left: 7%;
}

.sgh-ferry__stage.is-armed.is-mid .sgh-ferry__boat {
	left: 28%;
	top: 60%;
}

.sgh-ferry__stage.is-armed.is-docked .sgh-ferry__boat {
	left: 70%;
	top: 62%;
}

.sgh-ferry__lamp {
	transition: fill .3s ease;
}

.sgh-ferry__stage.is-mid .sgh-ferry__lamp {
	animation: sgh-blink .8s ease-in-out 3;
}

@keyframes sgh-blink {
	50% {
		fill: #FFFFFF;
	}
}

.sgh-ferry__chip {
	position: absolute;
	left: 4%;
	top: 6%;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 16px;
	border-radius: 14px;
	background: var(--sgh-navy);
	color: #fff;
	box-shadow: var(--sgh-shadow-md);
	transition: opacity .4s ease, transform .4s ease;
}

.sgh-ferry__chip strong {
	font-size: clamp(13px, 1.6vw, 15.5px);
	font-weight: 800;
}

.sgh-ferry__chip strong::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--sgh-accent-2);
	vertical-align: 1px;
}

.sgh-ferry__chip span {
	color: #BFD7DA;
	font-size: clamp(11.5px, 1.4vw, 13px);
}

.sgh-ferry__stage.is-armed .sgh-ferry__chip {
	opacity: 0;
	transform: translateY(-8px);
}

.sgh-ferry__stage.is-armed.is-done .sgh-ferry__chip {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   10. DIEU KIEN: BON PHAO TIEU (nen suong song)
   ========================================================================== */
.sgh-buoys {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	padding-top: 8px;
}

/* Mat nuoc 3 vach chay ngang sau chan phao */
.sgh-buoys::before {
	content: "";
	position: absolute;
	left: -20px;
	right: -20px;
	top: 66px;
	height: 26px;
	background:
		linear-gradient(var(--sgh-water), var(--sgh-water)) 0 0 / 100% 6px no-repeat,
		linear-gradient(#BFE3E5, #BFE3E5) 0 10px / 100% 5px no-repeat,
		linear-gradient(#D6EEEF, #D6EEEF) 0 19px / 100% 4px no-repeat;
	border-radius: 3px;
}

.sgh-buoy {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sgh-buoy__float {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-shrink: 0;
	width: 64px;
	height: 80px;
	margin-bottom: -8px;
	transition: transform .6s cubic-bezier(.3, 1.4, .5, 1), opacity .4s ease;
	animation: sgh-buoy-bob 3.4s ease-in-out infinite;
}

.sgh-buoy:nth-child(2) .sgh-buoy__float {
	animation-delay: -.9s;
}

.sgh-buoy:nth-child(3) .sgh-buoy__float {
	animation-delay: -1.7s;
}

.sgh-buoy:nth-child(4) .sgh-buoy__float {
	animation-delay: -2.5s;
}

/* Den tren dinh phao */
.sgh-buoy__float::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 8px;
	width: 6px;
	height: 16px;
	margin-left: -3px;
	border-radius: 3px 3px 0 0;
	background: var(--sgh-navy);
	box-shadow: 0 -6px 0 2px var(--sgh-accent-2);
}

/* Than vom cam + dai trang */
.sgh-buoy__n {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 52px;
	border-radius: 50% 50% 14px 14px / 70% 70% 14px 14px;
	background:
		linear-gradient(transparent 70%, #fff 70%, #fff 84%, transparent 84%),
		linear-gradient(180deg, #F57A2A, var(--sgh-primary));
	color: #fff;
	font-size: 19px;
	font-style: italic;
	font-weight: 800;
	line-height: 1;
	padding: 6px 0 16px;
	box-shadow: inset -6px 0 0 rgba(0, 0, 0, .08);
}

@keyframes sgh-buoy-bob {
	0%,
	100% {
		transform: translateY(0) rotate(-2deg);
	}

	50% {
		transform: translateY(-6px) rotate(2deg);
	}
}

.sgh-buoys.is-armed .sgh-buoy__float {
	opacity: 0;
	transform: translateY(26px);
	animation: none;
}

.sgh-buoys.is-armed .sgh-buoy.is-up .sgh-buoy__float {
	opacity: 1;
	transform: none;
	animation: sgh-buoy-bob 3.4s ease-in-out .6s infinite;
}

.sgh-buoy__card {
	flex: 1;
	width: 100%;
	padding: 30px 20px 20px;
	border: 1px solid #D5E7E8;
	border-radius: var(--sgh-radius);
	background: #fff;
	box-shadow: var(--sgh-shadow-sm);
	text-align: center;
}

.sgh-main h3.sgh-buoy__title {
	margin: 0 0 6px;
	font-size: 17.5px;
}

.sgh-buoy__card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.sgh-buoys__more {
	max-width: 760px;
	margin: 30px auto 0;
	padding: 14px 20px;
	border-left: 4px solid var(--sgh-water-deep);
	border-radius: 0 14px 14px 0;
	background: #fff;
	font-size: 15.5px;
	line-height: 1.6;
}

.sgh-buoys__more strong {
	color: var(--sgh-navy);
}

/* ==========================================================================
   11. VI DU: MAY IN VE BEN PHA
   ========================================================================== */
.sgh-printer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

.sgh-printer__controls .sgh-section__desc {
	margin-bottom: 22px;
}

.sgh-printer__k {
	margin: 0 0 8px;
	color: var(--sgh-navy);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.sgh-printer__opts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.sgh-printer__opt {
	padding: 9px 18px;
	border: 1.5px solid var(--sgh-border);
	border-radius: 999px;
	background: #fff;
	color: var(--sgh-navy);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.sgh-printer__opt:hover,
.sgh-printer__opt:focus {
	border-color: var(--sgh-primary-light);
	background: var(--sgh-bg-soft);
	color: var(--sgh-navy);
}

.sgh-printer__opt[aria-pressed="true"] {
	border-color: var(--sgh-primary);
	background: var(--sgh-primary);
	color: #fff;
}

.sgh-printer__formula {
	margin: 6px 0 10px;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--sgh-bg-river);
	color: var(--sgh-navy);
	font-size: 15.5px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.sgh-printer__note {
	margin: 0;
	color: var(--sgh-muted);
	font-size: 14px;
	line-height: 1.6;
}

.sgh-printer {
	position: relative;
	max-width: 440px;
	margin: 0 auto;
}

.sgh-printer__machine {
	position: relative;
	z-index: 2;
	display: block;
	height: 132px;
	padding: 20px 24px;
	border-radius: 26px 26px 18px 18px;
	background:
		linear-gradient(transparent 58px, var(--sgh-primary-light) 58px, var(--sgh-primary-light) 66px, transparent 66px),
		linear-gradient(180deg, #1C4450, var(--sgh-navy));
	box-shadow: var(--sgh-shadow-lg), inset 0 -6px 0 rgba(0, 0, 0, .2);
}

.sgh-printer__led {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 8px;
	background: #0B2128;
	color: #FFC15A;
	font-family: "Courier New", monospace;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-shadow: 0 0 6px rgba(255, 193, 90, .6);
}

.sgh-printer__lights {
	position: absolute;
	right: 24px;
	top: 26px;
	display: flex;
	gap: 8px;
}

.sgh-printer__lights i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #57D18A;
	box-shadow: 0 0 8px rgba(87, 209, 138, .8);
}

.sgh-printer__lights i + i {
	background: var(--sgh-primary-light);
	box-shadow: 0 0 8px rgba(232, 93, 4, .7);
}

/* Khe in */
.sgh-printer__slot {
	position: absolute;
	left: 34px;
	right: 34px;
	bottom: 18px;
	height: 12px;
	border-radius: 6px;
	background: #07181D;
	box-shadow: inset 0 3px 4px rgba(0, 0, 0, .6);
}

/* Ve nhu ra khoi khe */
.sgh-printer__out {
	position: relative;
	z-index: 1;
	margin: -30px 46px 0;
	overflow: hidden;
	padding: 0 0 14px;
}

.sgh-printer__ticket {
	position: relative;
	padding: 34px 22px 26px;
	background: #FFFBF4;
	box-shadow: 0 10px 22px rgba(19, 50, 60, .14);
	transition: transform .55s cubic-bezier(.3, .9, .4, 1);
	/* Day rang cua */
	-webkit-mask: radial-gradient(9px at 50% 100%, transparent 96%, #000) 0 0 / 18px 100%;
	mask: radial-gradient(9px at 50% 100%, transparent 96%, #000) 0 0 / 18px 100%;
}

.sgh-printer__out.is-printing .sgh-printer__ticket {
	transform: translateY(-104%);
	transition-duration: .25s;
}

.sgh-printer__brand {
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px dashed #EAD9C6;
	color: var(--sgh-primary-dark);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-align: center;
	text-transform: uppercase;
}

.sgh-printer__rows div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	font-size: 15px;
}

.sgh-printer__rows dt {
	color: var(--sgh-muted);
}

.sgh-printer__rows dd {
	color: var(--sgh-navy);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.sgh-printer__total-k {
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 2px dashed #EAD9C6;
	color: var(--sgh-muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
}

.sgh-printer__total {
	margin: 2px 0 14px;
	color: var(--sgh-primary);
	font-size: clamp(28px, 4vw, 36px);
	font-style: italic;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
	text-align: center;
}

.sgh-printer__barcode {
	display: block;
	height: 34px;
	margin: 0 12px;
	background: repeating-linear-gradient(90deg, var(--sgh-navy) 0 2px, transparent 2px 4px, var(--sgh-navy) 4px 7px, transparent 7px 9px, var(--sgh-navy) 9px 10px, transparent 10px 13px);
	opacity: .85;
}

/* ==========================================================================
   12. QUY TRINH: CAU TAU BON NHIP (nen kem cat)
   ========================================================================== */
.sgh-pier {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.sgh-pier__span {
	position: relative;
	display: flex;
	flex-direction: column;
}

/* Tam van go */
.sgh-pier__deck {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px 20px 22px;
	border: 2px solid #E2BE98;
	border-radius: 14px;
	background:
		repeating-linear-gradient(180deg, transparent 0 33px, rgba(176, 116, 64, .14) 33px 35px),
		linear-gradient(180deg, #FFF3E4, #FCE6CD);
	box-shadow: 0 8px 0 #D9A877, var(--sgh-shadow-md);
	transition: transform .5s cubic-bezier(.3, 1.3, .5, 1), opacity .4s ease;
}

/* Coc cam xuong nuoc */
.sgh-pier__piles {
	position: relative;
	display: block;
	height: 54px;
	margin: 8px 18% 0;
	background:
		linear-gradient(#9A6A43, #7A5032) 0 0 / 12px 100% no-repeat,
		linear-gradient(#9A6A43, #7A5032) 100% 0 / 12px 100% no-repeat;
}

.sgh-pier__ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 12px;
	border-radius: 50%;
	background:
		radial-gradient(circle, #fff 0 13px, transparent 14px),
		conic-gradient(var(--sgh-primary-light) 0 25%, #fff 0 50%, var(--sgh-primary-light) 0 75%, #fff 0);
	box-shadow: 0 0 0 2px var(--sgh-primary-dark);
	color: var(--sgh-navy);
	font-size: 17px;
	font-style: italic;
	font-weight: 800;
}

.sgh-main h3.sgh-pier__title {
	margin: 0 0 6px;
	font-size: 18px;
}

.sgh-pier__deck p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.6;
}

.sgh-pier__time {
	display: inline-block;
	margin-top: auto;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--sgh-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.sgh-pier__span:last-child .sgh-pier__time {
	background: var(--sgh-primary);
}

.sgh-pier.is-armed .sgh-pier__deck {
	opacity: 0;
	transform: translateY(-26px);
}

.sgh-pier.is-armed .sgh-pier__span.is-set .sgh-pier__deck {
	opacity: 1;
	transform: none;
}

/* Dai nuoc 3 vach duoi chan coc */
.sgh-pier__water {
	position: relative;
	display: grid;
	gap: 8px;
	margin-top: -14px;
}

.sgh-pier__water i {
	display: block;
	height: 8px;
	border-radius: 4px;
	background: var(--sgh-water);
}

.sgh-pier__water i:nth-child(2) {
	margin: 0 6%;
	background: #BFE3E5;
}

.sgh-pier__water i:nth-child(3) {
	margin: 0 14%;
	background: #D9EFF0;
}

/* ==========================================================================
   13. VI SAO CHON: CHONG CONTAINER CANG CAT LAI (nen trang)
   ========================================================================== */
.sgh-yard__wrap {
	position: relative;
	padding-top: 56px;
}

.sgh-yard {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.sgh-box {
	--sgh-box-bg: var(--sgh-primary);
	--sgh-box-fg: #fff;
	position: relative;
	min-height: 168px;
	padding: 22px 54px 20px 24px;
	border-radius: 6px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 7px, rgba(0, 0, 0, .07) 7px 14px),
		var(--sgh-box-bg);
	box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .12), 0 6px 0 rgba(19, 50, 60, .12);
	color: var(--sgh-box-fg);
	transition: transform .55s cubic-bezier(.3, 1.2, .5, 1), opacity .4s ease;
}

/* Goc duc 4 goc */
.sgh-box::before {
	content: "";
	position: absolute;
	inset: 5px;
	background:
		linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)) 0 0 / 10px 8px no-repeat,
		linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)) 100% 0 / 10px 8px no-repeat,
		linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)) 0 100% / 10px 8px no-repeat,
		linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)) 100% 100% / 10px 8px no-repeat;
	pointer-events: none;
}

.sgh-box--1 { --sgh-box-bg: var(--sgh-primary); }
.sgh-box--2 { --sgh-box-bg: var(--sgh-navy); }
.sgh-box--3 { --sgh-box-bg: #FFE1C7; --sgh-box-fg: var(--sgh-navy); }
.sgh-box--4 { --sgh-box-bg: #2B7680; }
.sgh-box--5 { --sgh-box-bg: #DCEDEE; --sgh-box-fg: var(--sgh-navy); }
.sgh-box--6 { --sgh-box-bg: var(--sgh-primary-dark); }

.sgh-box__code {
	display: block;
	margin-bottom: 10px;
	font-family: "Courier New", monospace;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .14em;
	opacity: .8;
}

.sgh-main h3.sgh-box__title {
	margin: 0 0 6px;
	color: inherit;
	font-size: 18px;
}

.sgh-box p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	opacity: .95;
}

/* Tay khoa cua (2 thanh doc ben phai) */
.sgh-box__bars {
	position: absolute;
	right: 18px;
	top: 18px;
	bottom: 18px;
	width: 16px;
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 3px 100% no-repeat,
		linear-gradient(currentColor, currentColor) 100% 0 / 3px 100% no-repeat;
	opacity: .35;
}

/* Cau truc can cau: dam ngang + cap + moc treo container so 3 */
.sgh-yard__crane {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 56px;
	pointer-events: none;
}

.sgh-yard__beam {
	position: absolute;
	right: 0;
	top: 4px;
	width: 46%;
	height: 12px;
	border-radius: 3px;
	background: repeating-linear-gradient(135deg, var(--sgh-accent-2) 0 10px, var(--sgh-navy) 10px 20px);
}

.sgh-yard__cable {
	position: absolute;
	right: 16.66%;
	top: 16px;
	width: 3px;
	height: 30px;
	margin-right: -1.5px;
	background: var(--sgh-navy);
}

.sgh-yard__hook {
	position: absolute;
	right: 16.66%;
	top: 42px;
	width: 22px;
	height: 14px;
	margin-right: -11px;
	border: 3px solid var(--sgh-navy);
	border-top: 0;
	border-radius: 0 0 12px 12px;
}

.sgh-yard__ground {
	display: block;
	height: 10px;
	margin-top: 8px;
	border-radius: 3px;
	background: repeating-linear-gradient(90deg, #D9D2CA 0 40px, #E7E1DA 40px 80px);
}

.sgh-yard__cta {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

.sgh-yard.is-armed .sgh-box {
	opacity: 0;
	transform: translateY(-40px);
}

.sgh-yard.is-armed .sgh-box.is-landed {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   14. LUU Y + PHAP NHAN: BIEN NOI QUY MEN + BANG DONG
   ========================================================================== */
.sgh-rules__grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: start;
}

.sgh-rules__text .sgh-section__desc {
	margin-bottom: 24px;
}

.sgh-board,
.sgh-plate {
	position: relative;
	padding: 28px 30px 24px;
	border-radius: 18px;
}

.sgh-board {
	border: 6px solid var(--sgh-primary-light);
	background: #fff;
	box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #F8D2B3, var(--sgh-shadow-md);
}

.sgh-board__screw,
.sgh-plate__screw {
	position: absolute;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: linear-gradient(135deg, #E9EEF0, #A9B6BA);
	box-shadow: inset 0 0 0 1px rgba(19, 50, 60, .25);
}

.sgh-board__screw::after,
.sgh-plate__screw::after {
	content: "";
	position: absolute;
	left: 2px;
	right: 2px;
	top: 5px;
	height: 2px;
	background: rgba(19, 50, 60, .45);
	transform: rotate(45deg);
}

.sgh-board__screw--tl,
.sgh-plate__screw--tl { left: 10px; top: 10px; }
.sgh-board__screw--tr,
.sgh-plate__screw--tr { right: 10px; top: 10px; }
.sgh-board__screw--bl,
.sgh-plate__screw--bl { left: 10px; bottom: 10px; }
.sgh-board__screw--br,
.sgh-plate__screw--br { right: 10px; bottom: 10px; }

.sgh-board__title {
	margin: 0 0 16px;
	padding: 8px 14px;
	border-radius: 10px;
	background: var(--sgh-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
}

.sgh-board__list {
	counter-reset: sgh-rule;
	display: grid;
	gap: 12px;
}

.sgh-board__list li {
	position: relative;
	padding-left: 44px;
	color: var(--sgh-navy);
	font-size: 15.5px;
	line-height: 1.6;
	counter-increment: sgh-rule;
}

.sgh-board__list li::before {
	content: counter(sgh-rule);
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 2px solid var(--sgh-primary-light);
	border-radius: 50%;
	color: var(--sgh-primary-dark);
	font-size: 14px;
	font-style: italic;
	font-weight: 800;
}

/* Bang dong khac */
.sgh-plate {
	border: 2px solid #C99A5E;
	background:
		repeating-linear-gradient(100deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 7px),
		linear-gradient(160deg, #F8E3C2 0%, #EBC994 55%, #E2BA7F 100%);
	box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .35), var(--sgh-shadow-md);
	color: #3D2A14;
}

.sgh-plate__top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.sgh-plate__logo {
	display: inline-flex;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 2px;
	border-radius: 12px;
	background: #fff;
}

.sgh-plate__logo img {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 10px;
}

.sgh-plate__kicker {
	margin: 0;
	color: #6B4A22;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.sgh-main .sgh-plate__name {
	margin: 0 0 12px;
	color: var(--sgh-navy);
	font-size: clamp(17px, 2vw, 19px);
	letter-spacing: .01em;
}

.sgh-plate__row {
	display: grid;
	grid-template-columns: 118px 1fr;
	gap: 10px;
	padding: 7px 0;
	border-top: 1px solid rgba(107, 74, 34, .25);
	font-size: 14.5px;
	line-height: 1.5;
}

.sgh-plate__row dt {
	color: #6B4A22;
	font-weight: 700;
}

.sgh-plate__row dd {
	color: var(--sgh-navy);
	font-weight: 600;
	overflow-wrap: anywhere;
}

.sgh-body .sgh-plate a {
	color: var(--sgh-navy);
	text-decoration: underline;
	text-decoration-color: rgba(19, 50, 60, .35);
}

/* ==========================================================================
   15. KHOI NOI DUNG SEO + VAN BAN DAI (.sgh-doc)
   ========================================================================== */
.sgh-seo__card,
.sgh-doc {
	padding: clamp(24px, 4vw, 52px);
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius-lg);
	background: #fff;
	box-shadow: var(--sgh-shadow-sm);
}

.sgh-seo__inner,
.sgh-doc {
	counter-reset: sgh-h2;
	font-size: 16.5px;
	line-height: 1.75;
}

.sgh-seo__inner > p:first-child,
.sgh-doc > p:first-child {
	padding: 14px 18px;
	border-left: 4px solid var(--sgh-accent-1);
	border-radius: 0 14px 14px 0;
	background: var(--sgh-bg-soft);
	color: var(--sgh-ink);
}

.sgh-seo__inner p,
.sgh-doc p {
	margin: 0 0 16px;
}

.sgh-seo__inner ul,
.sgh-seo__inner ol,
.sgh-doc ul,
.sgh-doc ol {
	margin: 0 0 18px;
	padding-left: 24px;
}

.sgh-seo__inner li,
.sgh-doc li {
	margin-bottom: 6px;
}

.sgh-seo__inner li::marker,
.sgh-doc li::marker {
	color: var(--sgh-primary);
	font-weight: 700;
}

.sgh-main .sgh-seo__inner h2,
.sgh-main .sgh-doc h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 38px 0 16px;
	padding-top: 26px;
	border-top: 1px solid var(--sgh-border);
	font-size: clamp(21px, 2.7vw, 26px);
	counter-increment: sgh-h2;
}

.sgh-main .sgh-seo__inner h2:first-child,
.sgh-main .sgh-doc h2:first-child,
.sgh-main .sgh-doc > p:first-child + h2 {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.sgh-main .sgh-doc > p:first-child + h2 {
	margin-top: 26px;
}

/* So H2 trong phao tron cam co dai trang */
.sgh-main .sgh-seo__inner h2::before,
.sgh-main .sgh-doc h2::before {
	content: counter(sgh-h2, decimal-leading-zero);
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background:
		radial-gradient(circle, #fff 0 13px, transparent 14px),
		conic-gradient(var(--sgh-primary-light) 0 25%, #FFE1C7 0 50%, var(--sgh-primary-light) 0 75%, #FFE1C7 0);
	box-shadow: 0 0 0 2px var(--sgh-primary-dark);
	color: var(--sgh-navy);
	font-size: 14px;
	font-style: italic;
	font-weight: 800;
}

.sgh-main .sgh-seo__inner h3,
.sgh-main .sgh-doc h3 {
	position: relative;
	margin: 26px 0 10px;
	padding-left: 30px;
	font-size: clamp(18px, 2.2vw, 20px);
}

/* H3: 3 vach chan troi */
.sgh-main .sgh-seo__inner h3::before,
.sgh-main .sgh-doc h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 20px;
	height: 13px;
	background: var(--sgh-horizon);
}

.sgh-table-wrap {
	overflow-x: auto;
	margin: 0 0 20px;
	border: 1px solid var(--sgh-border);
	border-radius: 16px;
	-webkit-overflow-scrolling: touch;
}

.sgh-table-wrap table,
.sgh-table {
	width: 100%;
	min-width: 520px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

.sgh-table-wrap th {
	padding: 12px 16px;
	border: 0;
	background: var(--sgh-ink);
	color: #fff;
	font-weight: 700;
	text-align: left;
}

.sgh-table-wrap td {
	padding: 11px 16px;
	border: 0;
	border-bottom: 1px solid var(--sgh-border);
	color: var(--sgh-text);
}

.sgh-table-wrap tr:last-child td {
	border-bottom: 0;
}

.sgh-table-wrap tbody tr:nth-child(even) td {
	background: #FBF7F3;
}

.sgh-seo__figure {
	max-width: 560px;
	margin: 28px auto 6px;
}

.sgh-seo__img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	box-shadow: var(--sgh-shadow-sm);
}

/* Collapse "Xem them / Thu gon" (class do JS them) */
.sgh-seo__inner.is-collapsed {
	position: relative;
	max-height: 620px;
	overflow: hidden;
}

.sgh-seo__inner.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 160px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 88%);
	pointer-events: none;
}

.sgh-seo__inner.is-animating {
	overflow: hidden;
	transition: max-height .6s ease;
}

.sgh-seo__toggle-wrap {
	display: none;
	justify-content: center;
	margin-top: 22px;
}

.sgh-seo.is-collapsible .sgh-seo__toggle-wrap {
	display: flex;
}

.sgh-seo__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 26px;
	border: 1.5px solid var(--sgh-primary);
	border-radius: var(--sgh-radius-btn);
	background: #fff;
	color: var(--sgh-primary);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.sgh-seo__toggle:hover,
.sgh-seo__toggle:focus {
	background: var(--sgh-bg-soft);
	color: var(--sgh-primary-dark);
}

.sgh-seo__toggle-icon {
	width: 9px;
	height: 9px;
	margin-top: -4px;
	border-right: 2.5px solid currentColor;
	border-bottom: 2.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .3s ease, margin .3s ease;
}

.sgh-seo__toggle[aria-expanded="true"] .sgh-seo__toggle-icon {
	margin-top: 4px;
	transform: rotate(-135deg);
}

/* ==========================================================================
   16. SUBPAGES: page hero, breadcrumbs, cac trang con, CTA band, 404
   ========================================================================== */
.sgh-page-hero {
	padding: 48px 0 52px;
	background:
		radial-gradient(440px 260px at 100% 0, rgba(232, 93, 4, .10), transparent 70%),
		linear-gradient(180deg, #FFF8F2 0%, #FFFFFF 100%);
	text-align: center;
}

.sgh-main h1.sgh-page-hero__title {
	max-width: 760px;
	margin: 0 auto 12px;
	font-size: clamp(1.3rem, 4.4vw, 2rem);
	line-height: 1.25;
	letter-spacing: -.01em;
}

.sgh-page-hero__desc {
	max-width: 62ch;
	margin: 0 auto;
	font-size: 16.5px;
	line-height: 1.7;
}

.sgh-breadcrumbs {
	margin-bottom: 14px;
}

.sgh-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	font-size: 14.5px;
}

.sgh-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.sgh-breadcrumbs__item + .sgh-breadcrumbs__item::before {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 2px solid var(--sgh-muted);
	border-right: 2px solid var(--sgh-muted);
	transform: rotate(45deg);
}

.sgh-body .sgh-breadcrumbs__link {
	color: var(--sgh-primary-dark);
	font-weight: 600;
	text-decoration: none;
}

.sgh-body .sgh-breadcrumbs__link:hover {
	text-decoration: underline;
}

.sgh-breadcrumbs__item--current {
	color: var(--sgh-text);
}

/* Gioi thieu / Lien he / Huong dan */
.sgh-about {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: start;
}

.sgh-main h2.sgh-about__title {
	margin: 0 0 14px;
	font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.sgh-about__text p {
	margin: 0 0 14px;
	font-size: 16.5px;
	line-height: 1.75;
}

.sgh-about__note {
	padding: 12px 16px;
	border-left: 4px solid var(--sgh-accent-1);
	border-radius: 0 12px 12px 0;
	background: #fff;
	font-size: 15px;
}

.sgh-perks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.sgh-perks__item {
	position: relative;
	padding: 24px 22px 20px;
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	background: #fff;
}

.sgh-perks__n {
	display: block;
	margin-bottom: 8px;
	color: var(--sgh-accent-1);
	font-size: 30px;
	font-style: italic;
	font-weight: 800;
	line-height: 1;
}

.sgh-main h3.sgh-perks__title {
	margin: 0 0 6px;
	font-size: 17px;
}

.sgh-perks__item p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.sgh-ticks {
	margin: 0 0 16px;
}

.sgh-ticks li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 32px;
	font-size: 16px;
	line-height: 1.6;
}

.sgh-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 20px;
	height: 13px;
	background: var(--sgh-horizon);
}

.sgh-contact {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.sgh-contact__card {
	padding: 24px 20px;
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	background: #fff;
	box-shadow: var(--sgh-shadow-sm);
	text-align: center;
}

.sgh-contact__icon {
	display: block;
	width: 52px;
	height: 52px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background-color: var(--sgh-bg-soft);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 24px 24px;
}

.sgh-contact__icon--phone {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C24300' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

.sgh-contact__icon--mail {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C24300' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}

.sgh-contact__icon--pin {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C24300' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-12a7 7 0 0 1 14 0c0 5.5-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
}

.sgh-contact__icon--clock {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C24300' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.sgh-contact__label {
	margin: 0 0 4px;
	color: var(--sgh-muted);
	font-size: 14px;
	font-weight: 700;
}

.sgh-contact__value {
	display: block;
	margin: 0;
	color: var(--sgh-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	overflow-wrap: anywhere;
}

/* Huong dan vay */
.sgh-guide {
	display: grid;
	gap: 14px;
}

.sgh-guide__step {
	display: grid;
	grid-template-columns: 58px 1fr auto;
	gap: 18px;
	align-items: start;
	padding: 20px 22px;
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	background: #fff;
	box-shadow: var(--sgh-shadow-sm);
}

.sgh-guide__step:last-child {
	border-color: #BFE0E2;
	background: #F0F8F8;
}

.sgh-guide__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 14px;
	background: var(--sgh-navy);
	color: #fff;
	font-size: 24px;
	font-style: italic;
	font-weight: 800;
}

.sgh-guide__step:last-child .sgh-guide__n {
	background: var(--sgh-water-deep);
}

.sgh-main h2.sgh-guide__title {
	margin: 4px 0 6px;
	font-size: 19px;
}

.sgh-guide__body p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
}

.sgh-guide__time {
	margin-top: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--sgh-bg-soft);
	color: var(--sgh-primary-dark);
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.sgh-guide__card {
	padding: 24px;
	border: 3px solid var(--sgh-ink);
	border-radius: 16px;
	background: #fff;
	box-shadow: 8px 8px 0 var(--sgh-accent-1);
}

.sgh-guide__card-k {
	margin: 0;
	color: var(--sgh-muted);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.sgh-guide__card-v {
	margin: 4px 0 12px;
	color: var(--sgh-ink);
	font-size: 22px;
	font-style: italic;
	font-weight: 800;
}

.sgh-guide__card-rows div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--sgh-border);
}

.sgh-guide__card-rows dd {
	color: var(--sgh-primary);
	font-weight: 800;
}

.sgh-guide__card-note {
	margin: 12px 0 0;
	color: var(--sgh-muted);
	font-size: 14px;
}

/* FAQ */
.sgh-faq {
	display: grid;
	gap: 12px;
}

.sgh-faq__item {
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	background: #fff;
	box-shadow: var(--sgh-shadow-sm);
}

.sgh-main h2.sgh-faq__q {
	margin: 0;
	font-size: 17px;
}

.sgh-faq__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 18px 22px;
	border: 0;
	border-radius: var(--sgh-radius);
	background: transparent;
	color: var(--sgh-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

.sgh-faq__btn:hover,
.sgh-faq__btn:focus {
	background: transparent;
	color: var(--sgh-primary);
}

.sgh-faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sgh-bg-soft);
}

.sgh-faq__icon::before,
.sgh-faq__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 2.5px;
	margin: -1.25px 0 0 -6px;
	border-radius: 2px;
	background: var(--sgh-primary);
	transition: transform .25s ease;
}

.sgh-faq__icon::after {
	transform: rotate(90deg);
}

.sgh-faq__btn[aria-expanded="true"] .sgh-faq__icon::after {
	transform: rotate(0);
}

.sgh-faq__panel {
	padding: 0 22px 18px;
}

.sgh-faq__panel p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
}

/* CTA band trang con: dai kem cat SANG + nua mat troi 3 vach (logo) + nut cam */
.sgh-section--cta {
	padding: 0 0 84px;
}

.sgh-section--soft + .sgh-section--cta,
.sgh-section--river + .sgh-section--cta {
	padding-top: 84px;
}

.sgh-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	overflow: hidden;
	padding: 38px 44px 38px 150px;
	border: 1.5px solid #F6D3B5;
	border-radius: var(--sgh-radius-lg);
	background:
		radial-gradient(360px 200px at 100% 0, rgba(255, 193, 90, .3), transparent 70%),
		linear-gradient(180deg, #FFF3E6 0%, #FFE6D0 100%);
	box-shadow: var(--sgh-shadow-md);
}

/* Nua mat troi + 3 vach chan troi */
.sgh-cta__sun {
	position: absolute;
	left: 34px;
	top: 50%;
	width: 88px;
	height: 76px;
	margin-top: -38px;
}

.sgh-cta__sun::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 0;
	width: 68px;
	height: 34px;
	border-radius: 68px 68px 0 0;
	background: linear-gradient(180deg, var(--sgh-accent-2), var(--sgh-primary-light));
}

.sgh-cta__sun i {
	position: absolute;
	left: 0;
	display: block;
	height: 7px;
	border-radius: 4px;
	background: var(--sgh-primary-light);
}

.sgh-cta__sun i:nth-child(1) {
	top: 42px;
	width: 88px;
}

.sgh-cta__sun i:nth-child(2) {
	top: 55px;
	left: 12px;
	width: 64px;
	background: var(--sgh-water-deep);
	opacity: .55;
}

.sgh-cta__sun i:nth-child(3) {
	top: 68px;
	left: 24px;
	width: 40px;
	background: var(--sgh-water);
}

.sgh-main h2.sgh-cta__title {
	margin: 0 0 6px;
	font-size: clamp(1.2rem, 2.6vw, 1.55rem);
}

.sgh-cta__desc {
	margin: 0;
	font-size: 16px;
}

.sgh-cta .sgh-btn {
	flex-shrink: 0;
}

/* 404 */
.sgh-404 {
	padding: 88px 0 104px;
	text-align: center;
}

.sgh-404__code {
	margin: 0 0 30px;
	color: var(--sgh-ink);
	font-size: clamp(92px, 20vw, 196px);
	font-style: italic;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	font-variant-numeric: tabular-nums;
}

@supports ((-webkit-text-stroke: 1px currentColor) and (paint-order: stroke)) {
	.sgh-404__code {
		color: var(--sgh-accent-1);
		-webkit-text-stroke: .055em var(--sgh-ink);
		paint-order: stroke fill;
		text-shadow: .035em .045em 0 rgba(0, 0, 0, .18);
	}
}

.sgh-main h1.sgh-404__title {
	max-width: 56ch;
	margin: 0 auto 30px;
	color: var(--sgh-text);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.6;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.sgh-footer {
	position: relative;
	padding: 70px 0 0;
	background: var(--sgh-ink);
	color: #BFD0D4;
	font-size: 15px;
	line-height: 1.65;
}

/* Dai 3 vach chan troi cam o dinh footer */
.sgh-footer__horizon {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	display: grid;
	gap: 4px;
}

.sgh-footer__horizon i {
	display: block;
	height: 4px;
	background: var(--sgh-primary-light);
}

.sgh-footer__horizon i:nth-child(2) {
	margin: 0 12%;
	opacity: .7;
}

.sgh-footer__horizon i:nth-child(3) {
	margin: 0 28%;
	background: var(--sgh-accent-2);
	opacity: .6;
}

.sgh-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr .8fr .9fr 1.3fr;
	gap: 36px;
}

.sgh-footer__logo-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	text-decoration: none;
}

.sgh-footer__logo-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 14px;
	background: #fff;
}

.sgh-footer__logo {
	display: block;
	width: auto;
	height: 38px;
}

.sgh-footer__desc,
.sgh-footer__legal {
	margin: 0 0 12px;
}

.sgh-footer__legal strong {
	color: #fff;
}

.sgh-footer__title {
	margin: 0 0 14px;
	color: var(--sgh-accent-2);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.sgh-footer__links li {
	margin-bottom: 9px;
}

.sgh-body .sgh-footer a {
	color: #F1F7F8;
	text-decoration: none;
}

.sgh-body .sgh-footer a:hover,
.sgh-body .sgh-footer a:focus {
	color: var(--sgh-accent-2);
	text-decoration: underline;
}

.sgh-footer__contact li {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}

.sgh-footer__label {
	color: #93AAB0;
	font-size: 13px;
	font-weight: 700;
}

.sgh-footer__contact a,
.sgh-footer__contact span:not(.sgh-footer__label) {
	overflow-wrap: anywhere;
}

.sgh-footer__bottom {
	margin-top: 40px;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.sgh-footer__copy {
	margin: 0;
	color: #93AAB0;
	font-size: 14px;
	text-align: center;
}

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */
@media (min-width: 1025px) {
	.sgh-stats {
		display: none;
	}
}

@media (max-width: 1100px) {
	.sgh-tickets {
		grid-template-columns: repeat(2, 1fr);
		max-width: 760px;
		margin: 0 auto;
	}
}

@media (max-width: 1024px) {
	.sgh-hero {
		padding: 40px 0 86px;
	}

	.sgh-hero__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.sgh-hero__visual {
		display: contents;
	}

	.sgh-main h1.sgh-hero__title {
		order: 1;
	}

	.sgh-hero__desc {
		order: 2;
		max-width: none;
	}

	.sgh-hero__content {
		order: 3;
		justify-content: center;
		margin-bottom: 28px;
	}

	.sgh-hero__art {
		order: 4;
		width: 100%;
		margin: 0 auto;
	}

	.sgh-calc {
		max-width: 560px;
	}

	.sgh-buoys {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 30px;
		max-width: 720px;
		margin: 0 auto;
	}

	.sgh-buoys::before {
		display: none;
	}

	.sgh-pier {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 18px;
	}

	.sgh-yard {
		grid-template-columns: repeat(2, 1fr);
	}

	.sgh-yard__beam {
		width: 60%;
	}

	.sgh-yard__cable,
	.sgh-yard__hook {
		right: 25%;
	}

	.sgh-contact {
		grid-template-columns: repeat(2, 1fr);
	}

	.sgh-perks {
		grid-template-columns: repeat(2, 1fr);
	}

	.sgh-footer__grid {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.sgh-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.sgh-ferry__grid,
	.sgh-printer__grid,
	.sgh-rules__grid,
	.sgh-about {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.sgh-ferry__stage,
	.sgh-plate {
		width: 100%;
		max-width: 620px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 768px) {
	.sgh-section {
		padding: 58px 0;
	}

	.sgh-section--flush-top {
		padding-top: 32px;
	}

	.sgh-section--cta {
		padding: 0 0 58px;
	}

	.sgh-section--soft + .sgh-section--cta,
	.sgh-section--river + .sgh-section--cta {
		padding-top: 58px;
	}

	.sgh-section__head {
		margin-bottom: 30px;
	}

	.sgh-hero__art {
		display: none;
	}

	/* Menu mobile off-canvas */
	.sgh-header__inner {
		min-height: 64px;
		gap: 12px;
	}

	.sgh-header__logo {
		height: 36px;
	}

	.sgh-header__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid var(--sgh-border);
		border-radius: 12px;
		background: #fff;
	}

	.sgh-header__toggle:hover,
	.sgh-header__toggle:focus {
		background: var(--sgh-bg-river);
	}

	.sgh-header__toggle-bar,
	.sgh-header__toggle-bar::before,
	.sgh-header__toggle-bar::after {
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 2px;
		background: var(--sgh-ink);
	}

	.sgh-header__toggle-bar {
		position: relative;
	}

	.sgh-header__toggle-bar::before,
	.sgh-header__toggle-bar::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.sgh-header__toggle-bar::before {
		top: -6px;
	}

	.sgh-header__toggle-bar::after {
		top: 6px;
	}

	.sgh-header__actions {
		margin-left: auto;
	}

	.sgh-header__cta {
		padding: 9px 16px;
		font-size: 15px;
	}

	.sgh-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1001;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: min(84vw, 340px);
		padding: 18px 20px 28px;
		overflow-y: auto;
		background: #fff;
		box-shadow: -20px 0 40px rgba(19, 50, 60, .2);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility 0s linear .3s;
	}

	.sgh-nav.is-open {
		transform: none;
		visibility: visible;
		transition: transform .3s ease, visibility 0s;
	}

	.sgh-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 14px;
		padding-bottom: 14px;
		border-bottom: 1px solid var(--sgh-border);
	}

	.sgh-nav__label {
		color: var(--sgh-muted);
		font-size: 14px;
		font-weight: 700;
		letter-spacing: .06em;
		text-transform: uppercase;
	}

	/* Nut dong: chi icon X (co aria-label) */
	.sgh-nav__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 0;
		border: 1px solid var(--sgh-border);
		border-radius: 50%;
		background: #fff;
		color: var(--sgh-ink);
		cursor: pointer;
	}

	.sgh-nav__close:hover,
	.sgh-nav__close:focus {
		background: var(--sgh-bg-river);
		color: var(--sgh-ink);
	}

	.sgh-nav__close-icon {
		position: relative;
		width: 16px;
		height: 16px;
	}

	.sgh-nav__close-icon::before,
	.sgh-nav__close-icon::after {
		content: "";
		position: absolute;
		left: 0;
		top: 7px;
		width: 16px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transform: rotate(45deg);
	}

	.sgh-nav__close-icon::after {
		transform: rotate(-45deg);
	}

	.sgh-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.sgh-nav__link {
		padding: 13px 16px;
		border-radius: 14px;
		font-size: 17px;
	}

	.sgh-nav__link--active::after {
		left: auto;
		right: 16px;
		top: 50%;
		bottom: auto;
		margin: -6px 0 0;
	}

	.sgh-nav__cta {
		display: inline-flex;
		margin-top: 18px;
	}

	.sgh-stats__list {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 6px;
	}

	.sgh-contact {
		grid-template-columns: 1fr 1fr;
	}

	.sgh-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 112px 26px 30px;
	}

	.sgh-cta__sun {
		left: 26px;
		top: 26px;
		margin-top: 0;
	}

	.sgh-tickets {
		grid-template-columns: 1fr;
		max-width: 480px;
	}

	.sgh-ferry__legs {
		margin: 22px 0 24px;
	}

	.sgh-printer__out {
		margin-left: 30px;
		margin-right: 30px;
	}

	/* Cau tau doc: song chay doc ben trai, coc ngang noi vao tung nhip */
	.sgh-pier {
		grid-template-columns: 1fr;
		gap: 14px;
		padding-left: 34px;
	}

	.sgh-pier::before {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 18px;
		border-radius: 9px;
		background: linear-gradient(90deg, var(--sgh-water) 0 6px, transparent 6px 9px, #BFE3E5 9px 13px, transparent 13px 15px, #D9EFF0 15px 18px);
	}

	.sgh-pier__piles {
		position: absolute;
		left: -30px;
		top: 50%;
		width: 34px;
		height: 12px;
		margin: -6px 0 0;
		border-radius: 3px;
		background: linear-gradient(#9A6A43, #7A5032);
	}

	.sgh-pier__water {
		display: none;
	}

	.sgh-yard {
		grid-template-columns: 1fr;
	}

	.sgh-box {
		min-height: 0;
	}

	.sgh-yard__beam {
		width: 70%;
	}

	.sgh-yard__cable,
	.sgh-yard__hook {
		right: 35%;
	}
}

@media (max-width: 600px) {
	.sgh-buoys {
		grid-template-columns: 1fr;
		max-width: 420px;
	}

	.sgh-ferry__stage {
		border-width: 4px;
		border-radius: 20px;
	}

	.sgh-ferry__chip {
		padding: 6px 10px;
		border-radius: 10px;
	}

	.sgh-ferry__tag {
		padding: 2px 7px;
	}

	.sgh-board,
	.sgh-plate {
		padding: 24px 18px 20px;
	}

	.sgh-plate__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.sgh-main .sgh-seo__inner h2::before,
	.sgh-main .sgh-doc h2::before {
		width: 40px;
		height: 40px;
		font-size: 13px;
	}

	.sgh-perks,
	.sgh-contact {
		grid-template-columns: 1fr;
	}

	.sgh-guide__step {
		grid-template-columns: 48px 1fr;
		gap: 14px;
		padding: 18px 16px;
	}

	.sgh-guide__n {
		width: 48px;
		height: 48px;
		font-size: 20px;
	}

	.sgh-guide__time {
		grid-column: 2;
		justify-self: start;
		margin-top: 0;
	}

	.sgh-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
	}

	.sgh-footer__col--contact {
		grid-column: 1 / -1;
	}
}

@media (max-width: 480px) {
	.sgh-calc {
		padding: 24px 18px 20px;
	}

	.sgh-calc__amount {
		font-size: 25px;
	}

	.sgh-header__logo {
		height: 32px;
	}

	.sgh-header__cta {
		padding: 8px 13px;
		font-size: 14px;
	}

	.sgh-ticket {
		grid-template-columns: 1fr 60px;
	}

	.sgh-printer__out {
		margin-left: 18px;
		margin-right: 18px;
	}

	.sgh-printer__machine {
		padding: 18px;
	}

	.sgh-printer__led {
		font-size: 11px;
		letter-spacing: .06em;
	}
}

/* ==========================================================================
   19. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}

	.sgh-ticket:hover,
	.sgh-ticket:hover .sgh-ticket__stub,
	.sgh-btn--primary:hover {
		transform: none;
	}
}
