/* Brand palette */
:root {
    --brand-dark: #0f0f0f;
    --brand-black: #0b0b0b;
    --brand-gold: #d0a82d;
    --brand-gold-deep: #b48910;
    --brand-olive: #a7c253;
    --brand-olive-dark: #7ca22e;
    --text: #1c1c1c;
}

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

body {
    color: var(--text);
    background-color: #fff;
}

/* Accessibility helpers */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 0;
    width: auto;
    height: auto;
    padding: .5rem 1rem;
    background: #000;
    color: #fff;
    z-index: 10000;
}

.topbar {
    background: var(--brand-black);
    color: #fff;
}

.navbar {
    background: var(--brand-dark);
}

/* Text mark brand */
.brand-text {
    display: inline-block;
    font-family: "Playfair Display", serif;
    letter-spacing: .2px;
}

.brand-title {
    font-weight: 700;
    margin-right: .25rem;
}

.brand-sub {
    color: var(--brand-gold);
    font-weight: 700;
}

/* Buttons */
.btn-cta {
    --bs-btn-bg: var(--brand-gold);
    --bs-btn-border-color: var(--brand-gold);
    --bs-btn-hover-bg: var(--brand-gold-deep);
    --bs-btn-hover-border-color: var(--brand-gold-deep);
    --bs-btn-color: #111;
    font-weight: 600;
}

.btn-outline-cta {
    --bs-btn-color: var(--brand-gold);
    --bs-btn-border-color: var(--brand-gold);
    --bs-btn-hover-bg: var(--brand-gold);
    --bs-btn-hover-color: #111;
}

/* Hero */
.hero {
    background:
        radial-gradient(1000px 400px at -10% -10%, rgba(167, 194, 83, .25), transparent 60%),
        linear-gradient(180deg, rgba(167, 194, 83, .18), rgba(255, 255, 255, 1));
}

.hero .display-5 {
    font-family: "Playfair Display", serif;
}

/* Section headings */
.section-header h2 {
    font-family: "Playfair Display", serif;
}

/* Cards */
.service.card,
.step.card {
    border: 1px solid rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.service.card:hover,
.step.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .08);
}

/* Lists */
.list-checked {
    list-style: none;
    padding-left: 0;
}

.list-checked li {
    padding-left: 1.8rem;
    position: relative;
    margin: .35rem 0;
}

.list-checked li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.2;
    color: var(--brand-olive-dark);
    font-weight: 700;
}

/* Steps */
.step-number {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-olive);
    color: #111;
    font-weight: 700;
    margin-bottom: .5rem;
}

/* CTA section */
.bg-cta {
    background: linear-gradient(180deg, var(--brand-olive-dark), var(--brand-olive));
}

.bg-cta .form-control,
.bg-cta .form-control:focus {
    background: rgba(255, 255, 255, .95);
    border-color: rgba(0, 0, 0, .1);
}

/* Footer */
.footer {
    background: var(--brand-dark);
}

.footer a:hover {
    text-decoration: underline;
}

/* Small tweaks */
.hero .btn {
    min-width: 12rem;
}

.accordion-button {
    font-weight: 600;
}

.badge-cred {
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, .1);
    font-weight: 600;
}

/* FAQ accordion — match hero green tone */
.accordion-button:not(.collapsed) {
    background-color: rgba(167, 194, 83, 0.15) !important;
    /* soft translucent green */
    color: #212529 !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(167, 194, 83, 0.3);
}

/* Optional: subtle focus ring in the same hue */
.accordion-button:focus {
    box-shadow: 0 0 0 0.15rem rgba(167, 194, 83, 0.35) !important;
}

/* Keep the chevron consistent */
.accordion-button:not(.collapsed)::after {
    filter: hue-rotate(60deg) brightness(0.8);
}

.accordion-body {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #fff;
    margin-top: -1px;
    /* avoids double border */
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

/* Hero image polish */
.hero-figure {
    position: relative;
    max-width: 520px;
    /* prevents the image from overtaking the heading on wide screens */
    margin-left: auto;
    /* keep it snug on the right */
}

.hero-img {
    border-radius: 16px;
    display: block;
    width: 100%;
    height: auto;
    /* maintain a pleasing portrait presence even if a wider file is used */
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    border: 1px solid rgba(167, 194, 83, 0.25);
    /* echo your hero green */
}

/* On smaller laptops, keep balance between text and image */
@media (max-width: 992px) {
    .hero-figure {
        max-width: 440px;
    }
}

/* About section image */
.about-figure {
    position: relative;
    max-width: 480px;
    margin-left: auto;
}

.about-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    border: 1px solid rgba(167, 194, 83, 0.25);
    background: #fff;
}

/* Balance for mid-sized screens */
@media (max-width: 992px) {
    .about-figure {
        margin: 0 auto;
        max-width: 420px;
    }
}

/* Items section */
#items {
    background-color: #fff;
}

.item-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

/* More breathing room for portrait or asymmetrical subjects */
.img-contain {
    object-fit: contain;
    background: #f8f8f6;
    /* subtle neutral background behind image */
    padding: 0.5rem;
}

.item-card .card-body {
    padding: 1rem 1.25rem;
    text-align: left;
}