/* ══════════════════════════════════════════════════════════
   HavenDrapes — Policy & Guide Pages — Shared Styles
   Color palette: #523A28 (deep walnut) | #8B6B4A (mid oak)
                  #faf6f2 (warm ivory)  | #f0ebe5 (parchment)
   ══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Base ─────────────────────────────────────────────────── */
body {
    background-color: #faf6f2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #3a2a1e;
}

/* ── Page Hero (text-only, no full-bleed image) ───────────── */
.pg-hero {
    background: linear-gradient(135deg, #3a2a1e 0%, #523A28 60%, #7a5038 100%);
    padding: 80px 24px 72px;
    text-align: center;
}

.pg-hero__eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
}

.pg-hero__heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    font-style: italic;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 18px;
}

.pg-hero__sub {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Sticky in-page anchor nav ────────────────────────────── */
.pg-anchors {
    background: #fff;
    border-bottom: 1px solid #e8ddd5;
    position: sticky;
    top: 0;
    z-index: 50;
}

.pg-anchors__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.pg-anchor-link {
    display: inline-block;
    padding: 15px 22px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8B6B4A;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.pg-anchor-link:hover,
.pg-anchor-link.active {
    color: #523A28;
    border-bottom-color: #523A28;
    text-decoration: none;
}

/* ── Section ──────────────────────────────────────────────── */
.pg-section {
    padding: 88px 24px;
    scroll-margin-top: 56px;
}

.pg-section--alt {
    background-color: #f0ebe5;
}

.pg-section--dark {
    background-color: #3a2a1e;
    color: #faf6f2;
}

.pg-container {
    max-width: 880px;
    margin: 0 auto;
}

.pg-container--wide {
    max-width: 1120px;
    margin: 0 auto;
}

/* ── Typography ───────────────────────────────────────────── */
.pg-label {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8B6B4A;
    margin-bottom: 12px;
}

.pg-h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 400;
    line-height: 1.25;
    color: #2c1e14;
    margin-bottom: 28px;
}

.pg-h2 em {
    font-style: italic;
    font-weight: 300;
}

.pg-h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #523A28;
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0d4c8;
}

.pg-body {
    font-size: 1rem;
    line-height: 1.9;
    color: #5a3e2e;
    margin-bottom: 18px;
}

.pg-section--dark .pg-body {
    color: rgba(250, 246, 242, 0.82);
}

.pg-section--dark .pg-h2 {
    color: #faf6f2;
}

.pg-section--dark .pg-label {
    color: #c8a888;
}

/* ── Policy list ──────────────────────────────────────────── */
.pg-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.pg-list li {
    position: relative;
    padding-left: 22px;
    font-size: 1rem;
    line-height: 1.85;
    color: #5a3e2e;
    margin-bottom: 10px;
}

.pg-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #c8a888;
    font-weight: 700;
}

/* ── Callout / Warning box ────────────────────────────────── */
.pg-callout {
    background: rgba(200, 168, 136, 0.12);
    border-left: 3px solid #c8a888;
    border-radius: 0 4px 4px 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.pg-callout p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #523A28;
}

.pg-callout--warning {
    background: rgba(196, 75, 55, 0.07);
    border-left-color: #c44b37;
}

.pg-callout--warning p {
    color: #8b2e20;
}

/* ── Feature card grid ────────────────────────────────────── */
.pg-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.pg-card {
    background: #fff;
    border: 1px solid #e0d4c8;
    border-radius: 6px;
    padding: 36px 30px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 42px rgba(82, 58, 40, 0.13);
}

.pg-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.pg-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #2c1e14;
    margin-bottom: 10px;
}

.pg-card__body {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #6b4f3a;
}

/* ── Data table ───────────────────────────────────────────── */
.pg-table-wrap {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 6px;
    box-shadow: 0 2px 16px rgba(82, 58, 40, 0.08);
}

.pg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    background: #fff;
}

.pg-table th {
    background: #523A28;
    color: #faf6f2;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 14px 18px;
    text-align: left;
}

.pg-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #ede6df;
    color: #3a2a1e;
    vertical-align: top;
}

.pg-table tr:last-child td {
    border-bottom: none;
}

.pg-table tr:nth-child(even) td {
    background: #faf6f2;
}

/* ── Quote / blockquote ───────────────────────────────────── */
.pg-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
    color: #8B6B4A;
    line-height: 1.6;
    margin: 36px 0;
    padding-left: 24px;
    border-left: 3px solid #c8a888;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.pg-cta {
    text-align: center;
    padding: 88px 24px;
    background: #3a2a1e;
}

.pg-cta__heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 300;
    font-style: italic;
    color: #faf6f2;
    margin-bottom: 16px;
}

.pg-cta__sub {
    font-size: 1rem;
    color: rgba(250, 246, 242, 0.72);
    margin-bottom: 36px;
}

.pg-btn {
    display: inline-block;
    padding: 15px 42px;
    background: #c8a888;
    color: #2c1e14;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s, transform 0.2s;
}

.pg-btn:hover {
    background: #b8956e;
    transform: translateY(-2px);
    color: #2c1e14;
    text-decoration: none;
}

.pg-btn--outline {
    background: transparent;
    border: 1.5px solid #c8a888;
    color: #c8a888;
    margin-left: 14px;
}

.pg-btn--outline:hover {
    background: #c8a888;
    color: #2c1e14;
}

/* ── Contact bar ──────────────────────────────────────────── */
.pg-contact {
    background: #f0ebe5;
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid #e0d4c8;
}

.pg-contact p {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    color: #5a3e2e;
}

.pg-contact a {
    color: #523A28;
    font-weight: 600;
    text-decoration: none;
}

.pg-contact a:hover {
    text-decoration: underline;
}

/* ── Step list ────────────────────────────────────────────── */
.pg-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 28px 0;
}

.pg-steps li {
    counter-increment: step;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.pg-steps li::before {
    content: counter(step);
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: #523A28;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-steps li p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.85;
    color: #5a3e2e;
}

.pg-steps li strong {
    color: #2c1e14;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .pg-section {
        padding: 60px 20px;
    }

    .pg-hero {
        padding: 64px 20px 56px;
    }

    .pg-cards {
        grid-template-columns: 1fr;
    }

    .pg-btn--outline {
        margin-left: 0;
        margin-top: 12px;
        display: block;
    }

    .pg-anchor-link {
        padding: 12px 14px;
        font-size: 10.5px;
    }
}