:root {
    --bg: #f4efe7;
    --surface: rgba(255, 248, 239, 0.78);
    --surface-strong: #fff8ef;
    --text: #1f1a17;
    --muted: #66584d;
    --accent: #ac3b12;
    --accent-dark: #7f2400;
    --line: rgba(31, 26, 23, 0.12);
    --shadow: 0 20px 60px rgba(67, 34, 14, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(217, 127, 53, 0.22), transparent 30%),
        radial-gradient(circle at top right, rgba(172, 59, 18, 0.18), transparent 24%),
        linear-gradient(180deg, #f5ecdf 0%, #efe6d8 100%);
}

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

main {
    padding: 2rem 1.5rem 4rem;
}

.site-header,
.site-footer,
.hero,
.grid-section,
.two-column-section,
.three-column-section,
.stats-grid,
.page-intro,
.panel {
    max-width: 1200px;
    margin: 0 auto;
}

.site-header,
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.brand {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 700;
}

.eyebrow,
.badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(172, 59, 18, 0.1);
    color: var(--accent-dark);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero,
.grid-section,
.two-column-section,
.three-column-section,
.stats-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hero {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: stretch;
}

.hero-copy,
.hero-card,
.panel,
.stat-card,
.mini-card {
    background: var(--surface);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-copy,
.hero-card,
.panel {
    padding: 2rem;
}

.hero h1,
.page-intro h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 0.95;
    margin: 1rem 0;
}

.hero-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 22px;
}

.page-photo {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 22px;
}

.hero-card-copy h2,
.panel h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.hero-actions,
.contact-strip {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-secondary {
    background: rgba(31, 26, 23, 0.08);
    color: var(--text);
}

.grid-section,
.two-column-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-column-section,
.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.stack-form {
    display: grid;
    gap: 0.85rem;
}

input,
textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(31, 26, 23, 0.14);
    background: white;
    font: inherit;
    color: var(--text);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.result-box,
.error-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
}

.error-box {
    color: #8a160b;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.testimonial-card,
.stat-card {
    padding: 1.4rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--line);
}

.mini-card {
    padding: 1.3rem;
    border-radius: 22px;
}

.compact-grid {
    margin-top: 1rem;
}

.section-heading h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    margin: 0.6rem 0 0;
}

select {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(31, 26, 23, 0.14);
    background: white;
    font: inherit;
    color: var(--text);
}

.inline-status-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 0.95rem;
}

.page-intro {
    padding-top: 1rem;
}

.narrow-panel {
    max-width: 720px;
}

@media (max-width: 900px) {
    .hero,
    .grid-section,
    .two-column-section,
    .three-column-section,
    .stats-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .site-header,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-toolbar,
    .inline-status-form {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-card img {
        height: 280px;
    }
}
