/* ==========================================================================
   SpaceLine Interiors - Premium Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL SYSTEM VARIABLES & LOOMYWEB ALIASES
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary-color: #8A5A44;      /* Terracotta/Brown */
    --secondary-color: #D8C3A5;    /* Sand/Beige */
    --accent-color: #4B3621;       /* Espresso Dark */
    --background-color: #F8F6F2;   /* Soft Off-White */
    --text-color: #222222;         /* Charcoal Black */
    --muted-color: #666666;        /* Slate Grey */
    --white: #ffffff;
    --black: #000000;
    
    /* LoomyWeb Required Aliases */
    --text: var(--text-color);
    --muted: var(--muted-color);
    --bg: var(--background-color);
    --radius: 16px;
    --space: 80px;

    /* Fonts */
    --font-headings: 'Marcellus', serif;
    --font-body: 'Manrope', sans-serif;

    /* Responsive Grid & Containers */
    --container-width: 1280px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-soft: 0 10px 30px rgba(75, 54, 33, 0.05);
    --shadow-medium: 0 15px 40px rgba(75, 54, 33, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   2. LOOMYWEB PLUGIN SLOTS
   -------------------------------------------------------------------------- */
[data-slot]:empty {
    display: none;
}

/* --------------------------------------------------------------------------
   3. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--muted);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Elements */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--space) 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 48px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & ACTIONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent-color);
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 4px;
}

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

/* --------------------------------------------------------------------------
   5. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header.transparent {
    background-color: transparent;
}

.main-header.sticky {
    background-color: rgba(248, 246, 242, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 90, 68, 0.1);
    box-shadow: var(--shadow-soft);
    padding: 12px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    transition: var(--transition-smooth);
}

.main-header.sticky .header-container {
    padding: 10px 24px;
}

.logo-link {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.main-header.sticky .logo-img {
    height: 40px;
}

.logo-dot {
    color: var(--primary-color);
}

/* Nav Menu Desktop */
.nav-menu {
    display: none;
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 36px;
    }
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1100;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
}

@media (min-width: 992px) {
    .mobile-nav-toggle {
        display: none;
    }
    .header-right .btn-consultation {
        display: inline-flex;
    }
}

@media (max-width: 991px) {
    .header-right .btn-consultation {
        display: none;
    }
}

