@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

/* =========================================================
   BLACK GARNET ENGINEERING SERVICES
   Consolidated site stylesheet
   ========================================================= */

/* 1. Design tokens and reset */
:root {
    --navy: #111111;
    --navy-2: #202020;
    --gold: #ffc400;
    --gold-2: #ffda45;
    --gold-dark: #745600;
    --gold-deep: #493600;
    --ink: #191919;
    --muted: #626262;
    --paper: #f7f7f5;
    --white: #ffffff;
    --line: #e6e6e2;
    --green: #1c765d;
    --shadow-soft: 0 18px 48px rgba(0, 0, 0, .08);
    --radius-card: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

::selection {
    color: #111111;
    background: var(--gold);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 18px;
    font-family: 'Manrope', sans-serif;
    line-height: 1.2;
}

p {
    margin-top: 0;
}

.skip-link {
    position: absolute;
    z-index: 200;
    top: -60px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #111;
    background: var(--gold);
    font-weight: 800;
}

.skip-link:focus {
    top: 12px;
}

/* 2. Top information strip and navigation */
.topline {
    padding: 8px 0;
    color: #d9d9d9;
    background: #080808;
    font-size: 13px;
}

.topline .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
}

header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(15, 15, 15, .08);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
}

.nav {
    display: flex;
    height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    min-width: 230px;
    align-items: center;
    gap: 12px;
}

.brand img {
    display: block;
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    border-radius: 5px;
    object-fit: cover;
}

.brand-mark {
    display: grid;
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    place-items: center;
    border-radius: 14px;
    color: var(--gold-2);
    background: linear-gradient(145deg, #222222, #090909);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    font: 800 23px 'Manrope', sans-serif;
}

.brand strong {
    display: block;
    color: var(--navy);
    font: 800 16px 'Manrope', sans-serif;
    letter-spacing: .055em;
    line-height: 1.2;
}

.brand small {
    display: block;
    margin-top: 4px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 27px;
    color: #424242;
    font-size: 15px;
    font-weight: 700;
}

.navlinks a {
    transition: color .2s ease;
}

.navlinks a:hover,
.navlinks a.active {
    color: var(--gold-dark);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 21px;
    border: 0;
    border-radius: 9px;
    color: #171717;
    background: var(--gold);
    box-shadow: 0 8px 18px rgba(255, 196, 0, .18);
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-1px);
    background: var(--gold-2);
    box-shadow: 0 12px 25px rgba(255, 196, 0, .28);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 9px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    border: 1px solid #d8d8d2;
    border-radius: 8px;
    color: #222222;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transition: .2s ease;
}

.btn-outline-dark:hover {
    border-color: #d6ad00;
    background: #fff9dc;
}

.menu-toggle {
    display: none;
    border: 0;
    color: var(--navy);
    background: transparent;
    cursor: pointer;
    font-size: 28px;
}

/* 3. Shared labels and typography */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 2px;
    flex: 0 0 30px;
    background: #987000;
    content: "";
}

/* Gold labels on dark image/colour sections */
.hero .eyebrow,
.page-hero .eyebrow,
.gallery-hero .eyebrow,
.band .eyebrow,
.contact-info .eyebrow {
    color: var(--gold-2);
}

.hero .eyebrow::before,
.page-hero .eyebrow::before,
.gallery-hero .eyebrow::before,
.band .eyebrow::before,
.contact-info .eyebrow::before {
    background: var(--gold);
}

/* 4. Main landing-page hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 560px;
    padding: 100px 0 96px;
    color: #ffffff;
    background: linear-gradient(115deg, #080808 0%, #171717 62%, #252116 100%);
}

.hero::before {
    position: absolute;
    z-index: -1;
    top: -210px;
    right: -120px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 196, 0, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 196, 0, .04),
                0 0 0 110px rgba(255, 196, 0, .025);
    content: "";
}

.hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, .95) 0%, rgba(17, 17, 17, .85) 55%, rgba(24, 19, 10, .55) 100%),
        url('images/site-engineering.webp') center / cover;
    content: "";
    opacity: .8;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 730px;
    font-size: clamp(40px, 5.5vw, 66px);
    letter-spacing: -.045em;
}

.hero h1 span {
    color: var(--gold-2);
}

.hero p {
    max-width: 590px;
    margin: 0 0 30px;
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 54px;
    color: #dedede;
    font-size: 14px;
}

.hero-note b {
    color: #ffffff;
}

/* 5. General sections and section headings */
.section {
    padding: 84px 0;
}

.section.soft {
    background: var(--paper);
}

.section-head {
    max-width: 670px;
    margin-bottom: 38px;
}

.section-head.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-head.center .eyebrow {
    justify-content: center;
}

