:root {
    --bg: #f7f4ef;
    --surface: #fdfbf8;
    --sand: #ece6dd;
    --sage: #bcc9bc;
    --text: #2f2c29;
    --muted: #64605b;
    --border: #ddd5ca;
    --max: 1180px;
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;
    --space-8: 6rem;
    --radius: 14px;
    --shadow: 0 10px 28px rgba(54, 45, 33, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
    color: var(--muted);
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    line-height: 1.2;
    font-family: "Cormorant Garamond", serif;
    letter-spacing: 0.02em;
    color: #27231f;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.container {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

.section {
    padding: var(--space-8) 0;
}

.section-tight {
    padding: var(--space-7) 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #323633;
    color: #f8f7f5;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #252724;
    transform: translateY(-1px);
}

.btn-outline {
    border-color: #393632;
    color: #393632;
    background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: #393632;
    color: #f9f6f2;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: #000;
    color: #fff;
    padding: 0.6rem 0.8rem;
    z-index: 1200;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-home {
    background: rgba(247, 244, 239, 0.08);
}

.site-header.scrolled,
.site-header:not(.is-home) {
    background: rgba(247, 244, 239, 0.96);
    border-color: var(--border);
    box-shadow: 0 8px 30px rgba(55, 47, 38, 0.08);
    backdrop-filter: blur(6px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: var(--space-4);
}

.logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo img {
    width: min(250px, 38vw);
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    font-size: 0.94rem;
    color: #423f3a;
    position: relative;
    padding-bottom: 0.2rem;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    background: #393632;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 18px;
    height: 1.6px;
    background: #3e3934;
    transition: all 0.25s ease;
}

.hero-slider {
    position: relative;
    min-height: clamp(520px, 80vh, 760px);
    overflow: hidden;
    --slide-overlay: rgba(24, 22, 19, 0.58);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--slide-overlay);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #f8f5f1;
    max-width: 760px;
    padding-top: clamp(8rem, 15vh, 12rem);
    padding-bottom: clamp(4rem, 10vh, 6rem);
}

.slide-content h1 {
    color: #f7f4ef;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.slide-content p {
    font-size: clamp(1rem, 2.2vw, 1.24rem);
    color: rgba(248, 244, 238, 0.93);
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.slider-arrows {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.slider-arrow {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(24, 22, 20, 0.32);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.28s ease, transform 0.28s ease;
}

.slider-arrow.prev {
    left: clamp(0.7rem, 2.5vw, 2rem);
}

.slider-arrow.next {
    right: clamp(0.7rem, 2.5vw, 2rem);
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
    background: rgba(24, 22, 20, 0.56);
    transform: translateY(-50%) scale(1.03);
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 1.3rem;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.5rem;
}

.slider-dots button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
}

.slider-dots button.active {
    background: #fff;
}

.intro-grid,
.two-col,
.compare-grid,
.cards-3,
.pricing-grid,
.footer-grid {
    display: grid;
    gap: var(--space-5);
}

.intro-grid,
.two-col {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
}

.compare-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-3,
.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-grid {
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
}

.kicker {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #746f67;
    margin-bottom: 0.4rem;
}

.eyebrow {
    max-width: 70ch;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7e0d6;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    margin-bottom: var(--space-3);
}

.page-hero {
    min-height: 300px;
    position: relative;
    display: grid;
    align-items: end;
    padding: 8.3rem 0 3.2rem;
    background: url('/assets/images/inner-hero.jpg') center / cover no-repeat;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(34, 32, 29, 0.48);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: #f8f3ec;
    margin-bottom: 0.6rem;
}

.breadcrumb {
    color: rgba(250, 247, 241, 0.86);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(250, 247, 241, 0.9);
}

.content-narrow {
    max-width: 760px;
}

.cta-block {
    background: #e8e0d5;
    border: 1px solid #d7cec2;
    border-radius: var(--radius);
    padding: clamp(2rem, 5vw, 3.2rem);
    text-align: center;
}

.media-card {
    padding: 0;
    overflow: hidden;
}

.media-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center top;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.1rem 0;
}

.faq-item h3 {
    margin-bottom: 0.3rem;
}

form label {
    display: block;
    font-weight: 600;
    color: #3c3732;
    margin-bottom: 0.35rem;
}

form input,
form textarea {
    width: 100%;
    border: 1px solid #cfc6b8;
    background: #fdfbf8;
    border-radius: 10px;
    padding: 0.72rem 0.85rem;
    margin-bottom: 1rem;
    font: inherit;
    color: #2f2c29;
}

form input:focus-visible,
form textarea:focus-visible {
    outline: 2px solid #8f9a8f;
    outline-offset: 1px;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #f3eee8;
    padding-top: var(--space-7);
}

.site-footer h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 0.4rem;
    color: #5f5a53;
}

.socials {
    display: flex;
    gap: 0.5rem;
}

.socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #cfc6b8;
    display: grid;
    place-items: center;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: var(--space-6);
    padding: var(--space-4) 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .primary-nav {
        position: fixed;
        top: 78px;
        right: -100%;
        width: min(86vw, 340px);
        height: calc(100vh - 78px);
        background: #f8f4ee;
        border-left: 1px solid var(--border);
        transition: right 0.35s ease;
        padding: 1.2rem;
        overflow-y: auto;
    }

    .primary-nav.open {
        right: 0;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .intro-grid,
    .two-col,
    .compare-grid,
    .cards-3,
    .pricing-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-7) 0;
    }
}

@media (max-width: 640px) {
    .logo img {
        width: min(185px, 52vw);
        max-height: 40px;
    }

    .slide-content {
        padding-top: 9rem;
    }

    .slide-content h1 {
        font-size: clamp(1.9rem, 8vw, 2.8rem);
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}
