/* =============================================
   DHOLERA EXPERT - Main Stylesheet
   Modern Real Estate Theme
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #0d2137;
    --primary-light: #1a3c5e;
    --accent: #c4953a;
    --accent-light: #e0b055;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #f0f2f5;
    --gray: #6c757d;
    --dark-gray: #333333;
    --text: #2d3748;
    --border: #e2e8f0;
    --shadow: rgba(13, 33, 55, 0.1);
    --shadow-hover: rgba(13, 33, 55, 0.2);
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-light);
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-lg {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 1rem;
}

.section-header.text-center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    line-height: 1.8;
}

.section-header.text-center .section-subtitle {
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 1rem 0 0;
    border-radius: 2px;
}

.section-header.text-center .section-divider {
    margin: 1rem auto 0;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
}

#site-header.transparent {
    background: transparent;
}

#site-header.scrolled,
#site-header.solid {
    background: var(--primary);
    box-shadow: 0 2px 30px var(--shadow);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo img {
    height: 55px;
    width: auto;
}

.site-logo .text-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

header.transparent .site-logo .text-logo {
    color: var(--primary);
}

.site-logo .text-logo span {
    color: var(--accent);
}

/* Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.transparent .menu-item a {
    color: var(--primary);
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item>a {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

/* Dropdown */
.main-nav ul li .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    padding: 0.5rem;
    z-index: 100;
}

.main-nav ul li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul li .sub-menu li a {
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    padding: 0.6rem 1rem;
}

.main-nav ul li .sub-menu li a:hover {
    color: var(--accent);
    background: var(--light-gray);
}

.main-nav ul li .sub-menu li a::after {
    display: none;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
}

.header-phone svg {
    color: var(--accent);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================================
   HEADER FIXES — paste at the bottom of main.css
   ================================================ */

/* ── Top bar ── */
.top-bar {
    position: relative;
    z-index: 100;
    /* sits above the fixed header */
    background: var(--primary);
    padding: 0.45rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.65);
}

.top-bar-right svg {
    color: var(--accent);
}

/* ── Fixed header sits BELOW top-bar ── */
#site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
    padding: 1rem 0;
}

/* Transparent state (front page / project hero) */
#site-header.transparent {
    background: transparent;
    box-shadow: none;
}

/* Scrolled state — added by JS */
#site-header.scrolled,
#site-header.solid {
    background: var(--primary);
    box-shadow: 0 2px 30px rgba(13, 33, 55, 0.18);
    padding: 0.65rem 0;
}

/* ── Header inner layout ── */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* ── Logo ── */
.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 52px;
    width: auto;
}

.text-logo {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
}

.text-logo span {
    color: var(--accent);
}

/* ── Desktop nav ── */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul,
.main-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav li a {
    display: block;
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.main-nav li a:hover,
.main-nav li.current-menu-item>a,
.main-nav li.current_page_item>a {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.07);
}

/* ── Header right actions ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* ── Hamburger toggle ── */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    width: 38px;
    height: 38px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.scrolled .mobile-menu-toggle span {
    background: var(--white);
}

.solid .mobile-menu-toggle span {
    background: var(--white);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav overlay ── */
.mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100%;
    background: var(--primary);
    z-index: 1100;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    box-shadow: -6px 0 40px rgba(0, 0, 0, 0.35);
}

.mobile-nav.open {
    transform: translateX(0);
    visibility: visible;
}

/* Close button */
.mobile-nav-close {
    display: flex;
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
    margin-bottom: 1.5rem;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile logo */
.mobile-nav-logo {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-logo .text-logo {
    font-size: 1.4rem;
}

.mobile-nav-logo img {
    height: 44px;
}

/* Mobile menu items */
.mobile-nav-menu,
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mobile-nav-menu li a,
.mobile-nav ul li a {
    display: block;
    padding: 0.875rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.2s, padding-left 0.2s;
    text-decoration: none;
}

.mobile-nav-menu li a:hover,
.mobile-nav ul li a:hover,
.mobile-nav-menu li.current-menu-item>a,
.mobile-nav ul li.current-menu-item>a {
    color: var(--accent);
    padding-left: 0.75rem;
}

/* Sub-menus inside mobile nav */
.mobile-nav .sub-menu {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    margin: 0.25rem 0 0.5rem;
}

.mobile-nav .sub-menu li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    padding: 0.7rem 0.5rem;
}

/* Mobile footer CTAs */
.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    text-decoration: none;
}

.mobile-nav-contact-link svg {
    color: var(--accent);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: #fff;
}

/* ── Backdrop ── */
.mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 998;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.mobile-nav-backdrop.active {
    display: block;
}

/* ── Body scroll lock ── */
body.nav-open {
    overflow: hidden;
}

