﻿/* Service Page Specific Styles */

/* Service Hero Section — banner mặc định: đội ngũ (hero-banner.jpg)
   Đổi từng trang: <section class="service-hero" style="--hero-bg: url('../images/banners/ten-file.jpg')"> */
.service-hero {
    --hero-bg: url('../images/hero-banner.jpg');
    --hero-pos: center 35%;
    background: linear-gradient(115deg, rgba(8, 29, 51, 0.9) 0%, rgba(8, 29, 51, 0.72) 42%, rgba(15, 117, 188, 0.45) 100%), var(--hero-bg);
    background-size: cover;
    background-position: var(--hero-pos);
    color: #fff;
    text-align: center;
    padding: 150px 0 80px;
    margin-top: 0;
}

.service-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.service-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-eyebrow {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.hero-cta-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
    margin: 12px auto 0;
    align-items: stretch;
}

.hero-cta-group .btn {
    width: 100%;
    min-height: var(--btn-height, 48px);
    padding: 0 14px;
    font-size: 0.92rem;
    white-space: normal;
}

.btn-hero-primary {
    background-color: var(--green);
    color: #fff;
    border-color: var(--green);
}

.btn-hero-primary:hover,
a.btn-hero-primary:hover {
    background-color: #067a38;
    color: #fff;
    border-color: #067a38;
}

/* Hero tối: nút Call — hover vẫn đọc được (nền mờ + chữ trắng + viền) */
.hero-cta-group .btn-hero-secondary,
.service-hero .btn-hero-secondary,
.service-hero .btn-secondary-cta {
    background-color: #fff;
    color: var(--cyan-deep);
    border: 1.5px solid #fff;
}

.hero-cta-group .btn-hero-secondary:hover,
.service-hero .btn-hero-secondary:hover,
.service-hero .btn-secondary-cta:hover,
a.hero-cta-group .btn-hero-secondary:hover,
a.service-hero .btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 0 1px #fff;
}

.btn-hero-zalo {
    background-color: #0068ff;
    color: #fff;
    border-color: #0068ff;
}

.btn-hero-zalo:hover,
a.btn-hero-zalo:hover {
    background-color: #0055d4;
    color: #fff;
    border-color: #0055d4;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 28px;
}

.intro-cta-line {
    font-weight: 500;
    color: var(--cyan-deep);
}

.pain-points h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Service Intro Section */
.service-intro {
    padding: 80px 0;
    background-color: #fff;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-content > * {
    min-width: 0;
}

.intro-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    background: #e8f4f6;
}

.intro-image img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: none;
}

.intro-text h2 {
    text-align: left;
}

.intro-text h2:after {
    left: 0;
    transform: none;
}

/* Service Features Section */
.service-features {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2rem;
    color: var(--cyan-deep);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
}

/* Service Process Section */
.service-process {
    background-color: #fff;
    padding: 80px 0;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    height: calc(100% - 20px);
    width: 2px;
    background-color: var(--primary-light);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--cyan-deep);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 25px;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    background-color: var(--secondary-color);
    padding: 20px 30px;
    border-radius: 8px;
    flex-grow: 1;
    min-width: 0;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--cyan-deep);
}

