/* =============================================================
   Single Portfolio - inviva theme
   Path: assets/css/single-portfolio.css
   ============================================================= */

/* ------------------------------------------------------------------
   Variables (dùng lại từ theme nếu có, fallback ở đây)
------------------------------------------------------------------ */
:root {
    --pf-primary: #FF6B35;
    --pf-primary-dark: #e05520;
    --pf-text: #1a1a1a;
    --pf-text-muted: #666;
    --pf-border: #e8e8e8;
    --pf-bg-light: #f8f8f8;
    --pf-bg-card: #fff;
    --pf-radius: 12px;
    --pf-radius-sm: 8px;
    --pf-shadow: 0 2px 16px rgba(0, 0, 0, .07);
    --pf-shadow-hover: 0 6px 28px rgba(0, 0, 0, .13);
    --pf-chosen-bg: #fff8f5;
    --pf-chosen-border: #FF6B35;
    --pf-rejected-bg: #fafafa;
    --pf-rejected-border: #e0e0e0;
}

/* ------------------------------------------------------------------
   Layout helpers
------------------------------------------------------------------ */
.single-portfolio-page {
    /*overflow-x: hidden;*/
}

.pf-section {
    padding: 80px 0;
}

.pf-section-bg-light {
    background: var(--pf-bg-light);
}

.pf-section-inner {
    max-width: 960px;
    margin: 0 auto;
}

.pf-section-title {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--pf-text);
    margin: 0 0 30px;
    line-height: 1.3;
}

/* ------------------------------------------------------------------
   HERO
------------------------------------------------------------------ */
.pf-hero {
    overflow: hidden;
}

.pf-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 40px;
}

.pf-hero-grid .summary-trust {
    padding-top: 30px;
    border-top: 1px solid var(--clr-gray);
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

/* Gallery Swiper */
.pf-gallery-wrapper {
    position: relative;
}

.pf-hero-gallery {
    width: 100%;
    overflow: hidden;
}

/* Badges overlay trên gallery — từ portfolio-tag + tag_color */
.pf-gallery-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 10;
}

.pf-badge-tag {
    display: inline-block;
    font-size: var(--fs-14);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: .04em;
    text-transform: normal;
}

.pf-gallery-main-swiper {
    border-radius: var(--pf-radius);
    overflow: hidden;
    background: #f0f0f0;
}

.pf-gallery-slide-inner {
    width: 100%;
    line-height: 0;
}

.pf-gallery-main-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/2;
    object-fit: cover;
}

/* Thumb Swiper */
/* .pf-gallery-thumb-swiper {
    margin-top: 10px;
} */

/* .pf-gallery-thumb-swiper .swiper-slide {
    width: 90px !important;
    height: 90px;
    border-radius: var(--pf-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
    flex-shrink: 0;
    box-sizing: border-box;
} */

.pf-gallery-thumb-swiper .swiper-slide-thumb-active {
    border-color: var(--clr-blue);
}

.pf-gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-gallery-placeholder {
    border-radius: var(--pf-radius);
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-gallery-placeholder svg {
    width: 120px;
    height: 120px;
}

.single-portfolio-page .breadcrumb-wrap {
    padding: 20px;
}

.single-portfolio-page .breadcrumb-wrap a,
.single-portfolio-page .breadcrumbs {
    font-size: var(--fs-16) !important;
}

/* Sticky Sidebar */
.pf-sticky-sidebar {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #F5F7F6;
    background-color: white;
}

.pf-title {
    font-size: var(--fs-title);
    font-weight: 700;
    color: #005C8A;
    margin: 0 0 8px;
    line-height: 1.3;
}

.pf-short-desc {
    color: var(--pf-text-muted);
    font-size: var(--fs-16);
    margin: 0 0 20px;
}

/* Quick Info */
.pf-quick-info {
    overflow: hidden;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #EEEEF2;
}

.pf-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-16);
    gap: 12px;
}

.pf-info-row:not(:last-child) {
    margin-bottom: 10px;
}

.pf-info-row:last-child {
    border-bottom: none;
}

.pf-info-label {
    color: var(--pf-text-muted);
    flex-shrink: 0;
}

.pf-info-value {
    font-weight: 600;
    color: #005C8A;
    text-align: right;
}

/* Result highlights */
.pf-result-highlights {
    background: #fff8f5;
    border: 1px solid #ffd4c0;
    border-radius: var(--pf-radius);
    padding: 16px;
    margin-bottom: 20px;
}

