/* ── Fonts ── */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ── Reset & Variables ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0f0b09;
    --bg-alt: #0f0b09;
    --bg-dark: #221813;
    --accent: #221813;
    --text: #795c42;
    --text-muted: #795c42;
    --text-dim: rgba(166, 133, 105, 0.4);
    --font: 'Montserrat', Arial, Helvetica, sans-serif;
    --ease: 0.3s ease;
    --max-w: 1100px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 14px;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.contact-section {
    flex: 1;
}

img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 90px 0;
}

/* ── Section headings ── */
.section-heading {
    text-align: left;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 55px;
    color: var(--text);
}
.section-heading span {
    color: var(--text);
}
.section-heading em {
    color: var(--text);
    font-style: normal;
}

/* ── Buttons ── */
.btn-outline,
.btn-accent {
    display: inline-block;
    padding: 11px 34px;
    border: 1px solid var(--text);
    color: var(--text);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition:
        background var(--ease),
        color var(--ease);
}
.btn-outline:hover,
.btn-accent:hover {
    background: var(--accent);
    color: var(--text);
}

.btn-center {
    text-align: center;
    margin-top: 44px;
}

/* ── Logo ── */
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.logo-name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1;
}
.logo-tagline {
    font-size: 7px;
    letter-spacing: 2px;
    color: var(--text);
    margin-top: 4px;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 68px;
    background: var(--bg-dark);
    transition: box-shadow var(--ease);
}

/* Nav */
nav ul {
    display: flex;
    gap: 28px;
}
.nav-link {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text);
    position: relative;
    transition: color var(--ease);
    white-space: nowrap;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width var(--ease);
}
.nav-link:hover,
.nav-link.active {
    color: var(--text);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.drop-arrow {
    font-size: 9px;
    opacity: 0.6;
    margin-left: 2px;
}

.nav-toggle {
    display: none;
    font-size: 20px;
    color: var(--text);
    margin-left: auto;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: #1b120e;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide--fallback {
    background-image: url("../assets/images/hero-bg.jpg");
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(15, 8, 2, 0.55) 0%,
        rgba(15, 8, 2, 0.25) 55%,
        rgba(15, 8, 2, 0.45) 100%
    );
}

.hero-content {
    position: absolute;
    z-index: 2;
    text-align: right;
    width: 380px;
    right: 38%;
    top: 50%;
    transform: translateY(-50%) translateY(34px);
}
.hero-content h1 {
    font-size: clamp(22px, 3vw, 46px);
    font-weight: 600;
    letter-spacing: 6px;
    line-height: 1.25;
    margin-bottom: 22px;
    color: #000;
}
.hero-content h1 span {
    font-weight: 600;
    color: #000;
}
.hero-content p {
    font-size: 13px;
    color: rgba(166, 133, 105, 0.85);
    line-height: 1.9;
    letter-spacing: 0.4px;
    margin-bottom: 36px;
    text-align: right;
}

/* Bottom prev/next arrows */
.hero-nav {
    position: absolute;
    bottom: 36px;
    left: 28px;
    z-index: 2;
    display: flex;
    gap: 10px;
}
.hero-nav button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(166, 133, 105, 0.28);
    color: rgba(166, 133, 105, 0.6);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        border-color var(--ease),
        color var(--ease);
}
.hero-nav button:hover {
    border-color: var(--text);
    color: var(--text);
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about {
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 26px;
}
.about-text h2 span {
    color: var(--text);
}
.about-text h2 em {
    color: var(--text);
    font-style: normal;
}

.about-text p {
    color: var(--text);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 14px;
}

.about-image {
    position: relative;
    overflow: visible;
    border: 2px solid rgba(166, 133, 105, 0.08);
    display: inline-block;
    width: 100%;
}
.about-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    background: #1b120e;
    display: block;
    transition: transform 0.6s ease;
}
.about-image:hover img {
    transform: scale(1.03);
}

