/* Beam&Board — site styles. Colours match the logo. */
:root {
  --dark: #1F1C1A;
  --dark-2: #2B2623;
  --light: #F4F1EC;
  --white: #FFFFFF;
  --amber: #E8912D;
  --amber-soft: #FBEBD6;
  --wood: #E9D2AE;
  --text: #2A2522;
  --muted: #7A746C;
  --line: #E4DED5;
  --radius: 20px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--light); color: var(--text); font-family: Manrope, "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 800; color: var(--dark); }
h2 { font-size: clamp(30px, 4vw, 40px); }
.sub { color: var(--muted); margin: 8px 0 36px; }
section { padding: 80px 0; }
.todo { outline: 2px dashed #E53935; outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--amber); color: #fff; font-weight: 700; padding: 14px 26px; border-radius: 40px; text-decoration: none; border: 2px solid var(--amber); transition: transform .15s, background .15s; font-size: 16px; }
.btn:hover { transform: translateY(-2px); background: #D97F1B; border-color: #D97F1B; }
.btn.ghost { background: transparent; border-color: #5A524B; color: var(--light); }
.btn.ghost:hover { border-color: var(--light); }
.btn.dark { background: var(--dark); border-color: var(--dark); }
.btn.small { padding: 10px 20px; font-size: 15px; }

/* header */
header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo img { height: 40px; width: auto; }
nav.main { display: flex; gap: 30px; font-weight: 500; font-size: 16px; }
nav.main a { text-decoration: none; }
nav.main a:hover { color: var(--amber); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; height: 3px; background: var(--dark); margin: 6px 8px; border-radius: 2px; }

/* hero */
.hero { background: var(--dark); color: var(--light); padding: 0; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 0.9fr 1.3fr; align-items: center; gap: 16px; min-height: 560px; }
.kicker { color: var(--amber); font-weight: 700; letter-spacing: .12em; font-size: 13px; text-transform: uppercase; }
.hero h1 { color: var(--light); font-size: clamp(36px, 5vw, 56px); margin: 14px 0 20px; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p { color: #CFC7BC; font-size: 19px; margin: 0 0 32px; max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .pic { position: relative; display: flex; justify-content: center; padding: 40px 0; }
.hero .pic::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(#3B332D, transparent 70%); }
.hero .pic img { position: relative; width: 100%; max-width: 760px; filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); }

/* features */
.features { background: var(--white); border-bottom: 1px solid var(--line); padding: 44px 0; }
.features .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feat b { display: block; font-size: 17px; margin: 12px 0 4px; color: var(--dark); }
.feat span { color: var(--muted); font-size: 15px; }
.ico { width: 46px; height: 46px; border-radius: 12px; background: var(--amber-soft); display: flex; align-items: center; justify-content: center; font-size: 24px; }

/* catalog */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .im { aspect-ratio: 4 / 3; background: var(--white); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card .im img { width: 100%; height: 100%; object-fit: contain; }
.tag { position: absolute; z-index: 2; top: 16px; left: 16px; background: var(--dark); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 20px; }
.tag.hot { background: var(--amber); }
.card .bd { padding: 22px 24px 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 21px; margin-bottom: 6px; }
.card .d { color: var(--muted); font-size: 15px; margin: 0 0 18px; flex: 1; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { white-space: nowrap; font-size: 24px; font-weight: 800; color: var(--dark); }
.custom-im { background: repeating-linear-gradient(90deg, #E9D2AE 0 46px, #E2C79F 46px 48px); font-size: 64px; font-weight: 800; color: var(--dark); }

/* product detail */
.product { background: var(--white); }
.product .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.gallery .main { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.gallery .thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery .thumbs button { width: 84px; height: 84px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.gallery .thumbs button.on { border-color: var(--amber); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.specs { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.specs li span:first-child { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.chips span { background: var(--amber-soft); color: #8A4E0E; font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 20px; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* about */
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ph { aspect-ratio: 4 / 3; border-radius: var(--radius); background: linear-gradient(135deg, #3A322C, #1F1C1A); color: #9C9188; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.about p { color: #4A443F; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--white); border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step b { display: block; margin-bottom: 6px; color: var(--dark); }
.step span { color: var(--muted); font-size: 15px; }

/* delivery */
.delivery { background: var(--white); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.box { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--light); }
.box h3 { font-size: 20px; margin-bottom: 12px; }
.box ul { margin: 0; padding-left: 20px; }
.box li { margin: 6px 0; }

/* faq */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--dark); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: #4A443F; }

/* cta */
.cta { padding: 0 0 80px; }
.cta .inner { background: var(--amber); color: #fff; border-radius: 24px; padding: 48px 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { color: #fff; }
.cta p { margin: 8px 0 0; font-size: 18px; opacity: .92; }

/* footer / contacts */
footer { background: var(--dark); color: #A79E94; padding: 64px 0 32px; }
footer .grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
footer img { height: 40px; width: auto; margin-bottom: 16px; }
footer h3 { color: var(--light); font-size: 17px; margin-bottom: 14px; }
footer a { display: block; text-decoration: none; margin: 8px 0; color: #D9D1C6; }
footer a:hover { color: var(--amber); }
footer .copy { border-top: 1px solid #3A332E; margin-top: 40px; padding-top: 24px; font-size: 14px; }

/* order form */
[hidden] { display: none !important; }
.order { background: var(--white); }
.order .container { max-width: 860px; }
.oform { background: var(--light); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.oform .full { grid-column: 1 / -1; }
.oform label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; color: var(--dark); }
.oform input[type=text], .oform input[type=tel], .oform select, .oform textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 14px; border: 1px solid #D6CEC3; border-radius: 12px; background: #fff; color: var(--text); width: 100%; }
.oform textarea { resize: vertical; }
.oform input:focus, .oform select:focus, .oform textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.oform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.oform legend { font-weight: 600; font-size: 15px; color: var(--dark); margin-bottom: 8px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.oform .opts label { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; background: #fff; border: 1px solid #D6CEC3; border-radius: 30px; padding: 9px 14px; cursor: pointer; }
.oform .opts label:has(input:checked) { border-color: var(--amber); background: var(--amber-soft); }
.opts input { accent-color: var(--amber); margin: 0; }
.oform .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.oform .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--muted); }
.oform .consent input { margin-top: 2px; accent-color: var(--amber); width: 18px; height: 18px; flex: none; }
.oform .send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.oform button.btn { cursor: pointer; font-family: inherit; }
.oform button.btn[disabled] { opacity: .6; cursor: wait; }
.ostatus { font-size: 15px; }
.ostatus.err { color: #C62828; }
.ostatus a { color: inherit; font-weight: 700; }
.hp { position: absolute; left: -9999px; }
.thanks { background: var(--amber-soft); border: 1px solid #F1CF9F; border-radius: 24px; padding: 40px 32px; text-align: center; }
.thanks h3 { font-size: 26px; margin-bottom: 10px; }
.thanks p { margin: 0; }
@media (max-width: 640px) { .oform { grid-template-columns: 1fr; padding: 22px 18px; } .oform .send .btn { flex: 1 1 100%; } }

/* phone and tablet */
@media (max-width: 900px) {
  section { padding: 56px 0; }
  nav.main { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  nav.main.open { display: flex; }
  nav.main a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .burger { display: block; }
  header .btn { display: none; }
  .hero .container { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero .pic { padding: 0 0 32px; }
  .hero .pic img { max-width: 100%; }
  .features .container { grid-template-columns: 1fr 1fr; }
  .cards, .steps, .two, footer .grid { grid-template-columns: 1fr; }
  .product .container, .about .container { grid-template-columns: 1fr; gap: 32px; }
  .cta .inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .features .container { grid-template-columns: 1fr; gap: 20px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .gallery .thumbs button { width: 60px; height: 60px; }
}
