/* =====================================================================
   Crane — Frontend stylesheet
   Every colour reads the CSS variables generated from the admin theme
   settings (see includes/functions.php :: theme_css()). Nothing is
   hardcoded per page — changing the theme in the admin panel restyles
   the entire site, desktop and mobile.
   Typography: Poppins (Google Fonts) with system fallbacks.
   ===================================================================== */

/* ---------- reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--primary);
    color: #080808;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: min(1180px, 100% - 40px);
    margin-inline: auto;
}

.section {
    padding: 88px 0;
}

.section {
    padding: 88px 0;
    overflow-x: clip;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 12px;
    z-index: 500;
    background: var(--secondary);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 11px;
    border: 1.5px solid transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.btn svg {
    flex: 0 0 auto;
}

.btn:active {
    transform: translateY(1px) scale(.99);
}

.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
}

.btn-primary:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}

.btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, .85);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .16);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--secondary);
    color: #fff;
}

.btn-dark:hover {
    filter: brightness(1.22);
    transform: translateY(-2px);
}

.btn-outline-dark {
    color: var(--btn-text);
    border-color: var(--btn-text);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--btn-text);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-wa {
    background: rgba(37, 211, 102, .10);
    color: #17954a;
    border-color: rgba(37, 211, 102, .55);
}

.btn-wa:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 28px;
    font-size: 15px;
    border-radius: 13px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 9px;
}

.btn-block {
    width: 100%;
}

.btn-header {
    padding: 10px 22px;
    font-weight: 700;
}

.btn[disabled] {
    opacity: .65;
    pointer-events: none;
}

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    position: sticky;
    top: 0;
    z-index: 120;
    width: 100%;
    overflow-x: clip;
    background: var(--header-bg);
    color: var(--header-text);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-logo-img {
    max-height: 46px;
    width: auto;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.2px;
    color: #fff;
}

.brand-text small {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.brand-text strong {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.2px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-text small {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    gap: 2px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 28px 13px;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .74);
    transition: color .18s ease;
}

.nav-link .nav-icon {
    display: inline-flex;
    opacity: .5;
    transition: opacity .18s ease, color .18s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover .nav-icon {
    color: var(--nav-active);
    opacity: 1;
}

.nav-link.is-active {
    color: #fff;
    font-weight: 600;
}

.nav-link.is-active .nav-icon {
    color: var(--nav-active);
    opacity: 1;
}

.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: -1px;
    height: 3px;
    background: var(--nav-active);
    border-radius: 3px 3px 0 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
}

.header-phone svg {
    color: var(--primary);
}

.header-phone:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, .1);
}

/* ---------- mobile drawer ---------- */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .62);
    z-index: 190;
    opacity: 0;
    transition: opacity .25s ease;
    backdrop-filter: blur(2px);
}