.section-head h2 {
    margin: 12px 0;
    color: var(--navy);
    font-size: clamp(30px, 3.6vw, 42px);
    letter-spacing: -.035em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

/* 6. Services and feature cards */
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card,
.feature-card,
.info-card,
.summary-card,
.stat-card,
.dashboard-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

/* Service cards are intentionally centred: icon, title, copy and link */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 29px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .12);
}

.service-icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    margin: 0 auto 21px;
    place-items: center;
    border-radius: 14px;
    color: #171717;
    background: #fff1b8;
    font-size: 27px;
}

.service-card h3 {
    margin-bottom: 11px;
    color: var(--navy);
    font-size: 22px;
    line-height: 1.35;
    text-align: center;
}

.service-card p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
    text-align: center;
}

.service-card .btn,
.service-card .btn-outline,
.service-card .text-link {
    align-self: center;
}

.text-link {
    color: var(--gold-dark);
    font-size: 15px;
    font-weight: 800;
}

.text-link span {
    margin-left: 7px;
}

/* Other content cards: centre their icon and introductory copy.
   Do not apply this to form-card, tracking-card or project-card. */
.feature-card,
.info-card,
.summary-card,
.stat-card,
.dashboard-card {
    text-align: center;
}

.feature-card .icon,
.info-card .icon,
.summary-card .icon,
.stat-card .icon,
.dashboard-card .icon,
.card-icon,
.stat-icon,
.feature-icon,
.info-icon,
.dashboard-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
}

/* 7. About section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.about-visual {
    position: relative;
    display: flex;
    min-height: 400px;
    align-items: flex-end;
    overflow: hidden;
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(145deg, #111111, #292929);
}

.about-visual::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(8, 8, 8, .9), transparent 65%),
        url('images/civil-construction.webp') center / cover;
    content: "";
    opacity: .8;
}

.about-visual div {
    position: relative;
    color: #ffffff;
}

.about-visual strong {
    display: block;
    font: 800 29px 'Manrope', sans-serif;
}

.about-copy h2 {
    color: var(--navy);
    font-size: 38px;
    letter-spacing: -.04em;
}

.about-copy p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.ticks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}

.ticks span {
    font-size: 15px;
    font-weight: 700;
}

.ticks span::before {
    margin-right: 9px;
    color: #a47d00;
    content: "✓";
}

/* 8. Call-to-action band */
.band {
    position: relative;
    overflow: hidden;
    padding: 55px 0;
    color: #ffffff;
    background: #101010;
}

.band::after {
    position: absolute;
    top: -170px;
    right: -120px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 196, 0, .15);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(255, 196, 0, .04),
                0 0 0 70px rgba(255, 196, 0, .025);
    pointer-events: none;
    content: "";
}

.band .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.band h2 {
    margin: 0 0 8px;
    font-size: 30px;
}

.band p {
    margin: 0;
    color: #d0d0d0;
    font-size: 16px;
}

/* 9. Contact section and forms */
.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 45px;
}

.contact-info {
    padding: 32px;
    border-radius: 16px;
    color: #ffffff;
    background: var(--navy);
}

.contact-info h3 {
    font-size: 26px;
}

.contact-info p {
    color: #d0d0d0;
    font-size: 16px;
}

.contact-item {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: 15px;
}

.contact-item small {
    display: block;
    color: #c5c5c5;
    font-size: 13px;
}

.form-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    color: #333333;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d8d8d2;
    border-radius: 8px;
    outline: none;
    color: var(--ink);
    background: #ffffff;
    font: 16px/1.5 'DM Sans', sans-serif;
    text-align: left;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #b58a00;
    box-shadow: 0 0 0 3px rgba(255, 196, 0, .22);
}

.field textarea {
    min-height: 125px;
    resize: vertical;
}

.hint {
    color: #666666;
    font-size: 13px;
}

