/* ==========================================================================
   Suro Premia – theme styles
   Design tokens lấy từ Figma "canhosuropremia.vn – Thiết kế website".
   Layout (padding, gap, độ rộng cột) cấu hình trong Elementor; file này giữ
   typography, màu, component và responsive chi tiết theo class "sp-*".
   ========================================================================== */

:root {
	--sp-navy: #132f56;
	--sp-gold: #c9a961;
	--sp-blue: #3d92b8;
	--sp-sky: #a1d0e6;
	--sp-teal: #1a5878;
	--sp-cream: #f6f1e7;
	--sp-bg: #f8fafc;
	--sp-line: #e2e8f0;
	--sp-ink: #1e293b;
	--sp-muted: #64748b;
	--sp-white: #fff;

	--sp-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sp-sans: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--sp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--sp-ease-fade: cubic-bezier(0.22, 0.61, 0.36, 1);

	--sp-header-h: 88px;
	--sp-admin-bar: var(--wp-admin--admin-bar--height, 0px);
}

@media (max-width: 767px) {
	:root {
		--sp-header-h: 64px;
	}
}

/* Base ------------------------------------------------------------------- */

html {
	scroll-behavior: smooth;
}

body.sp-site {
	margin: 0;
	font-family: var(--sp-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--sp-ink);
	background: var(--sp-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.sp-site [id] {
	scroll-margin-top: calc(var(--sp-header-h) + var(--sp-admin-bar));
}

.sp-site a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.sp-site img {
	max-width: 100%;
	height: auto;
}

.sp-site p {
	margin: 0 0 1em;
}

.sp-site p:last-child {
	margin-bottom: 0;
}

.sp-site .sp-icon {
	display: block;
	flex: none;
}

.sp-site :focus-visible {
	outline: 2px solid var(--sp-gold);
	outline-offset: 2px;
}

/* Header ----------------------------------------------------------------- */

.sp-header {
	position: sticky;
	top: var(--sp-admin-bar);
	z-index: 100;
	background: var(--sp-white);
	border-bottom: 1px solid var(--sp-line);
	animation: sp-header-in 0.85s var(--sp-ease-out) 0.15s both;
}

.sp-header__inner {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1440px;
	height: var(--sp-header-h);
	margin: 0 auto;
	padding: 0 80px;
}

.sp-header__logo {
	display: block;
	flex: none;
	width: 112px;
	height: 52px;
}

.sp-header__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sp-nav__list,
.sp-drawer__list,
.sp-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sp-nav__list {
	display: flex;
	align-items: center;
	gap: 36px;
}

.sp-nav__list a {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--sp-ink);
}

.sp-nav__list a:hover,
.sp-nav__list .current-menu-item > a,
.sp-nav__list .current_page_item > a {
	color: var(--sp-gold);
}

.sp-header__hotline {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 2px;
	background: var(--sp-navy);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
	color: var(--sp-white) !important;
}

.sp-header__hotline:hover {
	background: var(--sp-teal);
}

.sp-header__mobile {
	display: none;
	align-items: center;
	gap: 12px;
}

.sp-header__call {
	display: flex;
	padding: 8px;
	border-radius: 20px;
	background: var(--sp-navy);
}

.sp-header__toggle,
.sp-header__toggle:hover,
.sp-header__toggle:focus {
	display: flex;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.sp-drawer {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	max-height: calc(100vh - var(--sp-header-h));
	overflow-y: auto;
	padding: 8px 20px 24px;
	background: var(--sp-white);
	border-bottom: 1px solid var(--sp-line);
	box-shadow: 0 16px 32px rgba(19, 47, 86, 0.12);
}

.sp-drawer[hidden] {
	display: none;
}

.sp-drawer__list a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--sp-line);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sp-ink);
}

.sp-drawer__list .current-menu-item > a {
	color: var(--sp-gold);
}

.sp-drawer__hotline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
	padding: 14px 20px;
	border-radius: 2px;
	background: var(--sp-navy);
	font-weight: 700;
	color: var(--sp-white) !important;
}

@media (max-width: 1180px) {
	.sp-header__inner {
		padding: 0 40px;
	}

	.sp-nav,
	.sp-header__hotline {
		display: none;
	}

	.sp-header__mobile {
		display: flex;
	}
}

@media (max-width: 767px) {
	.sp-header__inner {
		padding: 0 16px;
	}

	.sp-header__logo {
		width: 82px;
		height: 38px;
	}
}

/* Footer ----------------------------------------------------------------- */

.sp-footer {
	background: var(--sp-navy);
	color: var(--sp-white);
}

.sp-footer__inner {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 48px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 72px 80px 28px;
}

