﻿.ptsc-site-banner {
    min-height: 530px;
}

.ptsc-site-banner h1 {
    font-size: clamp(26px, 4vw, 26px);
    line-height: 1.3;
    text-align: left;
}

.ptsc-site-banner__inner {
    padding-block: 100px 64px;
}

.petro-services {
    --ps-ink: #173d4b;
    --ps-teal: #196475;
    --ps-muted: #63757d;
    --ps-gold: #b58c50;
    color: var(--ps-ink);
    font-family: inherit;
    line-height: 1.7;
    background: url(/Design/img/PetroHotel/bg-ser.png) no-repeat;
    background-size: cover;
}

.petro-services *,
.petro-services *::before,
.petro-services *::after {
    box-sizing: border-box;
}

.petro-services a {
    color: inherit;
    text-decoration: none;
}

.petro-services a:focus-visible {
    outline: 3px solid #b58c50;
    outline-offset: 5px;
}

.petro-services h2,
.petro-services h3,
.petro-services p {
    margin: 0;
}

.petro-services h2,
.petro-services h3 {
    color: #203559;
    font-family: inherit;
}

.ps-container {
    width: min(1205px, calc(100% - 48px));
    margin-inline: auto;
}

.ps-section {
    padding-block: 46px 34px;
}

.ps-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--ps-teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    display: none;
}

.ps-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: end;
    gap: 60px;
    margin-bottom: 40px;
    background: transparent;
}

.ps-intro h2 {
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -.035em;
}

.ps-intro h2 em {
    color: var(--ps-teal);
    font-style: normal;
}

.ps-intro>p {
    max-width: 380px;
    color: var(--ps-muted);
    font-size: 15px;
    line-height: 1.85;
}

.ps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.ps-card {
    --ps-sheen: -180%;
    --ps-lift: 0px;
    --ps-zoom: 1;
    --ps-reveal: 0;
    --ps-accent-bg: #eef4f2;
    --ps-accent-ink: var(--ps-teal);
    --ps-title: var(--ps-ink);
    --ps-icon-lift: 0px;
    --ps-arrow-turn: 0deg;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e7e5;
    border-radius: 16px;
    background: #fff;
    transform: translateY(var(--ps-lift));
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}

.ps-card__image {
    position: relative;
    aspect-ratio: 1.6;
    overflow: hidden;
    background: #dfe8e8;
}

.ps-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(var(--ps-zoom));
    transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.ps-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 45%, rgba(20, 62, 75, .25));
    opacity: var(--ps-reveal);
    transition: opacity .3s ease;
}

.ps-card__image::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, .22) 50%, transparent 75%);
    transform: translateX(var(--ps-sheen));
    transition: transform .75s cubic-bezier(.2, .7, .2, 1);
}

.ps-card__image-action {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    opacity: var(--ps-reveal);
    transform: translateY(calc(10px - var(--ps-reveal) * 10px));
    transition: transform .3s ease, opacity .3s ease;
}

.ps-card__image-action>span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    font-size: 22px;
}

.ps-card__number {
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--ps-ink);
    font-size: 12px;
    font-weight: 700;
}

.ps-card__number {
    z-index: 1;
    border: 1px solid #ffffff80;
    transition: background-color .25s ease, color .25s ease;
}

.ps-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px 26px 22px;
}

.ps-card__label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--ps-teal);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ps-card__label i {
    font-size: 15px;
    transform: translateY(var(--ps-icon-lift));
    transition: transform .3s ease;
}

.ps-card h3 {
    margin: 12px 0 10px;
    color: var(--ps-title);
    font-size: 22px;
    line-height: 1.4;
    font-weight: normal;
    transition: color .25s ease;
}

.ps-card p {
    margin-bottom: 24px;
    color: var(--ps-muted);
    font-size: 14px;
    line-height: 1.8;
}

.ps-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e9eeeb;
    color: var(--ps-teal);
    font-size: 13px;
    font-weight: 600;
}

.ps-card__link>span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef4f2;
    font-size: 20px;
}

.ps-card__link {
    position: relative;
}

.ps-card__link::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ps-teal);
    transform: scaleX(var(--ps-reveal));
    transform-origin: left;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
    pointer-events: none;
}

.ps-card__link>span {
    background: var(--ps-accent-bg);
    color: var(--ps-accent-ink);
    transform: rotate(var(--ps-arrow-turn));
    transition: transform .3s ease, background-color .25s ease, color .25s ease;
}


/* Keyboard users get the same visual cue without requiring a pointer. */

