/* ==========================================================================
   MIFPL Interior Design Studio - Core Design System & Layout
   Inspired by the Intrio architectural aesthetic (#805231 / #341F16)
   ========================================================================== */

:root {
    --primary-color: #805231;
    --primary-color-rgb: 128, 82, 49;
    --primary-hover: #694125;
    --bg-dark: #181310;
    --bg-dark-elevated: #221b17;
    --bg-tint: rgba(128, 82, 49, 0.08);
    --body-font: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
    --body-font-size: 16px;
    --body-color: rgba(52, 31, 22, 0.78);
    --body-color-dark: rgba(255, 255, 255, 0.8);
    --heading-color: #341F16;
    --heading-color-dark: #ffffff;
    --border-light: rgba(52, 31, 22, 0.12);
    --border-dark: rgba(255, 255, 255, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset & Typography */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.01em;
    color: var(--body-color);
    background-color: #ffffff;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

main,
section,
footer {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--body-font);
    font-weight: 400;
    color: var(--heading-color);
    text-transform: uppercase;
    margin-top: 0;
}

h2 {
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.625rem);
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.hs-4 {
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: none;
    margin-bottom: 0.75rem;
}

.hs-5 {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: none;
}

.text-transform-none {
    text-transform: none !important;
}

.id-color {
    color: var(--primary-color) !important;
}

.text-muted-custom {
    color: rgba(52, 31, 22, 0.6);
}

.fs-14 { font-size: 0.875rem; }
.fs-15 { font-size: 0.9375rem; }
.fs-40 { font-size: clamp(2rem, 2.8vw, 2.5rem); font-weight: 500; }

.section-pad {
    padding: 64px 0;
}

.bg-color-op-1 {
    background-color: var(--bg-tint);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--body-color-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--heading-color-dark);
}

.subtitle {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.spacer-double {
    height: 40px;
}

.spacer-30-line {
    height: 1px;
    background: var(--border-dark);
    margin: 26px 0;
}

.border-top-2-black {
    border-top: 2px solid var(--heading-color);
    width: 100%;
}

.rounded-1 {
    border-radius: 8px !important;
}

.relative {
    position: relative !important;
}

.z-2 {
    z-index: 2 !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    padding: 18px 0;
    transition: var(--transition-smooth);
}

header#main-header.scrolled {
    background-color: rgba(24, 19, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

header#main-header.menu-open,
header#main-header.scrolled.menu-open {
    background-color: var(--bg-dark);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.de-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.de-flex-col {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#logo img {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

header.scrolled #logo img {
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

#logo .logo-scroll {
    display: none;
}

header.scrolled #logo .logo-main {
    display: none;
}

header.scrolled #logo .logo-scroll {
    display: block;
}

#mainmenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

#mainmenu > li {
    position: relative;
}

#mainmenu > li > a.menu-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s ease;
}

#mainmenu > li > a.menu-item:hover,
#mainmenu > li > a.menu-item.active {
    color: #d8a67e;
}

.menu-caret {
    font-size: 0.65rem;
    opacity: 0.75;
}

/* Dropdown Submenu */
#mainmenu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 245px;
    background: var(--bg-dark-elevated);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    z-index: 50;
}

#mainmenu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#mainmenu li ul li a {
    display: block;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.2s ease, color 0.2s ease;
}

#mainmenu li ul li a:hover {
    background: rgba(128, 82, 49, 0.25);
    color: #ffffff;
}

/* Primary Button */
.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 11px 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.25s ease;
}

.btn-main:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Secondary Hero CTA Button */
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 4px;
    padding: 10px 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.btn-hero-secondary:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--heading-color);
    transform: translateY(-2px);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 1.75rem;
}

/* Studio Drawer Button */
#btn-extra {
    background: transparent;
    border: none;
    width: 34px;
    height: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    padding: 0;
}

#btn-extra span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s ease, width 0.3s ease;
}

#btn-extra:hover span:last-child {
    width: 70%;
}

/* Mobile Menu Toggle */
#menu-btn {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

#menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease;
}

#menu-btn.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#menu-btn.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#menu-btn.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
#section-intro {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.hero-wrapper {
    height: 100vh;
    height: 100svh;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 105px;
    position: relative;
    overflow: hidden;
}