/* Mobile Offcanvas Drawer */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--background-color);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    z-index: 1050;
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.offcanvas-menu.open {
    right: 0;
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.offcanvas-nav .nav-link {
    font-size: 1.2rem;
    font-family: var(--font-headings);
    text-transform: capitalize;
    font-weight: 600;
}

.offcanvas-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offcanvas-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(75, 54, 33, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.offcanvas-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #f2eee8;
    z-index: 1;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
    align-items: flex-end;
}

@media (min-width: 992px) {
    .hero-text-row {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-description-block {
    padding-bottom: 12px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

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

/* Hero Showcase Images Grid */
.hero-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .hero-showcase-grid {
        grid-template-columns: 1fr 1.3fr;
        align-items: flex-start;
    }
}

.showcase-left-wrap {
    position: relative;
}

.showcase-img-left {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
}

/* Glassmorphic Deliver Card */
.glass-deliver-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
    max-width: 320px;
    box-shadow: var(--shadow-medium);
}

.glass-deliver-title {
    font-size: 1.3rem;
    font-family: var(--font-headings);
    color: var(--accent-color);
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glass-deliver-title svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.glass-deliver-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.glass-deliver-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.glass-deliver-item::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8c3a5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    flex-shrink: 0;
}

.showcase-right-wrap {
    position: relative;
}

.showcase-img-right {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
}

/* Floating Clock Decoration */
.clock-decoration {
    position: absolute;
    top: -25px;
    right: 40px;
    width: 90px;
    height: 90px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.clock-face {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(138, 90, 68, 0.2);
    border-radius: 50%;
    position: relative;
}

.clock-hand-hour {
    position: absolute;
    width: 2px;
    height: 18px;
    background-color: var(--accent-color);
    top: 50%;
    left: 50%;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(45deg);
}

.clock-hand-minute {
    position: absolute;
    width: 1.5px;
    height: 24px;
    background-color: var(--primary-color);
    top: 50%;
    left: 50%;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(180deg);
}

.clock-center {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --------------------------------------------------------------------------
   7. ABOUT PREVIEW SECTION
   -------------------------------------------------------------------------- */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-preview-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-preview-img-box {
    position: relative;
}

.about-preview-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
}

.about-preview-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    font-family: var(--font-headings);
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
}

.about-preview-content {
    padding-left: 0;
}

@media (min-width: 992px) {
    .about-preview-content {
        padding-left: 40px;
    }
}

.about-preview-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-preview-content p {
    font-size: 1.05rem;
    margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
    background-color: #fcfbfa;
}

.services-slider-container {
    position: relative;
    width: 100%;
}

.services-indicators {
    display: none;
}

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

@media (max-width: 767px) {
    .services-slider-container {
        overflow: hidden;
        padding-bottom: 10px;
    }
    
    .services-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        width: 600%;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        grid-template-columns: none;
        margin: 0 -10px;
    }
    
    .services-grid .service-card {
        width: calc(16.6666% - 20px);
        margin: 0 10px;
        flex-shrink: 0;
    }
    
    .services-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(216, 195, 165, 0.2);
    border-radius: var(--radius);
    padding: 40px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.service-card-header {
    margin-bottom: 24px;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(138, 90, 68, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   9. WHY CHOOSE US SECTION
   -------------------------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.why-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.why-num {
    font-family: var(--font-headings);
    font-size: 2rem;
    color: var(--secondary-color);
    line-height: 1;
    font-weight: 700;
}

.why-card-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.why-card-content p {
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   10. FEATURED PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-section {
    background-color: #fbf9f6;
}

.projects-slider-container {
    position: relative;
    width: 100%;
}

.projects-indicators {
    display: none;
}

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

@media (max-width: 767px) {
    .projects-slider-container {
        overflow: hidden;
        padding-bottom: 10px;
    }
    
    .projects-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        width: 300%;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        grid-template-columns: none;
        margin: 0 -10px;
    }
    
    .projects-grid .project-card {
        width: calc(33.3333% - 20px);
        margin: 0 10px;
        flex-shrink: 0;
        padding: 0;
    }
    
    .projects-grid .project-card .project-card-overlay {
        opacity: 1;
        visibility: visible;
        background: linear-gradient(to top, rgba(75, 54, 33, 0.95) 0%, rgba(75, 54, 33, 0.4) 60%, rgba(75, 54, 33, 0.1) 100%);
    }

    .projects-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4/5;
    cursor: pointer;
}

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(75, 54, 33, 0.95) 0%, rgba(75, 54, 33, 0.4) 60%, rgba(75, 54, 33, 0.1) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
    visibility: visible;
}

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

.project-card-cat {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.project-card-title {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 6px;
}

.project-card-loc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.project-card-overlay .btn-text {
    border-bottom: none !important;
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   11. TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-section {
    background-color: var(--background-color);
}

.testimonials-slider-container {
    position: relative;
    max-width: 850px;
    margin: 40px auto 0;
    overflow: hidden;
}

.testimonials-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 300%;
}

.testimonial-slide {
    width: 33.333%;
    flex-shrink: 0;
    padding: 10px 15px;
}

.testimonial-slide .testimonial-card {
    margin: 0;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(216, 195, 165, 0.2);
    min-height: 280px;
    height: 100%;
}

.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(75, 54, 33, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.indicator-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 1.05rem;
    font-family: var(--font-headings);
    color: var(--accent-color);
    margin-bottom: 24px;
    line-height: 1.5;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--secondary-color);
}

.testimonial-meta h5 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 600;
}

.testimonial-meta span {
    font-size: 0.8rem;
    color: var(--muted-color);
}

/* --------------------------------------------------------------------------
   12. STATISTICS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-headings);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   13. CALL TO ACTION (CTA)
   -------------------------------------------------------------------------- */
.cta-section {
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.cta-container {
    background-color: var(--accent-color);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

@media (min-width: 992px) {
    .cta-container {
        padding: 80px;
    }
}

.cta-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   14. SERVICES PAGE SPECIFICS
   -------------------------------------------------------------------------- */
.page-hero {
    padding: 160px 0 80px;
    background-color: #f2eee8;
    text-align: center;
}

.page-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 12px;
}

.page-hero-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Process Section */
.process-section {
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    position: relative;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.process-step-num {
    position: absolute;
    top: -24px;
    left: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
}

.process-step h4 {
    font-size: 1.3rem;
    margin-top: 10px;
    margin-bottom: 12px;
}

/* FAQ Accordions */
.faq-section {
    background-color: #faf8f5;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(216, 195, 165, 0.2);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    user-select: none;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 24px;
    max-height: 500px;
}

.faq-icon {
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   15. ABOUT PAGE SPECIFICS
   -------------------------------------------------------------------------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr 1.1fr;
    }
}

.story-img-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.story-img-box img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    height: 380px;
}

.story-img-box img:nth-child(2) {
    transform: translateY(30px);
}

.story-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.story-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* Vision / Mission */
.vision-mission-section {
    background-color: #faf9f6;
}

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

@media (min-width: 768px) {
    .vm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vm-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(216, 195, 165, 0.2);
}

.vm-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vm-card h3 span {
    color: var(--primary-color);
}

.vm-card h3 svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    fill: none;
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

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

.team-img-wrap {
    height: 380px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   16. PROJECTS PAGE SPECIFICS
   -------------------------------------------------------------------------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    background-color: var(--white);
    color: var(--accent-color);
    border: 1px solid rgba(75, 54, 33, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

/* Popup Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(75, 54, 33, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--white);
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-medium);
    display: grid;
    grid-template-columns: 1fr;
    max-height: 90vh;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

@media (min-width: 768px) {
    .modal-box {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-color);
    box-shadow: var(--shadow-soft);
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.modal-img-wrap {
    height: 320px;
}

@media (min-width: 768px) {
    .modal-img-wrap {
        height: 100%;
    }
}

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

.modal-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.modal-cat {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.modal-loc {
    font-size: 0.9rem;
    color: var(--muted-color);
    margin-bottom: 24px;
}

.modal-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(216, 195, 165, 0.25);
    padding-top: 24px;
}

.modal-detail-item span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted-color);
}

.modal-detail-item h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   17. CONTACT PAGE SPECIFICS
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

.contact-card {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
}

.contact-card h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-card-intro {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--secondary-color);
}


.contact-info-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 1.05rem;
    color: var(--white);
    margin-top: 4px;
    font-weight: 400;
}

/* Map Section */
.map-section {
    padding-top: 0;
}

.map-placeholder {
    width: 100%;
    height: 380px;
    border-radius: var(--radius);
    background-color: #eae7e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    margin-top: 60px;
    border: 1px dashed rgba(138, 90, 68, 0.3);
}

.map-placeholder-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-color);
}


.map-placeholder h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* Form Styles */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .form-group-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius);
    background-color: var(--white);
    border: 1px solid rgba(138, 90, 68, 0.15);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control::placeholder {
    color: #a0978d;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(138, 90, 68, 0.1);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234B3621'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 24px;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    margin-top: 10px;
}

.success-message {
    padding: 18px 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    border: 1px solid;
    text-align: center;
}

/* Styling for LoomyWeb Injected Contact Forms */
[data-slot="contact_section"] form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

[data-slot="contact_section"] form .form-group,
[data-slot="contact_section"] form > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[data-slot="contact_section"] form label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 600;
}

