:root {
    --bg: #f6f0e7;
    --surface: #fffaf4;
    --surface-dark: #1a1512;
    --card: #f1e4d6;
    --text: #231a15;
    --muted: #6d5c50;
    --gold: #b7894d;
    --gold-soft: #d6b487;
    --terracotta: #b85f42;
    --line: rgba(35, 26, 21, 0.1);
    --white: #ffffff;
    --success: #0d7a4d;
    --error: #a63434;
    --shadow: 0 18px 45px rgba(35, 26, 21, 0.08);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(246, 240, 231, 0.86);
    border-bottom: 1px solid var(--line);
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 78px;
    gap: 20px;
}
.brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.nav-menu a { color: var(--muted); font-weight: 600; }
.nav-menu a:hover { color: var(--text); }

.messages-wrap { padding-top: 14px; }
.message {
    padding: 14px 18px;
    border-radius: 16px;
    margin-bottom: 10px;
    background: rgba(13, 122, 77, 0.1);
    border: 1px solid rgba(13, 122, 77, 0.2);
}
.message.error { background: rgba(166, 52, 52, 0.08); border-color: rgba(166, 52, 52, 0.16); }
.message.success { background: rgba(13, 122, 77, 0.1); border-color: rgba(13, 122, 77, 0.2); }

.hero,
.page-hero {
    color: var(--white);
    background: linear-gradient(rgba(18, 16, 14, .55), rgba(18, 16, 14, .68)), url('/media/site/hero.jpg') center/cover no-repeat;
}
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
}
.page-hero.compact { padding: 110px 0 70px; }
.hero-content { max-width: 760px; padding: 80px 0; }
.eyebrow {
    display: inline-block;
    letter-spacing: .26em;
    text-transform: uppercase;
    font-size: .78rem;
    color: var(--gold-soft);
    margin-bottom: 14px;
    font-weight: 700;
}
.hero h1,
.page-hero h1,
.section h2,
.contact-card h3,
.info-card h2,
.contact-card h2 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 18px;
    line-height: 1.05;
}
.hero h1 { font-size: clamp(3rem, 8vw, 5.8rem); }
.page-hero h1,
.section h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.hero-text,
.page-hero p,
.lead,
.product-body p,
.info-card p,
.contact-card p { color: rgba(255,255,255,0.82); font-size: 1.06rem; line-height: 1.8; }
.page-hero p { max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--gold), var(--terracotta));
    color: var(--white);
    font-weight: 700;
    transition: transform .18s ease, opacity .18s ease, background .18s ease;
    box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); }