#section-about {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    width: 100%;
}

.hero-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-swiper .swiper-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

.sw-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 12, 10, 0.5) 0%, rgba(16, 12, 10, 0.34) 50%, rgba(16, 12, 10, 0.54) 100%);
    z-index: 1;
}

.sw-overlay.op-6 {
    background: rgba(18, 13, 10, 0.45);
}

.hero-content-layer {
    position: relative;
    z-index: 2;
    padding: 24px 0 40px;
}

.hero-title {
    font-size: clamp(2.8rem, 7.2vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.025em;
    font-weight: 400;
    color: #ffffff;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.75;
    margin-top: 1.25rem;
}

.hero-pillars {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding-bottom: 28px;
}

.pillar-item {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding-left: 16px;
}

.pillar-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* ==========================================================================
   Counters, About & Services
   ========================================================================== */
.section-counters {
    padding: 28px 0;
    background-color: var(--bg-dark);
    color: var(--body-color-dark);
}

.about-portrait {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.de_count {
    padding: 12px 24px;
    border-left: 2px solid var(--border-light);
}

.de_count h3 {
    color: var(--heading-color);
}

.section-counters .de_count {
    border-left-color: var(--border-dark);
}

.section-counters .de_count h3 {
    color: var(--heading-color-dark);
}

.section-counters .de_count p {
    color: var(--body-color-dark);
}

/* ==========================================================================
   Services & Projects Cards + Carousels
   ========================================================================== */
.d-prev.circle,
.d-next.circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: #ffffff;
    color: var(--heading-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.d-prev.circle:hover,
.d-next.circle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.services-swiper .swiper-wrapper,
.projects-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.hover-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    display: block;
}

.service-card {
    aspect-ratio: 3 / 4;
}

.project-card {
    aspect-ratio: 16 / 10;
}

.card-media {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.gradient-edge-bottom {
    position: absolute;
    inset: auto 0 0 0;
    height: 65%;
    background: linear-gradient(180deg, rgba(16, 12, 10, 0) 0%, rgba(16, 12, 10, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.gradient-edge-top {
    position: absolute;
    inset: 0 0 auto 0;
    height: 60%;
    background: linear-gradient(180deg, rgba(16, 12, 10, 0.78) 0%, rgba(16, 12, 10, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.hover-arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: var(--transition-smooth);
}

.hover-card:hover .hover-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}

.card-caption h3 {
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.15;
    margin: 0;
}

.project-title-wrap {
    position: absolute;
    top: 24px;
    left: 24px;
    max-width: 65%;
    z-index: 2;
}

.project-title-wrap h3 {
    color: #ffffff;
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    line-height: 1.2;
    margin: 0;
}

.project-tags {
    position: absolute;
    bottom: 20px;
    left: 24px;
    right: 24px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ==========================================================================
   Editorial Staggered Gallery (#section-projects)
   ========================================================================== */
.gallery-showcase-section {
    color: var(--body-color);
}

.gallery-editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: start;
}

.gallery-editorial-header {
    grid-column: 1 / 3;
    grid-row: 1;
    padding: 0 28px 24px 0;
}

.gallery-subtitle {
    color: var(--primary-color) !important;
}

.gallery-lead {
    color: var(--body-color);
    max-width: 46ch;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-col-1 {
    grid-column: 1;
    grid-row: 2;
}

.gallery-col-2 {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
}

.gallery-col-3 {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 0;
}

.gallery-col-4 {
    grid-column: 4;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 0;
}

.gallery-card {
    display: block;
    text-decoration: none;
    border-radius: 4px;
    background-color: #ffffff;
}

.gallery-card-tall {
    aspect-ratio: 3 / 4;
}

.gallery-card-portrait {
    aspect-ratio: 4 / 5;
}

.gallery-card-landscape {
    aspect-ratio: 4 / 3;
}

.gallery-card-square {
    aspect-ratio: 1 / 1;
}

.gallery-card-extra-tall {
    aspect-ratio: 2 / 3;
}

.gallery-card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px 14px 14px;
    background: linear-gradient(180deg, rgba(16, 12, 10, 0) 0%, rgba(16, 12, 10, 0.85) 100%);
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card-overlay h3 {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.gallery-card-overlay span {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 992px) {
    .gallery-editorial-grid {
        align-items: stretch;
    }

    .gallery-col-1,
    .gallery-col-2,
    .gallery-col-3,
    .gallery-col-4 {
        align-self: stretch;
        height: 100%;
    }

    .gallery-col-2 .gallery-card {
        flex: 1 1 0;
        height: 100%;
        aspect-ratio: auto;
        min-height: 0;
    }

    .gallery-col-3 .gallery-card-portrait {
        flex: 5 1 0;
        aspect-ratio: auto;
        min-height: 0;
    }

    .gallery-col-3 .gallery-card-square {
        flex: 4 1 0;
        aspect-ratio: auto;
        min-height: 0;
    }

    .gallery-col-4 .gallery-card-extra-tall {
        flex: 6 1 0;
        aspect-ratio: auto;
        min-height: 0;
    }

    .gallery-col-4 .gallery-card-landscape {
        flex: 3 1 0;
        aspect-ratio: auto;
        min-height: 0;
    }
}

@media (max-width: 991.98px) {
    .gallery-editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-editorial-header {
        grid-column: 1 / -1;
        grid-row: auto;
        padding: 0 0 16px 0;
    }

    .gallery-col-1,
    .gallery-col-2,
    .gallery-col-3,
    .gallery-col-4 {
        grid-column: auto;
        grid-row: auto;
        align-self: stretch;
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .gallery-editorial-grid {
        grid-template-columns: 1fr;
    }
}

.bg-blur {
    background: rgba(24, 19, 16, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Testimonials Section (Split Editorial Spotlight)
   ========================================================================== */
.testimonials-section {
    position: relative;
    background-color: #fbf6eb;
    color: var(--heading-color);
}

.services-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.testimonial-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.testimonial-heading {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #181411;
    margin-bottom: 1.5rem;
}

.testimonial-heading .accent {
    color: var(--primary-color);
}

.testimonial-rating-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.25rem;
}

.testimonial-rating-score {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
}

.testimonial-rating-meta .d-stars {
    justify-content: flex-start;
    color: #d49b27;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.testimonial-rating-caption {
    font-size: 0.8125rem;
    color: rgba(34, 27, 22, 0.7);
}

.testimonial-intro-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(34, 27, 22, 0.75);
    max-width: 40ch;
    margin-bottom: 1.75rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: #141210;
    color: #ffffff;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.testimonial-nav-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.testimonial-counter {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(34, 27, 22, 0.65);
    min-width: 42px;
    text-align: center;
}

.testimonial-card-stack {
    position: relative;
    padding-bottom: 12px;
}

.testimonial-card-stack::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 36px;
    background-color: #ebe2ce;
    border-radius: 18px;
    z-index: 0;
    box-shadow: 0 20px 50px rgba(24, 19, 16, 0.1);
}

.testimonials-swiper {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 22px 54px rgba(24, 19, 16, 0.12);
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonial-card {
    position: relative;
    background-color: #f4ecdc;
    color: #26201b;
    border: 1px solid rgba(139, 99, 52, 0.14);
    border-radius: 18px;
    padding: clamp(28px, 4vw, 44px);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.d-stars {
    color: #d49b27;
    font-size: 0.9rem;
    display: flex;
    justify-content: flex-start;
    gap: 4px;
}

.testimonial-quote-icon {
    font-size: 2rem;
    line-height: 1;
    color: rgba(139, 99, 52, 0.25);
    margin: 14px 0 12px;
}

.testimonial-quote {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #2b241f;
    margin-bottom: 1.75rem;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 99, 52, 0.16);
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.testimonial-author {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #181411;
}

.testimonial-location {
    display: block;
    font-size: 0.8125rem;
    color: rgba(34, 27, 22, 0.65);
    margin-top: 2px;
}

/* ==========================================================================
   4-Step Process Cards
   ========================================================================== */
#section-process.section-pad {
    padding: 36px 0;
}

.de-step-col {
    position: relative;
}

.de-step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px 22px 28px;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(52, 31, 22, 0.06);
    overflow: hidden;
    text-align: center;
    transition: var(--transition-smooth);
}

.de-step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(var(--primary-color-rgb), 0.25));
    opacity: 0.8;
    transition: opacity 0.35s ease, height 0.35s ease;
}

.de-step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--primary-color-rgb), 0.35);
    box-shadow: 0 20px 44px rgba(52, 31, 22, 0.12);
}

.de-step-card:hover::before {
    opacity: 1;
    height: 4px;
}

.de-step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--bg-tint);
    border: 1px solid rgba(var(--primary-color-rgb), 0.16);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.de-step-card:hover .de-step-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: scale(1.06);
}

.de-step-card .hs-4 {
    color: var(--heading-color);
    margin-bottom: 10px;
    text-align: center;
}

.de-step-card p {
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 0;
    text-align: center;
}

.de-step-card-final .de-step-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.de-step-card-final:hover .de-step-icon {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Arrow line connecting each card to the next on desktop */
@media (min-width: 992px) {
    .de-step-col:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 50%;
        left: calc(100% - 20px);
        width: 34px;
        height: 2px;
        background: rgba(var(--primary-color-rgb), 0.55);
        transform: translateY(-50%);
        z-index: 2;
    }

    .de-step-col:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        left: calc(100% + 12px);
        transform: translateY(-50%);
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 8px solid var(--primary-color);
        z-index: 2;
    }
}

/* ==========================================================================
   Video Showreel Banner
   ========================================================================== */
.video-banner-wrap {
    position: relative;
    max-height: 580px;
    overflow: hidden;
}

.video-banner-trigger {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.video-banner-img {
    height: 540px;
    object-fit: cover;
    display: block;
}

.video-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 12, 10, 0.38);
    transition: background 0.35s ease;
}

.video-banner-trigger:hover .video-banner-overlay {
    background: rgba(16, 12, 10, 0.55);
}

.player-btn-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.player-btn {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    padding-left: 4px;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.16);
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-banner-trigger:hover .player-btn {
    transform: scale(1.1);
    background: var(--primary-color);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.accordion-item-custom {
    border-bottom: 1px solid var(--primary-color);
}

.accordion-title-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--heading-color);
    cursor: pointer;
}