[data-slot="contact_section"] form input[type="text"],
[data-slot="contact_section"] form input[type="email"],
[data-slot="contact_section"] form input[type="tel"],
[data-slot="contact_section"] form select,
[data-slot="contact_section"] form textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius);
    background-color: var(--white);
    border: 1px solid rgba(138, 90, 68, 0.15);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    outline: none;
    transition: var(--transition-smooth);
}

[data-slot="contact_section"] form input::placeholder,
[data-slot="contact_section"] form textarea::placeholder {
    color: #a0978d;
}

[data-slot="contact_section"] form input:focus,
[data-slot="contact_section"] form select:focus,
[data-slot="contact_section"] form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(138, 90, 68, 0.1);
}

[data-slot="contact_section"] form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 16px;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
    width: 100%;
    margin-top: 10px;
}

[data-slot="contact_section"] form button[type="submit"]:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* --------------------------------------------------------------------------
   18. FOOTER SECTION
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding-top: 80px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.footer-logo {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-newsletter-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.newsletter-input:focus {
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-submit {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.newsletter-submit:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
}

@media (min-width: 768px) {
    /* Keep centered layout on desktop */
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-align: center;
}

.footer-social-slot {
    display: flex;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   19. ANIMATIONS & TRANSITIONS
   -------------------------------------------------------------------------- */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   20. UTILITY CLASSES (replaces inline styles)
   -------------------------------------------------------------------------- */

/* Animation Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Button Variants */
.btn-full {
    width: 100%;
}

.btn-text-light {
    color: var(--white);
    border-color: var(--secondary-color);
}
.btn-cta-inverted {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border-color: var(--secondary-color);
}

.btn-cta-inverted:hover,
.btn-cta-inverted:focus,
.btn-cta-inverted:active {
    background-color: var(--white);
    color: var(--accent-color);
    border-color: var(--white);
}

/* Section Layout Utilities */
.section-header-centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.projects-cta-wrap {
    text-align: center;
    margin-top: 50px;
}

/* Service Card Sub-elements */
.service-card-benefits {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.service-card-link {
    align-self: flex-start;
    margin-top: 16px;
}

/* Icon Size Utilities */
.icon-sm {
    font-size: 1rem;
}

.icon-xs {
    font-size: 0.8rem;
}

/* About Preview Detail Paragraph */
.about-preview-detail {
    margin-bottom: 36px;
    font-size: 0.95rem;
}

/* Hero Showcase Top Margin */
.hero-showcase-top {
    margin-top: 40px;
}

/* About Page: Vision / Mission Icon */
.vm-icon {
    color: var(--primary-color);
}

/* Footer: Hours & Contact Text */
.footer-hours-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-hours-text-gap {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-contact-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-contact-text:last-child {
    margin-bottom: 0;
}

.footer-highlight-link {
    color: var(--secondary-color);
}

.footer-credit-link {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Contact Page: Form Box & Title */
.contact-form-box {
    background-color: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.contact-form-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--accent-color);
}

/* Contact Page: Map Description */
.map-desc {
    max-width: 500px;
    margin: 0 auto 20px;
    color: var(--muted-color);
    font-size: 0.95rem;
}

/* Contact Page: Info Link Style */
.contact-info-link {
    color: var(--white);
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

/* Contact Page: FAQ Sunday Note */
.faq-sunday-note {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Custom Floating Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20ba5a;
}