/* 10. Internal page hero and notices */
.page-hero {
    padding: 65px 0;
    color: #ffffff;
    background: linear-gradient(120deg, #080808, #242424);
}

.page-hero h1 {
    font-size: clamp(36px, 4.5vw, 48px);
}

.page-hero p {
    max-width: 650px;
    color: #e0e0e0;
    font-size: 19px;
    line-height: 1.8;
}

.notice {
    margin-bottom: 20px;
    padding: 15px 18px;
    border: 1px solid #ccebd8;
    border-radius: 9px;
    color: #236345;
    background: #edf8f1;
    font-size: 15px;
}

.notice.error {
    border-color: #f2cfcb;
    color: #963a32;
    background: #fff1f0;
}

/* 11. Footer */
.footer {
    padding: 48px 0 25px;
    color: #d0d0d0;
    background: #080808;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
}

.footer p,
.footer a {
    color: #c2c2c2;
    font-size: 15px;
    line-height: 1.7;
}

.footer h4 {
    color: #ffffff;
    font: 700 16px 'Manrope', sans-serif;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #a5a5a5;
    font-size: 13px;
}

/* 12. Success and reference panels */
.success-box {
    max-width: 700px;
    margin: 60px auto;
    padding: 55px 35px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.success-mark {
    display: grid;
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    color: #28764d;
    background: #e9f7ef;
    font-size: 30px;
}

.success-box h1 {
    margin: 0 auto 14px;
    font-size: 36px;
}

.ref {
    display: inline-block;
    margin: 12px 0 25px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #f2f2ef;
    font-weight: 800;
    letter-spacing: .08em;
}

/* 13. Administration tables and workspaces */
.admin-wrap {
    min-height: 65vh;
    padding: 50px 0;
}

.admin-login {
    max-width: 430px;
    margin: 70px auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 15px;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    line-height: 1.55;
}

.admin-table th {
    color: #383838;
    background: #f2f2ef;
    font-weight: 800;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    color: #594600;
    background: #fff1b8;
    font-size: 12px;
    font-weight: 800;
}

.admin-heading,
.admin-section-head,
.project-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.admin-heading {
    margin-bottom: 25px;
}

.admin-section-head {
    align-items: center;
    margin: 42px 0 18px;
}

.admin-section-head h2 {
    margin: 7px 0 0;
    font-size: 25px;
}

.quote-create {
    margin-bottom: 28px;
}

.project-card {
    margin-bottom: 18px;
}

.project-card-head h3 {
    margin: 8px 0;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 22px 0 8px;
    font-size: 14px;
}

.progress-meta small {
    color: var(--muted);
}

.progress-track {
    height: 9px;
    overflow: hidden;
    border-radius: 20px;
    background: #ededeb;
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #d9a900, #ffd83d);
}

.project-update-details {
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.project-update-details summary {
    color: #715800;
    cursor: pointer;
    font-weight: 800;
}

.project-update-form {
    margin-top: 18px;
}

.project-recent-updates {
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.project-recent-updates p {
    padding: 10px 0;
    border-bottom: 1px solid #eeeeea;
    font-size: 15px;
}

.project-recent-updates small {
    margin-left: 7px;
    color: var(--muted);
}

.customer-project-progress {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid #eadb9a;
    border-radius: 14px;
    background: #fffdf2;
}

.customer-project-progress .progress-track {
    margin-bottom: 16px;
}

.table-scroll {
    overflow-x: auto;
}

/* 14. Customer request tracking */
.tracking-form {
    max-width: 690px;
    margin: 0 auto;
}

.tracking-card {
    max-width: 780px;
    margin: 0 auto;
}

.tracking-status {
    padding: 8px 14px;
    font-size: 14px;
}

.tracking-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.tracking-details small,
.tracking-timeline small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
}

.tracking-details strong,
.tracking-timeline strong {
    font-size: 16px;
}

.tracking-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tracking-timeline li {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 0 0 22px 2px;
}

.tracking-timeline li:not(:last-child)::before {
    position: absolute;
    top: 17px;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: #e9e2c8;
    content: "";
}

.timeline-dot {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 2px;
    border: 3px solid #fff4c2;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 1px #e3c75d;
}

.tracking-timeline p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

/* 15. Service selection, FAQ and mobile call-to-action */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.service-grid .service-card {
    box-shadow: none;
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin: 10px 0;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .035);
}

.faq-item summary {
    position: relative;
    padding-right: 28px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    list-style: none;
    text-align: left;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    position: absolute;
    top: -2px;
    right: 0;
    color: var(--gold-dark);
    content: "+";
    font-size: 22px;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    max-width: 740px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
}

.mobile-cta {
    display: none;
}

/* 16. Image-led engineering gallery */
.gallery-hero {
    background:
        linear-gradient(90deg, rgba(8, 8, 8, .94), rgba(8, 8, 8, .58)),
        url('images/site-engineering.webp') center 45% / cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-card {
    position: relative;
    height: 100%;
    min-height: 290px;
    overflow: hidden;
    margin: 0;
    border-radius: 15px;
    background: #171717;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .09);
}

.gallery-card img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    transition: transform .65s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-card::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .86));
    pointer-events: none;
    content: "";
}

.gallery-card figcaption {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 24px;
    color: #ffffff;
}

