/* real-version: 1.0.0.6524+70 */
/*
Theme Name: ATZ WorkSpace By RealDev
Theme URI: https://realdev.vn
Author URI: https://realdev.vn
Description: Child theme Flatsome — framework RealDev (WooCommerce, UX Builder, modules). Yêu cầu theme cha Flatsome đã cài và kích hoạt.
Author: RealDev
Version: 1.0.0.6524
Template: flatsome
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.2
WC requires at least: 8.3
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: designed-by-realdev
Domain Path: /languages
Tags: full-width-template, theme-options, e-commerce, rtl-language-support, translation-ready, custom-menu, featured-images, threaded-comments

Copyright (C) 2026 RealDev (Đạo Trần). https://realdev.vn
ATZ WorkSpace By RealDev is distributed under the terms of the GNU GPL v2 or later.
*/

:root {
    --atz-bg: #141414;
    --atz-surface: #1c1c1c;
    --atz-muted: #b8b8b8;
    --atz-heading: #ffffff;
    --atz-alert: #ff5a52;
    --atz-eyebrow: rgba(255, 255, 255, 0.8);
    --atz-line: rgba(255, 255, 255, 0.2);
    --atz-veil: rgba(255, 255, 255, 0.12);
    --atz-display: 'SVN-Moneta', Georgia, 'Times New Roman', serif;
}

html,
body {
    background-color: var(--atz-bg);
}

body {
    color: var(--atz-muted);
}

#main,
#wrapper,
.page-wrapper {
    background-color: var(--atz-bg);
}

.real-fullscreen>.section-content {
    display: flex;
    align-items: center;
    min-height: inherit;
}

.real-fullscreen>.section-content>.row {
    width: 100%;
}

.dark .real-eyebrow {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: var(--atz-eyebrow);
    margin-bottom: 16px;
}

.dark .real-heading {
    font-family: var(--atz-display);
    font-size: 52px;
    line-height: 64px;
    font-weight: 700;
    color: #fff;
}

.dark .real-heading--overlay {
    font-size: 40px;
    line-height: 48px;
    max-width: 13.825em;
    margin-bottom: 16px;
}

.dark .real-heading--center {
    text-align: center;
    margin-bottom: 32px;
}

.dark .real-lead {
    font-family: var(--atz-display);
    font-size: 34px;
    line-height: 42px;
    font-weight: 400;
    color: #fff;
}

.dark .real-body {
    font-size: 16px;
    line-height: 24px;
    color: var(--atz-muted);
    max-width: 29em;
}

.real-lead-cta {
    margin-top: 48px;
}

/* Theme-check required core CSS classes. */
.bypostauthor,
.gallery-caption,
.sticky,
.wp-caption,
.wp-caption-text,
.alignleft,
.alignright,
.aligncenter,
.alignnone,
.screen-reader-text {
    /* required by theme review; styled inline by core/Flatsome where applicable */
}

#main .col-inner {
    border-radius: 6px;
}

.nav-pagination>li>.current,
.nav-pagination>li>a:hover,
.nav-pagination>li>span:hover {
    color: var(--atz-bg);
}

.contact-form-quote .form-label,
.form-quote .form-feature {
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: bold;
}

.contact-form-quote .form-desc,
.contact-form-quote .form-label {
    color: var(--white);
    margin-bottom: 15px !important;
    display: inline-block;
}

.project-side .item,
.project-side header {
    background: var(--atz-surface);
    border: 1px solid var(--atz-line);
    padding: 15px;
    border-radius: 6px;
}

.project-side .entry-title {
    font-family: var(--atz-display);
    font-size: clamp(28px, 2.9vw, 36px);
    line-height: 1.25;
    font-weight: 700;
    color: var(--atz-heading);
}

.project-side .form-label,
.project-side .form-desc {
    color: var(--text);
}

.project-side .form-label {
    font-size: 22px;
    text-transform: capitalize;
}

.project-breadcrumb {
    font-size: 14px;
}

.project-breadcrumb .last {
    display: none;
}

.project-info-table th {
    font-weight: normal;
}

.contact-form-cta {
}

.contact-form-cta__btn {
    margin-bottom: 8px;
}

.contact-form-cta__note {
    margin: 20px auto 5px;
    font-size: 13px;
    line-height: 1.5;
    color: #74787c;
}