.btn-outline,
.btn-ghost {
    background: transparent;
    color: inherit;
    border-color: rgba(255,255,255,0.28);
    box-shadow: none;
}
.btn-outline { border-color: rgba(35, 26, 21, 0.16); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.text-link { color: var(--gold); font-weight: 700; }

.section { padding: 80px 0; }
.section-dark {
    background: var(--surface-dark);
    color: var(--white);
}
.section-heading { margin-bottom: 28px; }
.section-heading.centered { text-align: center; }
.section-heading.split { display: flex; justify-content: space-between; align-items: end; gap: 20px; }

.category-grid,
.product-grid {
    display: grid;
    gap: 24px;
}
.category-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.category-card,
.product-card,
.contact-card,
.info-card {
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.category-card {
    padding: 28px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.category-card strong { font-size: 1.15rem; }
.category-card span { color: var(--muted); line-height: 1.7; }

.product-card { display: flex; flex-direction: column; }
.product-image-wrap { aspect-ratio: 1 / 1; overflow: hidden; background: #ead8c7; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-image { transform: scale(1.05); }
.product-body { padding: 22px; color: var(--text); }
.product-meta { color: var(--terracotta); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; margin-bottom: 8px; }
.product-body h3 { margin: 0 0 8px; font-size: 1.35rem; font-family: 'Playfair Display', serif; }
.product-body p { color: var(--muted); margin: 0 0 18px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-footer strong,
.detail-price { font-size: 1.3rem; color: var(--text); }
.section-dark .product-body,
.section-dark .product-footer strong { color: var(--text); }

.about-grid,
.detail-grid,
.contact-page-grid,
.contact-highlight {
    display: grid;
    gap: 30px;
    align-items: center;
}
.about-grid,
.detail-grid,
.contact-page-grid,
.contact-highlight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-media,
.detail-image-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--card);
}
.about-media img,
.detail-image { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.feature-list { display: grid; gap: 16px; margin-top: 28px; }
.feature-item {
    padding: 22px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.feature-item strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.feature-item span { color: var(--muted); line-height: 1.7; }

.contact-highlight { align-items: start; }
.contact-highlight p { color: rgba(255,255,255,0.76); }
.contact-card,
.info-card { padding: 30px; }
.contact-card { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.08); }
.contact-card.light { background: var(--surface); color: var(--text); }
.contact-card.light p { color: var(--muted); }
.info-card { background: linear-gradient(160deg, #fff6eb, #f0e0cb); }
.info-card p { color: var(--text); }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.full-width { grid-column: 1 / -1; }
.form-control {
    width: 100%;
    border: 1px solid rgba(35, 26, 21, 0.12);
    border-radius: 16px;
    min-height: 54px;
    padding: 14px 16px;
    font: inherit;
    background: rgba(255,255,255,0.94);
    color: var(--text);
}
textarea.form-control { min-height: 120px; resize: vertical; }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.filter-pill {
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-weight: 700;
}
.filter-pill.active {
    background: linear-gradient(135deg, var(--gold), var(--terracotta));
    color: var(--white);
    border-color: transparent;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0;
}
.spec-grid div {
    padding: 18px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.spec-grid strong,
.spec-grid span { display: block; }
.spec-grid span { margin-top: 6px; color: var(--muted); }
.description-box {
    padding: 22px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    line-height: 1.8;
    color: var(--muted);
}

.site-footer {
    padding: 40px 0 60px;
    border-top: 1px solid var(--line);
    background: #efe5d8;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}
.footer-brand { margin-bottom: 12px; }
.footer-text,
.site-footer p,
.site-footer a { color: var(--muted); line-height: 1.8; }
.site-footer h4 { margin: 0 0 10px; }

@media (max-width: 900px) {
    .about-grid,
    .detail-grid,
    .contact-page-grid,
    .contact-highlight,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section-heading.split { flex-direction: column; align-items: start; }
}

@media (max-width: 700px) {
    .nav-wrap { min-height: auto; padding: 14px 0; flex-direction: column; align-items: flex-start; }
    .nav-menu { gap: 12px; }
    .hero { min-height: auto; }
    .hero-content { padding: 100px 0 70px; }
    .form-grid,
    .spec-grid { grid-template-columns: 1fr; }
    .stacked-mobile { flex-direction: column; }
}


.lead-dark, .lead-dark p { color: var(--muted) !important; }
.setup-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 28px; }
.setup-stat { padding: 26px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.setup-stat strong { display:block; font-size:2rem; margin-top:8px; font-family: "Playfair Display", serif; }
.setup-links { display:flex; flex-wrap:wrap; gap: 12px; margin: 22px 0 34px; }
.table-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; overflow:auto; }
.table-premium { width:100%; border-collapse: collapse; }
.table-premium th, .table-premium td { text-align:left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.table-premium th { font-size:.82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.status-pill { display:inline-flex; align-items:center; padding:8px 12px; border-radius:999px; font-size:.8rem; font-weight:700; }
.status-new { background: rgba(184,95,66,.12); color: var(--terracotta); }
.status-progress { background: rgba(183,137,77,.16); color: #8a642f; }
.status-done { background: rgba(13,122,77,.12); color: var(--success); }
.card-stack { display:grid; gap:24px; }


.product-footer-stack { align-items: flex-start; }
.product-actions-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badges { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.footer-badges span { display:inline-flex; padding:10px 14px; border-radius:999px; background:rgba(35,26,21,.06); color:var(--text); font-weight:700; font-size:.9rem; }
.setup-guide-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:24px; margin-bottom:24px; }
.setup-steps { margin:0; padding-left: 20px; line-height:1.9; color:var(--muted); }
.setup-note { margin-top:18px; padding:16px 18px; border-radius:16px; background:rgba(183,137,77,.1); color:var(--text) !important; border:1px solid rgba(183,137,77,.16); }
.quick-link-list { display:grid; gap:12px; }
.quick-link-list a { display:block; padding:16px 18px; border:1px solid var(--line); border-radius:16px; font-weight:700; background: #fffdf9; }
.quick-link-list a:hover { transform: translateY(-1px); }
@media (max-width: 900px) { .setup-guide-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .product-actions-inline { width:100%; } .product-actions-inline .btn { width:100%; } }