.pf-result-label {
    font-size: var(--fs-18);
    font-weight: 700;
    color: black;
    margin: 0 0 10px;
}

.pf-result-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pf-result-list li {
    font-size: var(--fs-16);
    color: var(--pf-text);
    padding-left: 18px;
    position: relative;
    margin: 0;
}

.pf-result-list li::before {
    content: '•';
    color: var(--pf-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* CTA Buttons */
.pf-hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--pf-radius-sm);
    font-weight: 700;
    font-size: var(--fs-18);
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    text-align: center;
    min-height: 2.5em;
    line-height: 2.4em;
    letter-spacing: .03em;
    color: white !important;
}

.pf-btn-primary {
    background: linear-gradient(90deg, #FF6904 0%, #FF812D 100%);
}


.pf-btn-outline {
    background: linear-gradient(90deg, #02658F 0%, #1B9ED6 100%);
}

.btn-link-download {
    text-align: center;
    color: var(--clr-blue) !important;
    font-weight: 600;
}

.pf-btn-full {
    width: 100%;
}

/* Tech tags */
.pf-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pf-tag {
    background: #f0f0f0;
    color: var(--pf-text-muted);
    font-size: var(--fs-16);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* ------------------------------------------------------------------
   TABS NAV
------------------------------------------------------------------ */
.pf-tabs-nav {
    position: sticky;
    top: 70px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--pf-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.pf-tabs-inner {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pf-tabs-inner::-webkit-scrollbar {
    display: none;
}

.pf-tab-link {
    display: inline-block;
    padding: 15px 0;
    font-size: var(--fs-16);
    font-weight: 500;
    color: #A0AAB8;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}


.pf-tab-link:hover,
.pf-tab-link.is-active {
    color: var(--clr-blue);
    border-bottom-color: var(--clr-blue);
}


/* ------------------------------------------------------------------
   OVERVIEW
------------------------------------------------------------------ */
.pf-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.pf-overview-main .pf-section-title {
    color: var(--clr-blue);
}

.pf-overview-content {
    color: var(--pf-text);
    line-height: 1.75;
}

.pf-overview-content ul {
    padding-left: 15px;
}

.pf-overview-results {
    margin-top: 24px;
    padding: 20px;
    background: #f8fffe;
    border-left: 4px solid var(--pf-primary);
    border-radius: 0 var(--pf-radius-sm) var(--pf-radius-sm) 0;
}

.pf-overview-results-label {
    font-weight: 700;
    color: var(--pf-primary);
    margin: 0 0 10px;
    font-size: var(--fs-16);
}

.pf-overview-result-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pf-overview-result-list li {
    font-size: var(--fs-16);
    padding-left: 18px;
    position: relative;
}

.pf-overview-result-list li::before {
    content: '✓';
    color: var(--pf-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Info card */
.pf-info-card {
    background: var(--pf-bg-card);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius);
    padding: 20px;
    position: sticky;
    top: 72px;
    box-shadow: var(--pf-shadow);
}

.pf-info-card-title {
    font-weight: 700;
    font-size: var(--fs-18);
    color: var(--text-color);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pf-border);
}

.pf-info-card-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: var(--fs-16);
}

.pf-info-card-row:last-child {
    border-bottom: none;
}

.pf-info-card-row:last-child .pf-info-card-value {
    color: var(--pf-primary);
}

.pf-info-card-label {
    color: var(--pf-text-muted);
    flex-shrink: 0;
}

.pf-info-card-value {
    font-weight: 600;
    color: var(--pf-text);
    text-align: right;
}

/* ------------------------------------------------------------------
   CHALLENGE
------------------------------------------------------------------ */
.pf-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pf-challenge-card {
    background: var(--pf-bg-card);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius);
    padding: 24px 20px;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pf-challenge-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 0;
}

.pf-challenge-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.pf-challenge-title {
    font-size: var(--fs-18);
    font-weight: 700;
    color: var(--pf-text);
    margin: 0 !important;
}

.pf-challenge-desc {
    font-size: var(--fs-16);
    color: var(--pf-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ------------------------------------------------------------------
   MATERIAL
------------------------------------------------------------------ */
.pf-material-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pf-material-card {
    border-radius: var(--pf-radius);
    border: 2px solid #E8E9ED;
    padding: 20px;
    position: relative;
    transition: box-shadow .2s;
    background: white;
}

.pf-material-card.is-rejected {
    background: var(--pf-rejected-bg);
    opacity: .7;
}

.pf-material-badge {
    display: inline-block;
    font-size: var(--fs-16);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.pf-badge-chosen {
    background: var(--pf-primary);
    color: #fff;
}

.pf-badge-rejected {
    background: #e0e0e0;
    color: #888;
}

.pf-material-img-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: var(--pf-radius-sm);
    margin-bottom: 12px;
    background: #f0f0f0;
}

.pf-material-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/2;
}

.pf-material-name {
    font-size: var(--fs-18);
    font-weight: 700;
    color: var(--pf-text);
    margin: 0 0 10px;
}

.pf-material-props {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--fs-16);
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--pf-text-muted);
    line-height: 1.5;
}

.pf-material-props strong {
    color: var(--pf-text);
}

#section-timeline .pf-section-title,
#section-result .pf-section-title,
#section-reviews .pf-section-title,
#section-finish .pf-section-title,
#section-challenge .pf-section-title,
#section-material .pf-section-title {
    text-align: center;
    color: var(--clr-blue);
}

/* ------------------------------------------------------------------
   FINISH
------------------------------------------------------------------ */
.pf-finish-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pf-finish-card {
    background: var(--pf-bg-card);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius);
    padding: 24px 20px;
    transition: box-shadow .2s, transform .2s;
}


.pf-finish-img-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f0f0f0;
}