.about-row-team .col-inner {
    background: linear-gradient(to bottom, #343946 50%, rgba(52, 57, 70, 0) 100%);
    padding: 16px;
    border-radius: 10px;
}

.about-row-team .box-text-inner * {
    color: var(--white) !important;
}

.about-row-team .box-text-inner h4 {
    text-transform: capitalize;
    font-size: 20px;
}

.about-row-team img {
    border-radius: 10px;
}

.about-sec-culture .text-title {
    background: #383d4a;
    padding: 24px 23px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.about-sec-culture .text-title h3 {
    color: var(--white);
    margin: 0;
    font-size: 24px;
}

.about-sec-culture .text-desc p img {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.about-sec-culture .text-desc p {
    display: flex;
    font-size: 20px;
    border-bottom: 1px solid #383d4a;
    margin-bottom: 20px;
    padding-bottom: 24px;
    color: var(--white);
    gap: 10px;
    padding-left: 14px;
    align-items: center;
}

.about-row-visions .col-inner {
    border-radius: 15px;
    overflow: hidden;
}

.about-row-visions .col:first-child {
    padding-left: 0;
}

.about-sec-quotes .col-inner {
    border-radius: 8px;
    padding: 40px 40px !important;
    margin: 0 auto;
    background: linear-gradient(0deg, rgba(33, 39, 53, .1) 0%, rgba(33, 39, 53, .1) 100%), rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
}

.about-row-culture .col-inner {
    background: var(--primary);
}

.post-project .cat-label {
    background: #ff6600;
}

@media screen and (max-width: 549px) {
    .box-vertical .box-image {
        width: 30% !important;
    }

    .box-vertical {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


.title-nav .section-title {
    margin: 0;
}

.title-nav .ux-menu {
    align-items: end;
    font-size: 14px;
}

.title-nav .ux-menu-link__link:hover {
    background: var(--primary);
    color: var(--white);
}

.title-nav .ux-menu-link__link {
    padding: 4px 10px;
    line-height: 1;
    border-radius: 10px;
    min-height: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-archive-cat-group .row {
    padding: 10px 0 0;
    margin-bottom: 1px;
}

.project-archive-cat-group {
    padding-top: 20px !important;
    padding-bottom: 0px !important;
}

/* Filter/sort results: count + criteria line above the grid. */
.project-results-summary {
    margin: 0 0 18px;
    font-size: 15px;
    color: var(--text);
}

.project-results-summary strong {
    color: var(--primary);
}

/* "Xem tất cả" button below each archive group. */
.project-view-all {
    margin-top: 6px;
}

/* Blog/project card: whole .box wrapped in a single a.plain → make it block-level. */
.post-item .col-inner>a.plain {
    display: block;
}

@media(min-width: 850px) {
    .project-side .is-sticky-column:not([data-sticky-mode]) {
        top: calc(var(--flatsome-scroll-padding-top) + 100px);
    }
}

.footer-row-logo {
    background: #141414;
}

.footer-row-logo img {
    filter: invert(1);
    mix-blend-mode: screen;
}

.footer-row-logo {
    border-bottom: 1px solid #333333;
    margin-bottom: 20px;
    padding-top: 15px;
}

#contact-form .contact-form-quote .form-desc,
#contact-form .contact-form-quote .form-label {
    color: var(--rimary);
}

footer#footer,
footer#footer a {
    color: var(--white);
}

footer#footer a:hover {
    color: var(--fs-color-secondary);
}

.header:not(.transparent) .header-wrapper {
    transition: background-color 0.3s ease;
}

#logo img {
    filter: brightness(0) invert(1);
}

.header-inner>#logo {
    margin-right: 40px;
}

.header-nav-main.nav-left>li {
    margin-right: 40px;
}

.header-nav-main.nav-left>li:last-child {
    margin-right: 0;
}

.header-nav>li.header-divider {
    width: 1px;
    align-self: center;
    height: 1.5em;
    background-color: var(--atz-line);
    border: 0;
}

.header-main .header-button>.button.primary,
.header-main .header-button>.button.primary:not(.is-outline) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-width: 10.714em;
    height: 3.429em;
    padding: 0 1.143em;
    border: 0;
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.header-main .header-button>.button.primary:hover {
    background-color: #fff !important;
    color: var(--atz-bg) !important;
}

.header-button .button .rd-icon {
    width: 1em;
    height: 1em;
    margin: 0;
    stroke: currentColor;
    fill: none;
}

.header-nav>li.header-search-lightbox>a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75em;
    line-height: 1;
}

