:root {
    --ink: #0a0a0a;
    --navy-950: #0a0a0a;
    --navy-900: #121212;
    --navy-800: #1a1a1a;
    --navy-700: #242424;
    --steel: #9a9a9a;
    --steel-light: #d6d6d6;
    --copper: #c48a4a;
    --copper-deep: #a66c32;
    --copper-light: #e0b07a;
    --silver: #c8c8c8;
    --cyan: #c48a4a;
    --cyan-deep: #a66c32;
    --surface: #f4f2ef;
    --white: #ffffff;
    --text: #141414;
    --muted: #6a6a6a;
    --radius: 14px;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    --font-display: "Montserrat", "Outfit", sans-serif;
    --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { overflow-x: clip; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
    overflow-x: clip;
}

h1, h2, h3, h4, .navbar-brand, .hero-brand, .brand-text strong {
    font-family: var(--font-display);
}

a { color: var(--cyan-deep); text-decoration: none; }
a:hover { color: var(--cyan); }

img { max-width: 100%; height: auto; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.topbar {
    background: var(--navy-950);
    color: var(--steel-light);
    font-size: 0.875rem;
}

.topbar a {
    color: var(--steel-light);
    margin-right: 1.25rem;
}

.topbar a:hover { color: var(--copper-light); }

.site-nav {
    background: linear-gradient(180deg, #0d0d0d, #161616);
    padding: 0.55rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(196, 138, 74, 0.18);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff !important;
}

.brand-wordmark {
    display: block;
    height: 42px;
    width: auto;
    max-width: min(220px, 62vw);
    overflow: visible;
    color: #d6d6d6;
}

.brand-wordmark--footer {
    height: 52px;
    max-width: 260px;
    color: #c8c8c8;
}

.footer-brand-link {
    display: inline-block;
    color: inherit;
}

.footer-brand-link:hover {
    color: #e0b07a;
}

.navbar-brand:hover .brand-wordmark {
    filter: brightness(1.08);
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, var(--copper-light), var(--copper-deep));
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: #fff;
}

.brand-text strong { font-size: 1.15rem; font-weight: 700; }
.brand-text small { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-light); }

.site-nav .nav-link {
    color: var(--steel-light) !important;
    font-weight: 600;
    padding: 0.55rem 0.85rem !important;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
    color: #fff !important;
}

.btn-accent {
    --bs-btn-bg: var(--copper);
    --bs-btn-border-color: var(--copper);
    --bs-btn-color: #0a0a0a;
    --bs-btn-hover-bg: var(--copper-light);
    --bs-btn-hover-border-color: var(--copper-light);
    --bs-btn-hover-color: #0a0a0a;
    --bs-btn-font-weight: 700;
    border-radius: 999px;
    padding-inline: 1.25rem;
}

.btn-outline-primary {
    --bs-btn-color: var(--navy-800);
    --bs-btn-border-color: var(--navy-700);
    --bs-btn-hover-bg: var(--navy-800);
    --bs-btn-hover-border-color: var(--navy-800);
    border-radius: 999px;
    font-weight: 600;
}

.btn-outline-light { border-radius: 999px; font-weight: 600; }

.announce-bar {
    background: linear-gradient(90deg, var(--copper-deep), var(--copper));
    color: #0a0a0a;
    font-size: 0.92rem;
    padding: 0.55rem 0;
    text-align: center;
}

.announce-bar .container {
    padding-inline: 1rem;
    overflow-wrap: anywhere;
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    overflow: hidden;
}

.hero-slide {
    min-height: min(88vh, 740px);
    background-color: #050505;
    background-image:
        linear-gradient(105deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.35) 42%, rgba(5, 5, 5, 0.2) 100%),
        var(--hero-img, url("../img/hero-brand.jpg"));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.25) 0%, rgba(5, 5, 5, 0.45) 40%, rgba(5, 5, 5, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 3.5rem 0 4.25rem;
    max-width: 720px;
    width: 100%;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.2vw, 2.1rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--copper-light);
    text-shadow: 0 0 24px rgba(196, 138, 74, 0.35);
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 5.2vw, 3rem);
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 0.85rem;
    max-width: 18ch;
    overflow-wrap: normal;
    hyphens: none;
}