.accordion-title-btn i {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item-custom.active .accordion-title-btn i {
    transform: rotate(45deg);
}

.accordion-body-custom {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: var(--body-color);
}

.accordion-item-custom.active .accordion-body-custom {
    max-height: 220px;
    padding-bottom: 22px;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-thumb {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 11;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.08);
}

.blog-card h3 {
    text-transform: none;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.65rem;
}

.blog-card h3 a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-card h3 a:hover {
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted-custom);
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}

/* ==========================================================================
   Off-Canvas Studio Drawer
   ========================================================================== */
#extra-wrap {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 1060;
    padding: 40px 34px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.45s ease;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.45);
}

#extra-wrap.open {
    transform: translateX(0);
    visibility: visible;
}

#extra-wrap h1,
#extra-wrap h2,
#extra-wrap h3,
#extra-wrap h4,
#extra-wrap h5,
#extra-wrap h6 {
    color: #ffffff;
}

#btn-close {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border-dark);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btn-close span {
    position: absolute;
    width: 16px;
    height: 2px;
    background: #ffffff;
}

#btn-close span:first-child { transform: rotate(45deg); }
#btn-close span:last-child { transform: rotate(-45deg); }

.drawer-logo {
    width: 150px;
    height: auto;
}

.drawer-thumb {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.drawer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.drawer-thumb:hover img {
    transform: scale(1.1);
}

.ul-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ul-check li {
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
}

.ul-check li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.ul-check li a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.ul-check li a:hover {
    color: #ffffff;
}

.drawer-contact-list div {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   Footer & Social Icons
   ========================================================================== */
footer.section-dark {
    padding: 64px 0 0;
}

.footer-logo {
    width: 170px;
    height: auto;
}

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

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-cta-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    background: transparent;
    color: #ffffff;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.footer-cta-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 34ch;
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-contact-list li i {
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.25s ease;
}

.footer-contact-list li a:hover {
    color: #ffffff;
}

.footer-contact-info h3 {
    text-transform: none;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
}

.subfooter {
    margin-top: 48px;
    padding: 24px 0;
    border-top: 1px solid var(--border-dark);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.subfooter a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.25s ease;
}

.subfooter a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   Modals & Back to Top
   ========================================================================== */
.custom-modal-content {
    border-radius: 10px;
    border: none;
    padding: 16px;
}

.custom-input {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9375rem;
}

.custom-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.16);
}