.header-search-lightbox>a .rd-icon {
    width: 24px;
    height: 24px;
    stroke: #fff;
    fill: none;
}

.header-language-toggle>.header-language-toggle__link {
    display: inline-flex;
    align-items: center;
    gap: 0.571em;
    padding: 0.429em;
    border-radius: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.header-language-toggle>.header-language-toggle__link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.header-language-toggle__flag {
    display: block;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.header-language-toggle__flag img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: cover;
    filter: none;
}

.header-nav>li>a.header-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.571em;
    padding: 0.714em 1.143em;
    font-size: 14px;
    line-height: 20px;
}

.header-menu-toggle__bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.header-menu-toggle__bars>span {
    display: block;
    width: 12px;
    height: 2px;
    background-color: #e2e8f0;
    transition: width 0.3s ease;
}

.header-menu-toggle__bars>span:first-child {
    margin-left: auto;
}

.header-menu-toggle__bars>span:nth-child(2) {
    width: 24px;
}

.header-menu-toggle:hover .header-menu-toggle__bars>span {
    width: 24px;
}

.header .menu-title {
    margin: 0;
    gap: 10px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}

.mfp-bg.off-canvas-right.dark,
.off-canvas-right.dark .mfp-content {
    background-color: var(--atz-bg);
}

.off-canvas-right .mfp-content {
    width: 672px;
    max-width: 92vw;
}

#main-menu .sidebar-menu {
    padding: 48px 80px;
}

#main-menu .nav-sidebar.nav-vertical>li {
    border: 0;
}

#main-menu .nav-sidebar.nav-vertical>li>a {
    padding: 12px 0;
    font-family: var(--atz-display);
    font-size: 32px;
    line-height: 48px;
    font-weight: 700;
    color: #fff;
    text-transform: none;
}

#main-menu .nav-sidebar.nav-vertical>li ul li a {
    padding: 6px 0;
    font-family: var(--atz-display);
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    color: #fff;
}

#search-lightbox {
    max-width: 100%;
    padding: 96px 24px;
    font-size: 16px;
    background-color: var(--atz-bg);
}

#search-lightbox .searchform-wrapper.ux-search-box {
    max-width: 48em;
    margin: 0 auto;
    font-size: 16px;
}

#search-lightbox form>.flex-row {
    align-items: center;
    height: 4em;
    border-radius: 48px;
    background-color: #2a2a2a;
    padding: 0 1.5em;
}

#search-lightbox form>.flex-row>.flex-col:last-child {
    order: -1;
    width: auto;
    margin-left: 0;
    padding-right: 0.75em;
}

#search-lightbox form>.flex-row>.flex-col.flex-grow {
    padding-right: 0;
}

#search-lightbox input.search-field {
    height: auto;
    padding: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}

#search-lightbox input.search-field::placeholder {
    color: var(--atz-muted);
}

#search-lightbox button[type=submit] {
    position: static;
    display: flex;
    align-items: center;
    height: auto;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    color: #fff;
    min-width: 0;
}

#search-lightbox button[type=submit] .rd-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.real-project-plus {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 32px;
    height: 32px;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: 0;
    transform-origin: 50% 50%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
    z-index: 5;
}

.real-project-plus>span {
    position: absolute;
    inset: 0;
    font-size: 0;
    line-height: 0;
}

.real-project-plus::before,
.real-project-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    border-radius: 1px;
}

