/* ================= TEMPLATE CONTACT ================= */
/* Full-bleed + reset + màu chung lấy từ .pql-page và :root --pql-shared-* (modimoshion-layout.css). */
/* Chỉ alias vars dùng nhiều lần cho gọn, không khai báo lại giá trị. */
.pql-contact-page {
    --navy: var(--pql-shared-navy);
    --red: var(--pql-shared-red);
    --red-dark: var(--pql-shared-red-dark);
    --ink: var(--pql-shared-ink);
    --muted: var(--pql-shared-muted);
    --line: var(--pql-shared-line);
}

/* ================= HERO ================= */
/* Ảnh thành phố full nền, lớp navy mờ đậm bên trái tan dần sang phải. */
.pql-contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
    min-height: 680px;
    overflow: hidden;
}

.pql-contact-page .pql-contact-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.pql-contact-hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(13, 27, 62, .96) 0%,
            rgba(13, 27, 62, .9) 38%,
            rgba(13, 27, 62, .55) 62%,
            rgba(13, 27, 62, .1) 88%);
}

/* Chừa khoảng đáy để dải info nổi đè lên hero. */
.pql-contact-hero__inner {
    position: relative;
    padding-top: clamp(24px, 4vw, 52px);
    padding-bottom: clamp(64px, 8vw, 120px);
    color: #fff;
}

/* Breadcrumb chung đặt trong hero: bỏ nền và gutter lồng, giữ sát tiêu đề. */
.pql-contact-hero .pql-breadcrumb {
    margin: 0 0 10px;
    padding: 0;
    background: transparent;
}

.pql-contact-hero .pql-breadcrumb__list {
    min-height: 0;
    padding: 0;
    font-size: .65rem;
}

.pql-contact-hero__title {
    margin: 0 0 clamp(12px, 1.6vw, 18px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.02em;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
}

.pql-contact-hero__title span {
    color: #fff;
}

.pql-contact-hero__title strong {
    color: #fff;
    font-weight: 900;
}

.pql-contact-hero__lead {
    margin: 0 0 clamp(22px, 3vw, 34px);
    color: rgba(255, 255, 255, .85);
    font-size: clamp(1rem, 1.7vw, 1.35rem);
    font-weight: 500;
    line-height: 1.4;
}

/* Chip dịch vụ: nền trắng bo tròn, vòng icon đỏ chủ đạo. */
.pql-contact-hero__services {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 1.6vw, 20px);
    margin: 0 0 clamp(22px, 3vw, 34px);
    padding: 0;
    list-style: none;
}

.pql-contact-hero__service {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 12px;
    background: #fff;
    border-radius: 999px;
    color: var(--navy);
    font-size: clamp(.78rem, 1vw, .92rem);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.pql-contact-hero__service svg,
.pql-contact-hero__service img {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 50%;
    background: var(--red);
    fill: #fff;
    object-fit: contain;
}

/* ================= DẢI THÔNG TIN LIÊN HỆ ================= */
/* Card trắng nổi lên đè đáy hero. */
.pql-contact-info {
    position: relative;
    margin-top: clamp(-56px, -6vw, -80px);
    z-index: 2;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.pql-contact-info__grid {
    --info-gap: clamp(18px, 2vw, 34px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--info-gap);
    margin: 0;
    padding: 1.5rem;
    list-style: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(13, 27, 62, .14);
}

.pql-contact-info__item {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

/* Vạch ngăn dọc nằm chính giữa khoảng gap (bỏ ở cột đầu). */
.pql-contact-info__item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: calc(var(--info-gap) / -2);
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--line);
}

.pql-contact-info__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--pql-shared-red);
    background: rgba(13, 27, 62, .09);
}

.pql-contact-info__icon svg,
.pql-contact-info__icon i {
    width: 26px;
    height: 26px;
    fill: var(--pql-shared-red);
    color: var(--pql-shared-red);
}

.pql-contact-info__icon i {
    display: grid;
    place-items: center;
    font-size: 1.65rem;
}