.drawer-backdrop.is-open {
    opacity: 1;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(330px, 86vw);
    z-index: 200;
    background: var(--secondary);
    color: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(103%);
    transition: transform .32s cubic-bezier(.2, .7, .3, 1);
    transform: translateX(103%);
    visibility: hidden;
    transition: transform .32s cubic-bezier(.2, .7, .3, 1), visibility .32s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.drawer-head .brand-text strong {
    font-size: 17px;
}

.drawer-close {
    background: none;
    border: 0;
    color: rgba(255, 255, 255, .75);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}

.drawer-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.drawer-nav {
    padding: 14px 14px 6px;
    overflow-y: auto;
    flex: 1;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 14px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
    border-radius: 12px;
    margin-bottom: 4px;
}

.drawer-link .drawer-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

.drawer-link>svg {
    margin-left: auto;
    opacity: .4;
}

.drawer-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.drawer-link.is-active {
    background: var(--primary);
    color: #080808;
    font-weight: 700;
}

.drawer-link.is-active .drawer-icon {
    background: rgba(8, 8, 8, .14);
}

.drawer-link.is-active>svg {
    opacity: .8;
    color: #080808;
}

.drawer-cta {
    padding: 18px 22px calc(22px + env(safe-area-inset-bottom));
    display: grid;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.drawer-cta .btn-outline {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(8, 8, 8, .88) 0%, rgba(8, 8, 8, .12) 46%),
        linear-gradient(90deg, rgba(8, 8, 8, .94) 0%, rgba(8, 8, 8, .72) 34%, rgba(8, 8, 8, .28) 62%, rgba(8, 8, 8, .06) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 110px 0 130px;
}

.hero-content {
    max-width: 640px;
}

.hero-title {
    color: #fff;
    font-size: clamp(40px, 6.4vw, 74px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -1.5px;
    margin: 14px 0 16px;
    text-wrap: balance;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
}

.hero-desc {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(14px, 1.6vw, 16.5px);
    max-width: 520px;
    margin: 16px 0 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    color: rgba(255, 255, 255, .85);
    font-size: 13.5px;
    font-weight: 600;
    transition: border-color .2s ease, background .2s ease;
}

.hero-phone svg {
    color: var(--primary);
}

.hero-phone:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

/* ---------- section heads ---------- */
.section-head {
    max-width: 660px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-head-left {
    text-align: left;
    margin: 0 0 26px;
}

.section-head h2,
.section-head h1 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    letter-spacing: -.6px;
    color: var(--text);
    line-height: 1.18;
    margin: 10px 0 12px;
    text-wrap: balance;
}

.section-head p {
    color: var(--text-muted);
    font-size: 15px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.eyebrow svg {
    color: var(--primary);
}

.section-head-on-dark h2 {
    color: #fff;
}

.section-head-on-dark p {
    color: rgba(255, 255, 255, .65);
}

.section-cta {
    text-align: center;
    margin-top: 46px;
}

/* ---------- features (What We Offer) ---------- */
.features-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 54px;
    align-items: center;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--primary-soft);
    color: var(--text);
    display: grid;
    place-items: center;
}

.feature-body h3 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-body p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 8px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
}

.feature-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.features-media {
    position: relative;
}

.features-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/4.7;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-lg);
}

.media-accent {
    position: absolute;
    left: -22px;
    bottom: -18px;
    width: 54%;
    height: 54%;
    background: var(--primary);
    clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%);
    z-index: 0;
    border-radius: 6px;
}

.media-chip {
    position: absolute;
    z-index: 2;
    right: 12px;
    top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: #fff;
    padding: 13px 18px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    font-size: 12.5px;
    font-weight: 600;
}

.media-chip svg {
    color: var(--primary);
}

.media-chip strong {
    font-size: 15px;
    font-weight: 800;
}

.empty-note {
    grid-column: 1 / -1;
    text-align: center;
    padding: 34px 22px;
    border: 1.5px dashed var(--card-border);
    border-radius: 16px;
    color: var(--text-muted);
}

.empty-note svg {
    margin: 0 auto 10px;
    color: var(--primary);
}

.empty-note p {
    margin-bottom: 14px;
    font-size: 14px;
}

/* ---------- item cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

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

.item-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 17px;
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.item-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10.5;
}

.item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.item-card:hover .item-media img {
    transform: scale(1.06);
}

.item-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary);
    color: #080808;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 5px 11px;
    border-radius: 999px;
    text-transform: uppercase;
}

.item-tag.is-warn {
    background: #b45309;
    color: #fff;
}

.item-body {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 18px 18px 20px;
    flex: 1;
}

.item-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.item-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
}

.item-title a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.item-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.item-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.item-meta svg {
    color: var(--primary);
}

.item-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.item-actions .btn {
    flex: 1;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
}

.price-now {
    font-size: 19px;
    font-weight: 800;
}

.price-old {
    font-size: 13px;
    color: var(--text-muted);
}

.price-off {
    background: var(--secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}

/* ---------- stats ---------- */
.stats-section {
    background: var(--secondary);
    padding: 66px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr));
}

.stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 26px;
}

.stat+.stat {
    border-left: 1px solid rgba(255, 255, 255, .13);
}

.stat-icon {
    color: var(--primary);
    display: inline-flex;
}

.stat-value {
    display: block;
    color: #fff;
    font-size: clamp(24px, 3vw, 33px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.5px;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, .58);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-top: 3px;
}

