/* =========================================
   Blackwood Concierge maintenance polish
   Loaded after style.css to keep final page rules tidy.
========================================= */

/* Shared navigation */
.navbar {
    z-index: 10000;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 42px;
    margin-left: auto;
}

.navbar .nav-links a {
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .25s ease, background-color .25s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a:focus,
.navbar .nav-links a[aria-current="page"] {
    color: #d4af37;
}

.menu-toggle {
    color: #ffffff;
}

.service-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card-link .service-image img {
    transition: transform .7s ease;
}

.service-card-link:hover .service-image img,
.service-card-link:focus .service-image img {
    transform: scale(1.045);
}

.service-image-crop img,
.service-detail-media-crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
    transform: scale(1.16);
    transform-origin: center 34%;
}

.service-card-link:hover .service-image-crop img,
.service-card-link:focus .service-image-crop img {
    transform: scale(1.2);
}

/* Services page */
.services-page-body {
    background: #f7f3ec;
}

.services-page {
    background: #f7f3ec;
}

.services-hero {
    position: relative;
    min-height: 74vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 160px 6% 76px;
    color: #ffffff;
}

.services-hero-media,
.services-hero-media img,
.services-hero-overlay {
    position: absolute;
    inset: 0;
}

.services-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-hero-overlay {
    background:
        linear-gradient(90deg, rgba(10, 9, 8, .82), rgba(10, 9, 8, .42) 48%, rgba(10, 9, 8, .18)),
        linear-gradient(0deg, rgba(10, 9, 8, .56), rgba(10, 9, 8, .08));
}

.services-hero-content {
    position: relative;
    max-width: 790px;
    z-index: 1;
}

.services-kicker,
.service-detail-copy span {
    display: block;
    margin-bottom: 18px;
    color: #d4af37;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.services-hero h1 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 500;
    line-height: 1.02;
}

.services-hero p:not(.services-kicker) {
    max-width: 650px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .86);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.9;
}

.services-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(17, 17, 17, .12);
    border-bottom: 1px solid rgba(17, 17, 17, .12);
    background: #fbfaf7;
}

.services-overview article {
    min-height: 250px;
    padding: 42px 6%;
    border-right: 1px solid rgba(17, 17, 17, .12);
}

.services-overview article:last-child {
    border-right: 0;
}

.services-overview span {
    display: block;
    margin-bottom: 54px;
    color: #b08a4a;
    font-family: "Inter", sans-serif;
    font-size: 12px;
}

.services-overview h2 {
    margin: 0 0 14px;
    color: #171717;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.08;
}

.services-overview p {
    margin: 0;
    color: #6f675f;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.9;
}

.service-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    gap: clamp(38px, 6vw, 82px);
    align-items: center;
    padding: clamp(86px, 10vw, 140px) 6%;
    border-bottom: 1px solid rgba(17, 17, 17, .1);
}

.service-detail-reverse {
    grid-template-columns: minmax(360px, .82fr) minmax(0, 1fr);
}

.service-detail-reverse .service-detail-media {
    order: 2;
}

.service-detail-media {
    min-height: clamp(430px, 48vw, 640px);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}

.service-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-copy {
    max-width: 560px;
}

.service-detail-copy h2 {
    margin: 0;
    color: #171717;
    font-family: "Playfair Display", serif;
    font-size: clamp(36px, 4.4vw, 62px);
    font-weight: 500;
    line-height: 1.06;
}

.service-detail-copy p {
    margin: 24px 0 0;
    color: #6f675f;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 2;
}

.service-detail-copy ul {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(17, 17, 17, .12);
}

.service-detail-copy li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(17, 17, 17, .12);
    color: #3f3933;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.8;
}

.service-detail-copy a {
    display: inline-flex;
    min-height: 50px;
    margin-top: 34px;
    padding: 0 26px;
    align-items: center;
    justify-content: center;
    background: #111111;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .25s ease, color .25s ease;
}

.service-detail-copy a:hover,
.service-detail-copy a:focus {
    background: #b08a4a;
    color: #111111;
}

/* FAQ, Terms, and Privacy page rhythm */
.faq-page,
.terms-page,
.privacy-page {
    padding-top: 30px;
}

.faq-hero,
.terms-hero,
.privacy-hero {
    max-width: 1320px;
}

.faq-breadcrumb,
.terms-breadcrumb,
.privacy-breadcrumb {
    margin-bottom: 16px;
    color: #8b847b;
}

.faq-page h1,
.terms-page h1,
.privacy-page h1 {
    margin-bottom: 34px;
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.08;
    color: #171717;
}

.faq-panel,
.terms-panel,
.privacy-panel {
    width: 100%;
    max-width: 1180px;
    padding: clamp(34px, 4vw, 58px);
    background: rgba(255, 255, 255, .56);
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 0;
}

.faq-intro,
.terms-intro,
.privacy-intro {
    max-width: 850px;
    margin-bottom: 44px;
}

