:root {
    --primary: #61603D;
    --primary-dark: #454322;
    --secondary: #C3A16A;
    --background: #F9F2E9;
    --surface: #FBF5EE;
    --text-primary: #312F13;
    --text-secondary: #8C866A;
    --border: #ECE1D1;

    --white: #FFFFFF;
    --heading: var(--text-primary);
    --text: var(--text-primary);
    --secondary-light: #DED0B7;

    --success: #667154;
    --danger: #A5544A;
    --warning: #B9853F;

    --shadow-xs: 0 4px 16px rgba(49, 47, 19, 0.05);
    --shadow-sm: 0 10px 28px rgba(49, 47, 19, 0.07);
    --shadow-md: 0 18px 50px rgba(49, 47, 19, 0.10);
    --shadow-lg: 0 28px 80px rgba(49, 47, 19, 0.14);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;

    --transition: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-primary);
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(195, 161, 106, 0.10),
            transparent 28rem
        ),
        var(--background);
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    min-height: 60vh;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition:
        color var(--transition),
        opacity var(--transition);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--text-primary);
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

p {
    color: var(--text-secondary);
}

::selection {
    color: var(--white);
    background: var(--primary);
}

.container {
    --bs-gutter-x: 2rem;
}

.page-shell {
    padding-block: 72px 90px;
}

.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.page-eyebrow::before {
    width: 26px;
    height: 1px;
    content: "";
    background: currentColor;
}

.page-heading {
    margin-bottom: 34px;
}

.page-heading h1 {
    margin-bottom: 12px;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 0.98;
}

.page-heading p {
    max-width: 720px;
    margin-bottom: 0;
}

.surface-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(251, 245, 238, 0.94);
    box-shadow: var(--shadow-sm);
}

.text-muted {
    color: var(--text-secondary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.bg-light {
    background: var(--surface) !important;
}

.border,
.border-top,
.border-bottom {
    border-color: var(--border) !important;
}

.alert {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}

.form-control,
.form-select {
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    background: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(97, 96, 61, 0.5);
    box-shadow: 0 0 0 0.22rem rgba(97, 96, 61, 0.10);
}

hr {
    border-color: var(--border);
    opacity: 1;
}

@media (max-width: 767px) {
    .container {
        --bs-gutter-x: 1.5rem;
    }

    .page-shell {
        padding-block: 48px 66px;
    }

    .page-heading {
        margin-bottom: 26px;
    }
}