.about-label {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: var(--bg-dark);
    color: var(--text);
    text-align: center;
    font-size: 10px;
    letter-spacing: 3.5px;
    font-weight: 600;
    padding: 18px 32px;
    border: 2px solid rgba(166, 133, 105, 0.08);
}

/* ══════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════ */
.portfolio {
    background: var(--bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.portfolio .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    background: #1b120e;
    transition: transform 0.6s ease;
}
.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 5, 0, 0.82) 0%,
        transparent 55%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 26px;
}

.project-cat {
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 7px;
    opacity: 0.85;
}
.project-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #e8d5c0;
    text-transform: uppercase;
}

/* Pagination dots */
.projects-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.pag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(166, 133, 105, 0.4);
    background: transparent;
    cursor: pointer;
    transition:
        background var(--ease),
        border-color var(--ease);
}
.pag-dot.active {
    background: var(--text);
    border-color: var(--text);
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services {
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    text-align: left;
    padding: 24px 36px;
    position: relative;
}
.service-card:first-child {
    padding-left: 0;
}
.service-card + .service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(166, 133, 105, 0.07);
}

.service-icon {
    margin: 0 0 22px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 12px;
    color: var(--text);
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 16px;
}

.read-more {
    font-size: 10.5px;
    letter-spacing: 2px;
    color: var(--text);
    transition: color var(--ease);
}
.read-more:hover {
    color: var(--text);
}

/* ══════════════════════════════════════
   NEWS
══════════════════════════════════════ */
.news {
    background: var(--bg);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.news-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
}
.news-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    background: #1b120e;
    transition: transform 0.5s ease;
}
.news-card:hover .news-img img {
    transform: scale(1.04);
}

.news-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(27, 18, 14, 0.68);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.news-cat {
    font-size: 9.5px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
}
.blog-date {
    font-size: 9.5px;
    color: rgba(166, 133, 105, 0.55);
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
    background: var(--bg-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

footer .container {
    padding-top: 0;
    padding-bottom: 0;
}

.footer-cell {
    padding: 38px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
.footer-cell:nth-child(3n + 1) {
    padding-left: 0;
}

.footer-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text);
}

.footer-value {
    font-size: 12px;
    color: var(--text);
    font-weight: 300;
}

.footer-copy {
    font-size: 11px;
    color: var(--text);
    justify-content: center;
}

.footer-social-cell {
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(166, 133, 105, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(166, 133, 105, 0.55);
    transition:
        border-color var(--ease),
        color var(--ease);
}
.footer-social a:hover {
    border-color: var(--text);
    color: var(--text);
}
.footer-social svg {
    display: block;
}

.footer-terms {
    align-items: flex-end;
    font-size: 11px;
}
.footer-terms a {
    color: var(--text-dim);
    font-size: 11px;
    transition: color var(--ease);
}
.footer-terms a:hover {
    color: var(--text);
}

/* ══════════════════════════════════════
   PORTFOLIO & PROJECT PAGES
══════════════════════════════════════ */
.breadcrumb {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(166, 133, 105, 0.5);
    text-transform: uppercase;
}
.breadcrumb a {
    color: rgba(166, 133, 105, 0.5);
    transition: color var(--ease);
}
.breadcrumb a:hover {
    color: var(--text);
}
.breadcrumb span {
    margin: 0 8px;
}

.portfolio-page {
    flex: 1;
    padding: 110px 0 100px;
    background: var(--bg);
}
.portfolio-page .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ── Project Hero ── */
.project-page-header {
    padding: 110px 0 36px;
}

.project-page-header h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 10px;
    color: var(--text);
}

.project-hero {
    margin-top: 0;
}

.project-hero-img-wrap {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: clip;
    background: var(--bg-dark);
}

.project-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-hero-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-dark);
}

.hero-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 36px;
    border-right: 1px solid rgba(166, 133, 105, 0.1);
}

.hero-detail-item:last-child {
    border-right: none;
}

.hero-detail-label {
    font-size: 12px;
    font-weight: 400;
    color: rgba(166, 133, 105, 0.55);
}