.faq-intro-heading,
.faq-intro > p:first-child,
.terms-intro > p:first-child,
.privacy-intro > p:first-child {
    margin: 0 0 16px;
    font-family: "Playfair Display", serif;
    font-size: clamp(23px, 2vw, 31px);
    font-weight: 500;
    line-height: 1.55;
    color: #2a2724;
}

.faq-intro-copy,
.faq-intro > p:last-child,
.terms-intro > p:last-child,
.privacy-intro > p:last-child {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 2;
    color: #746d65;
}

.faq-group {
    padding-top: 10px;
}

.faq-group + .faq-group {
    margin-top: 54px;
}

.faq-group h2,
.faq-group h3,
.terms-section h2,
.privacy-section h2 {
    margin: 0 0 18px;
    font-family: "Playfair Display", serif;
    font-size: clamp(25px, 2.2vw, 36px);
    font-weight: 500;
    line-height: 1.35;
    color: #1f1d1a;
}

.faq-item {
    border-top: 1px solid rgba(17, 17, 17, .12);
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(17, 17, 17, .12);
}

.faq-item summary {
    position: relative;
    padding: 19px 48px 19px 0;
    color: #403b35;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.7;
    list-style: none;
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #9a7a42;
    font-size: 18px;
    line-height: 1;
    transform: translateY(-50%);
}

.faq-item[open] summary {
    color: #b08a4a;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p,
.terms-section p,
.terms-section li,
.privacy-section p,
.privacy-section li,
.terms-last-updated {
    color: #716a62;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 2;
}

.faq-item p {
    max-width: 890px;
    margin: 0;
    padding: 0 56px 23px 0;
}

.terms-section + .terms-section,
.privacy-section + .privacy-section {
    margin-top: 42px;
}

/* Mobile navigation and legal pages */
@media (max-width: 768px) {
    .navbar,
    header.navbar,
    header.bookings-navbar {
        min-height: 96px;
        height: 96px;
        padding: 0 22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar .logo {
        position: static;
        height: 96px;
        display: flex;
        align-items: center;
    }

    .navbar .logo img {
        height: 76px;
        width: auto;
        object-fit: contain;
    }

    .navbar .menu-toggle {
        position: static;
        display: flex;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        border: 0;
        background: transparent;
        color: #ffffff;
        font-size: 0;
        line-height: 1;
    }

    .navbar .menu-toggle::before {
        content: "";
        display: block;
        width: 25px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 8px 0 #ffffff, 0 16px 0 #ffffff;
        transform: translateY(-8px);
    }

    .navbar .nav-links {
        display: none;
        position: absolute;
        top: 96px;
        right: 22px;
        left: auto;
        width: min(220px, calc(100vw - 44px));
        margin: 0;
        padding: 12px;
        background: rgba(20, 18, 16, .96);
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 12px;
        box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 100000;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 8px;
        color: #ffffff;
        font-size: 12px;
        line-height: 1;
        text-align: left;
    }

    .navbar .nav-links a:hover,
    .navbar .nav-links a:focus,
    .navbar .nav-links a[aria-current="page"] {
        color: #d4af37;
        background: rgba(255, 255, 255, .08);
    }

    .faq-page,
    .terms-page,
    .privacy-page {
        padding: 24px 22px 86px;
    }

    .faq-page h1,
    .terms-page h1,
    .privacy-page h1 {
        margin-bottom: 28px;
        font-size: 38px;
    }

    .faq-panel,
    .terms-panel,
    .privacy-panel {
        padding: 30px 22px 38px;
    }

    .faq-intro-heading,
    .faq-intro > p:first-child,
    .terms-intro > p:first-child,
    .privacy-intro > p:first-child {
        font-size: 22px;
        line-height: 1.55;
    }

    .faq-group + .faq-group,
    .terms-section + .terms-section,
    .privacy-section + .privacy-section {
        margin-top: 38px;
    }

    .faq-item summary {
        padding-right: 34px;
        font-size: 13px;
    }

    .faq-item p {
        padding-right: 8px;
    }

    .services-hero {
        min-height: 680px;
        padding: 154px 22px 58px;
        align-items: flex-end;
    }

    .services-hero-overlay {
        background:
            linear-gradient(0deg, rgba(10, 9, 8, .78), rgba(10, 9, 8, .18)),
            linear-gradient(90deg, rgba(10, 9, 8, .72), rgba(10, 9, 8, .18));
    }

    .services-hero h1 {
        font-size: 54px;
    }

    .services-hero p:not(.services-kicker) {
        font-size: 15px;
        line-height: 1.85;
    }

    .services-overview {
        grid-template-columns: 1fr;
    }

    .services-overview article {
        min-height: auto;
        padding: 34px 22px;
        border-right: 0;
        border-bottom: 1px solid rgba(17, 17, 17, .12);
    }

    .services-overview article:last-child {
        border-bottom: 0;
    }

    .services-overview span {
        margin-bottom: 30px;
    }

    .service-detail,
    .service-detail-reverse {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 76px 22px;
    }

    .service-detail-reverse .service-detail-media {
        order: 0;
    }

    .service-detail-media {
        min-height: 390px;
    }

    .service-detail-copy h2 {
        font-size: 42px;
    }
}