.sp-footer__columns {
	display: flex;
	align-items: flex-start;
	gap: 64px;
}

.sp-footer__brand {
	display: flex;
	flex-direction: column;
	flex: none;
	gap: 16px;
	width: 400px;
}

.sp-footer__name {
	margin: 0;
	font-family: var(--sp-serif);
	font-size: 28px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.12em;
	white-space: nowrap;
}

.sp-site .sp-footer__about {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--sp-sky);
}

.sp-footer__links {
	display: flex;
	gap: 64px;
}

.sp-footer__col,
.sp-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sp-footer__contact {
	flex: 1 0 0;
	gap: 14px;
	min-width: 0;
}

.sp-site .sp-footer__title {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--sp-gold);
}

.sp-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sp-footer__menu a,
.sp-footer__contact-item {
	font-size: 14px;
	line-height: normal;
	color: var(--sp-white);
}

.sp-footer__menu a:hover,
a.sp-footer__contact-item:hover {
	color: var(--sp-gold);
}

.sp-site .sp-footer__contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.sp-footer__socials {
	display: flex;
	gap: 10px;
	padding-top: 6px;
}

.sp-footer__social {
	display: flex;
	padding: 8px;
	border: 1px solid var(--sp-sky);
	border-radius: 20px;
}

.sp-footer__social:hover {
	border-color: var(--sp-gold);
	background: rgba(201, 169, 97, 0.12);
}

.sp-footer__divider {
	height: 1px;
	background: var(--sp-teal);
}

.sp-footer__copyright {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 12px;
	color: var(--sp-sky);
}

.sp-site .sp-footer__copyright p {
	margin: 0;
}

@media (max-width: 1180px) {
	.sp-footer__inner {
		padding: 64px 40px 28px;
	}

	.sp-footer__columns {
		flex-wrap: wrap;
		gap: 40px 64px;
	}

	.sp-footer__brand {
		width: 100%;
		max-width: 520px;
	}
}

@media (max-width: 767px) {
	.sp-footer__inner {
		gap: 32px;
		padding: 48px 20px 24px;
	}

	.sp-footer__columns {
		flex-direction: column;
		gap: 32px;
	}

	.sp-footer__brand {
		width: 100%;
	}

	.sp-footer__links {
		gap: 48px;
	}

	.sp-footer__contact {
		width: 100%;
	}

	.sp-footer__copyright {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}
}

/* Zalo: icon trong footer ---------------------------------------------------------- */

.sp-footer__social--zalo,
.sp-footer__social--zalo:hover {
	padding: 0;
	border: 0;
	background: none;
}

.sp-footer__social--zalo:hover {
	opacity: 0.85;
}

/* Cụm liên hệ nổi: Gọi – Zalo – Bảng giá (desktop/tablet) ---------------------- */

.sp-fab {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 98;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
}

.sp-fab__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 2px solid var(--sp-navy);
	border-radius: 50%;
	background: var(--sp-white);
	color: var(--sp-navy);
	box-shadow: 0 10px 24px rgba(19, 47, 86, 0.22);
	animation: sp-fab-in 0.6s var(--sp-ease-out) both;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--sp-ease-out);
}

.sp-fab__btn:nth-child(1) { animation-delay: 1.4s; }
.sp-fab__btn:nth-child(2) { animation-delay: 1.5s; }
.sp-fab__btn:nth-child(3) { animation-delay: 1.6s; }

.sp-fab__btn:hover,
.sp-fab__btn:focus-visible {
	background: var(--sp-navy);
	color: var(--sp-white);
	transform: scale(1.06);
}

/* Icon dùng mask để đổi màu theo trạng thái (navy -> trắng khi hover). */
.sp-fab__icon {
	width: 24px;
	height: 24px;
	background-color: currentColor;
	-webkit-mask: var(--sp-fab-icon) center / contain no-repeat;
	mask: var(--sp-fab-icon) center / contain no-repeat;
}

.sp-fab__icon--phone {
	--sp-fab-icon: url("../icons/phone-navy.svg");
}

.sp-fab__icon--file {
	--sp-fab-icon: url("../icons/file-text-navy.svg");
}

/* Vòng sóng nhấp nháy quanh nút Gọi */
.sp-fab__btn--call::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	border: 2px solid var(--sp-navy);
	animation: sp-fab-pulse 2.4s ease-out 2.2s infinite;
	pointer-events: none;
}

.sp-fab__btn--zalo {
	border-color: #0068ff;
	background: transparent;
	overflow: visible;
}

.sp-fab__btn--zalo .sp-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
}