/* ── Responsive breakpoints ── */
@media (max-width: 1024px) {
    .main-nav li a {
        padding: 0.55rem 0.7rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {

    /* Show hamburger, hide desktop nav */
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .header-cta-btn {
        display: none;
    }

    /* Top bar: stack on small screens */
    .top-bar-inner {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
    }

    .top-bar-right {
        display: none;
    }

    /* hide address on mobile */

    #site-header {
        padding: 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .top-bar-contact {
        gap: 1rem;
        font-size: 0.78rem;
    }

    .text-logo {
        font-size: 1.35rem;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-slider {
    position: relative;
    height: 100%;
    min-height: 660px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 33, 55, 0.8) 0%, rgba(13, 33, 55, 0.4) 60%, transparent 100%);
}

.hero-content {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 2rem;
}

.hero-content .container {
    max-width: 800px;
    margin: 0;
}

.hero-label {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 550px;
    line-height: 1.8;
    font-family: var(--font-body);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-indicators button.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 149, 58, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.825rem;
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
    background: var(--primary);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-body);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* =============================================
   ABOUT SNIPPET
   ============================================= */
.about-snippet {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    right: 1rem;
    background: var(--accent);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(196, 149, 58, 0.3);
    line-height: 1;
}

.about-badge strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-body);
}

.about-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-features {
    margin: 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.about-feature-icon svg {
    width: 20px;
    height: 20px;
}

.about-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    font-family: var(--font-body);
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* =============================================
   PROJECTS SECTION
   ============================================= */
.projects-section {
    background: var(--light-gray);
}

.projects-filter {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.project-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.07);
}

.project-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-active {
    background: #22c55e;
    color: var(--white);
}

.badge-sold {
    background: #ef4444;
    color: var(--white);
}

.badge-coming {
    background: var(--accent);
    color: var(--white);
}

.project-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.project-card-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.project-card-title a {
    color: inherit;
}

.project-card-title a:hover {
    color: var(--accent);
}

.project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    color: var(--gray);
}

.project-meta-item svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

.project-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.why-card:hover {
    box-shadow: 0 10px 40px var(--shadow);
    transform: translateY(-4px);
}

.why-card:hover::before {
    width: 100%;
}

.why-icon {
    width: 56px;
    height: 56px;
    background: rgba(196, 149, 58, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.why-icon svg {
    width: 26px;
    height: 26px;
}

.why-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.why-card p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   BLOG SECTION
   ============================================= */
.blog-section {
    background: var(--off-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.blog-card-image {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-meta-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
}

.blog-meta-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
}

.blog-card-title a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
}

.blog-read-more:hover {
    gap: 0.7rem;
    color: var(--primary);
}

.blog-read-more svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(196, 149, 58, 0.08);
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
    background: #060f1c;
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand .site-logo {
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--white);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-body);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(196, 149, 58, 0.3);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a::before {
    content: '›';
    color: var(--accent);
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    align-items: flex-start;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-bottom a {
    color: var(--accent);
}

/* =============================================
   PAGE BANNER (Inner Pages)
   ============================================= */
.page-banner {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4953a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-banner .breadcrumb {
    color: var(--white);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary);
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb span.sep {
    opacity: 0.4;
}

.breadcrumb__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    font-size: inherit;
    color: inherit;
}

.breadcrumb__list .breadcrumb__item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb__list .breadcrumb__item + .breadcrumb__item::before {
    content: '›';
    opacity: 0.4;
    margin: 0 0.5rem;
    font-size: 0.85em;
}

.breadcrumb__details {
    display: none;
    width: 100%;
    min-width: 0;
}

.breadcrumb__summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    cursor: pointer;
    width: 100%;
    min-width: 0;
    padding: 0.35rem 0.45rem;
    margin: 0 -0.45rem;
    border-radius: 6px;
    color: inherit;
    font-size: inherit;
    line-height: 1.35;
}

.breadcrumb__summary::-webkit-details-marker {
    display: none;
}

.breadcrumb__summary::marker {
    content: '';
}

.breadcrumb__summary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.breadcrumb__summary-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.breadcrumb__mid .sep {
    margin: 0 0.15rem;
}

.breadcrumb__caret {
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.65);
    margin-top: 2px;
    transition: transform 0.2s ease;
}

.breadcrumb__details[open] .breadcrumb__caret {
    transform: rotate(180deg);
}

.breadcrumb__list--panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 0.5rem;
    padding: 0.65rem 0.75rem;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb__list--panel .breadcrumb__item {
    display: block;
    white-space: normal;
    word-break: break-word;
}

.breadcrumb__list--panel .breadcrumb__item + .breadcrumb__item::before {
    display: none;
}