.real-project-plus::before {
    width: 20px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.real-project-plus::after {
    width: 2px;
    height: 20px;
    transform: translate(-50%, -50%);
}

.real-project-plus:hover,
.real-project-plus:focus {
    color: #fff;
    text-decoration: none;
    transform: rotate(360deg);
}

.box-overlay .box:hover .real-project-plus {
    transform: rotate(360deg);
}

/* + icon in meta (non-overlay): absolute right, meta = relative container */
.real-project-meta {
    position: relative;
    padding-right: 52px;
    font-size: 13px;
}

.real-project-meta .rp-meta__item {
    display: flex;
    align-items: center;
}

.real-project-meta .rp-meta__icon {
    width: 15px;
    height: 15px;
    margin-right: 6px;
    flex: 0 0 auto;
    color: var(--primary);
    opacity: .85;
}

.real-project-meta .rp-meta__item strong {
    margin-right: 4px;
}

.real-project-meta .real-project-plus {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    color: #999;
}

.real-project-meta .real-project-plus::before {
    width: 26px;
    height: 2px;
}

.real-project-meta .real-project-plus::after {
    width: 2px;
    height: 26px;
}

.project-cat .section-title-main {
    font-family: var(--atz-display);
    font-size: clamp(26px, 3.4vw, 44px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--atz-heading);
}

.box:hover .real-project-meta .real-project-plus {
    transform: translateY(-50%) rotate(360deg);
}

.product-box-sidebar {
    background-color: rgb(255, 255, 255);
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 5px;
    border: 1px solid var(--border);
}

.product-box-sidebar .box-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--heading);
}

.box-sidebar-list,
.box-sidebar-list li:last-child {
    margin-bottom: 0px;
}

.box-sidebar-list li a,
.box-sidebar-list li {
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    color: var(--text);
    gap: 12px;
    padding: 5px 0px;
}

.box-sidebar-list li {
    margin-left: 0px !important;
    list-style: none;
}

.box-sidebar-list li a,
.box-sidebar-list li {
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    color: var(--text);
    gap: 12px;
    padding: 5px 0px;
}

.box-sidebar-list li i {
    color: var(--primary);
    font-size: 16px;
}

.button,
.button.primary,
.button.secondary,
.button.white {
    padding: 1em 1.75em;
    border: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button span {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.button.primary:not(.is-outline) {
    background-color: #fff;
    color: var(--atz-bg);
}

.button.primary:not(.is-outline):hover,
.button.primary:not(.is-outline):focus {
    background-color: var(--atz-muted);
    color: var(--atz-bg);
}

.button.is-outline {
    background-color: var(--atz-veil);
    border: 1px solid var(--atz-line);
    color: #fff;
}

.button.is-outline:hover,
.button.is-outline:focus,
.button.white.is-outline:hover,
.button.primary.is-outline:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--atz-bg);
}

.button.secondary:not(.is-outline) {
    background-color: var(--atz-surface);
    color: #fff;
}

.button.is-link {
    padding: 0;
    color: #fff;
    border-bottom: 1px solid var(--atz-line);
}

.button.is-link:hover {
    color: var(--atz-muted);
    border-bottom-color: var(--atz-muted);
}
.dark .real-hero-title {
    font-family: var(--atz-display);
    font-size: 64px;
    line-height: 76px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.dark .real-hero-sub {
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    max-width: 30em;
    margin-bottom: 40px;
}

.real-home-hero .section-bg video {
    object-fit: cover;
}

.real-home-hero .section-bg::after,
.real-svc-hero .section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(20, 20, 20, 0.85) 0%, rgba(20, 20, 20, 0.35) 45%, rgba(20, 20, 20, 0.25) 100%);
    pointer-events: none;
}

.real-home-philosophy .section-bg-overlay {
    background-color: transparent;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.15));
}

.real-hero-mosaic {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 8px;
    overflow: hidden;
    pointer-events: none;
    background-color: #141414;
}

.real-hero-mosaic--cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.real-hero-mosaic--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.real-hero-mosaic--cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.real-hero-mosaic--cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

.real-hero-mosaic__col {
    position: relative;
    overflow: hidden;
}

.real-hero-mosaic__track {
    display: block;
    animation: real-mosaic-up var(--real-mosaic-duration, 48s) linear infinite;
    will-change: transform;
}

.real-hero-mosaic__col:nth-child(even) .real-hero-mosaic__track {
    animation-name: real-mosaic-down;
}

.real-hero-mosaic__track img {
    display: block;
    width: 100%;
    height: 260px;
    margin-bottom: 8px;
    object-fit: cover;
}