.pf-finish-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pf-finish-name {
    font-size: var(--fs-18);
    font-weight: 700;
    color: var(--pf-text);
    margin: 0 0 8px;
}

.pf-finish-desc {
    font-size: var(--fs-16);
    color: var(--pf-text-muted);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* ------------------------------------------------------------------
   TIMELINE
------------------------------------------------------------------ */
.pf-timeline-wrap {
    overflow-x: auto;
    padding-bottom: 8px;
}

.pf-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    min-width: 600px;
}

.pf-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.pf-timeline-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--clr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.pf-timeline-step:nth-child(1) .pf-timeline-dot,
.pf-timeline-step:nth-child(9) .pf-timeline-dot {
    background: var(--pf-primary);

}

.pf-timeline-num {
    color: #fff;
    font-weight: 800;
    font-size: var(--fs-16);
}

.pf-timeline-connector {
    flex: 1;
    height: 2px;
    background: transparent;
    margin-top: 22px;
    align-self: flex-start;
    min-width: 20px;
}

.pf-timeline-label {
    font-weight: 700;
    font-size: var(--fs-18);
    color: var(--pf-text);
    margin: 0 0 4px;
}

.pf-timeline-date {
    font-size: var(--fs-16);
    margin: 0 0 4px;
}

.pf-timeline-desc {
    font-size: var(--fs-16);
    color: var(--pf-text-muted);
    line-height: 1.4;
    margin: 0;
    /*max-width: 120px;*/
}

.pf-timeline-note {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
    background: #EFF6FF;
    border: 1px solid #C2DCFD;
    border-radius: var(--pf-radius-sm);
    padding: 10px 12px;
    font-size: var(--fs-16);
    color: var(--text-color);
    line-height: 1.6;
}

.pf-timeline-note-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.pf-timeline-note p {
    margin: 0;
}

/* ------------------------------------------------------------------
   RESULT
------------------------------------------------------------------ */
.pf-result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pf-result-stat-card {
    background: var(--pf-bg-card);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--pf-shadow);
}

.pf-stat-big {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--pf-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.pf-stat-title {
    font-weight: 700;
    color: var(--pf-text);
    font-size: var(--fs-18);
    margin: 0 0 6px;
}

.pf-stat-desc {
    font-size: var(--fs-16);
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* Before/After */
.pf-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.pf-ba-label {
    font-weight: 700;
    font-size: var(--fs-18);
    margin: 0 0 20px;
}

.pf-ba-before-label {
    color: var(--text-color);
}

.pf-ba-images {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.pf-ba-wrap {
    border-radius: 20px;
    padding: 40px;
    background-color: white;
    border: 1px solid #EEEEF2;
    margin-top: 40px;
    box-shadow: var(--pf-shadow);
}

#section-result .pf-ba-wrap .pf-section-title {
    font-size: 24px;
    text-align: left;
    color: black;
}

.pf-ba-main-img-link {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--pf-shadow);
}

.pf-ba-main-img-link img {
    aspect-ratio: 4/2;
    object-fit: cover;
    border-radius: 20px;
}

.pf-ba-img-wrap {
    flex: 1;
    border-radius: var(--pf-radius-sm);
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.pf-ba-img-wrap img {
    width: 100%;
    display: block;
}

.pf-ba-after {
    border: 2px solid var(--pf-primary);
}

.pf-ba-check {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--pf-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-16);
    font-weight: 700;
}

.pf-ba-caption {
    font-size: var(--fs-16);
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
    margin-top: 20px;
}

/* ------------------------------------------------------------------
   GALLERY GRID
------------------------------------------------------------------ */
.pf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pf-gallery-item {
    display: block;
    border-radius: var(--pf-radius-sm);
    overflow: hidden;
    background: #f0f0f0;
}

.pf-gallery-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.pf-gallery-item:hover img {
    transform: scale(1.04);
}

/* ------------------------------------------------------------------
   REVIEWS
------------------------------------------------------------------ */
.pf-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pf-review-card {
    background: var(--pf-bg-card);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--pf-shadow);
}

