:root {
    --ink: #15251F;
    --ink-soft: #4C6058;
    --line: #DBE3DD;
    --line-soft: #EAEFEB;
    --paper: #F6F4EC;
    --surface: #FFFFFF;
    --primary: #0E5C48;
    --primary-dark: #0A4536;
    --primary-tint: #E7F1EC;
    --gold: #C98A2E;
    --gold-tint: #FBEFDA;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(21,37,31,0.04), 0 8px 24px -12px rgba(21,37,31,0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--ink);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---- Header / nav ---- */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line-soft);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 700; }
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.main-nav a:hover { color: var(--primary); text-decoration: none; }
.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 99px;
    font-weight: 700 !important;
}
.nav-cta:hover { background: var(--primary-dark); }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* ---- Hero ---- */
.hero {
    background: linear-gradient(180deg, var(--primary-tint) 0%, transparent 100%);
    padding: 64px 20px 56px;
    text-align: center;
}
.hero .eyebrow {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: #fff;
    padding: 6px 14px;
    border-radius: 99px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 6vw, 48px); max-width: 780px; margin: 0 auto 16px; }
.hero p { font-size: 17px; color: var(--ink-soft); max-width: 560px; margin: 0 auto 28px; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 99px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(14,92,72,0.5); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
.btn-gold { background: var(--gold); color: #3A2708; }
.btn-gold:hover { background: #b47a26; color: #3A2708; text-decoration: none; }
.btn-outline { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Sections ---- */
.section { padding: 56px 20px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head .eyebrow { color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.section-head h2 { font-size: clamp(24px, 4vw, 32px); margin-top: 6px; }
.section-head p { color: var(--ink-soft); }

/* ---- Service cards ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}
.card .icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--primary-tint);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ---- About / split section ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .badge-row { display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.stat b { display: block; font-family: 'Fraunces', serif; font-size: 30px; color: var(--primary); }
.stat span { font-size: 13px; color: var(--ink-soft); }

/* ---- Blog cards ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.blog-card .thumb { aspect-ratio: 16/10; background: var(--primary-tint) center/cover no-repeat; }
.blog-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card .cat { font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.blog-card h3 { font-size: 18px; margin-bottom: 8px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--primary); text-decoration: none; }
.blog-card p { color: var(--ink-soft); font-size: 14px; flex: 1; }
.blog-card .meta { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; border-top: 1px solid var(--line-soft); padding-top: 12px; }

/* ---- Blog post page ---- */
.post-header { text-align: center; padding: 48px 20px 32px; }
.post-header .cat { font-family: 'IBM Plex Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); font-weight: 700; }
.post-header h1 { font-size: clamp(26px, 5vw, 40px); max-width: 800px; margin: 12px auto; }
.post-header .meta { color: var(--ink-soft); font-size: 14px; }
.post-featured-img { max-width: 900px; margin: 0 auto 32px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.post-body { font-size: 17px; line-height: 1.8; }
.post-body h2 { font-size: 24px; margin-top: 36px; }
.post-body h3 { font-size: 19px; margin-top: 28px; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 24px; }
.post-body img { border-radius: var(--radius-md); margin: 20px 0; }
.post-cta {
    background: var(--primary-tint);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    margin: 40px 0;
}

/* ---- Pagination ---- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    border: 1.5px solid var(--line); font-weight: 600; font-size: 13.5px; color: var(--ink);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.pagination .active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---- Contact / CTA band ---- */
.cta-band {
    background: var(--primary);
    color: #fff;
    padding: 56px 20px;
    text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 24px; }
.contact-methods { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.contact-methods a {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 14px;
}
.contact-methods a:hover { background: rgba(255,255,255,0.22); text-decoration: none; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 48px 20px 24px; }
.site-footer .inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; font-family: 'Inter', sans-serif; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { max-width: 1100px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; text-align: center; color: rgba(255,255,255,0.5); }

/* ---- Breadcrumbs ---- */
.breadcrumbs { font-size: 13px; color: var(--ink-soft); padding: 16px 20px 0; max-width: 1100px; margin: 0 auto; }
.breadcrumbs a { color: var(--ink-soft); }

@media (max-width: 900px) {
    .grid-3, .blog-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .site-footer .inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .main-nav { position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line-soft); display: none; }
    .main-nav.open { display: flex; }
    .menu-toggle { display: block; }
}

/* =====================================================================
   REDESIGN ADDITIONS — hero slider, dynamic services, testimonials,
   FAQ accordion, stat bar, and mobile polish.
   ===================================================================== */

/* ---- Hero slider ---- */
.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 20px 70px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition: opacity .7s ease, transform 8s linear, visibility 0s linear .7s;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 60%, #0c4638 100%);
    background-size: cover;
    background-position: center;
}
.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity .7s ease, transform 8s linear;
}
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,20,17,0.35) 0%, rgba(10,20,17,0.72) 100%);
    pointer-events: none;
}
.hero-slide.has-image::before {
    background: linear-gradient(180deg, rgba(10,20,17,0.45) 0%, rgba(10,20,17,0.78) 100%);
}
.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}
.hero-slide .eyebrow {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 7px 16px;
    border-radius: 99px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.25);
}
.hero-slide h1 {
    color: #fff;
    font-size: clamp(28px, 6vw, 50px);
    margin: 0 0 16px;
    text-wrap: balance;
}
.hero-slide p {
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 30px;
}
.hero-slider .hero-dots {
    position: absolute;
    bottom: 22px; left: 0; right: 0;
    display: flex; gap: 9px; justify-content: center;
    z-index: 3;
}
.hero-dots button {
    width: 9px; height: 9px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.4);
    cursor: pointer; padding: 0; transition: all .25s;
}
.hero-dots button.is-active { background: #fff; width: 26px; border-radius: 5px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 3; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,0.28); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

/* ---- Stat bar (below hero) ---- */
.stat-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--line-soft);
}
.stat-bar .inner {
    max-width: 1100px; margin: 0 auto; padding: 28px 20px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center;
}
.stat-bar b { display: block; font-family: 'Fraunces', serif; font-size: clamp(22px, 4vw, 30px); color: var(--primary); }
.stat-bar span { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

/* ---- Service cards (icon SVG driven) ---- */
.card .icon svg { display: block; }
.grid-3.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(21,37,31,0.22); }