.pql-contact-info__label {
    margin: 0 0 4px;
    color: var(--pql-shared-navy);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pql-contact-info__text {
    margin: 0;
    color: var(--pql-shared-navy);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.45;
}

.pql-contact-info__text a {
    color: var(--pql-shared-navy);
    text-decoration: none;
}

.pql-contact-info__text a:hover {
    color: var(--pql-shared-red);
}

/* ================= FORM LIÊN HỆ ================= */
/* Form hai cột và card lợi thế/giờ làm việc theo bố cục ảnh tham chiếu. */
.pql-contact-connect {
    padding: 0 0 clamp(64px, 7vw, 110px);
    background: #fff;
}

.pql-contact-connect__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
    gap: clamp(32px, 4.5vw, 76px);
    align-items: stretch;
}

.pql-contact-connect__main {
    min-width: 0;
}

.pql-contact-connect__header {
    margin-bottom: 24px;
}

.pql-contact-connect__header h2,
.pql-contact-why h2,
.pql-contact-hours h2 {
    margin: 0;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.2;
}

.pql-contact-connect__header h2 {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.pql-contact-connect__header p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6;
}

.pql-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.pql-contact-form__field {
    min-width: 0;
}

.pql-contact-form__field--full {
    grid-column: 1 / -1;
}

.pql-contact-form label {
    display: block;
    margin-bottom: 6px;
    color: #4c566b;
    font-size: .75rem;
    font-weight: 600;
}

.pql-contact-form label span {
    color: var(--red);
}

.pql-contact-form input,
.pql-contact-form select,
.pql-contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #dfe4eb;
    border-radius: 2px;
    outline: 0;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: .88rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pql-contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.pql-contact-form input:focus,
.pql-contact-form select:focus,
.pql-contact-form textarea:focus {
    border-color: #159ca0;
    box-shadow: 0 0 0 3px rgba(21, 156, 160, .12);
}

.pql-contact-form__field--accent input,
.pql-contact-form__field--accent select,
.pql-contact-form__field--accent .pql-contact-form__phone {
    border-bottom: 3px solid var(--red);
}

.pql-contact-form__phone {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    border: 1px solid #dfe4eb;
    background: #fff;
}

.pql-contact-form__phone select,
.pql-contact-form__phone input {
    border: 0;
    border-radius: 0;
}

.pql-contact-form__phone select {
    border-right: 1px solid #dfe4eb;
}

.pql-contact-form__phone select:focus,
.pql-contact-form__phone input:focus {
    box-shadow: none;
}

.pql-contact-form__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2px;
}

.pql-contact-form__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 12px 24px;
    border: 0;
    border-radius: 2px;
    background: var(--red);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
}

.pql-contact-form__actions button:hover,
.pql-contact-form__actions button:focus-visible {
    background: var(--red-dark);
}

.pql-contact-form__actions button svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.pql-contact-form__actions p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #7b8494;
    font-size: .8rem;
    line-height: 1.4;
}

.pql-contact-form__actions p svg {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    fill: #bd002e;
}

.pql-contact-connect__aside {
    padding: clamp(28px, 3.2vw, 46px);
    background: linear-gradient(145deg, rgba(13, 27, 62, .07) 0%, rgba(13, 27, 62, .12) 100%);
    border-radius: 4px;
}

.pql-contact-why h2,
.pql-contact-hours h2 {
    font-size: 1.5rem;
}

.pql-contact-why ul {
    display: grid;
    gap: 13px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.pql-contact-why li {
    position: relative;
    padding-left: 27px;
    color: #344056;
    font-size: .84rem;
    line-height: 1.45;
}

.pql-contact-why li::before {
    content: "✓";
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
}

.pql-contact-hours {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #d5e2e7;
}

.pql-contact-hours__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid color-mix(in srgb, var(--red) 45%, transparent);
    border-radius: 50%;
    color: var(--red);
}

.pql-contact-hours__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pql-contact-hours dl {
    display: grid;
    gap: 7px;
    margin: 18px 0 8px;
}

.pql-contact-hours dl div {
    display: grid;
    gap: 2px;
}

