:root {
    --bg: #f4eee9;
    --bg-soft: #eee7ef;
    --panel: rgba(255, 252, 248, 0.88);
    --panel-strong: rgba(255, 252, 248, 0.96);
    --text: #403448;
    --text-soft: #65566b;
    --heading: #5c4772;
    --accent: #c88da7;
    --accent-strong: #654a81;
    --accent-soft: #eadde9;
    --line: #d8c6d7;
    --shadow: 0 22px 48px rgba(78, 60, 86, 0.1);
    --border: rgba(101, 74, 129, 0.12);
    --radius-xl: 8px;
    --radius-lg: 8px;
    --radius-md: 8px;
    --max-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f4eee9 0%, #f7f2ee 46%, #eee7ef 100%);
}

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

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

p {
    margin: 0;
    line-height: 1.7;
}

ul {
    margin: 0;
    padding-left: 1.2rem;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--heading);
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: 0;
}

h1 {
    max-width: 12ch;
    font-size: clamp(3.25rem, 5.8vw, 5.7rem);
    line-height: 1.02;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1;
}

h3 {
    font-size: clamp(1.55rem, 2vw, 2rem);
}

.page-shell {
    position: relative;
    overflow: visible;
    padding-top: 8.5rem;
}

.site-header,
main,
.site-footer {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
}

.button,
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.button:hover,
.header-cta:hover,
.button:focus-visible,
.header-cta:focus-visible {
    transform: translateY(-2px);
}

.button {
    min-height: 54px;
    padding: 0.95rem 1.5rem;
}

.button-primary {
    color: white;
    background: var(--accent-strong);
    box-shadow: 0 16px 30px rgba(86, 61, 112, 0.2);
}

.button-secondary {
    color: var(--heading);
    background: rgba(255, 252, 248, 0.9);
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(78, 60, 86, 0.08);
}

.button-full {
    width: 100%;
}

.soft-panel,
.service-card,
.form-panel,
.coverage-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--panel);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
}

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