:root {
    --pink: #ec407a;
    --pink-dark: #d81b60;
    --blue: #1e88e5;
    --bg: #f7f7fb;
    --text: #2e2e38;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6
}

a {
    text-decoration: none;
}

/* Utilities */
.container {
    max-width: 1180px;
    margin: auto;
    padding: 0 20px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.section {
    padding: 64px 0
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--blue);
    text-align: center;
    margin: 0 0 28px
}

.section-title.left {
    text-align: left
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
    justify-content: center;
}

.btn-primary {
    background: #0083cd;
    color: #fff
}

.btn-primary:hover {
    background: var(--pink-dark)
}

.btn-white {
    background: #fff;
    color: var(--pink)
}

.btn-white:hover {
    filter: brightness(.96)
}

.btn-block {
    width: 100%
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid #eee
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 900;
    color: var(--pink-dark);
    font-size: 20px
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text);
    cursor: pointer
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    position: relative
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: .25s
}

.nav-links a:hover::after {
    width: 100%
}

/* Hero */
.hero {
    position: relative;
    background: url('/images/image_2.webp') center/cover no-repeat;
    color: #fff
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25))
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: center;
    min-height: 72vh;
    padding: 64px 0
}

.hero-copy h1 {
    font-size: 44px;
    margin: 0 0 10px
}

.hero-copy h1 span {
    color: #ffd1e1
}

.hero-copy p {
    opacity: .95;
    margin: 0 0 18px;
    max-width: 560px
}

.hero-badges {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 16px
}

/* Hero Form (giữ trong banner) */
.hero-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 22px
}

.hero-form h2 {
    margin: 0 0 10px;
    color: #0083cd;
}

.form-row {
    margin-bottom: 12px
}

input,
select,
button {
    font: inherit
}

input,
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    background: #fff
}

input:focus,
select:focus {
    border-color: var(--pink)
}

select::-ms-expand { 
  display: none; /* IE/Edge */
}

/* Cho Safari/iOS */
select {
  /*background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");*/
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.contact-form .form-note {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-top: 8px
}

/* Loading overlay (cho JS xử lý form) */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000
}

.loading-overlay.active {
    display: flex
}

.spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid #fff;
    border-top-color: transparent;
    animation: spin .8s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .25s, box-shadow .25s
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1)
}

.feature-card .icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #0083cd, #ff5fa0);
    color: #fff;
    font-size: 22px
}

/* Two column section */
.alt-bg {
    background: #fff
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.box {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow)
}

.checklist {
    list-style: none;
    margin: 10px 0 0;
    padding: 0
}

.checklist li {
    position: relative;
    padding-left: 28px;
    margin: 10px 0
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e
}

/* Rates table */
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 16px
}

.table-card {
    overflow: hidden
}

.rates-table {
    width: 100%;
    border-collapse: collapse
}

.rates-table th,
.rates-table td {
    padding: 14px;
    border-bottom: 1px solid #eef2f7;
    text-align: center
}

.rates-table thead th {
    background: #f9fafb;
    color: #111827
}

.table-note {
    font-size: 14px;
    color: red;
    margin: 10px 4px 2px;
    font-style: italic;
}

/* CTA */
.cta {
    background: linear-gradient(120deg, #1e88e5, #3fa9ff);
    color: #fff;
    text-align: center;
    padding: 56px 0;
    margin: 0
}

.cta-inner h2 {
    margin: 0 0 6px;
    font-size: 28px
}

.cta-inner p {
    margin: 0 0 18px;
    opacity: .95
}

.cta.reveal .hero-form {
    width: 50%;
    margin: 0 auto;
}

/* Testimonials slider */
.slider {
    position: relative;
    max-width: 760px;
    margin: 10px auto 0;
    padding: 0 44px
}

.slides {
    position: relative;
    min-height: 220px
}

.slide {
    display: none;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 22px;
    text-align: center
}

.slide.active {
    display: block;
    animation: fade .5s
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--blue);
    border: none;
    color: #fff;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    cursor: pointer
}

.prev {
    left: 0
}

.next {
    right: 0
}

/* FAQ */
.faq details {
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: var(--shadow);
    margin-bottom: 12px
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #1e293b
}

/* Footer */
.site-footer {
    background: #1e88e5;
    color: #e5e7eb;
    margin-top: 48px
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 36px 0
}

.site-footer h4 {
    margin: 0 0 10px
}

.site-footer p {
    margin: 6px 0
}

.socials {
    color: red;
    margin-right: 12px;
    font-size: 16px
}

.copy {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 14px 0;
    font-size: 13px;
    color: #cbd5e1
}

/* Reveal animation (khớp JS hiện có) */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .two-col {
        grid-template-columns: 1fr
    }

    .hero-inner {
        grid-template-columns: 1fr
    }

    .hero-copy h1 {
        font-size: 36px
    }

    .hero-copy.reveal {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block
    }

    .nav-links {
        position: absolute;
        inset: 38px 0 auto 0;
        background: #0083cd;
        border-bottom: 1px solid #eee;
        display: flex;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .35s ease, opacity .35s ease
    }

    .nav-links li {
        border-top: 1px solid #f2f2f2
    }

    .nav-links a {
        display: block;
        padding: 14px 20px
    }

    .nav-links.active {
        max-height: 320px;
        opacity: 1
    }

    .slider {
        padding: 0 36px
    }

    .cta.reveal .hero-form {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: auto;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Floating contact buttons */
.floating-contact {
    position: fixed;
    bottom: 22px;
    right: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s, opacity 0.25s, background 0.25s;
}

.float-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.float-btn.phone {
    background: #22c55e;
}

/* xanh lá */
.float-btn.zalo {
    background: #1e88e5;
}

/* xanh dương */
/* Floating contact left */
.floating-contact-left {
	position: fixed;
	bottom: 20px;
	left: 20px; /* nằm bên trái */
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 1000;
}

.floating-contact-left .float-btn {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #0a74da;
	color: #fff;
	font-size: 22px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s, background 0.3s;
	text-decoration: none;
}

.floating-contact-left .float-btn.phone {
	background: #28a745; /* xanh lá phone */
}

.floating-contact-left .float-btn.zalo {
	background: #0068ff; /* xanh Zalo */
}

.floating-contact-left .float-btn:hover {
	transform: scale(1.1);
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.8px;
}