.detail-modal-img {
    max-height: 360px;
    object-fit: cover;
}

#back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Right-Center Stacked Call & WhatsApp Floating Buttons */
.floating-contact-stack {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1015;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-contact-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.floating-contact-btn:hover,
.floating-contact-btn:focus-visible {
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.floating-call-btn {
    background: var(--primary-color);
}

.floating-whatsapp-btn {
    background: #25D366;
    font-size: 1.8rem;
}

@media (max-width: 767.98px) {
    .floating-contact-stack {
        right: 0;
        top: 50%;
        gap: 6px;
    }

    .floating-contact-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .floating-whatsapp-btn {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Responsive Breakpoints (All Screen Sizes)
   ========================================================================== */
@media (max-width: 1199.98px) {
    #mainmenu {
        gap: 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .section-pad {
        padding: 48px 0;
    }

    #menu-btn {
        display: flex;
    }

    #btn-extra {
        display: none;
    }

    nav.header-col-mid {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: block;
        height: calc(100vh - var(--mobile-header-h, 76px));
        height: calc(100dvh - var(--mobile-header-h, 76px));
        background: var(--bg-dark);
        padding: 20px 24px 32px;
        border-top: 1px solid var(--border-dark);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.38s cubic-bezier(0.25, 0.8, 0.25, 1),
                    opacity 0.32s ease,
                    transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1),
                    visibility 0.38s ease;
    }

    nav.header-col-mid.mobile-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }

    #mainmenu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    #mainmenu > li {
        width: 100%;
    }

    #mainmenu li ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
        margin-top: 6px;
        display: none;
    }

    #mainmenu li:hover > ul,
    #mainmenu li.sub-open > ul {
        display: block;
    }

    .de-step-arrow::after {
        display: none;
    }

    .video-banner-img {
        height: 380px;
    }
}

