:root {
    --bg: #FAF8F5;
    --bg-alt: #F2EDE6;
    --text: #1F1F1F;
    --text-soft: #5A5550;
    --text-muted: #8A8278;
    --accent: #B86B4B;
    --accent-dark: #9A5739;
    --border: #E5DED3;
    --max-width: 1160px;
    --radius: 4px;
    --transition: 220ms ease;
    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav__logo {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.5px;
    color: var(--text);
}
.nav__list {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}
.nav__list a {
    font-size: 14px;
    letter-spacing: 0.3px;
    color: var(--text-soft);
}
.nav__list a:hover { color: var(--text); }
.nav__cta {
    color: var(--accent) !important;
    border: 1px solid var(--accent);
    padding: 8px 18px;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}
.nav__cta:hover {
    background: var(--accent);
    color: #fff !important;
}
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    justify-content: center;
}
.nav__toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Typography helpers ---------- */
.eyebrow {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
}
.section__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: var(--text);
    max-width: 720px;
}

/* ---------- Hero ---------- */
.hero {
    padding: clamp(64px, 10vw, 128px) 0 clamp(80px, 12vw, 144px);
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero__eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    font-weight: 500;
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: var(--text);
    margin-bottom: 28px;
}
.hero__lead {
    font-size: 19px;
    line-height: 1.65;
    color: var(--text-soft);
    max-width: 540px;
    margin-bottom: 40px;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero__media {
    display: flex;
    justify-content: center;
}
.hero__portrait {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    background: var(--bg-alt);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(31, 31, 31, 0.25);
}
.hero__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn--primary {
    background: var(--accent);
    color: #fff;
}
.btn--primary:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn--ghost:hover {
    border-color: var(--text);
    color: var(--text);
}

/* ---------- Section base ---------- */
.section {
    padding: clamp(72px, 10vw, 128px) 0;
}
.section--alt { background: var(--bg-alt); }
.section__head {
    margin-bottom: clamp(40px, 5vw, 64px);
    max-width: 720px;
}

/* ---------- Two-column layout ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}
.two-col__aside .section__title { font-size: clamp(28px, 3.5vw, 40px); }
.two-col__body p + p { margin-top: 18px; }
.two-col__body p {
    font-size: 17px;
    color: var(--text-soft);
    line-height: 1.75;
}

/* ---------- Credentials ---------- */
.credentials {
    list-style: none;
    border-top: 1px solid var(--border);
}
.credentials li {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    align-items: baseline;
}
.credentials__year {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.5px;
}
.credentials h3 {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.1px;
}
.credentials p {
    color: var(--text-soft);
    font-size: 15px;
}

/* ---------- Topics grid ---------- */
.topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.topic {
    background: var(--bg-alt);
    padding: 36px 32px;
    transition: background var(--transition);
}
.topic:hover { background: var(--bg); }
.topic h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: 0.1px;
}
.topic p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
}
.topics__note {
    margin-top: 28px;
    text-align: center;
    color: var(--text-soft);
    font-size: 16px;
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.step__num {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--accent);
    display: block;
    margin-bottom: 20px;
    line-height: 1;
    font-weight: 400;
}
.step h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
}
.step p {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.7;
}

/* ---------- Pricing ---------- */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.price-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 40px 32px;
    transition: border-color var(--transition), transform var(--transition);
}
.price-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.price-card--featured {
    border-color: var(--accent);
    background: #fff;
    position: relative;
}
.price-card h3 {
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
}
.price-card__price {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 500;
    color: var(--text);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.price-card__price--sm {
    font-size: 27px;
    letter-spacing: 0;
}
.price-card__meta {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}
.price-card > p:last-child {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}
.faq__item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}
.faq__item summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding-right: 44px;
    letter-spacing: 0.1px;
    transition: color var(--transition);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 24px;
    color: var(--accent);
    font-weight: 300;
    transition: transform var(--transition);
    line-height: 1;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__item p {
    margin-top: 16px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.75;
    max-width: 680px;
}

/* ---------- Contact / form ---------- */
.contact__lead {
    color: var(--text-soft);
    margin-top: 8px;
    margin-bottom: 32px;
    font-size: 17px;
    line-height: 1.7;
}
.contact__list {
    list-style: none;
    border-top: 1px solid var(--border);
}
.contact__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.contact__list span {
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}
.contact__list a {
    color: var(--text);
    font-weight: 500;
}
.contact__list a:hover { color: var(--accent); }

.form {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 40px;
}
.form__row {
    margin-bottom: 24px;
}
.form label {
    display: block;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 10px;
}
.form input,
.form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-family: inherit;
    font-size: 16px;
    color: var(--text);
    transition: border-color var(--transition);
    resize: vertical;
}
.form input:focus,
.form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}
.form input::placeholder,
.form textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}
.form .btn {
    margin-top: 8px;
    width: 100%;
}
.form__hint {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}
.form__hint a {
    color: var(--text-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form__hint a:hover { color: var(--accent); }
.form__success {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(184, 107, 75, 0.08);
    color: var(--accent-dark);
    font-size: 15px;
    text-align: center;
    border-left: 2px solid var(--accent);
}

/* ---------- Footer ---------- */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Legal / privacy page ---------- */
.legal {
    padding: clamp(56px, 8vw, 96px) 0;
}
.legal__inner {
    max-width: 760px;
}
.legal__back {
    display: inline-block;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--accent);
}
.legal__nav-link {
    font-size: 14px;
    letter-spacing: 0.3px;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 8px 18px;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}
.legal__nav-link:hover { background: var(--accent); color: #fff; }
.legal h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}
.legal__meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}
.legal h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(22px, 2.6vw, 28px);
    margin: 36px 0 14px;
    letter-spacing: 0.1px;
}
.legal p,
.legal li {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.75;
}
.legal p { margin-bottom: 14px; }
.legal ul {
    margin: 0 0 14px 22px;
}
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; gap: 56px; }
    .hero__media { order: -1; }
    .hero__portrait { max-width: 320px; }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .topics { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 36px; }
    .pricing { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nav__toggle { display: flex; }
    .nav__list {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 20px;
        align-items: flex-start;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition), transform var(--transition);
    }
    .nav__list.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav__cta { width: 100%; text-align: center; }
    .hero__actions .btn { flex: 1; min-width: 0; }
    .topics { grid-template-columns: 1fr; }
    .credentials li { grid-template-columns: 1fr; gap: 6px; }
    .credentials__year { font-size: 18px; }
    .form { padding: 28px 20px; }
    .contact__list li { font-size: 14px; }
}