/* ---------- CTA band ---------- */
.cta-section {
    background: linear-gradient(118deg, var(--primary), var(--accent));
    padding: 62px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-copy h2 {
    color: var(--btn-text);
    font-size: clamp(24px, 3vw, 33px);
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 8px;
    text-wrap: balance;
}

.cta-copy p {
    color: var(--btn-text);
    opacity: .8;
    max-width: 560px;
    font-size: 14.5px;
}

.cta-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
    background: var(--secondary);
    color: #fff;
    padding: 66px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    right: -90px;
    top: -110px;
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: .16;
    transform: rotate(45deg);
    border-radius: 52px;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .52);
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, .78);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 800;
    letter-spacing: -.8px;
    margin: 0 0 10px;
    text-wrap: balance;
}

.page-hero p {
    color: rgba(255, 255, 255, .66);
    max-width: 640px;
    margin: 0;
    font-size: 14.5px;
}

/* ---------- catalog page ---------- */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.catalog-search {
    position: relative;
    flex: 1 1 260px;
    max-width: 430px;
}

.catalog-search svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.catalog-search input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-size: 14px;
    font-family: inherit;
    border: 1.5px solid var(--card-border);
    border-radius: 999px;
    background: var(--card-bg);
    color: var(--text);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.catalog-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.chip-row-center {
    justify-content: center;
    margin-bottom: 38px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    padding: 9px 17px;
    border-radius: 999px;
    border: 1.5px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    transition: all .18s ease;
}

.chip:hover {
    border-color: var(--primary);
    color: var(--text);
}

.chip.is-active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.catalog-count {
    font-size: 13px;
    color: var(--text-muted);
    margin: 10px 2px 24px;
}

.catalog-grid-loading {
    opacity: .45;
    pointer-events: none;
}

.catalog-grid-loading::after {
    content: '';
    display: block;
    width: 34px;
    height: 34px;
    margin: 34px auto 8px;
    border: 3px solid var(--card-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

/* ---------- pagination ---------- */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 44px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid var(--card-border);
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 600;
    transition: all .18s ease;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}

.page-btn.is-current {
    background: var(--btn-bg);
    border-color: var(--btn-bg);
    color: var(--btn-text);
}

/* ---------- detail page ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 46px;
    align-items: start;
}

.detail-media img {
    width: 100%;
    aspect-ratio: 4/3.1;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
}

.detail-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 13px;
    flex-wrap: wrap;
}

.detail-thumb {
    width: 86px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 11px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    transition: border-color .18s ease;
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-thumb:hover {
    border-color: var(--card-border);
}

.detail-thumb.is-active {
    border-color: var(--primary);
}

.detail-content>.item-cat {
    margin-bottom: 8px;
    display: inline-block;
}

.detail-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -.6px;
    margin-bottom: 8px;
}

.detail-lead {
    color: var(--text-muted);
    font-size: 15px;
}

.detail-metas {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 16px 0 4px;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1.5px solid var(--card-border);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.meta-chip svg {
    color: var(--primary);
}

.meta-chip.is-warn {
    border-color: #d97706;
    color: #b45309;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 6px;
}

.detail-body h3,
.detail-benefits h3,
.detail-specs h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 22px 0 10px;
}

.detail-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.detail-benefits ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
}

.detail-benefits li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-muted);
}

.detail-benefits li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.specs-table th {
    text-align: left;
    width: 40%;
    padding: 11px 14px;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--card-border);
    vertical-align: top;
}

.specs-table td {
    padding: 11px 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--card-border);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: 0;
}

.detail-enquiry {
    max-width: 760px;
    margin: 58px auto 0;
}

.related {
    margin-top: 66px;
}

/* ---------- about ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 52px;
    align-items: center;
}

.about-media {
    position: relative;
    max-width: 500px;
}

.about-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/4.6;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-lg);
}

.about-media .media-accent {
    left: auto;
    right: -24px;
    bottom: -18px;
}

.exp-badge {
    position: absolute;
    z-index: 2;
    left: -18px;
    bottom: 30px;
    background: var(--primary);
    color: #080808;
    padding: 16px 22px;
    border-radius: 17px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.exp-badge strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.exp-badge span {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.about-copy p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 13px;
}

.mv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 26px 0;
}

.mv-card {
    padding: 20px;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    background: var(--card-bg);
}

.mv-card:hover {
    border-color: var(--primary);
}

.mv-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--primary-soft);
    color: var(--text);
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}

.mv-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.mv-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.about-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 26px;
}

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

.team-card {
    border: 1px solid var(--card-border);
    border-radius: 17px;
    overflow: hidden;
    background: var(--card-bg);
    transition: transform .22s ease, box-shadow .22s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo img {
    width: 100%;
    aspect-ratio: 1/1.02;
    object-fit: cover;
    object-position: top;
}

.team-body {
    padding: 16px 18px 20px;
}

.team-body h3 {
    font-size: 15.5px;
    font-weight: 700;
}

.team-role {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin: 3px 0 8px;
}

.team-body p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- gallery ---------- */
.gallery-grid {
    columns: 3 260px;
    column-gap: 18px;
}

.gallery-item {
    break-inside: avoid;
    margin: 0 0 18px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
}

.gallery-media {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    position: relative;
}

.gallery-media img {
    width: 100%;
    transition: transform .55s ease;
}

.gallery-media:hover img {
    transform: scale(1.055);
}

.zoom-badge,
.video-badge {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: opacity .2s ease, transform .2s ease;
}

.zoom-badge {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: rgba(8, 8, 8, .55);
    color: #fff;
    backdrop-filter: blur(4px);
    opacity: 0;
}

.gallery-media:hover .zoom-badge {
    opacity: 1;
}

.video-badge {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #080808;
    box-shadow: var(--shadow);
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 44px 16px 14px;
    background: linear-gradient(transparent, rgba(8, 8, 8, .88));
    color: #fff;
    text-align: left;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
}

.gallery-media:hover .gallery-caption {
    opacity: 1;
    transform: none;
}

.gallery-caption strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
}

