:root {
  --primary: #b45309;
  --accent: #f59e0b;
  --ink: #1c1917;
  --muted: #78716c;
  --line: #e7e5e4;
  --paper: #fafaf9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
p { margin: 0 0 1em; }

a { color: inherit; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  background: rgba(250, 250, 249, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem;
  border-radius: .6rem; background: var(--primary); color: #fff; font-size: .95rem;
}
.topnav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.4rem); font-size: .92rem; }
.topnav a { text-decoration: none; color: var(--muted); }
.topnav a:hover { color: var(--ink); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  border: 0; background: transparent; padding: .35rem .7rem; font: inherit; font-size: .8rem;
  cursor: pointer; color: var(--muted);
}
.lang-switch button[aria-pressed="true"] { background: var(--primary); color: #fff; }

.hero {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(1200px 400px at 15% -10%, color-mix(in srgb, var(--accent) 22%, white), transparent),
    linear-gradient(180deg, #fff, var(--paper));
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 60rem; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 1rem;
}
.lede { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 1rem; }
.hero-meta { font-size: .85rem; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.2rem; border-radius: .7rem; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 88%, black); }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.section { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem); max-width: 72rem; margin: 0 auto; }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.3rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); box-shadow: 0 8px 24px -18px rgba(0,0,0,.5); }
.card h3 { font-size: 1.05rem; }
.card .price { color: var(--primary); font-weight: 700; font-size: .95rem; }

.split { display: grid; gap: 2rem; grid-template-columns: 1.2fr .8fr; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.facts { display: grid; gap: .7rem; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: .8rem; padding: .9rem 1rem; display: grid; gap: .15rem; }
.fact span { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.fact strong { font-weight: 600; }

.accordion { display: grid; gap: .6rem; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: .8rem; padding: .2rem .2rem; }
.accordion summary { cursor: pointer; padding: .9rem 1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--primary); font-weight: 700; }
.accordion details[open] summary::after { content: "–"; }
.accordion .answer { padding: 0 1rem 1rem; color: var(--muted); }

.contact { padding-bottom: clamp(3rem, 8vw, 5rem); }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 1.2rem;
  padding: clamp(1.4rem, 4vw, 2.4rem); max-width: 44rem;
  box-shadow: 0 24px 60px -48px rgba(0,0,0,.6);
}
form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; margin-bottom: .9rem; }
input, textarea {
  font: inherit; font-weight: 400; padding: .7rem .8rem; border-radius: .6rem;
  border: 1px solid var(--line); background: #fff; width: 100%;
}
input:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--primary) 35%, white); border-color: var(--primary); }
.row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .row { grid-template-columns: 1fr; } }
label.check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .82rem; color: var(--muted); }
label.check input { width: auto; margin-top: .25rem; }
.form-status { font-size: .9rem; margin: .8rem 0 0; min-height: 1.2em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }

.footer {
  border-top: 1px solid var(--line); background: #fff; text-align: center;
  padding: 2.2rem 1rem; font-size: .88rem; color: var(--muted);
}
.footer .small { font-size: .78rem; opacity: .85; }

.chat-launcher {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: #fff; border: 0; border-radius: 999px;
  padding: .8rem 1.15rem; font: inherit; font-weight: 600; cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.55);
}
.chat-dot { width: .5rem; height: .5rem; border-radius: 999px; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }

.chat-panel[hidden] { display: none !important; }
.chat-panel {
  position: fixed; right: 1.1rem; bottom: 4.6rem; z-index: 41; width: min(23rem, calc(100vw - 2.2rem));
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.55); display: flex; flex-direction: column;
  max-height: min(32rem, calc(100vh - 7rem));
}
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.chat-head button { border: 0; background: transparent; font-size: 1rem; cursor: pointer; color: var(--muted); }
.chat-log { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; overflow-y: auto; flex: 1; background: var(--paper); }
.bubble { max-width: 85%; padding: .6rem .8rem; border-radius: .9rem; font-size: .9rem; white-space: pre-wrap; }
.bubble.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: .25rem; }
.bubble.me { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: .25rem; }
.bubble.typing { color: var(--muted); font-style: italic; }
.chat-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.chat-form input { border-radius: 999px; }
.chat-form button {
  border: 0; border-radius: 999px; width: 2.6rem; background: var(--primary); color: #fff;
  font-size: 1.1rem; cursor: pointer; flex: 0 0 auto;
}
.chat-note { margin: 0; padding: 0 .9rem .8rem; font-size: .72rem; color: var(--muted); }
