﻿
:root {
    --gold: #d4af37;
    --gold-dark: #c9a534;
    --cream: #f7f5f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    font-family: Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: clip;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== NÚT ===== */
.sv-btn {
    display: inline-block;
    padding: 14px 34px;
    border: none;
    border-radius: 25px;
    background: var(--gold);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: .3s ease;
}

    .sv-btn:hover {
        background: var(--gold-dark);
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(212, 175, 55, .4);
    }

.sv-btn-sm {
    padding: 11px 26px;
    font-size: 14px;
}

/* ===== BANNER ===== */
.sv-hero {
    width: 100%;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sv-hero-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    text-align: center;
}

.sv-eyebrow {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 5px;
}

.sv-hero h1 {
    margin-bottom: 16px;
    font-size: 44px;
    letter-spacing: 4px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.sv-hero-text {
    max-width: 700px;
    margin-bottom: 30px;
    font-size: 18px;
    overflow-wrap: anywhere;
}

/* ===== SECTION CHUNG ===== */
.sv-section {
    width: 100%;
    padding: 70px 20px;
}

    .sv-section > * {
        width: 100%;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

.sv-alt {
    background: var(--cream);
}

.sv-title {
    position: relative;
    margin-bottom: 55px;
    padding-bottom: 18px;
    color: #000;
    font-size: 30px;
    letter-spacing: 4px;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
}

    .sv-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 60px;
        height: 2px;
        background: var(--gold);
        transform: translateX(-50%);
    }

/* ===== 3 DỊCH VỤ CHÍNH ===== */
.sv-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

.sv-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 440px;
    overflow: hidden;
    border: 1px solid var(--gold);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.sv-card-img {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

    .sv-card-img img {
        transition: transform .4s ease;
    }

.sv-card:hover .sv-card-img img {
    transform: scale(1.05);
}

.sv-card-img::after,
.sv-frame::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, .8);
    pointer-events: none;
}

.sv-card-body {
    padding: 28px 24px 32px;
    text-align: center;
}

    .sv-card-body h3 {
        margin-bottom: 14px;
        color: #000;
        font-size: 20px;
        letter-spacing: 2px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .sv-card-body p {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

.sv-link {
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

    .sv-link:hover {
        text-decoration: underline;
    }

/* ===== HẠNG MỤC DỊCH VỤ ===== */
.sv-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 980px !important;
}

.sv-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.04;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
    text-decoration: none;
}

    .sv-tile img {
        transition: transform .4s ease;
    }

    .sv-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .8) 100% );
    }

    .sv-tile:hover img {
        transform: scale(1.07);
    }

    .sv-tile span {
        position: absolute;
        z-index: 2;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 0 16px 16px;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.5;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .sv-tile:hover span {
        color: var(--gold);
    }

/* ===== QUY TRÌNH ===== */
.sv-steps {
    display: flex;
    position: relative;
    gap: 20px;
    width: 100%;
}

.sv-step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 6px;
    text-align: center;
}

    .sv-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 28px;
        left: calc(50% + 34px);
        width: calc(100% - 68px + 20px);
        height: 1px;
        background: var(--gold);
    }

    .sv-step b {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        margin: 0 auto 16px;
        border-radius: 50%;
        background: var(--gold);
        color: #000;
        font-size: 22px;
    }

    .sv-step h4 {
        margin-bottom: 8px;
        color: #000;
        font-size: 15px;
        line-height: 1.5;
    }

    .sv-step p {
        color: #555;
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

/* ===== VÌ SAO CHỌN CHÚNG TÔI ===== */
.sv-why {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.sv-why-item {
    min-width: 0;
    padding: 26px 22px;
    border-left: 3px solid var(--gold);
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

    .sv-why-item h4 {
        margin-bottom: 8px;
        color: #000;
        font-size: 16px;
        line-height: 1.5;
    }

    .sv-why-item p {
        color: #555;
        font-size: 13px;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

/* ===== CÁC GÓI DỊCH VỤ ===== */
.sv-plans {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

.sv-plan {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    max-width: 380px;
    padding: 40px 28px;
    border: 1px solid var(--gold);
    background: #fff;
    text-align: center;
}

.sv-plan-main {
    background: #faf8f3;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
    transform: scale(1.04);
}

.sv-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    padding: 5px 16px;
    border-radius: 20px;
    background: var(--gold);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
    transform: translateX(-50%);
}

.sv-plan h3 {
    margin-bottom: 20px;
    color: #000;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.sv-plan ul {
    flex: 1;
    margin-bottom: 24px;
    list-style: none;
}

.sv-plan li {
    padding: 9px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.sv-price {
    margin-bottom: 20px;
    color: var(--gold-dark);
    font-size: 18px;
    font-weight: 700;
}

/* ===== SO SÁNH TRƯỚC / SAU ===== */
.sv-compare {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

    .sv-compare figure {
        flex: 1 1 0;
        min-width: 0;
        max-width: 640px;
    }

.sv-frame {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border: 1px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.sv-compare figcaption {
    margin-top: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

/* ===== FAQ ===== */
.sv-faq {
    width: 100%;
    max-width: 820px !important;
}

    .sv-faq details {
        margin-bottom: 14px;
        border: 1px solid var(--gold);
        background: #fff;
    }

    .sv-faq summary {
        position: relative;
        padding: 18px 50px 18px 22px;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
        overflow-wrap: anywhere;
    }

        .sv-faq summary::-webkit-details-marker {
            display: none;
        }

        .sv-faq summary::after {
            content: "+";
            position: absolute;
            top: 50%;
            right: 22px;
            color: var(--gold-dark);
            font-size: 22px;
            line-height: 1;
            transform: translateY(-50%);
        }

    .sv-faq details[open] summary::after {
        content: "−";
    }

    .sv-faq details p {
        padding: 0 22px 20px;
        color: #444;
        font-size: 14px;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

/* ===== FORM LIÊN HỆ ===== */
.sv-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 680px !important;
    padding: 36px;
    border: 1px solid var(--gold);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

    .sv-form input,
    .sv-form select,
    .sv-form textarea {
        width: 100%;
        max-width: 100%;
        padding: 14px 16px;
        border: 1px solid #ccc;
        background: #fff;
        font-family: inherit;
        font-size: 14px;
    }

    .sv-form textarea {
        min-height: 120px;
        resize: vertical;
    }

        .sv-form input:focus,
        .sv-form select:focus,
        .sv-form textarea:focus {
            outline: none;
            border-color: var(--gold);
            box-shadow: 0 0 0 2px rgba(212, 175, 55, .12);
        }

    .sv-form .sv-btn {
        align-self: center;
    }

/* ========================================
   LAPTOP VÀ IPAD NGANG
   1025px - 1200px
======================================== */
@media (min-width: 1025px) and (max-width: 1200px) {
    .sv-section {
        padding: 60px 24px;
    }

    .sv-cards,
    .sv-plans,
    .sv-compare {
        gap: 20px;
    }

    .sv-card-body {
        padding: 24px 18px;
    }

        .sv-card-body h3 {
            font-size: 18px;
        }

    .sv-why {
        gap: 16px;
    }

    .sv-why-item {
        padding: 22px 16px;
    }

    .sv-frame {
        height: 360px;
    }
}

/* ========================================
   IPAD DỌC VÀ TABLET
   768px - 1024px
======================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .sv-hero,
    .sv-hero-overlay {
        min-height: 380px;
    }

        .sv-hero h1 {
            font-size: 36px;
            letter-spacing: 3px;
        }

    .sv-hero-text {
        font-size: 16px;
    }

    .sv-section {
        padding: 55px 24px;
    }

    .sv-title {
        margin-bottom: 40px;
        font-size: 27px;
        letter-spacing: 3px;
    }

    .sv-cards,
    .sv-plans,
    .sv-compare {
        flex-wrap: wrap;
        gap: 22px;
    }

    .sv-card,
    .sv-plan {
        flex: 1 1 calc(50% - 22px);
        max-width: none;
    }

    .sv-card-img {
        height: 260px;
    }

    .sv-card-body {
        padding: 24px 18px;
    }

        .sv-card-body h3 {
            font-size: 18px;
            letter-spacing: 1px;
        }

        .sv-card-body p {
            font-size: 14px;
        }

    .sv-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .sv-tile span {
        padding: 0 10px 12px;
        font-size: 12px;
    }

    .sv-steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

    .sv-step:not(:last-child)::after {
        display: none;
    }

    .sv-why {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .sv-plan-main {
        transform: none;
    }

    .sv-frame {
        height: 300px;
    }

    .sv-form {
        padding: 28px 24px;
    }
}

/* ========================================
   ĐIỆN THOẠI LỚN
   481px - 767px
======================================== */
@media (min-width: 481px) and (max-width: 767px) {
    .sv-hero,
    .sv-hero-overlay {
        min-height: 310px;
    }

    .sv-hero-overlay {
        padding: 30px 18px;
    }

    .sv-eyebrow {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .sv-hero h1 {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .sv-hero-text {
        font-size: 14px;
    }

    .sv-section {
        padding: 45px 18px;
    }

    .sv-title {
        margin-bottom: 32px;
        font-size: 24px;
        letter-spacing: 2px;
    }

    .sv-cards,
    .sv-plans,
    .sv-compare {
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }

        .sv-card,
        .sv-plan,
        .sv-compare figure {
            flex: none;
            width: 100%;
            max-width: 540px;
        }

    .sv-card-img {
        height: 280px;
    }

    .sv-card-body {
        padding: 24px 20px;
    }

        .sv-card-body h3 {
            font-size: 19px;
        }

        .sv-card-body p {
            font-size: 14px;
        }

    .sv-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sv-tile span {
        padding: 0 10px 12px;
        font-size: 12px;
    }

    .sv-steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .sv-step:not(:last-child)::after {
        display: none;
    }

    .sv-why {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .sv-why-item {
        padding: 20px 16px;
    }

    .sv-plan {
        padding: 35px 24px;
    }

    .sv-plan-main {
        transform: none;
    }

    .sv-frame {
        height: 280px;
    }

    .sv-faq summary {
        padding: 16px 42px 16px 16px;
        font-size: 14px;
    }

        .sv-faq summary::after {
            right: 15px;
        }

    .sv-faq details p {
        padding: 0 16px 18px;
        font-size: 13px;
    }

    .sv-form {
        padding: 24px 18px;
    }
}

/* ========================================
   ĐIỆN THOẠI
   480px TRỞ XUỐNG
======================================== */
@media (max-width: 480px) {
    .sv-hero,
    .sv-hero-overlay {
        min-height: 260px;
    }

    .sv-hero-overlay {
        padding: 26px 14px;
    }

    .sv-eyebrow {
        margin-bottom: 10px;
        font-size: 13px;
        letter-spacing: 2px;
    }

    .sv-hero h1 {
        margin-bottom: 12px;
        font-size: 25px;
        letter-spacing: 1px;
        line-height: 1.4;
    }

    .sv-hero-text {
        margin-bottom: 22px;
        font-size: 13px;
        line-height: 1.7;
    }

    .sv-btn {
        padding: 12px 24px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .sv-section {
        padding: 38px 14px;
    }

    .sv-title {
        margin-bottom: 28px;
        padding-bottom: 14px;
        font-size: 21px;
        letter-spacing: 1.5px;
        line-height: 1.45;
    }

    /* Các thẻ dịch vụ xếp thành một cột */
    .sv-cards,
    .sv-plans,
    .sv-compare {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

        .sv-card,
        .sv-plan,
        .sv-compare figure {
            flex: none;
            width: 100%;
            max-width: none;
        }

    .sv-card-img {
        height: 240px;
    }

        .sv-card-img::after,
        .sv-frame::after {
            inset: 9px;
        }

    .sv-card-body {
        padding: 20px 16px 24px;
    }

        .sv-card-body h3 {
            margin-bottom: 12px;
            font-size: 18px;
            letter-spacing: 1px;
        }

        .sv-card-body p {
            margin-bottom: 16px;
            font-size: 13px;
            line-height: 1.8;
        }

    .sv-link {
        font-size: 13px;
    }

    /* Hạng mục ảnh: 2 cột */
    .sv-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sv-tile {
        border-radius: 7px;
    }

        .sv-tile span {
            padding: 0 8px 10px;
            font-size: 11px;
            line-height: 1.4;
        }

    /* Quy trình */
    .sv-steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 12px;
    }

    .sv-step {
        padding: 0 4px;
    }

        .sv-step:not(:last-child)::after {
            display: none;
        }

        .sv-step b {
            width: 48px;
            height: 48px;
            margin-bottom: 12px;
            font-size: 19px;
        }

        .sv-step h4 {
            font-size: 13px;
        }

        .sv-step p {
            font-size: 11px;
            line-height: 1.6;
        }

    /* Lý do lựa chọn */
    .sv-why {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sv-why-item {
        padding: 20px 18px;
    }

        .sv-why-item h4 {
            font-size: 15px;
        }

        .sv-why-item p {
            font-size: 13px;
        }

    /* Gói dịch vụ */
    .sv-plan {
        padding: 35px 20px 25px;
    }

    .sv-plan-main {
        transform: none;
    }

    .sv-plan h3 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .sv-plan li {
        font-size: 13px;
    }

    .sv-price {
        font-size: 17px;
    }

    .sv-badge {
        font-size: 10px;
        letter-spacing: 1px;
    }

    /* So sánh trước sau */
    .sv-frame {
        height: 250px;
    }

    .sv-compare figcaption {
        font-size: 13px;
    }

    /* Câu hỏi thường gặp */
    .sv-faq details {
        margin-bottom: 10px;
    }

    .sv-faq summary {
        padding: 15px 40px 15px 14px;
        font-size: 13px;
        line-height: 1.6;
    }

        .sv-faq summary::after {
            right: 13px;
            font-size: 20px;
        }

    .sv-faq details p {
        padding: 0 14px 16px;
        font-size: 13px;
        line-height: 1.7;
    }

    /* Form liên hệ */
    .sv-form {
        gap: 13px;
        padding: 20px 14px;
    }

        .sv-form input,
        .sv-form select,
        .sv-form textarea {
            padding: 12px;
            font-size: 14px;
        }

        .sv-form .sv-btn {
            align-self: stretch;
            width: 100%;
        }
}

/* ========================================
   ĐIỆN THOẠI RẤT NHỎ
   360px TRỞ XUỐNG
======================================== */
@media (max-width: 360px) {
    .sv-hero,
    .sv-hero-overlay {
        min-height: 230px;
    }

        .sv-hero h1 {
            font-size: 22px;
        }

    .sv-section {
        padding: 30px 10px;
    }

    .sv-title {
        font-size: 19px;
        letter-spacing: 1px;
    }

    .sv-card-img {
        height: 210px;
    }

    .sv-items {
        gap: 8px;
    }

    .sv-tile span {
        padding: 0 5px 8px;
        font-size: 10px;
    }

    .sv-step h4 {
        font-size: 12px;
    }

    .sv-why-item {
        padding: 18px 14px;
    }

    .sv-plan {
        padding: 32px 14px 22px;
    }

    .sv-frame {
        height: 210px;
    }

    .sv-form {
        padding: 16px 10px;
    }
}

/* ===== ĐIỆN THOẠI XOAY NGANG ===== */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
    .sv-hero,
    .sv-hero-overlay {
        min-height: 230px;
    }

    .sv-hero-overlay {
        padding: 24px 18px;
    }

    .sv-hero h1 {
        font-size: 27px;
    }

    .sv-card-img {
        height: 220px;
    }

    .sv-frame {
        height: 230px;
    }
}