.hero-lead {
    font-size: clamp(0.98rem, 2.8vw, 1.1rem);
    color: var(--steel-light);
    max-width: 38ch;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 3rem;
    z-index: 3;
    opacity: 0.75;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.7s ease forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes fadeUp {
    to { opacity: 1; transform: none; }
}

/* Sections */
.section { padding: 5rem 0; }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.75rem;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.section-head p { color: var(--muted); margin: 0; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: var(--steel-light); }

.section-dark {
    background: linear-gradient(160deg, #0a0a0a, #1a1510);
    color: #fff;
}

.page-hero {
    background: linear-gradient(135deg, #0a0a0a, #1f1a15 60%, #2a2118);
    color: #fff;
    padding: 3.5rem 0 2.75rem;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 0.5rem;
}

.page-hero p { color: var(--steel-light); margin: 0; max-width: 52ch; }

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.75rem;
}

.breadcrumb-item, .breadcrumb-item a { color: var(--steel-light); }
.breadcrumb-item.active { color: #fff; }

/* Services */
.service-tile {
    display: block;
    height: 100%;
    background: var(--white);
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(196, 138, 74, 0.4);
    color: inherit;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(196, 138, 74, 0.12);
    color: var(--copper-deep);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-tile h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.service-detail-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}

/* Projects */
.project-tile {
    display: block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    color: inherit;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.projects-preview .project-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 196, 255, 0.4);
    color: inherit;
}

.page-light .project-tile {
    background: #fff;
    border-color: rgba(18, 38, 63, 0.08);
    color: var(--text);
}

.page-light .project-tile:hover {
    box-shadow: var(--shadow);
    color: inherit;
}

.project-visual {
    height: 190px;
    background:
        linear-gradient(135deg, rgba(46, 196, 255, 0.2), rgba(18, 38, 63, 0.85)),
        var(--navy-700);
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-cat {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(7, 17, 31, 0.75);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.project-body { padding: 1.25rem; }
.project-body h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.project-body p { margin: 0; color: var(--steel-light); font-size: 0.92rem; }
.page-light .project-body p { color: var(--muted); }

/* Quote */
.quote-form-wrap {
    background: var(--white);
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.form-control, .form-select {
    border-radius: 10px;
    border-color: rgba(18, 38, 63, 0.15);
    padding: 0.7rem 0.9rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.55rem;
    color: var(--muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--copper);
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--copper-deep);
    margin-bottom: 0.6rem;
    display: block;
}

.form-control:focus, .form-select:focus {
    border-color: var(--copper);
    box-shadow: 0 0 0 0.2rem rgba(196, 138, 74, 0.22);
}

.quote-section {
    background:
        radial-gradient(circle at top right, rgba(196, 138, 74, 0.12), transparent 40%),
        #fff;
}

.page-hero {
    background: linear-gradient(135deg, #0a0a0a, #1f1a15 60%, #2a2118);
    color: #fff;
    padding: 3.5rem 0 2.75rem;
}

.section-dark {
    background: linear-gradient(160deg, #0a0a0a, #1a1510);
    color: #fff;
}

.projects-preview .project-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(196, 138, 74, 0.45);
    color: inherit;
}

.project-visual {
    height: 190px;
    background:
        linear-gradient(135deg, rgba(196, 138, 74, 0.25), rgba(10, 10, 10, 0.9)),
        var(--navy-700);
    background-size: cover;
    background-position: center;
    position: relative;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-links a:hover, .footer-contact a:hover { color: var(--copper-light); }

.tagline {
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    color: var(--copper);
    font-weight: 600;
}

.about-brand-visual {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 16/10;
    background: #0a0a0a;
}

.about-brand-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* References */
.ref-quote {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem;
    height: 100%;
    border: 1px solid rgba(18, 38, 63, 0.08);
    margin: 0;
}

.ref-quote p {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.ref-quote footer {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.ref-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 1rem;
    background: var(--surface);
    border-radius: 10px;
    padding: 0.4rem;
}

/* Gallery */
.gallery-item {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--navy-800);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item .gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(7, 17, 31, 0.85));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-pills .btn {
    border-radius: 999px;
    font-weight: 600;
}

.content-block {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.content-block h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
}

.content-block h3:first-child { margin-top: 0; }

.contact-grid .contact-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.35rem;
    border: 1px solid rgba(18, 38, 63, 0.08);
    height: 100%;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--copper-deep);
    margin-bottom: 0.6rem;
    display: block;
}

.maps-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.maps-wrap iframe { display: block; width: 100%; min-height: 350px; }

/* Footer */
.site-footer {
    background: var(--navy-950);
    color: var(--steel-light);
}

.site-footer h6 {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text { color: var(--steel); }

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li { margin-bottom: 0.45rem; }
.footer-links a, .footer-contact a { color: var(--steel-light); }
.footer-links a:hover, .footer-contact a:hover { color: var(--cyan); }

.footer-contact li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: var(--steel);
}

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    z-index: 1040;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

@media (max-width: 767.98px) {
    .navbar-brand .brand-wordmark {
        height: 36px;
        max-width: min(190px, 58vw);
    }

    .services-preview .row,
    .projects-preview .row,
    .refs-strip .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .service-tile {
        padding: 1rem;
    }

    .service-tile h3 {
        font-size: 0.92rem;
    }

    .service-tile p {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
        margin-bottom: 0.7rem;
    }

    .project-visual {
        height: 120px;
    }

    .project-body {
        padding: 0.85rem;
    }

    .project-body h3 {
        font-size: 0.95rem;
    }

    .project-body p {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ref-quote {
        padding: 1rem;
    }

    .ref-quote p {
        font-size: 0.82rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .announce-bar {
        font-size: 0.8rem;
        padding: 0.45rem 0;
        text-align: left;
    }

    .hero-slide {
        min-height: min(72svh, 560px);
        align-items: flex-end;
        background-position: center 30%;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(5, 5, 5, 0.15) 0%, rgba(5, 5, 5, 0.55) 48%, rgba(5, 5, 5, 0.94) 100%);
    }

    .hero-content {
        padding: 1.75rem 0 2.75rem;
    }

    .hero-content h1 {
        max-width: none;
        font-size: clamp(1.45rem, 7.2vw, 1.9rem);
    }

    .hero-lead {
        font-size: 0.95rem;
        margin-bottom: 1.15rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 2.25rem;
        opacity: 0.55;
    }

    .section { padding: 3rem 0; }
    .quote-form-wrap { padding: 1.15rem; }

    .whatsapp-float {
        right: 0.85rem;
        bottom: 0.85rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .site-nav .container {
        padding-inline: 0.85rem;
    }

    .hero-section .container {
        padding-inline: 1.15rem;
    }
}
