:root {
    --accent: #b8923a;
    --accent-light: #d4af5a;
    --accent-dark: #8a6b22;
    --dark: #141414;
    --dark-soft: #1f1f1f;
    --cream: #f7f4ef;
    --cream-dark: #ebe6dc;
    --text: #2a2a2a;
    --text-muted: #6b6560;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
    --shadow-hover: 0 24px 60px rgba(20, 20, 20, 0.14);
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Outfit", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

main {
    position: relative;
    z-index: 1;
    min-height: 50vh;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header .navbar {
    padding: 0.85rem 0;
    transition: padding 0.3s ease;
}

.site-header.scrolled {
    background: rgba(20, 20, 20, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.site-header.scrolled .navbar {
    padding: 0.65rem 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.brand-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.brand-text {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.footer-brand .brand-logo {
    width: 72px;
    height: 72px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent-light);
}

.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.15rem;
    height: 2px;
    background: var(--accent);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.site-header:not(.scrolled) {
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0.92), rgba(20, 20, 20, 0.55));
}

.site-header:not(.scrolled) + main .hero-section {
    margin-top: -112px;
    padding-top: calc(6rem + 112px);
}

/* Buttons */
.btn-accent {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-outline-accent {
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
    font-weight: 500;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-outline-light-custom {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--white);
    background: transparent;
    font-weight: 500;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
}

.btn-outline-light-custom:hover {
    background: var(--white);
    color: var(--dark);
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background: var(--dark) center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(20, 20, 20, 0.88) 0%, rgba(20, 20, 20, 0.55) 55%, rgba(20, 20, 20, 0.75) 100%);
}

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

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(184, 146, 58, 0.5);
    color: var(--accent-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    font-weight: 300;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.stats-strip {
    background: var(--dark-soft);
    color: var(--white);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.35rem;
}

/* Sections */
.section-block {
    padding: 5rem 0;
}

.section-block.alt {
    background: var(--white);
}

.section-block.warm {
    background: var(--cream-dark);
}

.section-label {
    display: inline-block;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-title.centered {
    text-align: center;
}

.section-title.centered::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
}

.section-intro {
    color: var(--text-muted);
    max-width: 680px;
}

.section-intro.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Cards */
.surface-card,
.service-card,
.category-card,
.team-card,
.project-card,
.contact-card {
    background: var(--white);
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.surface-card:hover,
.service-card:hover,
.category-card:hover,
.team-card:hover,
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.content-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Team */
.team-card .card-body {
    padding: 2rem;
}

.team-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--cream-dark);
    margin-bottom: 1rem;
}

.team-role {
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Category cards */
.category-card .card-img-top {
    height: 220px;
}

.category-card .card-body {
    padding: 1.5rem;
}

.category-card .card-body h3 {
    font-size: 1.45rem;
}

/* Project cards */
.project-card {
    cursor: pointer;
}

.project-card .card-img-wrap {
    position: relative;
    overflow: hidden;
}

.project-card .card-img-top {
    height: 260px;
    transition: transform 0.5s ease;
}

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

.project-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.75), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.project-badge {
    display: inline-block;
    background: var(--cream);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

/* Services */
.service-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--accent-dark);
    border-radius: 12px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-card .card-body {
    padding: 2rem;
}

.service-card ul {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.service-card li {
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.service-card li::marker {
    color: var(--accent);
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.process-step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
}

.process-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--cream-dark);
    line-height: 1;
    margin-bottom: 0.75rem;
}

/* Portfolio filter */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.portfolio-filter .filter-btn {
    border: 1px solid rgba(20, 20, 20, 0.12);
    background: var(--white);
    color: var(--text);
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.portfolio-filter .filter-btn:hover,
.portfolio-filter .filter-btn.active {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

/* Clients */
.client-logo-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.client-logo {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
}

.client-name {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Page header */
.page-header {
    position: relative;
    padding: 7rem 0 4rem;
    background: var(--dark) center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.page-header.has-image {
    background-size: cover;
    background-position: center 30%;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.92), rgba(20, 20, 20, 0.78));
}

.page-header.has-image .page-header-overlay {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.88), rgba(20, 20, 20, 0.72));
}

.breadcrumb-nav {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--accent-light);
}

.breadcrumb-nav span {
    margin: 0 0.45rem;
}

.page-header-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.page-header-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    margin-bottom: 0;
    max-width: 600px;
}

/* Contact page: shorter banner */
.page-contact .page-header {
    padding: 4.5rem 0 2.5rem;
}

.page-contact .page-header-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin-bottom: 0.35rem;
}

.page-contact .page-header-sub {
    font-size: 0.98rem;
}

.page-contact .breadcrumb-nav {
    margin-bottom: 0.65rem;
}

/* Contact */
.contact-section {
    padding-top: 3rem;
    padding-bottom: 4.5rem;
}

.contact-section .row {
    align-items: stretch !important;
}

.contact-section .row > [class*="col-"] {
    display: flex;
}

.contact-info-panel,
.contact-form-panel {
    background: var(--white);
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.25rem;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-panel {
    justify-content: center;
}

.contact-form-panel {
    justify-content: flex-start;
}

.contact-info-block {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    padding: 1.35rem 0;
    margin: 0;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.contact-info-block:first-child {
    padding-top: 0;
}

.contact-info-block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--accent-dark);
    border-radius: 10px;
    font-size: 1.15rem;
}

.contact-info-block h2 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.contact-info-block p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.65;
}

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

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.45;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list li i {
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
}

.contact-list a {
    color: var(--text-muted);
    text-decoration: none;
}

.contact-list a:hover {
    color: var(--accent-dark);
}

.contact-form-panel .alert {
    border-radius: 10px;
}

.contact-card {
    padding: 1.75rem;
}

.contact-card h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-card p,
.contact-card a {
    color: var(--text-muted);
    text-decoration: none;
}

.contact-card .icon-accent {
    color: var(--accent);
}

.form-control,
.form-select {
    border-radius: 10px;
    border-color: rgba(20, 20, 20, 0.12);
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(184, 146, 58, 0.15);
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 2;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0;
}

.footer-top {
    padding: 4rem 0 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
}

.footer-heading {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

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

.footer-links li,
.footer-contact li {
    margin-bottom: 0.65rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-light);
}

.footer-contact li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.footer-text {
    color: rgba(255, 255, 255, 0.58);
}

.footer-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Modal */
.modal-content {
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.modal-header {
    background: var(--cream);
    border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}

/* Utilities */
.object-fit-cover {
    object-fit: cover;
}

.fade-up {
    animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .site-header:not(.scrolled) + main .hero-section {
        margin-top: 0;
        padding-top: 4rem;
    }

    .hero-section {
        min-height: 75vh;
    }

    .section-block {
        padding: 3.5rem 0;
    }

    .navbar-collapse {
        background: var(--dark-soft);
        padding: 1rem;
        border-radius: var(--radius);
        margin-top: 1rem;
    }
}
