/* Oberture — shared styles
   Multi-page rebuild, May 2026
   Palette + typography preserved from v2 */

:root {
    --sage: #8a9a7b;
    --sage-light: #a3b396;
    --sage-lighter: #c5d1bb;
    --sage-pale: #e8ede4;
    --sage-wash: #f4f6f2;
    --olive: #5c6b4f;
    --olive-dark: #3d4a33;
    --forest: #2d3a28;
    --cream: #faf9f6;
    --warm-white: #f5f4f0;
    --linen: #edeae4;
    --stone: #c4bfb6;
    --charcoal: #2c2c2a;
    --charcoal-light: #4a4a47;
    --text-primary: #2c2c2a;
    --text-secondary: #6b6b67;
    --text-tertiary: #9a9a95;
}

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

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    background: var(--cream);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ─── NAV ─────────────────────────── */
nav {
    position: sticky;
    top: 0;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--linen);
    z-index: 100;
    padding: 18px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: var(--forest);
    letter-spacing: -0.5px;
}

.logo em {
    font-style: italic;
    color: var(--olive);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--forest);
}

.nav-cta {
    background: var(--forest);
    color: var(--cream) !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    transition: background .2s;
}

.nav-cta:hover { background: var(--olive-dark); }

/* ─── BUTTONS ─────────────────────── */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: all .2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--forest);
    color: var(--cream);
}

.btn-primary:hover {
    background: var(--olive-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--forest);
    border: 1px solid var(--forest);
}

.btn-ghost:hover {
    background: var(--forest);
    color: var(--cream);
}

/* ─── TYPOGRAPHY ──────────────────── */
h1, h2, h3 {
    font-family: 'DM Serif Display', serif;
    color: var(--forest);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 24px;
}

h1 em { font-style: italic; color: var(--olive); }

h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    margin-bottom: 24px;
}

h2 em { font-style: italic; color: var(--olive); }

h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0;
}

p { color: var(--text-secondary); font-size: 17px; }
p.lead { font-size: 20px; color: var(--text-primary); line-height: 1.5; }

/* ─── SECTIONS ────────────────────── */
section { padding: 80px 0; }

section.tight { padding: 48px 0; }

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--olive);
    margin-bottom: 16px;
}

.section-heading {
    text-align: center;
    margin-bottom: 56px;
}

/* ─── HERO ────────────────────────── */
.hero {
    padding: 100px 0 80px;
    text-align: center;
}

.hero p.lead {
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── SIMPLE CARDS ────────────────── */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--warm-white);
    border: 1px solid var(--linen);
    border-radius: 16px;
    padding: 32px;
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 58, 40, .06);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sage-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive-dark);
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
}

.card p { font-size: 16px; }

/* ─── PRICING ─────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.price-card {
    background: var(--warm-white);
    border: 1px solid var(--linen);
    border-radius: 20px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
    transform: scale(1.02);
}

.price-card.featured h3,
.price-card.featured .price-amount,
.price-card.featured .price-tag { color: var(--cream); }

.price-card.featured p { color: rgba(250, 249, 246, .8); }

.price-card.featured .price-list li { color: rgba(250, 249, 246, .9); }

.price-card.featured .price-list li::before { color: var(--sage-lighter); }

.price-tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 600;
    color: var(--olive);
    margin-bottom: 12px;
}

.price-amount {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    color: var(--forest);
    margin-bottom: 4px;
    line-height: 1;
}

.price-amount em { font-style: italic; color: var(--olive); }

.price-period {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.price-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.price-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
}

.price-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--olive);
    font-weight: 700;
}

.price-card .btn { margin-top: auto; text-align: center; }

/* ─── FAQ ─────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }

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

.faq-item h3 {
    font-size: 19px;
    color: var(--forest);
    margin-bottom: 8px;
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

/* ─── FORM ────────────────────────── */
form.contact-form {
    max-width: 560px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

form.contact-form input,
form.contact-form textarea,
form.contact-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--linen);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    background: var(--warm-white);
    color: var(--text-primary);
}

form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
    outline: none;
    border-color: var(--olive);
}

form.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ─── PROOF / NUMBERS ─────────────── */
.proof-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.proof-tile {
    background: var(--warm-white);
    border: 1px solid var(--linen);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.proof-num {
    font-family: 'DM Serif Display', serif;
    font-size: 56px;
    color: var(--forest);
    line-height: 1;
    margin-bottom: 8px;
}

.proof-label { font-size: 14px; color: var(--text-secondary); }

/* ─── FOOTER ──────────────────────── */
footer {
    border-top: 1px solid var(--linen);
    padding: 48px 0;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
}

footer a { color: var(--text-secondary); }

footer .footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

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

/* Tablet */
@media (max-width: 960px) {
    .container { padding: 0 28px; }
    .nav-inner { padding: 0 24px; }
    h1 { font-size: clamp(36px, 7vw, 56px); }
    h2 { font-size: clamp(28px, 5vw, 40px); }
    .cards-3 { grid-template-columns: 1fr 1fr; gap: 20px; }
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .price-card.featured { transform: none; }
}

/* Mobile */
@media (max-width: 720px) {
    .container { padding: 0 20px; }
    .nav-inner { padding: 0 20px; }
    section { padding: 48px 0; }
    section.tight { padding: 32px 0; }
    .hero { padding: 48px 0 40px; }

    h1 { font-size: 36px; line-height: 1.1; margin-bottom: 18px; }
    h2 { font-size: 28px; line-height: 1.15; margin-bottom: 18px; }
    h3 { font-size: 19px; }
    p { font-size: 16px; }
    p.lead { font-size: 17px; line-height: 1.5; }
    .section-heading { margin-bottom: 36px; }

    /* Show all nav links on mobile, just smaller */
    .nav-inner { flex-wrap: wrap; row-gap: 10px; }
    .nav-links { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
    .nav-links a { font-size: 13px; }
    .nav-cta { padding: 8px 14px; font-size: 13px; }
    nav { padding: 12px 0; }
    .logo { font-size: 22px; }

    .cards-3,
    .pricing-grid,
    .proof-row { grid-template-columns: 1fr; gap: 16px; }

    .card { padding: 28px 24px; }
    .price-card { padding: 32px 24px; }
    .price-card.featured { transform: none; }
    .price-amount { font-size: 36px; }

    .hero-cta-row { flex-direction: column; gap: 12px; }
    .hero-cta-row .btn { width: 100%; padding: 16px 24px; font-size: 16px; }
    .btn { padding: 14px 24px; }

    .proof-num { font-size: 48px; }

    form.contact-form input,
    form.contact-form textarea,
    form.contact-form select { padding: 16px; font-size: 16px; }
    form.contact-form .btn { width: 100%; padding: 16px; font-size: 16px; }

    .faq-item { padding: 20px 0; }
    .faq-item h3 { font-size: 18px; }

    footer { padding: 36px 0; }
    footer .footer-links { gap: 16px; font-size: 14px; }
}

/* Small phones */
@media (max-width: 380px) {
    .container { padding: 0 16px; }
    h1 { font-size: 32px; }
    .price-amount { font-size: 32px; }
}