.hero-detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .project-hero-img-wrap {
        height: 260px;
    }
    .project-hero-details {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-detail-item {
        padding: 20px 24px;
        border-bottom: 1px solid rgba(166, 133, 105, 0.1);
    }
    .hero-detail-item:nth-child(odd) {
        border-right: 1px solid rgba(166, 133, 105, 0.1);
    }
    .hero-detail-item:nth-child(even) {
        border-right: none;
    }
    .hero-detail-item:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

.project-detail-body {
    padding: 40px 0 90px;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.detail-breadcrumb {
    margin-bottom: 32px;
    margin-top: 10px;
}

.back-link {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(166, 133, 105, 0.5);
    margin-bottom: 24px;
    transition: color var(--ease);
}
.back-link:hover {
    color: var(--text);
}

#detail-title {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 32px;
}

#detail-paragraphs p {
    color: var(--text);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 20px;
}

.project-features {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.project-features li {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: var(--text);
    font-weight: 300;
}
.feature-check {
    color: var(--text);
    font-size: 16px;
    flex-shrink: 0;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    grid-auto-flow: row dense;
    gap: 12px;
    width: 100%;
}
.gallery-item {
    overflow: hidden;
    background-color: #1b120e;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item.landscape {
    grid-column: span 2;
}
.gallery-item.portrait {
    grid-row: span 2;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card + .service-card::before {
        display: none;
    }
    .service-card {
        padding: 24px 20px 24px 0;
    }
    .service-icon {
        margin: 0 0 22px;
    }
}

@media (max-width: 768px) {
    #header {
        padding: 0 20px;
        background: var(--bg-dark);
        height: 68px;
    }
    .nav-toggle {
        display: block;
    }
    .logo-name {
        font-size: 10px;
        letter-spacing: 2px;
    }
    .logo-tagline {
        display: none;
    }
    #nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--bg-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    #header.open #nav {
        max-height: 400px;
        border-top: 1px solid rgba(166, 133, 105, 0.1);
    }
    #nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 20px 20px;
    }
    #nav ul li a {
        display: block;
        padding: 14px 0;
    }

    .container {
        padding: 0 20px;
    }
    section {
        padding: 60px 0;
    }

    .hero-content {
        left: 24px;
        right: 24px;
        width: auto;
        text-align: center;
    }
    .hero-content p {
        text-align: center;
    }

    .about-grid,
    .projects-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-page .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-cell {
        padding: 28px 24px 28px 0;
    }
    .footer-terms {
        align-items: flex-start;
    }

    .project-detail-body {
        padding: 40px 0 60px;
    }
    .project-detail-grid {
        gap: 30px;
    }
    .portfolio-page {
        padding: 90px 0 60px;
    }

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    /* Section headings */
    .section-heading {
        font-size: 22px;
        letter-spacing: 3px;
        margin-bottom: 36px;
    }

    /* About section */
    .about-grid {
        gap: 36px;
    }
    .about-image img {
        height: 240px;
    }
    .about-label {
        bottom: 14px;
        right: 14px;
        padding: 12px 20px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    /* Project cards */
    .project-card img {
        height: 260px;
    }

    /* Project detail page */
    .project-page-header {
        padding: 90px 0 20px;
    }
    #detail-title {
        letter-spacing: 3px;
    }
    .detail-breadcrumb {
        margin-bottom: 20px;
    }

    /* Blog page */
    .blog-section {
        padding: 90px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        letter-spacing: 5px;
    }
    .section-heading {
        font-size: 20px;
        letter-spacing: 2px;
    }
    .project-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .gallery-item.landscape,
    .gallery-item.portrait {
        grid-column: 1;
        grid-row: span 1;
    }
}

/* ══════════════════════════════════════
   404 PAGE
══════════════════════════════════════ */
.error-section {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.error-number {
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 800;
    letter-spacing: 10px;
    color: var(--text);
    text-shadow: 6px 6px 0 #0d0806;
    line-height: 1;
    margin-bottom: 32px;
}

.error-title {
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text);
    text-align: center;
    margin-bottom: 16px;
}