.real-hero-mosaic::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(to right, rgba(20, 20, 20, 0.88) 0%, rgba(20, 20, 20, 0.62) 42%, rgba(20, 20, 20, 0.12) 78%, rgba(20, 20, 20, 0.05) 100%),
        linear-gradient(to top, rgba(20, 20, 20, 0.82) 0%, rgba(20, 20, 20, 0.42) 46%, rgba(20, 20, 20, 0.5) 100%);
    pointer-events: none;
}

.real-home-hero .real-hero-row {
    position: relative;
    z-index: 3;
}

@keyframes real-mosaic-up {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, -50%, 0);
    }
}

@keyframes real-mosaic-down {
    from {
        transform: translate3d(0, -50%, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@media screen and (max-width: 849px) {
    .real-hero-mosaic {
        grid-template-columns: repeat(3, 1fr);
    }

    .real-hero-mosaic__track img {
        height: 190px;
    }
}

@media screen and (max-width: 549px) {
    .real-hero-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .real-hero-mosaic::after {
        background-image: linear-gradient(to top, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.7) 55%, rgba(20, 20, 20, 0.6) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-hero-mosaic__track {
        animation: none;
    }
}

.real-home-hero .scroll-for-more,
.real-svc-hero .scroll-for-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 32px;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    background-color: transparent;
    box-shadow: none;
    color: #fff;
}

/* native-miss: chỉ báo scroll vẽ hình con chuột, kích thước cố định theo thiết bị chứ không theo cột. */
.real-home-hero .scroll-for-more::before,
.real-svc-hero .scroll-for-more::before {
    content: '';
    width: 18px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 999px;
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-size: 2px 6px;
    animation: real-scroll-dot 1s infinite;
}

/* native-miss: mũi tên chỉ báo scroll là icon, kích thước cố định theo thiết bị chứ không theo cột. */
.real-home-hero .scroll-for-more .rd-icon,
.real-svc-hero .scroll-for-more .rd-icon {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    stroke: currentColor;
    fill: none;
    animation: real-scroll-bounce 1s infinite;
}

.real-home-hero .scroll-for-more::after,
.real-svc-hero .scroll-for-more::after {
    content: attr(aria-label);
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

@keyframes real-scroll-dot {
    0%,
    100% {
        background-position: center 5px;
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        background-position: center 8px;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes real-scroll-bounce {
    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.section>.section-content>.row {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.real-section-head {
    margin-bottom: 48px;
}

.banner.real-service-card {
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.real-service-card .overlay {
    background-color: transparent;
    background-image: linear-gradient(to top, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.78) 32%, rgba(20, 20, 20, 0.3) 66%, rgba(20, 20, 20, 0.15) 100%);
}

.real-service-card .text-box {
    padding: 36px 32px;
}

/* Serif index ties the card to the numbered "Vì sao chọn" language. */
.dark .text-box .real-service-num {
    font-family: var(--atz-display);
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
    max-width: 3.6em;
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--atz-line);
}

.dark .text-box .real-service-title {
    font-family: var(--atz-display);
    font-size: 26px;
    line-height: 34px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.dark .text-box .real-service-desc {
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 22px;
}

/* Span, not a link: the whole banner is already one anchor. */
.real-service-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
    transition: gap 0.3s ease, border-color 0.3s ease;
}

.real-service-more::after {
    content: '\2192';
    font-size: 16px;
    line-height: 1;
}

.real-service-card:hover .real-service-more {
    gap: 18px;
    border-bottom-color: #fff;
}

.dark .real-section-desc {
    margin: 20px 0 0;
    max-width: 44em;
}

.dark .real-why-num {
    font-family: var(--atz-display);
    font-size: 56px;
    line-height: 64px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--atz-line);
}

.dark .real-why-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.real-why-grid .col {
    border-top: 1px solid var(--atz-line);
    padding-top: 32px;
}

.real-post-grid .post-item,
.real-project-grid .col {
    margin-bottom: 40px;
}

.real-post-grid .post-item {
    container-type: inline-size;
}

.real-post-grid .post-title,
.real-project-grid .post-title {
    font-family: inherit;
    font-size: clamp(16px, 7.5cqw, 24px);
    line-height: 1.34;
    font-weight: 600;
    color: var(--atz-heading);
    margin: 0 0 10px;
}

.real-post-grid .from_the_blog_excerpt,
.real-project-grid .box-text p {
    font-size: clamp(13px, 5.6cqw, 16px);
    line-height: 1.55;
    color: var(--atz-muted);
    margin: 10px 0 0;
}

.real-post-grid .cat-label,
.real-project-grid .cat-label.tag-label {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--atz-eyebrow);
    opacity: 1;
}

.real-post-grid .post-meta {
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 12px;
    line-height: 18px;
    color: var(--secondary);
}

.real-post-grid .post-meta>span {
    white-space: nowrap;
}

.real-post-grid .post-meta>span[aria-hidden="true"] {
    display: none;
}

.real-post-grid .box-image .image-cover {
    border-radius: 8px;
    overflow: hidden;
}

.real-project-slider .cat-label.tag-label {
    display: none;
}

.real-post-grid .box-text,
.real-project-grid .box-text {
    padding-left: 0;
    padding-right: 0;
}

.real-post-grid .blog-post-inner {
    padding-left: 0;
    padding-right: 0;
}

.real-post-grid .box-image img,
.real-project-grid .box-image img {
    border-radius: 0;
}

.real-clients-row {
    margin-bottom: 24px;
}

.real-clients-row img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.real-clients-row img:hover {
    opacity: 1;
}

.real-projects-head {
    margin-bottom: 48px;
}

.dark .real-projects-desc {
    margin: 24px 0 0;
    max-width: 44em;
}

.real-slider-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.real-slider-nav__btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background-color: transparent;
    box-shadow: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.real-slider-nav__btn:hover,
.real-slider-nav__btn:focus {
    background-color: transparent;
    box-shadow: none;
    opacity: 1;
}

.real-slider-nav__btn[disabled] {
    opacity: 0.28;
    cursor: default;
}

.real-slider-nav__prev::before {
    content: "\2190";
}

.real-slider-nav__next::before {
    content: "\2192";
}

.real-slider-nav__track {
    position: relative;
    flex: 1 1 auto;
    height: 1px;
    background-color: var(--atz-line);
}

.real-slider-nav__bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.333%;
    height: 1px;
    background-color: #fff;
    transition: left 0.45s ease, width 0.45s ease;
}

.real-slider-nav__more {
    flex: 0 0 auto;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.real-project-slider .box-text {
    padding: 20px 0 0;
}

.dark .real-project-slider .post-title {
    font-family: var(--atz-display);
    font-size: 26px;
    line-height: 34px;
    font-weight: 400;
    color: #fff;
}

@media screen and (max-width: 849px) {
    .real-projects-head {
        margin-bottom: 32px;
    }

    .real-slider-nav {
        gap: 16px;
        margin-top: 28px;
    }

    .dark .real-project-slider .post-title {
        font-size: 20px;
        line-height: 28px;
    }
}

/* Accordion — one treatment shared by every FAQ on the site. */
.dark .accordion {
    counter-reset: real-faq;
}

.dark .real-faq {
    background: transparent;
    border: 0;
}

.dark .accordion-item {
    margin-bottom: 12px;
    border: 0;
    border-radius: 14px;
    background-color: var(--atz-surface);
    transition: background-color 0.3s ease;
}

.dark .accordion-item:last-child {
    margin-bottom: 0;
}

.dark .accordion-item:hover {
    background-color: #232323;
}

.dark .accordion-title.plain {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 26px 28px;
    background: transparent;
    border: 0;
    border-radius: 14px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
    transition: color 0.3s ease;
}

.dark .accordion-title.plain::before {
    counter-increment: real-faq;
    content: counter(real-faq, decimal-leading-zero);
    flex: 0 0 auto;
    width: 56px;
    font-family: var(--atz-display);
    font-size: 15px;
    line-height: 30px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.38);
    transition: color 0.3s ease;
}

.dark .accordion-title.plain:hover,
.dark .accordion-title.plain.active,
.dark .accordion-title.plain:hover::before,
.dark .accordion-title.plain.active::before {
    color: #fff;
}

.dark .accordion-title.plain .toggle {
    order: 1;
    flex: 0 0 auto;
    position: relative;
    width: 34px;
    height: 34px;
    min-height: 34px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--atz-line);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    opacity: 1;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.dark .accordion-title.plain .rd-icon {
    display: none;
}

.dark .accordion-title.plain .toggle::before,
.dark .accordion-title.plain .toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: currentColor;
    transform: translate(-50%, -50%);
}

.dark .accordion-title.plain .toggle::before {
    width: 13px;
    height: 1.5px;
}

.dark .accordion-title.plain .toggle::after {
    width: 1.5px;
    height: 13px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dark .accordion-title.plain.active .toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.dark .accordion-title.plain:hover .toggle {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.dark .accordion-title.plain.active .toggle {
    background-color: #fff;
    border-color: #fff;
    color: var(--atz-bg);
}

.dark .accordion-inner {
    max-width: 62ch;
    padding: 0 28px 28px 84px;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    line-height: 28px;
    color: var(--atz-muted);
}

.real-home-contact .contact-form-quote .form-label,
.real-home-contact .contact-form-quote .form-desc,
.real-form-dark .contact-form-quote .form-label,
.real-form-dark .contact-form-quote .form-desc {
    display: none;
}

.real-home-contact input:not([type=submit]),
.real-home-contact select,
.real-home-contact textarea,
.real-form-dark input:not([type=submit]),
.real-form-dark select,
.real-form-dark textarea {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid var(--atz-line);
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    padding-left: 0;
}

.real-home-contact input::placeholder,
.real-home-contact textarea::placeholder,
.real-form-dark input::placeholder,
.real-form-dark textarea::placeholder {
    color: var(--atz-muted);
}

.comment-form label {
    color: var(--atz-muted);
}

.comment-form input:not([type=submit]):not([type=checkbox]),
.comment-form select,
.comment-form textarea {
    background-color: transparent;
    border: 1px solid var(--atz-line);
    box-shadow: none;
    color: #fff;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: var(--atz-muted);
}

.real-home-contact input[type=submit],
.real-form-dark input[type=submit] {
    background-color: #fff;
    color: var(--atz-bg);
    border: 0;
    border-radius: 48px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.dark .real-checklist {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    max-width: 34em;
}

.dark .real-checklist li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 2em;
    font-size: 16px;
    line-height: 26px;
    color: var(--atz-muted);
    list-style: none;
}

.dark .real-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.75em;
    height: 0.4em;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.dark .real-checklist li strong {
    color: #fff;
    font-weight: 600;
}

@media screen and (max-width: 849px) {

    .dark .real-hero-title {
        font-size: 38px;
        line-height: 46px;
    }

    .dark .real-heading {
        font-size: 32px;
        line-height: 40px;
    }

    .dark .real-heading--overlay {
        font-size: 28px;
        line-height: 36px;
    }

    .dark .real-lead {
        font-size: 22px;
        line-height: 32px;
    }

    .real-fullscreen.is-full-height {
        height: 100svh;
    }

    /* Text-only intro follows its content on phones, like the reference site. */
    .real-home-intro.is-full-height {
        height: auto;
    }

    .dark .accordion-title.plain {
        padding: 20px;
        font-size: 17px;
        line-height: 26px;
    }

    .dark .accordion-title.plain::before {
        width: 36px;
        font-size: 14px;
        line-height: 28px;
    }

    .dark .accordion-title.plain .toggle {
        width: 30px;
        height: 30px;
        min-height: 30px;
        margin-left: auto;
    }

    .dark .accordion-inner {
        padding: 0 20px 20px 56px;
    }

    /* Portrait viewports need the veil under the copy, not beside it. */
    .real-home-philosophy .section-bg-overlay {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5));
    }
}

.blog-single .related-post .related-title,
.blog-single .real-faq .section-title,
.blog-single .comments-context--post .comment-reply-title,
.blog-single .comments-context--post .comments-title {
    display: block;
    width: 100%;
    margin: 0 0 22px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--atz-line);
    font-family: var(--atz-display);
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--atz-heading);
}

.blog-single .related-post .related-title span {
    display: inline;
    padding: 0;
    background: none;
}

.blog-single .real-faq .section-title::before,
.blog-single .real-faq .section-title::after {
    display: none;
}

.entry-content blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border: 1px solid var(--atz-line);
    border-left: 3px solid var(--atz-heading);
    border-radius: 8px;
    background: var(--atz-veil);
    font-size: 17px;
    line-height: 1.7;
    font-style: normal;
    color: var(--atz-muted);
}