.gallery-caption span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .72);
}

/* lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(5, 5, 6, .96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 58px 60px 92px;
}

.lightbox[hidden] {
    display: none;
}

.lb-stage {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.lb-stage img {
    max-width: min(92vw, 1200px);
    max-height: 76vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.lb-stage iframe {
    width: min(90vw, 1080px);
    aspect-ratio: 16/9;
    height: auto;
    border: 0;
    border-radius: 12px;
    background: #000;
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    z-index: 5;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: var(--primary);
    color: #080808;
    transform: scale(1.06);
}

.lb-close {
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
}

.lb-prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
}

.lb-next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
}

.lb-prev:hover,
.lb-next:hover {
    transform: translateY(-50%) scale(1.06);
}

.lb-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 26px;
    text-align: center;
    color: #fff;
    z-index: 4;
}

.lb-caption strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.lb-caption span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .66);
}

.lb-counter {
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 4;
    color: rgba(255, 255, 255, .7);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .08em;
}

/* ---------- contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 44px;
    align-items: start;
}

.contact-info-title {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -.4px;
}

.info-cards {
    display: grid;
    gap: 13px;
}

.info-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 17px 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.info-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--primary-soft);
    color: var(--text);
    display: grid;
    place-items: center;
}

.info-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 1px;
}

.info-card span:not(.info-icon) {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.info-card span:not(.info-icon) {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.info-hours ul {
    list-style: none;
    padding: 0;
    margin: 2px 0 0;
}

.info-hours li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 1.5px 0;
}

.contact-socials {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-socials>span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-row a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--card-border);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    transition: all .2s ease;
}

.social-row a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #080808;
    transform: translateY(-3px);
}

.map-wrap {
    margin-top: 46px;
}

.map-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    height: 400px;
    background: var(--soft);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- forms ---------- */
.enquiry-form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.enquiry-form-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 22px;
}

.form-badge {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--primary);
    color: #080808;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.enquiry-form-head h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.3px;
}

.enquiry-form-head p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.form-grid .form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
}

.form-group label span {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 13.5px;
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--card-border);
    border-radius: 11px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 104px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #dc2626;
}