.error-desc {
    font-size: 13px;
    color: var(--text);
    opacity: 0.7;
    text-align: center;
    margin-bottom: 48px;
}

.error-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 520px;
}

.error-search input {
    width: 100%;
    background: var(--bg-alt);
    border: none;
    padding: 16px 22px;
    font-family: var(--font);
    font-size: 13px;
    color: var(--text);
    outline: none;
}

.error-search input::placeholder {
    color: var(--text);
    opacity: 0.5;
}

/* ══════════════════════════════════════
   COMPARISON SLIDER
══════════════════════════════════════ */
.comparison-gallery {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
}

.ba-slider {
    position: relative;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    height: 80vh;
    max-height: 850px;
    background: var(--bg-dark);
}

.ba-before,
.ba-after {
    position: absolute;
    inset: 0;
}

.ba-before img,
.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: none;
}

.ba-after {
    clip-path: inset(0 0 0 50%);
}

.ba-label-img {
    position: absolute;
    bottom: 14px;
    font-size: 9px;
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}
.ba-before .ba-label-img {
    left: 16px;
}
.ba-after .ba-label-img {
    right: 16px;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}
.ba-handle-line {
    flex: 1;
    width: 2px;
    background: rgba(255, 255, 255, 0.75);
}
.ba-handle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #2a1a10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* ══════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 8, 4, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.open {
    opacity: 1;
    pointer-events: all;
}
.lb-figure {
    max-width: 88vw;
    max-height: 86vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#lb-img {
    max-width: 88vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
}
.lb-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 32px;
    line-height: 1;
    color: var(--text);
    opacity: 0.6;
    transition: opacity var(--ease);
    padding: 4px 8px;
}
.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--text);
    opacity: 0.5;
    transition: opacity var(--ease);
    padding: 20px;
}
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    opacity: 1;
}
.lb-prev {
    left: 16px;
}
.lb-next {
    right: 16px;
}
.lb-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text);
    opacity: 0.45;
    white-space: nowrap;
}
.project-gallery .gallery-item {
    cursor: pointer;
}

.btn-home {
    display: inline-block;
    padding: 14px 42px;
    background: var(--accent);
    color: var(--text);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-decoration: none;
    transition: opacity var(--ease);
}

.btn-home:hover {
    opacity: 0.85;
}

/* ══════════════════════════════════════
   BLOG PAGE
══════════════════════════════════════ */
.blog-section {
    flex: 1;
    padding: 120px 0 90px;
}

#blog-list {
    display: flex;
    flex-direction: column;
}

.blog-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
    border-bottom: 1px solid rgba(166, 133, 105, 0.08);
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-image {
    overflow: hidden;
    padding-bottom: 40px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.04);
}

.blog-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 60px;
}

.blog-date {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 22px;
}

.blog-day {
    font-size: 72px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.blog-month {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text);
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
    text-transform: uppercase;
    margin-bottom: 28px;
    line-height: 1.4;
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
    text-transform: uppercase;
    text-decoration: none;
    transition: gap var(--ease);
}

.blog-read-more::before {
    content: "";
    display: block;
    width: 36px;
    height: 1px;
    background: var(--text);
    flex-shrink: 0;
    transition: width var(--ease);
}

.blog-read-more:hover {
    gap: 20px;
}
.blog-read-more:hover::before {
    width: 50px;
}

@media (max-width: 768px) {
    .blog-post {
        grid-template-columns: 1fr;
        min-height: unset;
        border-bottom: none;
    }

    .blog-image {
        height: 240px;
        padding-bottom: 0;
    }

    .blog-info {
        padding: 20px 24px 28px;
        border-bottom: 1px solid rgba(166, 133, 105, 0.08);
    }

    .blog-post:last-child .blog-info {
        border-bottom: none;
    }
    .blog-day {
        font-size: 52px;
    }
    .blog-title {
        font-size: 16px;
    }
}

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-section {
    padding: 120px 0 90px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(166, 133, 105, 0.08);
    padding-top: 60px;
    margin-top: 20px;
}