.pf-review-stars {
    display: flex;
    gap: 2px;
}

.pf-star {
    font-size: var(--fs-title);
}

.pf-star-filled {
    color: #f5a623;
}

.pf-star-empty {
    color: #ddd;
}

.pf-review-content {
    font-size: var(--fs-16);
    color: var(--pf-text);
    line-height: 1.7;
    flex: 1;
}

.pf-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--pf-border);
}

.pf-author-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.pf-avatar-img,
.pf-avatar-initial {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-avatar-initial {
    color: #fff;
    font-weight: 700;
    font-size: var(--fs-title);
}

.pf-author-name {
    display: block;
    font-size: var(--fs-16);
    font-weight: 700;
    color: var(--pf-text);
}

.pf-author-pos {
    font-size: var(--fs-16);
    color: var(--pf-text-muted);
    display: block;
}

/* ------------------------------------------------------------------
   CTA SECTION
------------------------------------------------------------------ */
.pf-cta-section {
    background: linear-gradient(90deg, #02658F 0%, #1B9ED6 100%);
    padding: 80px 0;
    border-top: 1px solid var(--pf-border);
}

.pf-cta-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    place-items: center;
}

.pf-cta-title {
    font-size: var(--fs-title);
    font-weight: 800;
    color: var(--pf-text);
    margin: 0 0 12px;
    line-height: 1.3;
}

#quote-form .pf-cta-title,
#quote-form .pf-cta-desc {
    color: white;
}

.pf-cta-desc {
    color: var(--pf-text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: var(--fs-16);
}

.pf-cta-content {
    text-align: center;
}

.pf-cta-form {
    padding: 20px;
    border-radius: 20px;
    background-color: white;
    box-shadow: var(--pf-shadow);
}

.pf-contact-form {
    display: flex;
    flex-direction: column;
    width: 450px;
}

.pf-contact-form input,
.pf-contact-form textarea {
    box-shadow: none !important;
    border-radius: 10px !important;
    outline: none !important;
}

.pf-contact-form .pf-btn-full {
    text-transform: none !important;
    margin: 0 !important;
}

.pf-form-row {
    display: flex;
}

.pf-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--pf-border);
    border-radius: var(--pf-radius-sm);
    font-size: var(--fs-16);
    color: var(--pf-text);
    background: #fff;
    transition: border-color .2s;
    outline: none;
}

.pf-input:focus {
    border-color: var(--pf-primary);
}

.pf-textarea {
    resize: vertical;
    min-height: 80px;
}

/* ------------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .pf-hero-grid {
        grid-template-columns: 1fr 0.4fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pf-section {
        padding: 40px 0;
    }

    .pf-contact-form,
    .pf-cta-form {
        width: 100%;
    }

    .pf-hero-grid {
        grid-template-columns: 1fr;
    }

    .pf-sticky-sidebar {
        position: static;
    }

    .pf-overview-grid,
    .pf-cta-inner {
        grid-template-columns: 1fr;
    }

    .pf-info-card {
        position: static;
    }

    .pf-challenge-grid,
    .pf-material-grid,
    .pf-finish-grid,
    .pf-result-stats,
    .pf-reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pf-before-after {
        grid-template-columns: 1fr;
    }

    .pf-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pf-title {
        font-size: 1.3rem;
    }

    .pf-cta-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {

    .pf-challenge-grid,
    .pf-material-grid,
    .pf-finish-grid,
    .pf-result-stats,
    .pf-reviews-grid,
    .pf-gallery-grid {
        grid-template-columns: 1fr;
    }

    .pf-stat-big {
        font-size: 2rem;
    }
}

/* 03/04/2026 */
.pf-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.pf-gallery-main-swiper {
    width: 100%;
    min-height: 500px;
    border-radius: 18px;
    overflow: hidden;
    background: #f5f5f5;
}