.ps-card:focus-visible {
    --ps-sheen: 180%;
    --ps-lift: -6px;
    --ps-zoom: 1.045;
    --ps-reveal: 1;
    --ps-accent-bg: var(--ps-teal);
    --ps-accent-ink: #fff;
    --ps-title: var(--ps-teal);
    --ps-icon-lift: -2px;
    --ps-arrow-turn: 45deg;
    border-color: #9bbdb4;
    box-shadow: 0 16px 34px rgba(23, 61, 75, .12);
}

.ps-card:focus-visible .ps-card__number {
    background: var(--ps-teal);
    color: #fff;
}

.ps-guidance {
    padding-block: 42px;
    border-top: 1px solid #e3e8e4;
    background: #f0f4f0;
}

.ps-guidance__inner {
    display: grid;
    grid-template-columns: 64px 1fr 1fr;
    align-items: center;
    gap: 10px;
}

.ps-guidance__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid #c9d9d4;
    border-radius: 50%;
    color: var(--ps-teal);
    font-size: 25px;
}

.ps-guidance h2 {
    font-size: 25px;
    line-height: 1.45;
    font-weight: normal;
    font-family: 'BeVietnamPro-Medium';
}

.ps-guidance p {
    color: var(--ps-muted);
    font-size: 16px;
}

.ps-contact {
    padding-block: 56px;
    background: #143e4b;
    color: #fff;
}

.ps-contact__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
}

.ps-contact .ps-eyebrow {
    color: #e1c495;
}

.ps-contact h2 {
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(23px, 2.5vw, 30px);
    line-height: 1.4;
    font-weight: normal;
    font-family: 'BeVietnamPro-Medium', Arial, sans-serif;
}

.ps-contact p {
    color: #d4e2e6;
    font-size: 14px;
}

.petro-services .ps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 40px;
    padding: 9px 22px;
    border-radius: 50px;
    background: #fff;
    color: #203559;
    font-size: 15px;
    font-weight: 600;
    margin-top: 11px !important;
    border: 1px solid #203559;
    margin-bottom: 5px !important;
}

.petro-services .ps-button--light {
    flex-shrink: 0;
    background: #f3eadb;
    color: #173d4b;
}

.ps-button>span {
    font-size: 19px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.ps-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-bottom: 28px;
    font-size: 14px;
}

.ps-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 325px;
    align-items: start;
    gap: 20px;
}

.ps-detail {
    min-width: 0;
}

.ps-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 14px;
    display: none;
}

.ps-breadcrumb .ps-back {
    margin: 0;
}

.ps-group-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 28px 22px;
    font-size: 22px;
}

.ps-group-heading span {
    font-size: 13px;
    font-weight: 400;
    color: var(--ps-muted);
}

.ps-grid--articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ps-grid--articles .ps-card h3 {
    font-size: 20px;
}

.ps-grid--articles .ps-card__body {
    padding: 22px;
}

.ps-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.ps-subcategories:empty {
    display: none;
}

.ps-subcategories a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #c9dbd4;
    border-radius: 8px;
    background: #edf4f1;
}

.ps-service-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.ps-service-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ps-detail>h2 {
    margin-bottom: 18px;
    font-size: clamp(27px, 3vw, 27px);
    line-height: 1.35;
}

.ps-detail__lead {
    color: var(--ps-muted);
    font-size: 17px;
}

.ps-detail__image {
    display: block;
    width: 100%;
    height: 100%;
    margin-block: 20px;
    border-radius: 14px;
    object-fit: cover;
}

.ps-detail__content {
    padding-block: 26px;
    border-top: 1px solid #dfe7e4;
}

.ps-detail__content>h3 {
    margin: 15px 0;
    font-size: 20px;
    line-height: 1.45;
}

.ps-detail__content>h3 strong {
    font-weight: normal;
}

.ps-richtext {
    color: #354f59;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.85;
    overflow-x: auto;
    text-align: justify;
}

.ps-richtext p {
    margin-bottom: 18px;
}

.ps-richtext img,
.ps-richtext video {
    max-width: 100% !important;
    height: auto !important;
}

.ps-richtext iframe {
    max-width: 100%;
}

.ps-richtext table {
    max-width: 100%;
}

.ps-richtext a {
    color: #12667c;
    text-decoration: underline;
}

.ps-aside {
    border: 1px solid #dde6e2;
    border-radius: 14px;
    background: #e8f6ff;
    overflow: hidden;
}

.ps-aside>h2 {
    padding: 18px 22px 7px;
    font-size: 20px;
}

.ps-aside nav {
    padding: 0 12px 18px;
}

.sb-service-name {
    margin-top: 18px !important;
    color: #21355a !important;
    font-size: 23px !important;
    font-weight: 500;
    line-height: 23px;
    font-family: 'BeVietnamPro-Medium';
}