.form-group .field-error {
    font-size: 11.5px;
    color: #dc2626;
    font-weight: 500;
}

.form-note {
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
    margin: 12px 0 0;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.btn-submit .btn-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit .btn-loading {
    display: none;
    font-weight: 600;
}

.btn-submit.is-busy .btn-label {
    display: none;
}

.btn-submit.is-busy .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit.is-busy .btn-loading::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 2px solid rgba(0, 0, 0, .25);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

/* ---------- empty states / 404 ---------- */
.empty-state {
    text-align: center;
    padding: 64px 26px;
    border: 1.5px dashed var(--card-border);
    border-radius: 20px;
    color: var(--text-muted);
}

.empty-state svg {
    margin: 0 auto 14px;
    color: var(--primary);
}

.empty-state h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.empty-state p {
    font-size: 14px;
    max-width: 420px;
    margin: 0 auto 20px;
}

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

.notfound {
    background: var(--secondary);
    padding: 110px 0;
}

.notfound-inner {
    text-align: center;
}

.nf-code {
    font-size: clamp(72px, 14vw, 130px);
    font-weight: 800;
    letter-spacing: -4px;
    color: var(--primary);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.notfound h1 {
    color: #fff;
    font-size: clamp(22px, 3.4vw, 32px);
    font-weight: 800;
    margin-bottom: 10px;
}

.notfound p {
    color: rgba(255, 255, 255, .6);
    margin-bottom: 28px;
}

.notfound .empty-actions {
    justify-content: center;
}

/* ---------- footer ---------- */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 74px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr 1fr 1.55fr;
    gap: 44px;
    padding-bottom: 12px;
}

.brand-footer .brand-text strong {
    color: #fff;
}

.footer-about {
    color: var(--footer-text);
    opacity: .68;
    font-size: 13.5px;
    line-height: 1.8;
    margin: 18px 0 20px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(128, 128, 128, .35);
    display: grid;
    place-items: center;
    color: var(--footer-text);
    opacity: .8;
    transition: all .2s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #080808;
    opacity: 1;
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 17px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--footer-text);
    opacity: .66;
    font-size: 13.5px;
    transition: opacity .18s ease, color .18s ease;
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--footer-text);
    opacity: .68;
    font-size: 13.5px;
    line-height: 1.55;
}

.footer-contact-list svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 1;
}

.footer-contact-list a {
    color: inherit;
}

.footer-contact-list a,
.footer-contact-list span {
    color: inherit;
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-contact-list a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(128, 128, 128, .22);
    margin-top: 46px;
    padding: 19px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 12.5px;
    opacity: .55;
}

/* ---------- toasts / back-to-top ---------- */
.toast-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 320;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 36px));
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    background: #14161b;
    color: #fff;
    border-radius: 13px;
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: toast-in .35s cubic-bezier(.2, .8, .3, 1);
}

.toast svg:first-child {
    flex-shrink: 0;
    margin-top: 1px;
}

.toast-success>svg:first-child {
    color: #4ade80;
}

.toast-error>svg:first-child {
    color: #f87171;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, .55);
    cursor: pointer;
    padding: 2px;
    display: grid;
}

.toast-close:hover {
    color: #fff;
}

.toast.is-hiding {
    opacity: 0;
    transform: translateX(14px);
    transition: all .3s ease;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 150;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--btn-bg);
    color: var(--btn-text);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ---------- mobile bottom navigation ---------- */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 140;
    display: none;
    background: var(--header-bg);
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 2px 5px;
    position: relative;
    color: var(--header-text);
    opacity: .62;
    font-size: 10.3px;
    font-weight: 600;
    letter-spacing: .01em;
    min-width: 0;
}

.bottom-nav-item .bottom-nav-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bottom-nav-item.is-active {
    color: var(--nav-active);
    opacity: 1;
}

.bottom-nav-item.is-active::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--nav-active);
}

/* ---------- animations ---------- */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.js-reveal {
    opacity: 0;
    transform: translateY(20px);
}