.pql-contact-hours dt,
.pql-contact-hours dd,
.pql-contact-hours p {
    margin: 0;
    color: #465166;
    font-size: .9rem;
    line-height: 1.45;
}

.pql-contact-hours dt {
    font-weight: 700;
}

/* Icon đồng hồ đứng trước từng khung giờ để danh sách dễ quét. */
.pql-contact-hours dd {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pql-contact-hours dd svg {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: var(--red);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ================= GOOGLE MAPS + CTA ================= */
/* Bản đồ toàn ngang và dải CTA navy phía dưới. */
.pql-contact-location {
    border-bottom: 1px solid rgb(189 0 46);
    background: var(--navy);
}

.pql-contact-location__map {
    position: relative;
    min-height: clamp(360px, 35vw, 520px);
    background: #dce3ea;
}

.pql-contact-location__map iframe {
    display: block;
    width: 100%;
    height: clamp(360px, 35vw, 520px);
    border: 0;
}

.pql-contact-location__cta {
    position: relative;
    background:
        linear-gradient(90deg, rgba(13, 27, 62, .96), rgba(13, 27, 62, .88)),
        repeating-linear-gradient(135deg, transparent 0 28px, rgba(255, 255, 255, .025) 28px 29px);
}

.pql-contact-location__cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(28px, 5vw, 80px);
    min-height: 180px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.pql-contact-location__cta-copy {
    padding-left: 20px;
    border-left: 4px solid var(--red);
}

.pql-contact-location__cta-copy h2 {
    max-width: 620px;
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
    font-weight: 800;
    line-height: 1.2;
}

.pql-contact-location__cta-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1rem;
}

.pql-contact-location__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.pql-contact-location__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pql-contact-location__profile {
    border-color: rgba(255, 255, 255, .55) !important;
    background: transparent;
}

.pql-contact-location__profile:hover,
.pql-contact-location__profile:focus-visible {
    border-color: var(--red) !important;
    background: var(--red);
    box-shadow: 0 8px 22px rgba(189, 0, 46, .3);
    transform: translateY(-2px);
}

.pql-contact-location__profile:active {
    box-shadow: 0 3px 10px rgba(189, 0, 46, .24);
    transform: translateY(1px) scale(.98);
}

.pql-contact-location__profile svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
    /* Tablet: dải info chia 2 cột; form xuống 1 cột. */
    .pql-contact-info__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 32px;
    }

    .pql-contact-connect__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pql-contact-connect__aside {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
        gap: 32px;
    }

    .pql-contact-hours {
        margin-top: 0;
        padding-top: 0;
        padding-left: 32px;
        border-top: 0;
        border-left: 1px solid #d5e2e7;
    }

    .pql-contact-location__cta-inner {
        grid-template-columns: 1fr;
    }

    .pql-contact-location__actions {
        justify-content: flex-start;
    }

    .pql-contact-info__item:not(:first-child)::before {
        display: none;
    }

    .pql-contact-info__item:not(:first-child) {
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    /* Mobile: hero phủ đều, info/form/card về một cột và nút full ngang. */
    .pql-contact-info__grid {
        grid-template-columns: 1fr;
    }

    .pql-contact-hero__veil {
        background: rgba(13, 27, 62, .88);
    }

    .pql-contact-hero__lead {
        max-width: none;
    }

    .pql-contact-hero__service {
        width: 100%;
        justify-content: flex-start;
    }

    .pql-contact-form,
    .pql-contact-connect__aside {
        grid-template-columns: 1fr;
    }

    .pql-contact-form__field--full {
        grid-column: auto;
    }

    .pql-contact-form__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .pql-contact-form__actions button {
        width: 100%;
    }

    .pql-contact-hours {
        margin-top: 4px;
        padding-top: 28px;
        padding-left: 0;
        border-top: 1px solid #d5e2e7;
        border-left: 0;
    }

    .pql-contact-location__map,
    .pql-contact-location__map iframe {
        min-height: 320px;
        height: 320px;
    }

    .pql-contact-location__actions {
        flex-direction: column;
    }

    .pql-contact-location__actions a {
        width: 100%;
    }
}

