:root {
    --brand-primary: #8b1f1c;
    --brand-accent: #c54b3f;
    --text-dark: #2b1f1d;
    --text-muted: #5b4c49;
    --bg-light: #f9f5f1;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

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

.hero {
    min-height: 80vh;
    padding: 2rem clamp(1.25rem, 3vw, 5rem) 4rem;
    background: linear-gradient(135deg, var(--bg-light), #fffaf5 55%, rgba(197, 75, 63, 0.12));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand img {
    width: 64px;
    height: auto;
}

.brand-name {
    display: block;
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.brand-tag {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-dark);
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.nav-links a:hover {
    border-color: var(--brand-primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.25rem;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero-content {
    max-width: 640px;
    margin-top: 4rem;
}

h1, h2, h3 {
    font-family: "Playfair Display", "Times New Roman", serif;
    color: var(--text-dark);
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.overline {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.btn.primary {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 10px 30px rgba(139, 31, 28, 0.25);
}

.btn.primary:hover {
    transform: translateY(-2px);
}

.btn.ghost {
    border-color: rgba(43, 31, 29, 0.2);
}

main {
    padding: 4rem clamp(1.25rem, 3vw, 5rem);
}

.section {
    margin-bottom: 4rem;
}

.section-heading {
    max-width: 720px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    border-top: 4px solid rgba(139, 31, 28, 0.15);
}

.card h3 {
    margin-bottom: 0.5rem;
}

.dark {
    background: var(--text-dark);
    color: #fefaf6;
    border-radius: 1.5rem;
    padding: 3rem;
}

.dark .overline,
.dark h2 {
    color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
}

.feature-title {
    font-weight: 600;
}

.feature-text {
    color: rgba(255, 255, 255, 0.7);
}

.info {
    background: #fff;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 0;
}

.info-grid dt {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-accent);
}

.info-grid dd {
    margin: 0.25rem 0 0;
    font-size: 1.1rem;
}

.contact {
    display: flex;
    justify-content: center;
}

.contact-card {
    text-align: center;
    background: var(--brand-primary);
    color: #fff;
    padding: 3rem;
    border-radius: 1.5rem;
    width: min(560px, 100%);
    box-shadow: 0 20px 50px rgba(139, 31, 28, 0.35);
}

.contact-card h2 {
    color: #fff;
}

.contact-card .btn {
    margin-top: 1.5rem;
    border-color: rgba(255, 255, 255, 0.4);
}

.footer {
    text-align: center;
    padding: 2rem 1rem 3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: clamp(1rem, 4vw, 3rem);
        flex-direction: column;
        background: #fff;
        padding: 1.25rem;
        border-radius: 1rem;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 1.25rem;
    }

    .brand img {
        width: 52px;
    }

    .contact-card {
        padding: 2.25rem;
    }
}