.sp-fab__btn--zalo:hover,
.sp-fab__btn--zalo:focus-visible {
	background: transparent;
}

.sp-fab__btn--price {
	border-color: var(--sp-gold);
	background: var(--sp-gold);
	color: var(--sp-navy);
}

.sp-fab__btn--price:hover,
.sp-fab__btn--price:focus-visible {
	border-color: var(--sp-navy);
	background: var(--sp-navy);
	color: var(--sp-gold);
}

/* Nhãn hiện bên trái khi hover */
.sp-fab__label {
	position: absolute;
	top: 50%;
	right: calc(100% + 14px);
	padding: 11px 18px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 2px;
	background: var(--sp-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--sp-white);
	box-shadow: 0 8px 20px rgba(19, 47, 86, 0.25);
	opacity: 0;
	transform: translate(8px, -50%);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.25s var(--sp-ease-out);
}

.sp-fab__btn--zalo .sp-fab__label {
	background: #0068ff;
}

.sp-fab__btn--price .sp-fab__label {
	background: var(--sp-gold);
	color: var(--sp-navy);
}

.sp-fab__btn:hover .sp-fab__label,
.sp-fab__btn:focus-visible .sp-fab__label {
	opacity: 1;
	transform: translate(0, -50%);
}

@keyframes sp-fab-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.85);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sp-fab-pulse {
	0% {
		opacity: 0.8;
		transform: scale(1);
	}
	70%,
	100% {
		opacity: 0;
		transform: scale(1.5);
	}
}

@media (max-width: 767px) {
	/* Mobile đã có thanh CTA cố định với đủ 3 nút. */
	.sp-fab {
		display: none;
	}
}

/* Popup form nhận bảng giá -------------------------------------------------- */

.sp-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.sp-modal[hidden] {
	display: none;
}

.sp-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(19, 47, 86, 0.72);
	backdrop-filter: blur(2px);
	animation: sp-modal-fade 0.3s ease both;
}

.sp-modal__panel {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 40px;
	border-radius: 4px;
	background: var(--sp-white);
	box-shadow: 0 30px 80px rgba(19, 47, 86, 0.35);
	animation: sp-modal-in 0.45s var(--sp-ease-out) both;
}

.sp-site .sp-modal__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sp-blue);
}

.sp-modal__eyebrow::before {
	content: "";
	width: 32px;
	height: 1.5px;
	background: var(--sp-gold);
}

.sp-site .sp-modal__title {
	margin: 0 0 8px;
	padding-right: 24px;
	font-family: var(--sp-serif);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--sp-navy);
}

.sp-site .sp-modal__desc {
	margin: 0 0 22px;
	font-size: 14px;
	color: var(--sp-muted);
}

.sp-site .sp-modal__close,
.sp-site .sp-modal__close:hover,
.sp-site .sp-modal__close:focus {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: var(--sp-muted);
	cursor: pointer;
}

.sp-site .sp-modal__close:hover {
	background: var(--sp-bg);
	color: var(--sp-navy);
}

body.sp-modal-open {
	overflow: hidden;
}

@keyframes sp-modal-fade {
	from {
		opacity: 0;
	}
}

@keyframes sp-modal-in {
	from {
		opacity: 0;
		transform: translateY(24px) scale(0.98);
	}
}

@media (max-width: 767px) {
	.sp-modal {
		align-items: flex-end;
		padding: 0;
	}

	.sp-modal__panel {
		max-width: none;
		max-height: 92vh;
		padding: 32px 20px calc(24px + env(safe-area-inset-bottom));
		border-radius: 12px 12px 0 0;
	}

	.sp-site .sp-modal__title {
		font-size: 26px;
	}

	/* Trong popup giữ đủ trường email + ghi chú bảo mật. */
	.sp-site .sp-modal .sp-lead-form__field--email,
	.sp-site .sp-modal .sp-lead-form__note {
		display: block;
	}
}

/* Mobile CTA bar ----------------------------------------------------------- */

.sp-mobile-cta {
	display: none;
}

@media (max-width: 767px) {
	body.sp-site {
		padding-bottom: 64px;
	}

	.sp-mobile-cta {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99;
		display: flex;
		height: 64px;
		background: var(--sp-white);
		border-top: 1px solid var(--sp-line);
		padding-bottom: env(safe-area-inset-bottom);
	}

	.sp-mobile-cta__item {
		display: flex;
		flex: 1 0 0;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		font-size: 12px;
		font-weight: 600;
		color: var(--sp-navy);
	}

	.sp-mobile-cta__item--gold {
		background: var(--sp-gold);
	}
}

/* ==========================================================================
   Elementor content components
   ========================================================================== */