.js-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s ease;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .js-reveal {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================================
   Responsive — mobile-first feel like a native app (bottom nav, stacked
   cards, full-bleed hero). Reference: TowPro desktop + mobile design.
   ===================================================================== */
@media (max-width: 1120px) {
    .header-phone {
        display: none;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-inner {
        min-height: 66px;
    }

    .header-inner {
        min-height: 66px;
        gap: 12px;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        font-size: 9px;
    }

    .brand-text small {
        font-size: 9px;
        letter-spacing: .12em;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    .toast-stack {
        bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .back-to-top {
        bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .hero {
        min-height: 84vh;
    }

    .hero-inner {
        padding: 84px 0 96px;
    }

    .hero-bg img {
        object-position: 72% center;
    }

    .hero-overlay {
        background:
            linear-gradient(0deg, rgba(8, 8, 8, .92) 8%, rgba(8, 8, 8, .30) 58%, rgba(8, 8, 8, .42) 100%),
            linear-gradient(180deg, rgba(8, 8, 8, .5) 0%, rgba(8, 8, 8, .04) 45%);
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-copy,
    .features-media,
    .about-copy,
    .about-media,
    .detail-media,
    .detail-content,
    .contact-info,
    .enquiry-form-card {
        min-width: 0;
    }

    .features-media {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .features-media img {
        aspect-ratio: 4/3.4;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-media {
        max-width: 460px;
        margin: 0 auto 10px;
    }

    .about-media {
        max-width: 460px;
        margin: 0 auto 10px;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .section {
        padding: 64px 0;
    }

    .gallery-grid {
        columns: 2 220px;
        column-gap: 14px;
    }

    .gallery-item {
        margin-bottom: 14px;
    }

    .lightbox {
        padding: 60px 14px 88px;
    }

    .lb-prev {
        left: 6px;
    }

    .lb-next {
        right: 6px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 14.5px;
    }

    .container {
        width: min(1180px, 100% - 32px);
    }

    .container {
        width: min(1180px, 100% - 28px);
    }

    .header-inner {
        min-height: 62px;
        gap: 8px;
    }

    .brand {
        gap: 9px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .brand-text small {
        font-size: 8px;
        letter-spacing: .06em;
    }

    .header-actions {
        gap: 6px;
    }

    .btn-header {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 9px;
    }

    .nav-toggle {
        padding: 6px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        margin-bottom: 32px;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 16px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-search {
        flex: 0 0 auto;
        max-width: none;
    }

    .chip-row {
        justify-content: flex-start;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px 0;
    }

    .stat {
        padding: 16px 14px;
    }

    .stat {
        padding: 14px 10px;
        gap: 10px;
        min-width: 0;
    }

    .stat-text {
        min-width: 0;
    }

    .stat+.stat {
        border-left: 0;
    }

    .stat:nth-child(even) {
        border-left: 1px solid rgba(255, 255, 255, .13);
    }

    .cta-section {
        padding: 48px 0;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mv-cards {
        grid-template-columns: 1fr;
    }

    .enquiry-form-card {
        padding: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }

    .gallery-grid {
        columns: 1;
    }

    .map-frame {
        height: 300px;
    }

    .item-actions {
        flex-direction: column;
    }

    .item-actions .btn {
        width: 100%;
    }

    .back-to-top {
        display: none;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        flex-basis: calc(50% - 5px);
        padding: 13px 10px;
        font-size: 13.5px;
    }

    .hero-actions .btn {
        flex-basis: calc(50% - 5px);
        padding: 13px 10px;
        font-size: 13.5px;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .cta-actions .btn,
    .detail-actions .btn {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .exp-badge {
        left: 12px;
        bottom: 14px;
        padding: 12px 18px;
    }

    .media-chip {
        right: 10px;
        top: 22px;
        padding: 10px 14px;
    }

    .media-accent {
        left: -14px;
        bottom: -12px;
    }

    .media-accent {
        left: -10px;
        bottom: -12px;
    }

    .about-media .media-accent {
        left: auto;
        right: -10px;
        bottom: -12px;
    }

    .detail-enquiry {
        margin-top: 44px;
    }

    .related {
        margin-top: 44px;
    }

    .detail-actions .btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 375px) {
    .brand-text small {
        display: none;
    }
}