@media (max-width: 767.98px) {
    .hero-wrapper {
        height: 78vh;
        height: 78svh;
        min-height: 480px;
        padding-top: 86px;
    }

    .hero-title {
        font-size: clamp(2.05rem, 10.2vw, 3.5rem);
        line-height: 1.02;
        letter-spacing: -0.03em;
        white-space: nowrap;
    }

    .footer-contact-info h3 {
        overflow-wrap: anywhere;
    }

    .hero-lead {
        font-size: 1.0625rem;
        line-height: 1.7;
    }

    .hero-content-layer {
        padding: 16px 0 32px;
    }

    .hero-pillars {
        display: none;
    }

    .spacer-double {
        height: 28px;
    }

    .de_count {
        border-left: none;
        border-top: 2px solid var(--border-light);
        padding: 18px 0;
    }

    .parallax-section {
        padding: 56px 0;
    }
}

@media (max-width: 575.98px) {
    header#main-header .btn-main {
        display: none;
    }

    #logo img {
        height: 34px;
    }

    .section-pad {
        padding: 42px 0;
    }

    .project-card {
        aspect-ratio: 4 / 3;
    }

    .video-banner-img {
        height: 260px;
    }

    .de-step {
        padding: 10px 6px;
    }

    .de-step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   SHARED GALLERY LIGHTBOX (70% width, no text, no scrollbars, prev/next nav)
   ========================================================================== */
html.lightbox-open,
body.lightbox-open {
    overflow: hidden !important;
    height: 100%;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 2000;
    background-color: rgba(24, 19, 16, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-lightbox img {
    width: 70vw;
    max-width: 70vw;
    height: auto;
    max-height: 85vh;
    max-height: 85dvh;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    user-select: none;
}

.gallery-lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 2001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(24, 19, 16, 0.65);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.gallery-lightbox-close:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.gallery-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(24, 19, 16, 0.65);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.gallery-lightbox-prev {
    left: 24px;
}

.gallery-lightbox-next {
    right: 24px;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.06);
}

@media (max-width: 767.98px) {
    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-lightbox-prev {
        left: 10px;
    }

    .gallery-lightbox-next {
        right: 10px;
    }
}