/* Container ôm theo nội dung (không kéo giãn 100%) */
.sp-site .e-con.sp-auto {
	--width: auto;
}

/* Eyebrow: gạch vàng + nhãn chữ hoa -------------------------------------- */

.sp-site .sp-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--sp-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sp-blue);
}

.sp-site .sp-eyebrow .elementor-heading-title::before {
	content: "";
	flex: none;
	width: 32px;
	height: 1.5px;
	background: var(--sp-gold);
}

.sp-site .sp-eyebrow--gold .elementor-heading-title {
	color: var(--sp-gold);
}

.sp-site .sp-eyebrow--center {
	text-align: center;
}

/* Headings ---------------------------------------------------------------- */

.sp-site .sp-display .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 80px;
	font-weight: 400;
	line-height: 1.05;
	color: var(--sp-white);
}

.sp-site .sp-display--banner .elementor-heading-title {
	font-size: 64px;
	line-height: 1.1;
}

.sp-site .sp-h2 .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 48px;
	font-weight: 400;
	line-height: 1.18;
	color: var(--sp-navy);
}

.sp-site .sp-h2--light .elementor-heading-title {
	color: var(--sp-white);
}

.sp-site .sp-h2--sm .elementor-heading-title {
	font-size: 40px;
	line-height: normal;
}

.sp-site .sp-title-serif .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: normal;
	color: var(--sp-navy);
}

.sp-site .sp-title-card .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--sp-navy);
}

.sp-site .sp-title-product .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 32px;
	font-weight: 400;
	line-height: normal;
	color: var(--sp-navy);
}

.sp-site .sp-title-form .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 28px;
	font-weight: 600;
	line-height: normal;
	color: var(--sp-navy);
}

.sp-site .sp-title-cta .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--sp-white);
}

.sp-site .sp-kicker .elementor-heading-title {
	font-family: var(--sp-sans);
	font-size: 12px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sp-blue);
}

/* Body text --------------------------------------------------------------- */

.sp-site .sp-lead,
.sp-site .sp-lead p {
	font-size: 18px;
	line-height: 1.65;
	color: var(--sp-white);
}

.sp-site .sp-body,
.sp-site .sp-body p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--sp-muted);
}

.sp-site .sp-body--sky,
.sp-site .sp-body--sky p {
	color: var(--sp-sky);
}

.sp-site .sp-small,
.sp-site .sp-small p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--sp-muted);
}

.sp-site .sp-small--sky,
.sp-site .sp-small--sky p {
	color: var(--sp-sky);
}

.sp-site .sp-note,
.sp-site .sp-note p {
	font-size: 14px;
	line-height: normal;
	color: var(--sp-muted);
}

.sp-site .sp-center,
.sp-site .sp-center p,
.sp-site .sp-center .elementor-heading-title {
	text-align: center;
}

/* Buttons ----------------------------------------------------------------- */

.sp-site .sp-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 28px;
	border: 1px solid transparent;
	border-radius: 2px;
	background: var(--sp-gold);
	font-family: var(--sp-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sp-navy);
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.sp-site .sp-btn .elementor-button:hover {
	background: #b8964c;
	color: var(--sp-navy);
}

.sp-site .sp-btn--navy .elementor-button {
	background: var(--sp-navy);
	color: var(--sp-white);
}

.sp-site .sp-btn--navy .elementor-button:hover {
	background: var(--sp-teal);
	color: var(--sp-white);
}

.sp-site .sp-btn--outline .elementor-button {
	border-color: var(--sp-navy);
	background: var(--sp-white);
	color: var(--sp-navy);
}

.sp-site .sp-btn--outline .elementor-button:hover {
	background: var(--sp-navy);
	color: var(--sp-white);
}

/* Icon mũi tên dùng đúng file SVG từ Figma, tô theo màu chữ của nút. */
.sp-site .sp-btn--arrow .elementor-button-text::after,
.sp-site .sp-link-arrow .elementor-button-text::after,
.sp-site .sp-lead-form__submit span::after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 10px;
	vertical-align: -4px;
	background-color: currentColor;
	-webkit-mask: url("../icons/arrow-right.svg") center / 18px 18px no-repeat;
	mask: url("../icons/arrow-right.svg") center / 18px 18px no-repeat;
	transition: transform 0.25s var(--sp-ease-out);
}

.sp-site .sp-btn--arrow .elementor-button:hover .elementor-button-text::after,
.sp-site .sp-link-arrow .elementor-button:hover .elementor-button-text::after {
	transform: translateX(4px);
}

.sp-site .sp-btn--block .elementor-button {
	width: 100%;
}

