/* FTR Kitchens — static site styles
   Accent gold: #e6c092 (from research reference) */
:root {
  --bg: #0f1114;
  --bg-elev: #171a1f;
  --bg-soft: #1e2329;
  --text: #f2f0eb;
  --muted: #a8a39a;
  --line: rgba(230, 192, 146, 0.22);
  --gold: #e6c092;
  --gold-dim: #c9a574;
  --white: #ffffff;
  --danger: #e8a0a0;
  --radius: 12px;
  --max: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--white); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-elev); }
.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
h1, h2, h3 { line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 40rem; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.logo {
  font-weight: 700; letter-spacing: 0.04em; color: var(--white);
  font-size: 1.05rem; text-transform: uppercase;
}
.logo span { color: var(--gold); }
.nav-links {
  display: flex; gap: 1.4rem; align-items: center; list-style: none; margin: 0; padding: 0;
}
.nav-links a { color: var(--muted); font-size: 0.92rem; }
.nav-links a:hover { color: var(--white); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line);
  color: var(--text); border-radius: 8px; padding: 0.45rem 0.7rem; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.8rem 1.25rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
  cursor: pointer; transition: 0.15s ease;
}
.btn-primary { background: var(--gold); color: #1a140c; }
.btn-primary:hover { background: #f0d2ad; color: #1a140c; }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative; min-height: min(88vh, 760px);
  display: grid; align-items: end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: #000 center/cover no-repeat;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,17,20,0.35) 0%, rgba(15,17,20,0.78) 55%, rgba(15,17,20,0.96) 100%),
    linear-gradient(90deg, rgba(15,17,20,0.75) 0%, rgba(15,17,20,0.25) 60%, rgba(15,17,20,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 7rem 0 4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.hero-points {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-points strong { display: block; color: var(--gold); font-size: 0.85rem; margin-bottom: 0.2rem; }
.hero-points span { color: var(--muted); font-size: 0.9rem; }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.card {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 8px; margin-bottom: 1rem;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Why / open book */
.why-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.why-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem;
  padding: 1rem 1.1rem; background: var(--bg); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}
.why-list .num {
  color: var(--gold); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.08em; padding-top: 0.15rem;
}
.open-book {
  background: linear-gradient(160deg, #221c14 0%, var(--bg-soft) 55%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.open-book table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-top: 1rem; }
.open-book th, .open-book td {
  text-align: left; padding: 0.65rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.open-book th { color: var(--gold); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.open-book .note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.85rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1rem; margin-top: 1.5rem; }
.step {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid rgba(255,255,255,0.05);
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(230,192,146,0.12); color: var(--gold);
  font-weight: 700; border: 1px solid var(--line);
}
.step p { margin: 0.25rem 0 0; color: var(--muted); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.85rem; margin-top: 1.5rem;
}
.gallery-grid figure {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 10px; background: #000;
  border: 1px solid rgba(255,255,255,0.06);
}
.gallery-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.8rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #eee; font-size: 0.8rem;
}
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .wide img { aspect-ratio: 16/10; }

/* Form */
.form-wrap {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
}
form { display: grid; gap: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; }
label { display: grid; gap: 0.35rem; font-size: 0.88rem; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 0.75rem 0.85rem;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.12);
  background: var(--bg); color: var(--text); font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(230,192,146,0.45); border-color: var(--gold);
}
textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 0.8rem; color: var(--muted); margin: 0; }
.form-note {
  margin-top: 0.75rem; padding: 0.75rem 0.9rem;
  background: rgba(230,192,146,0.08); border: 1px dashed var(--line);
  border-radius: 8px; color: var(--muted); font-size: 0.82rem;
}

/* Contact / footer */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.contact-card {
  background: var(--bg-elev); border-radius: var(--radius);
  padding: 1.4rem; border: 1px solid rgba(255,255,255,0.06);
}
.contact-card dt { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.9rem; }
.contact-card dd { margin: 0.25rem 0 0; }
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.88rem;
}
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  align-items: center;
}

/* Mobile */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-elev); border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 1rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid rgba(255,255,255,0.05); }
  .nav-links a { display: block; padding: 0.85rem 0.25rem; }
  .hero-points, .grid-3, .grid-2, .form-row, .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .wide { grid-column: span 2; }
  .hero { min-height: 72vh; }
  .section { padding: 3.25rem 0; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .wide { grid-column: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}


/* Jotform embed */
.jotform-embed {
  display: block;
  width: 100%;
  min-height: 1180px;
  border: 0;
  background: transparent;
  border-radius: 8px;
}
@media (max-width: 860px) {
  .jotform-embed { min-height: 1400px; }
}


/* Design help callout */
.design-callout {
  margin-top: 2.25rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: linear-gradient(160deg, #221c14 0%, var(--bg-soft) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.design-callout h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}
.design-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.design-points li {
  padding: 0.85rem 1rem;
  background: rgba(15, 17, 20, 0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
.design-points strong {
  color: var(--gold);
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}
@media (min-width: 800px) {
  .design-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .design-points li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* FAQ */
.faq-list { margin-top: 1.5rem; display: grid; gap: 0.65rem; max-width: 48rem; }
.faq-item {
  background: var(--bg-elev);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.15rem 1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.95rem;
}


/* Brochure download */
.btn-download::before {
  content: ""; width: 0.95em; height: 0.95em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 10l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 10l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center/contain no-repeat;
}
.design-download {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
  margin-top: 1.25rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.design-download .muted { font-size: 0.9rem; }