/* ---- Testimonials ---- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
}
.testimonial-card .stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p.quote { font-size: 15px; color: var(--ink); margin-bottom: 18px; font-style: italic; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--primary-tint); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-family: 'Fraunces', serif; overflow: hidden; flex-shrink: 0;
}
.testimonial-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card .person b { display: block; font-size: 14.5px; }
.testimonial-card .person span { font-size: 12.5px; color: var(--ink-soft); }

/* ---- FAQ accordion ---- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-question {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 18px 22px; font-family: inherit; font-weight: 700; font-size: 15px; color: var(--ink);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-question .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-question .plus::before, .faq-question .plus::after {
    content: ''; position: absolute; background: var(--primary); border-radius: 2px;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-question .plus::before { width: 14px; height: 2px; }
.faq-question .plus::after { width: 2px; height: 14px; transition: transform .25s ease; }
.faq-item.is-open .faq-question .plus::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer div { padding: 0 22px 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.faq-item.is-open .faq-answer { max-height: 400px; }

/* ---- Section reveal animation ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Mobile nav polish ---- */
@media (max-width: 760px) {
    .main-nav {
        box-shadow: 0 12px 24px -12px rgba(0,0,0,0.15);
    }
}

@media (max-width: 900px) {
    .stat-bar .inner { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px 16px; }
    .hero-slide { padding: 80px 18px 56px; min-height: 420px; }
    .hero-arrow { display: none; }
}
@media (max-width: 560px) {
    .stat-bar .inner { grid-template-columns: 1fr; text-align: center; }
    .testimonial-grid { grid-template-columns: 1fr; }
}