/* "Xem chi tiết →" dạng link */
.sp-site .sp-link-arrow .elementor-button {
	display: inline-flex;
	align-items: center;
	padding: 4px 0 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-family: var(--sp-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sp-navy);
}

.sp-site .sp-link-arrow .elementor-button:hover {
	background: none;
	color: var(--sp-gold);
}

.sp-site .sp-link-arrow .elementor-button-text::after {
	margin-left: 8px;
	background-color: var(--sp-gold);
}

/* Hero / banner ------------------------------------------------------------ */

.sp-site .sp-hero {
	overflow: hidden;
	isolation: isolate;
}

.sp-site .sp-hero__bg,
.sp-site .sp-section-bg {
	position: absolute !important;
	inset: 0;
	z-index: -2;
	width: 100% !important;
	height: 100%;
	margin: 0 !important;
}

.sp-site .sp-hero__bg > .elementor-widget-container,
.sp-site .sp-hero__bg img,
.sp-site .sp-section-bg > .elementor-widget-container,
.sp-site .sp-section-bg img {
	width: 100%;
	height: 100%;
}

.sp-site .sp-hero__bg img,
.sp-site .sp-section-bg img {
	display: block;
	object-fit: cover;
}

.sp-site .sp-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(19, 47, 86, 0.92) 0%, rgba(19, 47, 86, 0.55) 55%, rgba(19, 47, 86, 0.05) 100%);
}

.sp-site .sp-hero--banner::after {
	background: linear-gradient(180deg, rgba(19, 47, 86, 0.9) 0%, rgba(19, 47, 86, 0.15) 100%);
}

.sp-site .sp-breadcrumb .elementor-heading-title {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--sp-sans);
	font-size: 13px;
	font-weight: 400;
	line-height: normal;
	color: var(--sp-sky);
}

.sp-site .sp-breadcrumb a:hover {
	color: var(--sp-white);
}

.sp-site .sp-breadcrumb strong {
	font-weight: 600;
	color: var(--sp-gold);
}

/* Stats (dải số liệu navy) ------------------------------------------------- */

.sp-site .sp-stat-num .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 48px;
	font-weight: 400;
	line-height: normal;
	white-space: nowrap;
	color: var(--sp-gold);
}

.sp-site .sp-stat-num--sm .elementor-heading-title {
	font-size: 40px;
}

.sp-site .sp-stat-unit .elementor-heading-title {
	font-family: var(--sp-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	white-space: nowrap;
	color: var(--sp-white);
}

.sp-site .sp-stat-label .elementor-heading-title {
	font-family: var(--sp-sans);
	font-size: 13px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--sp-sky);
}

.sp-site .sp-stat-label--white .elementor-heading-title {
	color: var(--sp-white);
}

/* Bảng thông tin dự án ------------------------------------------------------ */

.sp-site .sp-info-row {
	border-bottom: 1px solid var(--sp-line);
}

.sp-site .sp-info-key .elementor-heading-title,
.sp-site .sp-info-val .elementor-heading-title {
	font-family: var(--sp-sans);
	font-size: 14px;
	line-height: normal;
}

.sp-site .sp-info-key .elementor-heading-title {
	font-weight: 600;
	color: var(--sp-navy);
}

.sp-site .sp-info-val .elementor-heading-title {
	font-weight: 400;
	color: var(--sp-ink);
}

/* Khoảng cách di chuyển (Vị trí) --------------------------------------------- */

.sp-site .sp-dist-row {
	border-bottom: 1px solid var(--sp-gold);
}

.sp-site .sp-dist-num .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 32px;
	font-weight: 400;
	line-height: normal;
	color: var(--sp-gold);
}

.sp-site .sp-dist-text .elementor-heading-title {
	font-family: var(--sp-sans);
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
	color: var(--sp-navy);
}

/* Icon badge + card ------------------------------------------------------------ */

.sp-site .sp-badge {
	border-radius: 999px;
	background: var(--sp-cream);
}

.sp-site .sp-badge--ring {
	border: 1px solid var(--sp-gold);
	background: transparent;
}

.sp-site .sp-badge img,
.sp-site .sp-icon-img img {
	display: block;
}

.sp-site .sp-feature {
	border: 1px solid var(--sp-line);
	border-radius: 4px;
}

.sp-site .sp-amenity {
	overflow: hidden;
	border: 1px solid var(--sp-line);
	border-radius: 4px;
	background: var(--sp-white);
	transition: box-shadow 0.35s ease, transform 0.35s var(--sp-ease-out);
}

.sp-site .sp-amenity:hover {
	box-shadow: 0 18px 40px rgba(19, 47, 86, 0.1);
	transform: translateY(-4px);
}