.breadcrumb__list--panel .breadcrumb__item + .breadcrumb__item {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .breadcrumb {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .breadcrumb__list--desktop {
        display: none !important;
    }

    .breadcrumb__details {
        display: block;
    }
}

@media (min-width: 769px) {
    .breadcrumb__details {
        display: none !important;
    }

    .breadcrumb__list--desktop {
        flex: 1;
        min-width: 0;
    }
}

/* =============================================
   SINGLE PROJECT PAGE
   ============================================= */
.project-hero {
    padding: 120px 0 0;
    background: var(--primary);
    position: relative;
}

.project-hero-image {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.project-detail {
    padding: 60px 0;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: flex-start;
    position: relative;
}

.project-logo-wrap {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
    display: inline-block;
    margin-bottom: 2rem;
}

.project-logo-wrap img {
    max-height: 80px;
    width: auto;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.project-meta-box {
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--accent);
}

.project-meta-box .meta-key {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.project-meta-box .meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.amenity-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.amenity-item:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px var(--shadow);
}

.amenity-item img {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.6rem;
    object-fit: contain;
}

.amenity-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    display: block;
}

/* Sidebar Sticky Card */
aside.project-sidebar {
    position: sticky;
    top: 80px;
}

.project-sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 40px var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.sidebar-card-header {
    background: var(--primary);
    padding: 1.5rem;
    color: var(--white);
    text-align: center;
}

.sidebar-card-header h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.sidebar-card-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.sidebar-card-body {
    padding: 1.5rem;
}

/* Visit Form */
.visit-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 149, 58, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

.form-submit {
    width: 100%;
}

/* Nearby Section */
.nearby-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.nearby-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.nearby-item .distance {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.875rem;
}

/* Map Section */
.map-section {
    margin: 2.5rem 0;
}

.map-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

.map-embed iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

/* Site Plan */
.site-plan-section {
    margin: 2.5rem 0;
}

.site-plan-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.site-plan-image img {
    width: 100%;
}

/* Brochure Download */
.brochure-download {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.brochure-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brochure-icon {
    color: var(--accent);
}

.brochure-icon svg {
    width: 40px;
    height: 40px;
}

.brochure-info h4 {
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    margin-bottom: 0.25rem;
}

.brochure-info p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin: 0;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-mission {
    background: var(--light-gray);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.mission-icon {
    width: 64px;
    height: 64px;
    background: rgba(196, 149, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.mission-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent);
}

.mission-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.mission-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.team-card-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

/* =============================================
   BLOG SINGLE LAYOUT
   ============================================= */
.blog-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .blog-single-layout {
        grid-template-columns: 1fr;
    }
}

.team-card-info {
    padding: 1.25rem;
}

.team-card-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.team-card-info .role {
    font-size: 0.825rem;
    color: var(--accent);
    font-weight: 600;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 2.5rem;
    color: var(--white);
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(196, 149, 58, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.contact-detail-info h5 {
    color: var(--white);
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-detail-info p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    margin: 0;
}

.contact-form-wrapper {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.contact-form-wrapper h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.contact-form-wrapper p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form .form-group.full {
    grid-column: 1 / -1;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 3rem;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* =============================================
   BLOG ARCHIVE
   ============================================= */
.blog-archive {
    background: var(--off-white);
}

.blog-archive-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 0;
}

.blog-post-card:hover {
    box-shadow: 0 15px 40px var(--shadow-hover);
    transform: translateY(-2px);
}

.blog-post-image {
    width: 260px;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-body {
    padding: 1.75rem;
    flex: 1;
}

.blog-post-category {
    display: inline-block;
    background: rgba(196, 149, 58, 0.1);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.blog-post-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-post-title a {
    color: var(--primary);
}

.blog-post-title a:hover {
    color: var(--accent);
}

.blog-post-excerpt {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-post-meta {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 20px var(--shadow);
}

.sidebar-widget h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-family: var(--font-body);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}

.sidebar-search {
    display: flex;
    gap: 0.5rem;
}

.sidebar-search input {
    flex: 1;
}

.sidebar-search .btn {
    padding: 0.75rem 1rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-image {
    width: 70px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-title a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    display: block;
    margin-bottom: 0.2rem;
}

.recent-post-title a:hover {
    color: var(--accent);
}

.recent-post-date {
    font-size: 0.78rem;
    color: var(--gray);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.category-list li:last-child a {
    border-bottom: none;
}

.category-list li a:hover {
    color: var(--accent);
}

.category-list li a span {
    background: var(--light-gray);
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    font-size: 0.78rem;
}

/* Single Blog Post */
/* .single-post {
    padding: 70px 0;
} */

.single-post-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
}

.post-content img {
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.post-content h2,
.post-content h3 {
    margin: 2rem 0 1rem;
}

.post-content ul,
.post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 0.4rem;
}

.post-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    font-style: italic;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--border);
    color: var(--text);
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* =============================================
   FLOATING ACTIONS
   ============================================= */
.float-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    color: var(--white);
    cursor: pointer;
    border: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-whatsapp {
    background: #25d366;
}

.float-phone {
    background: var(--accent);
}

.float-scroll-top {
    background: var(--primary);
    opacity: 0;
    pointer-events: none;
}

.float-scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.float-btn svg {
    width: 22px;
    height: 22px;
}

/* =============================================
   NOTICE BANNER
   ============================================= */
.top-bar {
    background: var(--primary);
    padding: 0.4rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-bar-contact {
    display: flex;
    gap: 1.5rem;
}

.top-bar-contact a {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar-contact a:hover {
    color: var(--accent);
}

.top-bar-contact svg {
    width: 14px;
    height: 14px;
}

/* =============================================
   PROJECTS ARCHIVE GRID
   ============================================= */
.projects-archive {
    padding: 70px 0;
    background: var(--light-gray);
}

.projects-filter-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    box-shadow: 0 2px 15px var(--shadow);
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    white-space: nowrap;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-detail-grid {
        grid-template-columns: 1fr;
    }

    .project-sidebar-card {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .blog-archive-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .single-post-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-badge {
        right: 1rem;
    }
}

@media (max-width: 768px) {

    .main-nav,
    .header-phone {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--primary);
        z-index: 999;
        padding: 1rem 2rem;
        overflow-y: auto;
        flex-direction: column;
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .mobile-nav ul li a {
        font-size: 1.1rem;
        padding: 1rem 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.9);
    }

    .mobile-nav ul li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0.25rem;
    }

    .mobile-nav ul li .sub-menu li a {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
        color: rgba(255, 255, 255, 0.7);
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-card {
        flex-direction: column;
    }

    .blog-post-image {
        width: 100%;
        height: 200px;
    }

    .hero-content {
        bottom: 10%;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .form-group.full {
        grid-column: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .float-actions {
        bottom: 1rem;
        right: 1rem;
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-up {
    animation: fadeUp 0.6s ease forwards;
}

.fade-up-delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.fade-up-delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.fade-up-delay-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

/* Notices */
.de-notice {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.de-notice.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.de-notice.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 120px 0;
}

.error-404 .error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.error-404 h2 {
    margin-bottom: 1rem;
}

.error-404 p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* =============================================
   MEDIA PAGE (template)
   ============================================= */
.de-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: start;
    width: 100%;
}

.de-media-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    max-width: 100%;
}

.de-media-card:hover {
    box-shadow: 0 12px 36px var(--shadow-hover);
}

.de-media-card-thumb {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, #0d2137 0%, #1a3c5e 100%);
    overflow: hidden;
    text-align: center;
    font: inherit;
    color: inherit;
}

.de-media-card-thumb:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.de-media-card-thumb:hover .de-media-thumb-placeholder {
    opacity: 0.95;
}

.de-media-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.de-media-thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.9);
}

.de-media-thumb-placeholder svg {
    color: var(--accent);
}

.de-media-thumb-placeholder--pdf .de-media-thumb-pdf-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent);
}

.de-media-thumb-play {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 22px 0 22px 36px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.92);
    margin-left: 8px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.de-media-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.de-media-card-title {
    font-size: 1rem;
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.35;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.de-media-card-meta {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

.de-media-card-actions {
    margin-top: auto;
    padding-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Cards sit on white: outline buttons must stay readable (global .btn-outline is for dark heroes). */
.de-media-card-actions .btn-outline-dark {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
}

.de-media-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--light-gray);
    border-radius: var(--radius);
    color: var(--gray);
}

/* Lightbox (media page) */
.de-media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(13, 33, 55, 0.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.de-media-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.de-media-lightbox__dialog {
    position: relative;
    width: min(96vw, 1100px);
    max-height: 90vh;
    background: #0f172a;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.de-media-lightbox__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.de-media-lightbox__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.de-media-lightbox__close {
    flex-shrink: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.de-media-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.de-media-lightbox__body {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 0.75rem;
}

.de-media-lightbox__body img {
    max-width: 100%;
    max-height: min(78vh, 820px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.de-media-lightbox__body video,
.de-media-lightbox__body audio {
    max-width: 100%;
    width: 100%;
    max-height: min(78vh, 720px);
}

.de-media-lightbox__body iframe {
    width: 100%;
    min-height: min(75vh, 700px);
    border: 0;
    background: #fff;
    border-radius: 4px;
}

.de-media-lightbox__fallback {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 2rem 1rem;
}

.de-media-lightbox__fallback a {
    color: var(--accent, #c4953a);
}

body.de-media-lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .de-media-grid {
        grid-template-columns: 1fr;
    }

    .de-media-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .de-media-card-actions .btn {
        justify-content: center;
    }
}