/* ── Foster Decorating — Stylesheet ──────────────────────────────────────── */

:root {
    --bg:      #fefcf8;
    --white:   #ffffff;
    --text:    #1a1a1a;
    --muted:   #6b6a67;
    --accent:  #1d3461;
    --warm:    #c96a2b;
    --warm-lt: #fdf0e6;
    --border:  #e6e0d6;
    --card:    #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── NAVIGATION ──────────────────────────────────────────────────────────── */

nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    height: 68px;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.nav-logo span { color: var(--warm); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
    background: var(--accent);
    color: white;
    padding: 0.6rem 1.35rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.83rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); }

/* ── MOBILE MENU ─────────────────────────────────────────────────────────── */

.mobile-menu {
    display: none;
    position: fixed; inset: 0; z-index: 200;
    background: white;
    padding: 5rem 2rem 2rem;
    flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--warm); }
.mobile-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    font-size: 1.5rem; line-height: 1;
    background: none; border: none; cursor: pointer;
    color: var(--muted);
}

/* ── SECTIONS ────────────────────────────────────────────────────────────── */

section { padding: 6rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 1rem;
    display: block;
}

.section-heading {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--text);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}
.section-heading em { font-style: normal; color: var(--warm); }

.section-sub {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.82;
    max-width: 540px;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.85rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--text);
    padding: 0.8rem 1.875rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.2s;
}
.btn-outline:hover { background: var(--text); color: white; }

.btn-warm {
    display: inline-block;
    background: var(--warm);
    color: white;
    padding: 0.85rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}
.btn-warm:hover { opacity: 0.88; }

.btn-white {
    display: inline-block;
    background: white;
    color: var(--accent);
    padding: 0.85rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.88; }

/* ── PAGE HEADER ─────────────────────────────────────────────────────────── */

.page-header {
    background: var(--white);
    padding: 5rem 5% 4rem;
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    max-width: 800px;
}
.page-header h1 em { font-style: normal; color: var(--warm); }
.page-header p {
    font-size: 1rem;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.78;
    font-weight: 300;
}

/* ── TRUST BAR ───────────────────────────────────────────────────────────── */

.trust-bar {
    background: var(--accent);
    padding: 0 5%;
}
.trust-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: stretch;
    flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.5rem 2rem;
    border-right: 1px solid rgba(255,255,255,0.1);
    flex: 1;
}
.trust-item:last-child { border-right: none; }
.trust-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    white-space: nowrap;
}
.trust-lbl {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
    font-weight: 300;
}

/* ── TESTIMONIALS ────────────────────────────────────────────────────────── */

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2rem;
}
.t-stars { color: var(--warm); font-size: 0.78rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.t-text {
    font-size: 0.92rem;
    line-height: 1.82;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.t-name { font-weight: 600; font-size: 0.85rem; color: var(--text); display: block; }
.t-loc { font-size: 0.78rem; color: var(--muted); display: block; margin-top: 0.2rem; }

/* ── CTA BAND ────────────────────────────────────────────────────────────── */

.cta-band {
    background: var(--warm-lt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 5%;
    text-align: center;
}
.cta-band h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.05;
}
.cta-band p {
    color: var(--muted);
    margin-bottom: 2.25rem;
    font-size: 0.97rem;
    line-height: 1.75;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* ── STATS ───────────────────────────────────────────────────────────────── */

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    margin-top: 3rem;
}
.stat-item {
    padding: 2rem 1.5rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}
.stat-lbl { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; }

/* ── GALLERY ─────────────────────────────────────────────────────────────── */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--border);
}
.gallery-item img { transition: transform 0.45s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    padding: 2rem 1rem 1rem;
    opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption span { font-size: 0.8rem; color: white; font-weight: 400; }

/* ── ACCREDITATIONS ──────────────────────────────────────────────────────── */

.accred-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
    border: 1px solid var(--border);
    flex-wrap: wrap;
}
.accred-pill {
    padding: 0.9rem 1.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.04em;
    border-right: 1px solid var(--border);
    white-space: nowrap;
}
.accred-pill:last-child { border-right: none; }

/* ── FORMS ───────────────────────────────────────────────────────────────── */

label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text); margin-bottom: 0.45rem; }

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-submit {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
    margin-top: 0.5rem;
}
.form-submit:hover { opacity: 0.85; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */

footer {
    background: var(--text);
    padding: 4rem 5% 0;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-link {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    display: block;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.footer-logo-link span { color: var(--warm); }
.footer-about {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.8;
    font-weight: 300;
}
.footer-col h4 {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.52); text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-col ul a:hover { color: white; }
.footer-contact-item { margin-bottom: 0.9rem; }
.footer-contact-item span { display: block; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 0.25rem; }
.footer-contact-item a, .footer-contact-item p { font-size: 0.85rem; color: rgba(255,255,255,0.58); text-decoration: none; font-weight: 300; }
.footer-contact-item a:hover { color: white; }

.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    padding: 1.5rem 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; color: rgba(255,255,255,0.22);
    flex-wrap: wrap; gap: 0.75rem;
    font-weight: 300;
}

/* ── MOBILE STICKY BAR ───────────────────────────────────────────────────── */

.mobile-bar {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    grid-template-columns: 1fr 1fr;
    height: 54px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}
.mobile-bar a {
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem; font-weight: 600;
    text-decoration: none; letter-spacing: 0.06em;
    text-transform: uppercase;
}
.bar-call { background: var(--warm); color: white; }
.bar-link { background: var(--accent); color: white; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .trust-inner { flex-direction: column; }
    .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .mobile-bar { display: grid; }
    section { padding: 4rem 5%; }
    .page-header { padding: 3.5rem 5% 3rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .accred-row { flex-direction: column; }
    .accred-pill { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
}