.sp-site .sp-amenity__img img,
.sp-site .sp-zoom img {
	transition: transform 0.8s var(--sp-ease-out);
}

.sp-site .sp-amenity:hover .sp-amenity__img img,
.sp-site .sp-zoom:hover img {
	transform: scale(1.04);
}

.sp-site .sp-zoom {
	overflow: hidden;
	border-radius: 4px;
}

.sp-site .sp-metric-num .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 36px;
	font-weight: 400;
	line-height: normal;
	white-space: nowrap;
	color: var(--sp-gold);
}

.sp-site .sp-metric-label .elementor-heading-title {
	font-family: var(--sp-sans);
	font-size: 12px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--sp-muted);
}

.sp-site .sp-card-text,
.sp-site .sp-card-text p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--sp-muted);
}

.sp-site .sp-cta-card {
	border-radius: 4px;
	background: var(--sp-navy);
}

/* Danh sách icon + chữ ------------------------------------------------------- */

.sp-site .sp-check-text .elementor-heading-title {
	font-family: var(--sp-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	color: var(--sp-white);
}

.sp-site .sp-icon-text .elementor-heading-title {
	font-family: var(--sp-sans);
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
	color: var(--sp-navy);
}

/* 3 chuẩn sống ------------------------------------------------------------------ */

.sp-site .sp-pillar {
	border-top: 1px solid var(--sp-line);
}

.sp-site .sp-pillar-num .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 40px;
	font-weight: 400;
	line-height: normal;
	color: var(--sp-gold);
}

.sp-site .sp-pillar-title .elementor-heading-title {
	font-family: var(--sp-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: normal;
	color: var(--sp-navy);
}

/* Grid 3 cột cho thẻ tiện ích (dùng flex-wrap của container) ------------------- */

.sp-site .sp-grid-3 > .e-con,
.sp-site .sp-grid-3 > .e-con-inner > .e-con {
	--width: calc((100% - 48px) / 3);
	width: var(--width);
}

/* Đăng ký nhận bảng giá --------------------------------------------------------- */

.sp-site .sp-register {
	overflow: hidden;
	isolation: isolate;
}

.sp-site .sp-register::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(19, 47, 86, 0.92);
	pointer-events: none;
}

.sp-site .sp-form-card {
	border-radius: 4px;
	background: var(--sp-white);
}

/* Form đăng ký (shortcode [suro_lead_form]) ------------------------------------ */

.sp-lead-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin: 0;
}

.sp-lead-form__field {
	position: relative;
}

.sp-lead-form__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.sp-site .sp-lead-form input[type="text"],
.sp-site .sp-lead-form input[type="tel"],
.sp-site .sp-lead-form input[type="email"],
.sp-site .sp-lead-form select {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 15px 16px;
	border: 1px solid var(--sp-line);
	border-radius: 2px;
	background: var(--sp-white);
	font-family: var(--sp-sans);
	font-size: 14px;
	line-height: normal;
	color: var(--sp-ink);
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-site .sp-lead-form select {
	padding-right: 40px;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--sp-muted) 50%), linear-gradient(135deg, var(--sp-muted) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	color: var(--sp-muted);
}

.sp-site .sp-lead-form select.is-filled {
	color: var(--sp-ink);
}

.sp-site .sp-lead-form ::placeholder {
	color: var(--sp-muted);
	opacity: 1;
}

.sp-site .sp-lead-form input:focus,
.sp-site .sp-lead-form select:focus {
	border-color: var(--sp-gold);
	outline: none;
	box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

.sp-site .sp-lead-form [aria-invalid="true"] {
	border-color: #dc2626;
}

.sp-site .sp-lead-form__submit,
.sp-site .sp-lead-form__submit:hover,
.sp-site .sp-lead-form__submit:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 15px 28px;
	border: 0;
	border-radius: 2px;
	background: var(--sp-gold);
	font-family: var(--sp-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sp-navy);
	cursor: pointer;
}

.sp-site .sp-lead-form__submit:hover {
	background: #b8964c;
}

.sp-site .sp-lead-form__submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.sp-site .sp-lead-form__note {
	margin: 0;
	font-size: 12px;
	line-height: normal;
	color: var(--sp-muted);
}

.sp-site .sp-lead-form__note a {
	text-decoration: underline;
}

.sp-lead-form__hp {
	position: absolute !important;
	left: -9999px !important;
}

.sp-site .sp-lead-form__message {
	margin: 0;
	padding: 12px 14px;
	border-radius: 2px;
	font-size: 14px;
	line-height: 1.5;
}

.sp-lead-form__message[hidden] {
	display: none;
}