.gallery-card figcaption span {
    color: var(--gold-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.gallery-card figcaption h3 {
    margin: 7px 0 0;
    font-size: 21px;
}

.gallery-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 45px;
    padding: 30px 34px;
    border-radius: 15px;
    color: #ffffff;
    background: #111111;
}

.gallery-cta h2 {
    margin: 0 0 6px;
    font-size: 25px;
}

.gallery-cta p {
    margin: 0;
    color: #d0d0d0;
    font-size: 15px;
}

/* 17. Responsive layout */
@media (max-width: 900px) {
    .navlinks {
        gap: 14px;
    }

    .navlinks a {
        font-size: 13px;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        gap: 30px;
    }

    .contact-grid {
        gap: 25px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    html,
    body {
        font-size: 16px;
    }

    .container {
        width: min(100% - 30px, 560px);
    }

    .topline .container {
        justify-content: center;
    }

    .topline .container span:last-child {
        display: none;
    }

    .brand {
        min-width: 0;
    }

    .nav {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .navlinks {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 22px 22px;
        border-bottom: 1px solid var(--line);
        background: #ffffff;
    }

    .navlinks.open {
        display: flex;
    }

    .navlinks a {
        padding: 12px 0;
        border-bottom: 1px solid #eeeeeb;
        font-size: 16px;
    }

    .navlinks .mobile-cta {
        padding: 14px 0;
        border-bottom: 0;
        color: var(--gold-dark) !important;
        font-weight: 900 !important;
    }

    .mobile-cta {
        display: block;
    }

    .hero {
        min-height: 0;
        padding: 75px 0 60px;
        background-position: center;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .hero p {
        font-size: 16px;
    }

    .hero-note {
        gap: 15px;
        margin-top: 35px;
        font-size: 14px;
    }

    .section {
        padding: 62px 0;
    }

    .section-head h2 {
        font-size: 30px;
    }

    .section-head p {
        font-size: 16px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .service-card p {
        font-size: 16px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 290px;
        order: 2;
    }

    .about-copy h2 {
        font-size: 30px;
    }

    .about-copy p {
        font-size: 16px;
    }

    .band .container {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .form-card {
        padding: 20px;
    }

    .page-hero {
        padding: 48px 0;
    }

    .page-hero h1 {
        font-size: 35px;
    }

    .page-hero p {
        font-size: 17px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-table {
        min-width: 760px;
    }

    .table-scroll {
        overflow-x: auto;
    }

    .tracking-details {
        grid-template-columns: 1fr;
    }

    .tracking-card {
        padding: 22px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card img {
        height: 270px;
    }

    .gallery-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px;
    }

    .success-box {
        margin: 35px auto;
        padding: 38px 22px;
    }

    .success-box h1 {
        font-size: 30px;
    }

    .ticks {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================
   PREMIUM APP-STYLE MOBILE NAVIGATION
========================================= */

.mobile-app-nav {
    display: none;
}

@media (max-width: 768px) {

    .mobile-app-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9990;

        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));

        background: rgba(17, 24, 32, .98);
        border-top: 1px solid rgba(216, 166, 76, .25);

        padding: 10px 5px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));

        box-shadow: 0 -8px 30px rgba(0,0,0,.18);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .mobile-app-nav a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;

        min-height: 49px;
        color: #aeb8c4;
        text-decoration: none;

        transition: color .25s ease, transform .25s ease;
    }

    .mobile-app-nav a i {
        font-size: 20px;
        line-height: 1;
        transition: transform .25s ease;
    }

    .mobile-app-nav a small {
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .2px;
    }

    /* Active navigation */
    .mobile-app-nav a.active {
        color: #e7b84f;
    }

    .mobile-app-nav a.active::before {
        content: "";
        position: absolute;
        top: -10px;
        width: 28px;
        height: 3px;
        border-radius: 10px;
        background: #e7b84f;
        box-shadow: 0 0 10px rgba(231,184,79,.35);
    }

    .mobile-app-nav a.active i {
        transform: translateY(-2px);
    }

    /* Request tab */
    .mobile-app-nav a.request-tab i {
        color: #e7b84f;
        font-size: 23px;
    }

    .mobile-app-nav a.request-tab.active {
        color: #fff;
    }

    body {
        padding-bottom: calc(79px + env(safe-area-inset-bottom));
    }
}

/* Black Garnet PWA installation banner */
.bg-install-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 95px;
    z-index: 9995;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #171a20;
    border: 1px solid rgba(231,184,79,.4);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,.3);
    color: #fff;
}

.bg-install-banner[hidden] {
    display: none !important;
}

.bg-install-icon img {
    width: 45px;
    height: 45px;
    border-radius: 9px;
    object-fit: cover;
}

.bg-install-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bg-install-copy strong {
    font-size: 13px;
    color: #f1c65c;
}

.bg-install-copy span {
    font-size: 11px;
    color: #c3c7ce;
    line-height: 1.4;
}

#bg-install-button {
    border: 0;
    border-radius: 7px;
    padding: 10px 14px;
    background: #e7b84f;
    color: #171717;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

#bg-install-close {
    border: 0;
    background: transparent;
    color: #aeb4bd;
    font-size: 22px;
    cursor: pointer;
    padding: 3px;
}

@media (min-width: 769px) {
    .bg-install-banner {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: 380px;
    }
}
