/* ClaraPro Kitchen Designs — demo dealer site (QA only, not production). */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600&family=Zilla+Slab:wght@600;700&display=swap');

:root {
  --cream: #f7f3ec;
  --cream-2: #efe8dd;
  --charcoal: #2b2622;
  --ink: #3a342e;
  --muted: #7a7166;
  --line: #e4dccf;
  --accent: #b0894f;      /* warm brass */
  --accent-dark: #8f6d38;
  --white: #fffdf9;
  --shadow: 0 18px 40px -24px rgba(43, 38, 34, 0.45);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--charcoal); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, 92vw); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; color: var(--accent-dark); margin-bottom: .8rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-light { background: #fff; color: var(--charcoal); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none; display: block;
}
.brand .name { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.12rem; color: var(--charcoal); line-height: 1.1; }
.brand .name small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-weight: 500; font-size: .95rem; color: var(--ink); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-dark); }
.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(135deg, #4a3f35, #6b4e37 60%, #8f6d38); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,14,.72), rgba(20,17,14,.25)); }
.hero-inner { position: relative; z-index: 2; padding: clamp(4rem, 12vw, 9rem) 0; color: #fff; max-width: 640px; }
.hero-inner h1 { color: #fff; }
.hero-inner p { color: rgba(255,255,255,.9); font-size: 1.12rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---- Sections ---- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; }

/* ---- Feature cards ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; }

/* ---- Split ---- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/4; background: linear-gradient(135deg, var(--cream-2), #d9cdb8); box-shadow: var(--shadow); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #d3c6ad, #a98f6a); box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.06); }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem; color: #fff;
  background: linear-gradient(transparent, rgba(20,17,14,.75)); font-weight: 600; }
.tile .cap small { display: block; font-weight: 500; font-size: .78rem; opacity: .85; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.step .num { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: 'Playfair Display', serif; font-weight: 700; margin-bottom: 1rem; }

/* ---- CTA band ---- */
.cta-band { background: var(--charcoal); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 40rem; margin-inline: auto; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; }
.info-row { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-row .ic { font-size: 1.3rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--white); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ---- Suppliers / accordion ---- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 1rem; box-shadow: var(--shadow); overflow: hidden; }
.accordion > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.6rem; font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; color: var(--charcoal); }
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary .chev { color: var(--accent-dark); font-size: 1rem; transition: transform .2s ease; }
.accordion[open] > summary .chev { transform: rotate(180deg); }
.accordion > summary:hover { background: var(--cream); }
.accordion .panel { padding: .4rem 1.6rem 1.7rem; border-top: 1px solid var(--line); }

.supplier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 1.1rem; }
.supplier { display: flex; gap: 1.1rem; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; background: var(--cream); }
.supplier .logo { width: 92px; height: 68px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.supplier .logo img { max-width: 88%; max-height: 88%; object-fit: contain; }
.supplier .logo .mono { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.6rem; color: var(--accent-dark); }
.supplier h4 { margin: 0 0 .2rem; font-size: 1.02rem; }
.supplier p { margin: 0 0 .35rem; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.supplier a.link { font-size: .8rem; font-weight: 600; color: var(--accent-dark); }
.supplier a.link:hover { text-decoration: underline; }

/* Featured (open) supplier — the cabinet manufacturer */
.featured { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; margin-top: 1.1rem; }
.featured .logo { width: 150px; height: 120px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; }
.featured .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.featured .body { flex: 1; min-width: 220px; }
.featured .body h4 { margin: 0 0 .35rem; font-size: 1.15rem; }
.featured .body p { margin: 0 0 .6rem; color: var(--muted); }
.badge { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); background: var(--cream-2); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .5rem; }

@media (max-width: 640px) { .supplier-grid { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.site-footer { background: #241f1b; color: rgba(255,255,255,.72); padding: 3rem 0 2rem; margin-top: 2rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top .brand .name, .footer-top .brand .name small { color: #fff; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 1.4rem; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.demo-note { font-size: .72rem; color: rgba(255,255,255,.45); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-3, .steps, .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 1rem; background: var(--cream); padding: 1.2rem 4vw; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--charcoal); }
}
@media (max-width: 560px) {
  .grid-3, .steps, .gallery { grid-template-columns: 1fr; }
}