.sp-lead-form__message.is-success {
	background: #ecfdf5;
	color: #065f46;
}

.sp-lead-form__message.is-error {
	background: #fef2f2;
	color: #991b1b;
}

/* ==========================================================================
   Motion – hero tuần tự khi tải trang, các khối khác hiện dần khi cuộn
   (thông số từ timeline Figma: fade 0.72s, trượt 32px, ease-out-expo).
   ========================================================================== */

@keyframes sp-header-in {
	from {
		opacity: 0;
		transform: translateY(-24px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sp-fade-up {
	from {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sp-hero-zoom {
	from {
		opacity: 0;
		transform: scale(1.18);
	}
	18% {
		opacity: 1;
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sp-line-grow {
	from {
		width: 0;
	}
	to {
		width: 32px;
	}
}

@keyframes sp-word-in {
	from {
		opacity: 0;
		filter: blur(14px);
		transform: translate3d(0, 44px, 0);
	}
	to {
		opacity: 1;
		filter: blur(0);
		transform: none;
	}
}

.sp-site .sp-hero .sp-hero__bg img {
	animation: sp-hero-zoom 3.2s ease both;
}

.sp-site .sp-hero .sp-anim-1 {
	animation: sp-fade-up 1s var(--sp-ease-out) 0.55s both;
}

.sp-site .sp-hero .sp-anim-1 .elementor-heading-title::before {
	animation: sp-line-grow 1s var(--sp-ease-out) 0.55s both;
}

.sp-site .sp-hero .sp-anim-3 {
	animation: sp-fade-up 1s var(--sp-ease-out) 1.15s both;
}

.sp-site .sp-hero .sp-anim-4 {
	animation: sp-fade-up 1s var(--sp-ease-out) 1.3s both;
}

.sp-site .sp-hero .sp-anim-4 ~ .sp-anim-4 {
	animation-delay: 1.38s;
}

.sp-split-word {
	display: inline-block;
	animation: sp-word-in 0.9s var(--sp-ease-out) both;
	animation-delay: calc(0.7s + var(--sp-i, 0) * 0.142s);
	will-change: transform, filter, opacity;
}

/* Elementor Entrance Animation: giữ tên hiệu ứng trong editor, tinh chỉnh nhịp theo Figma. */
.sp-site .elementor-element.animated.fadeInUp {
	animation-name: sp-fade-up;
	animation-duration: 0.95s;
	animation-timing-function: var(--sp-ease-out);
}

@keyframes sp-zoom-in {
	from {
		opacity: 0;
		transform: scale(1.08);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.sp-site .elementor-element.animated.zoomIn {
	animation-name: sp-zoom-in;
	animation-duration: 1.4s;
	animation-timing-function: var(--sp-ease-out);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.sp-header,
	.sp-fab__btn,
	.sp-fab__btn--call::before,
	.sp-modal__overlay,
	.sp-modal__panel,
	.sp-site .sp-hero .sp-hero__bg img,
	.sp-site .sp-hero [class*="sp-anim-"],
	.sp-site .sp-hero .sp-anim-1 .elementor-heading-title::before,
	.sp-split-word,
	.sp-site .elementor-element.animated {
		animation: none !important;
	}

	.sp-site .elementor-invisible {
		visibility: visible !important;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.sp-site .sp-display .elementor-heading-title {
		font-size: 60px;
	}

	.sp-site .sp-display--banner .elementor-heading-title {
		font-size: 52px;
	}

	.sp-site .sp-h2 .elementor-heading-title {
		font-size: 40px;
	}

	.sp-site .sp-stat-num .elementor-heading-title {
		font-size: 40px;
	}

	.sp-site .sp-grid-3 > .e-con,
	.sp-site .sp-grid-3 > .e-con-inner > .e-con {
		--width: calc((100% - 20px) / 2);
	}
}

@media (max-width: 767px) {
	.sp-site .sp-eyebrow .elementor-heading-title {
		gap: 10px;
		font-size: 12px;
		letter-spacing: 0.16em;
	}

	.sp-site .sp-eyebrow .elementor-heading-title::before {
		width: 24px;
	}

	@keyframes sp-line-grow {
		from {
			width: 0;
		}
		to {
			width: 24px;
		}
	}

	.sp-site .sp-display .elementor-heading-title {
		font-size: 44px;
		line-height: 1.08;
	}

	.sp-site .sp-display--banner .elementor-heading-title {
		font-size: 36px;
		line-height: 1.12;
	}

	.sp-site .sp-h2 .elementor-heading-title {
		font-size: 32px;
		line-height: 1.2;
	}

	.sp-site .sp-h2--sm .elementor-heading-title {
		font-size: 28px;
		line-height: normal;
	}

	.sp-site .sp-h2--form .elementor-heading-title {
		font-size: 28px;
	}

	.sp-site .sp-lead,
	.sp-site .sp-lead p {
		font-size: 15px;
		line-height: 1.6;
	}

	.sp-site .sp-lead--banner,
	.sp-site .sp-lead--banner p {
		font-size: 14px;
	}

	.sp-site .sp-body,
	.sp-site .sp-body p,
	.sp-site .sp-small,
	.sp-site .sp-small p {
		font-size: 15px;
	}

	.sp-site .sp-body--mobile-sm,
	.sp-site .sp-body--mobile-sm p {
		font-size: 14px;
		line-height: 1.6;
	}

	.sp-site .sp-breadcrumb .elementor-heading-title {
		gap: 6px;
		font-size: 12px;
	}

	.sp-site .sp-hero::after {
		background: linear-gradient(180deg, rgba(19, 47, 86, 0) 0%, rgba(19, 47, 86, 0.55) 40%, rgba(19, 47, 86, 0.98) 100%), rgba(19, 47, 86, 0.25);
	}

	.sp-site .sp-hero--banner::after {
		background: linear-gradient(180deg, rgba(19, 47, 86, 0) 0%, rgba(19, 47, 86, 0.55) 40%, rgba(19, 47, 86, 0.98) 100%), rgba(19, 47, 86, 0.3);
	}

	.sp-site .e-con.sp-stat {
		--width: calc(50% - 8px);
	}

	.sp-site .sp-btn--block-mobile {
		width: 100%;
	}

	.sp-site .sp-btn--block-mobile .elementor-button {
		width: 100%;
	}

	.sp-site .sp-stat-num .elementor-heading-title {
		font-size: 36px;
	}

	.sp-site .sp-stat-unit .elementor-heading-title {
		font-size: 14px;
	}

	.sp-site .sp-stat-label .elementor-heading-title {
		font-size: 12px;
	}

	.sp-site .sp-info-key .elementor-heading-title,
	.sp-site .sp-info-val .elementor-heading-title {
		font-size: 13px;
	}

	.sp-site .sp-dist-row {
		padding-top: 0 !important;
	}

	.sp-site .sp-dist-num .elementor-heading-title {
		font-size: 26px;
	}

	.sp-site .sp-dist-text .elementor-heading-title {
		font-size: 14px;
	}

	/* Thẻ đặc điểm thiết kế -> dòng icon + chữ trên mobile */
	.sp-site .sp-feature {
		border: 0;
		border-radius: 0;
	}

	.sp-site .sp-feature .sp-badge {
		padding: 10px !important;
	}

	.sp-site .sp-feature .sp-badge img {
		width: 20px;
		height: 20px;
	}

	.sp-site .sp-title-serif .elementor-heading-title {
		font-size: 18px;
	}

	.sp-site .sp-feature .sp-small,
	.sp-site .sp-feature .sp-small p {
		font-size: 14px;
		line-height: 1.55;
	}

	.sp-site .sp-title-product .elementor-heading-title {
		font-size: 24px;
	}

	.sp-site .sp-grid-3 > .e-con,
	.sp-site .sp-grid-3 > .e-con-inner > .e-con {
		--width: 100%;
	}

	.sp-site .sp-pillar-num .elementor-heading-title {
		font-size: 28px;
	}

	.sp-site .sp-pillar-title .elementor-heading-title {
		font-size: 19px;
	}

	.sp-site .sp-pillar .sp-icon-img img {
		width: 18px;
		height: 18px;
	}

	.sp-site .sp-pillar .sp-small,
	.sp-site .sp-pillar .sp-small p {
		font-size: 14px;
		line-height: 1.6;
	}

	.sp-site .sp-icon-text .elementor-heading-title {
		font-size: 14px;
	}

	.sp-site .sp-highlight .sp-icon-img img {
		width: 20px;
		height: 20px;
	}

	/* Đăng ký: nền kem, form không khung trên mobile */
	.sp-site .sp-register {
		background: var(--sp-cream);
	}

	.sp-site .sp-register::after,
	.sp-site .sp-register .sp-section-bg {
		display: none;
	}

	.sp-site .sp-register .sp-h2 .elementor-heading-title {
		font-size: 28px;
		color: var(--sp-navy);
	}

	.sp-site .sp-form-card {
		padding: 0 !important;
		background: transparent;
	}

	.sp-site .sp-lead-form {
		gap: 14px;
	}

	.sp-site .sp-lead-form__field--email,
	.sp-site .sp-lead-form__note {
		display: none;
	}
}