.contact-col {
    padding-right: 80px;
}

.contact-col + .contact-col {
    padding-right: 0;
    padding-left: 80px;
    border-left: 1px solid rgba(166, 133, 105, 0.08);
}

.contact-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
    text-transform: uppercase;
    margin-bottom: 28px;
}

.contact-col p {
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 20px;
    opacity: 0.85;
}

.contact-vat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    text-transform: uppercase;
}

.contact-detail-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.6;
}

.contact-detail-row:last-child {
    margin-bottom: 0;
}

.contact-form { margin-top: 4px; }

.contact-form-group {
    margin-bottom: 18px;
}

.contact-form-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(166,133,105,0.2);
    color: var(--text);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 300;
    padding: 12px 14px;
    outline: none;
    transition: border-color var(--ease);
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    border-color: rgba(166,133,105,0.6);
}

.contact-form-input.is-error,
.contact-form-textarea.is-error {
    border-color: rgba(192,57,43,0.6);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: rgba(166,133,105,0.35);
}

.contact-form-textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form-btn {
    display: inline-block;
    padding: 12px 36px;
    border: 1px solid rgba(166,133,105,0.5);
    color: var(--text);
    font-family: var(--font);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease);
    margin-top: 4px;
}

.contact-form-btn:hover {
    border-color: var(--text);
    background: rgba(166,133,105,0.06);
}

.contact-success {
    font-size: 12px;
    color: var(--text);
    border: 1px solid rgba(166,133,105,0.3);
    padding: 12px 16px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.contact-error {
    font-size: 12px;
    color: rgba(192,57,43,0.9);
    border: 1px solid rgba(192,57,43,0.3);
    padding: 12px 16px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* ── 404 ── */
.error-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.error-code {
    font-size: 100px;
    font-weight: 700;
    letter-spacing: 8px;
    color: var(--text);
    opacity: 0.25;
    line-height: 1;
    margin: 0;
}

.error-heading {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text);
    margin: 0;
}

.error-message {
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

.contact-detail-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 90px 0 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 40px;
    }

    .contact-col {
        padding-right: 0;
    }

    .contact-col + .contact-col {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(166, 133, 105, 0.08);
        padding-top: 48px;
    }
}

/* ══════════════════════════════════════
   INDEX — NEWS PREVIEW
══════════════════════════════════════ */
.index-news {
    background: var(--bg-alt);
}

.index-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.index-news .blog-post {
    display: block;
    border-bottom: none;
    min-height: unset;
}
.index-news .blog-image {
    padding-bottom: 0;
    height: 340px;
}
.index-news .blog-info {
    padding: 32px 40px 40px 0;
}
.index-news .blog-day {
    font-size: 56px;
}

@media (max-width: 768px) {
    .index-news-grid {
        grid-template-columns: 1fr;
    }
    .index-news .blog-post {
        border-bottom: none;
    }
    .index-news .blog-info {
        padding-left: 0;
        border-bottom: 1px solid rgba(166, 133, 105, 0.08);
    }
    .index-news .blog-post:last-child .blog-info {
        border-bottom: none;
    }
}

/* ══════════════════════════════════════
   CATEGORY FILTERS
══════════════════════════════════════ */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}
.filter-btn {
    display: inline-block;
    padding: 7px 18px;
    font-size: 10px;
    letter-spacing: 2px;
    border: 1px solid rgba(166, 133, 105, 0.25);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn--active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 169, 110, 0.06);
}

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 56px;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 11px;
    letter-spacing: 1px;
    border: 1px solid rgba(166, 133, 105, 0.25);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
a.page-btn:hover,
.page-btn--active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 169, 110, 0.06);
}
.page-btn--disabled {
    opacity: 0.25;
    cursor: default;
}

@media (max-width: 768px) {
    .category-filters {
        gap: 6px;
    }
    .filter-btn {
        font-size: 9px;
        padding: 6px 14px;
    }
}