.pf-gallery-main-swiper .swiper-slide,
.pf-gallery-main-swiper .pf-gallery-slide-inner {
    height: 500px !important;
}

.pf-gallery-slide-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.pf-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    transition: transform .35s ease;
}

.pf-gallery-main-swiper:hover .pf-gallery-main-img {
    transform: scale(1.015);
}

.pf-gallery-thumb-swiper {
    margin: 8px 0 0 !important;
    overflow: hidden;
}

.pf-gallery-thumb-swiper .swiper-wrapper {
    align-items: center;
}

.pf-gallery-thumb-swiper .swiper-slide {
    width: 97px !important;
    height: 97px !important;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.68;
    transition: all .25s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    background: #f5f5f5;
    box-sizing: border-box;
}

.pf-gallery-thumb-swiper .swiper-slide:hover {
    opacity: 0.9;
}

.pf-gallery-thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #0f6684;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 102, 132, 0.15);
}

.pf-gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-gallery-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.pf-badge-tag {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 1024px) {
    .pf-gallery-wrapper {
        gap: 14px;
    }

    .pf-gallery-main-swiper {
        min-height: 420px;
        border-radius: 16px;
    }

    .pf-gallery-main-swiper .swiper-slide,
    .pf-gallery-main-swiper .pf-gallery-slide-inner {
        height: 420px !important;
    }

    .pf-gallery-main-img {
        border-radius: 16px;
    }

    .pf-gallery-thumb-swiper {
        height: 92px !important;
        margin-top: 6px !important;
    }

    .pf-gallery-thumb-swiper .swiper-slide {
        width: 82px !important;
        height: 82px !important;
        border-radius: 10px;
    }

    .pf-badge-tag {
        font-size: 12px;
        padding: 7px 12px;
    }
}

@media (max-width: 767px) {
    .pf-gallery-wrapper {
        gap: 12px;
    }

    .pf-gallery-main-swiper {
        min-height: 300px;
        border-radius: 14px;
    }

    .pf-gallery-main-swiper .swiper-slide,
    .pf-gallery-main-swiper .pf-gallery-slide-inner {
        height: 300px !important;
    }

    .pf-gallery-main-img {
        border-radius: 14px;
        object-fit: cover;
    }

    .pf-gallery-main-swiper:hover .pf-gallery-main-img {
        transform: none;
    }

    .pf-gallery-thumb-swiper {
        height: 74px !important;
        margin-top: 4px !important;
        overflow: visible;
    }

    .pf-gallery-thumb-swiper .swiper-slide {
        width: 68px !important;
        height: 68px !important;
        border-radius: 10px;
        opacity: 0.85;
    }

    .pf-gallery-thumb-swiper .swiper-slide-thumb-active {
        transform: translateY(0);
        box-shadow: 0 6px 14px rgba(15, 102, 132, 0.14);
    }

    .pf-badge-tag {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .pf-gallery-main-swiper {
        min-height: 250px;
        border-radius: 12px;
    }

    .pf-gallery-main-swiper .swiper-slide,
    .pf-gallery-main-swiper .pf-gallery-slide-inner {
        height: 250px !important;
    }

    .pf-gallery-main-img {
        border-radius: 12px;
    }

    .pf-gallery-thumb-swiper {
        height: 64px !important;
    }

    .pf-gallery-thumb-swiper .swiper-slide {
        width: 58px !important;
        height: 58px !important;
        border-radius: 8px;
    }

    .pf-badge-tag {
        font-size: 10.5px;
        padding: 6px 9px;
    }

    .trust-item {
        font-size: 12px;
    }
}

.pf-reviews-grid.one-reviews-flex {
    display: flex;
    justify-content: center;
}

.pf-review-card {
    max-width: 600px;
}

.pf-cta-section .group-cta {
    display: grid;
    gap: 48px;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pf-cta-section .group-cta .cta-banner img {
    border-radius: 20px;
    max-height: 365px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1023px) {
    .pf-cta-section .group-cta {
        gap: 28px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.pf-cta-section .group-cta .pf-cta-form,
.pf-cta-section .group-cta .pf-contact-form,
.pf-cta-section .group-cta .pf-form-row {
    width: 100%;
    min-width: 0;
}