.entry-content blockquote p {
    margin: 0 0 12px;
    color: inherit;
    text-align: left;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content blockquote strong,
.entry-content blockquote b {
    color: var(--atz-heading);
    font-weight: 600;
}

.real-outline {
    margin-bottom: 24px;
    padding: 20px 22px;
    border: 1px solid var(--atz-line);
    border-radius: 10px;
    background: var(--atz-surface);
}

.real-outline .widget-title {
    display: block;
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--atz-line);
    font-family: var(--atz-display);
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--atz-heading);
}

.real-outline .widget-title span {
    background: none;
    padding: 0;
}

.real-outline__list {
    padding: 0;
    list-style: none;
    max-height: 62vh;
    overflow-y: auto;
}

.real-outline__item {
    list-style: none;
}

.real-outline .real-outline__link {
    padding: 7px 0 7px 14px;
    border-left: 2px solid transparent;
    font-size: 14px;
    line-height: 1.45;
    color: var(--atz-muted);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.real-outline .real-outline__item--h3 .real-outline__link {
    padding-left: 28px;
    font-size: 13px;
}

.real-outline__link:hover,
.real-outline__link:focus-visible {
    color: var(--atz-heading);
    border-left-color: var(--atz-veil);
}

.real-outline__link.is-active {
    color: var(--atz-heading);
    border-left-color: var(--atz-heading);
    font-weight: 600;
}

.blog-single .entry-content h2[id],
.blog-single .entry-content h3[id] {
    scroll-margin-top: 110px;
}

@media (max-width: 849px) {
    .real-outline__list {
        max-height: 46vh;
    }

    /* native-miss: Flatsome has no attr to unwrap a column so a grandchild can lead the stack;
       the sidebar and article column collapse into the row to put the gallery first. */
    .project-single-row>.project-main,
    .project-single-row .project-main>article {
        display: contents;
    }

    .project-single-row .project-gallery-grid,
    .project-single-row .article-inner,
    .project-single-row .real-faq,
    .project-single-row .comments-context {
        width: calc(100% - 15px);
        margin-left: 10px;
        margin-right: 5px;
    }

    .project-single-row .project-gallery-grid {
        order: 1;
        margin-bottom: 20px;
    }

    .project-single-row>.project-side {
        order: 2;
    }

    .project-single-row .article-inner,
    .project-single-row .real-faq,
    .project-single-row .comments-context {
        order: 3;
    }
}

.real-outline--inline {
    margin: 0 0 28px;
}

.real-outline--inline .real-outline__list {
    max-height: none;
}

/* Trang Liên hệ — dùng lại ngôn ngữ ADP của trang chủ/giới thiệu. */
.real-contact-map-head {
    padding-top: 96px;
    padding-bottom: 0;
}

.real-contact-map-head .real-section-desc a {
    color: #fff;
    border-bottom: 1px solid var(--atz-line);
}

.real-contact-map-head .real-section-desc a:hover {
    border-bottom-color: #fff;
}

.real-contact-hero .section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.4) 50%, rgba(20, 20, 20, 0.25) 100%);
    pointer-events: none;
}

.real-contact-card > .col-inner {
    height: 100%;
}

.dark .real-contact-label {
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--atz-line);
}

.dark .real-contact-value {
    font-family: var(--atz-display);
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.dark .real-contact-value a {
    color: #fff;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.dark .real-contact-value a:hover {
    border-bottom-color: #fff;
}

.dark .real-contact-note {
    max-width: none;
}

.real-contact-map iframe {
    display: block;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--atz-line);
    filter: grayscale(0.6) contrast(0.95) brightness(0.86);
}

@media (max-width: 849px) {
    .dark .real-contact-value {
        font-size: 20px;
        line-height: 28px;
    }

    .real-contact-map iframe {
        height: 380px;
    }
}

.real-contact-form .real-heading,
.real-contact-map-head .real-heading {
    text-wrap: balance;
}

.real-contact-map-head .real-section-desc a {
    white-space: nowrap;
}

/* native-miss: [section] padding là đơn trị (trên = dưới) nên không đẩy riêng mép trên khỏi header trong suốt. */
@media (max-width: 849px) {
    .real-contact-hero>.section-content {
        padding-top: 72px;
    }
}