.ps-aside nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 52px;
    padding: 8px 6px;
    border-bottom: 1px solid #edf1ee;
    font-size: 14px;
    font-family: 'BeVietnamPro-SemiBold';
}

.ps-aside nav a[aria-current="page"] {
    background: #fff;
    color: #14596b;
    font-weight: 700;
    border-radius: 6px;
}

.ps-aside nav a>span {
    margin-left: auto;
    padding: 5px;
    border-radius: 50px;
    background: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    border: 1px solid #173d4b;
}

.ps-aside nav i {
    width: 18px;
    text-align: center;
}

.ps-aside__contact {
    padding: 13px 22px;
    background: #203559;
}

.ps-aside__contact h3 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #fff;
}

.ps-aside__contact p {
    margin-bottom: 2px;
    color: #cccc;
    font-size: 14px;
}

.ps-consultation {
    padding: 26px;
    border: 1px solid #dbe5df;
    border-radius: 12px;
    background: #f0f5f1;
}

.ps-consultation h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.ps-consultation p {
    margin-bottom: 24px;
    color: var(--ps-muted);
}


/* Service overview: editorial introduction, quick navigation and wide image cards. */

.ps-intro {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    margin-bottom: 32px;
}

.ps-intro h2 {
    font-size: clamp(27px, 2.2vw, 27px);
    line-height: 1.25;
    letter-spacing: -.035em;
}

.ps-intro__description {
    max-width: 795px;
    margin-top: 22px !important;
    color: var(--ps-muted);
    font-size: 15px;
    line-height: 1.85;
}

.ps-intro__note {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 26px 0 26px 36px;
    border-left: 1px solid #d6e2dc;
}

.ps-intro__count {
    color: var(--ps-teal);
    font-size: 47px;
    font-weight: 600;
    letter-spacing: -.07em;
    line-height: 1;
}

.ps-intro__note strong {
    display: block;
    font-size: 17px;
}

.ps-intro__note p {
    max-width: 225px;
    margin-top: 6px;
    color: var(--ps-muted);
    font-size: 14px;
}

.ps-intro__note a {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    margin-top: 8px;
    color: var(--ps-teal);
    font-size: 13px;
    font-weight: 600;
}

.ps-quicknav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.ps-quicknav a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid #dbe5df;
    border-radius: 24px;
    background: #e8f6ff;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'BeVietnamPro-SemiBold';
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ps-quicknav i {
    color: var(--ps-teal);
}

.ps-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    scroll-margin-top: 120px;
}

.ps-card--category {
    display: grid;
    grid-template-columns: 47% minmax(0, 1fr);
    border-radius: 14px;
    background: #e8f6ff;
}

.ps-card--category .ps-card__image {
    height: 100%;
    min-height: 210px;
    aspect-ratio: auto;
}

.ps-card--category .ps-card__image::after {
    background: linear-gradient(180deg, transparent 35%, rgba(12, 42, 53, .8));
}

.ps-card--category .ps-card__body {
    padding: 19px 15px 12px;
}

.ps-card--category .ps-card__label {
    font-size: 11px;
    letter-spacing: .04em;
}

.ps-card--category h3 {
    font-size: 18px;
    letter-spacing: -.025em;
    font-family: 'BeVietnamPro-Medium', Arial, sans-serif;
}