/* Service Benefits Section */
.service-benefits {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.benefits-list {
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    margin-bottom: 25px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (hover: hover) {
    .benefit-item:hover {
        transform: translateX(5px);
    }
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--success);
    margin-right: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.benefit-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Service Clients Section */
.service-clients {
    background-color: #fff;
    padding: 60px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-color: var(--light-gray);
    border-radius: 8px;
    font-weight: 600;
    color: var(--cyan-deep);
    box-shadow: var(--box-shadow);
    padding: 15px;
    text-align: center;
}

/* Service CTA Section */
.service-cta {
    background: linear-gradient(115deg, rgba(10, 37, 64, 0.95) 0%, rgba(18, 58, 99, 0.92) 55%, rgba(15, 117, 188, 0.75) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.service-cta h2 {
    color: #fff;
}

.service-cta h2:after {
    background-color: #fff;
}

.service-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-cta .btn {
    min-height: var(--btn-height, 48px);
    padding: 0 22px;
    font-size: var(--btn-font, 0.95rem);
    background-color: #fff;
    color: var(--cyan-deep);
    border: 1.5px solid #fff;
}

.service-cta .btn:hover,
a.service-cta .btn:hover,
body.service-page .service-cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 0 1px #fff;
}

.service-cta-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
    justify-content: center;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}

.service-cta-actions .btn {
    width: 100%;
}

.service-cta .btn-hotline,
body.service-page .service-cta .btn-hotline {
    background-color: var(--green);
    color: #fff;
    border-color: var(--green);
}

.service-cta .btn-hotline:hover,
a.service-cta .btn-hotline:hover,
body.service-page .service-cta .btn-hotline:hover {
    background-color: #067a38;
    color: #fff;
    border-color: #067a38;
    box-shadow: none;
}

.trust-strip {
    background-color: var(--cyan-deep);
    color: #fff;
    padding: 14px 0;
}

.trust-strip .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    font-size: 0.95rem;
}

.trust-strip i {
    color: var(--green);
    margin-right: 8px;
}

.service-hero-lead {
    font-size: 1.15rem;
    margin-bottom: 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.service-hero .btn-primary-cta {
    background-color: var(--green);
    color: #fff;
    padding: 12px 28px;
    font-size: 1.05rem;
}

.service-hero .btn-primary-cta:hover {
    background-color: #067a38;
    color: #fff;
}

.service-hero .btn-secondary-cta {
    background-color: #fff;
    color: var(--cyan-deep);
    padding: 12px 28px;
}

.pain-points {
    background-color: var(--light-gray);
    padding: 50px 0;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.pain-point-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--green);
    box-shadow: var(--box-shadow);
}

.pain-point-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--cyan-deep);
}

.pain-point-item p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-hero h1 {
        font-size: 2.4rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .intro-text {
        order: 1;
    }
    
    .intro-image {
        order: 0;
        margin-bottom: 30px;
    }
}

.season-banner + .service-hero {
    margin-top: 0;
}

@media (max-width: 768px) {
    .service-hero {
        padding: 80px 0 50px;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }

    .features-grid,
    .pain-points-grid {
        grid-template-columns: 1fr;
    }
    
    .step-content {
        padding: 15px 20px;
    }
    
    .benefit-item {
        padding: 15px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 576px) {
    .service-hero h1 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step:not(:last-child):after {
        top: 40px;
        left: 20px;
    }
}

/* Service FAQ Section */
.service-faq {
    background-color: var(--light-gray);
    padding: 70px 0;
}

.faq-list {
    margin-top: 30px;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(15, 117, 188, 0.08);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--cyan-deep);
}

.faq-question i {
    color: var(--cyan-deep);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 1000px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    border-bottom: 1px solid var(--medium-gray);
}

/* ============================================================
   TRANG DỊCH VỤ — Navy + đồng bộ trang chủ (body.service-page)
   ============================================================ */
body.service-page {
    --navy: #0a2540;
    --navy-2: #123a63;
    --gold: #fbbf24;
}

body.service-page .season-banner {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%);
}

body.service-page .trust-strip {
    background-color: var(--navy);
}

body.service-page .trust-strip i {
    color: var(--gold);
}

body.service-page .intro-cta-line {
    color: var(--navy);
}

body.service-page .pain-point-item h3 {
    color: var(--navy);
}

body.service-page .feature-card i,
body.service-page .step-content h3,
body.service-page .faq-question h3 {
    color: var(--navy);
}

body.service-page .step-number {
    background-color: var(--navy);
}

body.service-page .faq-question:hover {
    background-color: rgba(10, 37, 64, 0.06);
}

body.service-page .quote-form-box {
    border-top-color: var(--navy);
}

body.service-page .client-logo {
    color: var(--navy);
}