.ps-card--category p {
    font-size: 14px;
    text-align: justify;
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: #687386;
    font-family: 'Arimo-Regular', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ps-card--category .ps-card__link {
    font-size: 14px;
}

.ps-aside {
    border-top: 3px solid var(--ps-gold);
}


/* The track is the boundary: the sidebar never overlaps the booking section. */

.ps-aside-track {
    position: relative;
    align-self: stretch;
    min-width: 0;
}

@media (min-width: 992px) {
    .ps-aside-track .ps-aside {
        box-sizing: border-box;
        width: 100%;
        max-height: calc(100vh - 48px);
        max-height: calc(100dvh - 48px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #b7c9c4 transparent;
    }
    .ps-aside-track .ps-aside--fixed {
        position: fixed;
        top: 24px;
        left: var(--aside-left);
        width: var(--aside-width);
        z-index: 5;
    }
    .ps-aside-track .ps-aside--end {
        position: absolute;
        bottom: 0;
        left: 0;
    }
}

.ps-aside nav a {
    transition: background-color .2s ease, color .2s ease;
}

.ps-aside nav a>span {
    transition: transform .2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .ps-card:hover {
        --ps-sheen: 180%;
        --ps-lift: -6px;
        --ps-zoom: 1.045;
        --ps-reveal: 1;
        --ps-accent-bg: var(--ps-teal);
        --ps-accent-ink: #fff;
        --ps-title: var(--ps-teal);
        --ps-icon-lift: -2px;
        --ps-arrow-turn: 45deg;
        border-color: #9bbdb4;
        box-shadow: 0 16px 34px rgba(23, 61, 75, .12);
    }
    .ps-card:hover .ps-card__number {
        background: var(--ps-teal);
        color: #fff;
    }
    .ps-card:active {
        --ps-lift: -2px;
        transition-duration: .12s;
    }
    .ps-aside nav a:hover {
        background: #fff;
    }
    .ps-aside nav a:hover>span {
        transform: translate(2px, -2px);
    }
    .ps-quicknav a:hover {
        background: #edf4f1;
        border-color: #95b8aa;
        color: var(--ps-teal);
    }
    .ps-button:hover {
        filter: brightness(1.08);
        background: #203559;
        color: #fff;
    }
}


/* Touch feedback changes colour only: scrolling stays stable, with no sticky hover. */

@media (hover: none),
(pointer: coarse) {
    .ps-card__image::before {
        display: none;
    }
    .ps-card__image-action {
        display: none;
    }
    .ps-card {
        transition-duration: .15s;
    }
    .ps-card:active {
        --ps-accent-bg: var(--ps-teal);
        --ps-accent-ink: #fff;
        --ps-title: var(--ps-teal);
        border-color: #9bbdb4;
    }
}

@media (max-width: 991px) {
    .ps-grid--catalog {
        grid-template-columns: minmax(0, 1fr);
    }
    .ptsc-site-banner h1 {
        font-size: clamp(17px, 3vw, 17px);
        line-height: 1.3;
        text-align: left;
        display: none;
    }
    .ps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
    .ps-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ps-intro__note {
        justify-content: flex-start;
        padding: 12px 17px;
        border: 1px solid #d6e2dc;
        border-radius: 12px;
        background: #f0f5f1;
    }
    .ps-intro__count {
        font-size: 29px;
    }
    .ps-intro__note p {
        max-width: none;
    }
    .ps-intro>p {
        max-width: 620px;
    }
    .ps-intro__note a {
        min-height: 30px;
    }
    .ps-detail-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 28px;
    }
    .ps-grid--articles {
        grid-template-columns: minmax(0, 1fr);
    }
    .ps-guidance__inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .ps-guidance__icon {
        display: none;
    }
}

@media (max-width: 600px) {
    .ps-card--category {
        display: flex;
    }
    .sb-service-name {
        font-size: 17px !important;
    }
    .ps-card--category .ps-card__image {
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
    }
    .ps-quicknav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 5px 5px 12px;
        margin-inline: -5px;
        scrollbar-width: thin;
    }
    .ps-quicknav a {
        flex-shrink: 0;
        max-width: 350px;
    }
    .ptsc-site-banner {
        min-height: 220px;
    }
    .ptsc-site-banner__inner {
        padding-block: 57px 40px;
    }
    .ps-container {
        width: calc(100% - 32px);
    }
    .ps-section {
        padding-block: 40px 15px;
    }
    .ps-breadcrumb {
        display: none;
    }
    .ps-intro {
        margin-bottom: 28px;
        gap: 18px;
    }
    .ps-intro h2 {
        font-size: 21px;
        line-height: 1.4;
    }
    .ps-intro__description {
        max-width: 100%;
    }
    .ps-intro>p {
        font-size: 14px;
    }
    .ps-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
    .ps-card__body {
        padding: 22px;
    }
    .ps-card h3 {
        font-size: 18px;
    }
    .ps-guidance {
        padding-block: 32px;
    }
    .ps-guidance__inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .ps-contact {
        padding-block: 38px;
    }
    .ps-contact__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 24px;
    }
    .ps-contact h2,
    .ps-guidance h2 {
        font-size: 18px;
    }
    .ps-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    .ps-detail>h2 {
        font-size: 18px;
    }
    .ps-aside nav a>span {
        border-radius: unset;
        border: unset;
        background: unset;
    }
    .ps-detail__lead {
        font-size: 15px;
        text-align: justify;
    }
    .ps-detail__content>h3 {
        font-size: 18px;
    }
    .ps-consultation {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ps-card__image::before {
        display: none;
    }
    .ps-card__image-action {
        transform: none;
    }
    .ps-quicknav a,
    .ps-aside nav a,
    .ps-aside nav a>span {
        transition: none;
    }
    .ps-aside nav a:hover>span {
        transform: none;
    }
    .petro-services .ps-card,
    .petro-services .ps-card *,
    .petro-services .ps-card::before,
    .petro-services .ps-card::after,
    .petro-services .ps-card *::before,
    .petro-services .ps-card *::after {
        transition: none;
    }
    .ps-card,
    .ps-card__image img,
    .ps-card__label i,
    .ps-card__link>span {
        transform: none;
    }
}