body.service-page .pain-points h2 {
    text-align: left;
}

body.service-page .pain-points h2:after {
    left: 0;
    transform: none;
}

body.service-page .service-cta {
    background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 55%, #0f4a7a 100%);
}

body.service-page .service-cta .btn {
    color: var(--cyan-deep);
}

body.service-page .service-cta .btn:hover {
    color: #fff;
}

body.service-page .service-cta .btn-hotline {
    color: #fff;
}

body.service-page .service-cta .btn-hotline:hover {
    color: #fff;
}

/* GEO — khối trả lời trước (answer-first) cho AI & người đọc */
.geo-answer-first {
    background: linear-gradient(180deg, #f0f5fa 0%, #fff 100%);
    padding: 28px 0 32px;
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.geo-answer-box {
    background: #fff;
    border-left: 4px solid var(--navy, #0a2540);
    border-radius: 0 10px 10px 0;
    padding: 20px 22px 18px;
    box-shadow: 0 4px 18px rgba(10, 37, 64, 0.06);
    max-width: 900px;
    margin: 0 auto;
}

body.service-page .geo-answer-box {
    border-left-color: var(--navy);
}

.geo-answer-lead {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 14px;
}

.geo-answer-facts {
    margin: 0 0 14px 1.1rem;
    padding: 0;
    list-style: disc;
}

.geo-answer-facts li {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4a5a6a;
    margin-bottom: 6px;
}

.geo-answer-cite {
    font-size: 0.84rem;
    color: var(--text-light);
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid var(--light-gray);
}

.geo-answer-cite a {
    font-weight: 600;
    color: var(--navy, #0a2540);
}

@media (max-width: 768px) {
    .geo-answer-first {
        padding: 20px 0 24px;
    }

    .geo-answer-box {
        padding: 16px 14px 14px;
        border-radius: 0 8px 8px 0;
    }

    .geo-answer-lead {
        font-size: 0.96rem;
    }

    .geo-answer-facts li {
        font-size: 0.9rem;
    }
}

/* Banner chứng nhận — ảnh vuông/nhỏ, overlay đậm hơn */
.service-hero--cert {
    --hero-pos: center center;
    background: linear-gradient(115deg, rgba(8, 29, 51, 0.94) 0%, rgba(8, 29, 51, 0.86) 50%, rgba(10, 37, 64, 0.78) 100%), var(--hero-bg);
}

body.service-page .service-hero--cert {
    text-align: center;
}

@media (min-width: 993px) {
    body.service-page .service-hero {
        min-height: 400px;
        display: flex;
        align-items: center;
        text-align: left;
        padding: 88px 0 64px;
    }

    body.service-page .service-hero h1,
    body.service-page .service-hero p {
        margin-left: 0;
        margin-right: auto;
    }

    body.service-page .service-hero p {
        max-width: 640px;
    }

    body.service-page .hero-cta-group {
        justify-content: flex-start;
        margin-left: 0;
        margin-right: auto;
    }

    body.service-page .service-hero--cert {
        text-align: center;
    }

    body.service-page .service-hero--cert h1,
    body.service-page .service-hero--cert p {
        margin-left: auto;
        margin-right: auto;
    }

    body.service-page .service-hero--cert .hero-cta-group {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    body.service-page .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    body.service-page .pain-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.service-page .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    body.service-page .hero-cta-group {
        display: flex;
        flex-direction: column;
        max-width: 420px;
        margin-left: 0;
        margin-right: auto;
    }

    body.service-page .service-hero--cert .hero-cta-group {
        margin-left: auto;
        margin-right: auto;
    }
} 

/* Image frame safety on service pages */
body.service-page img.news-thumb-img {
  object-fit: cover;
  object-position: center;
}
body.service-page .intro-image {
  min-height: 220px;
}
body.service-page .clients-grid .client-logo {
  display:flex; align-items:center; justify-content:center;
  min-height: 64px; padding: .75rem; overflow:hidden;
}
