:root {
  --ink: #16191d;
  --ink-soft: #2a3038;
  --text: #1c2126;
  --muted: #5c666f;
  --line: #e2e5e9;
  --surface: #ffffff;
  --surface-alt: #f5f6f8;
  --accent: #e2590c;
  --accent-dark: #c24a08;
  --accent-soft: #fff2e8;
  --radius: 12px;
  --wrap: 1080px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 72px }
html, body { overflow-x: hidden; max-width: 100% }
body {
  margin: 0;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block }
a { color: var(--accent-dark) }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px }
section { padding: 64px 0; scroll-margin-top: 72px }
section + section { border-top: 1px solid var(--line) }
.alt { background: var(--surface-alt) }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 16px }
h1 { font-size: clamp(30px, 6vw, 46px); font-weight: 800 }
h2 { font-size: clamp(25px, 4vw, 33px); font-weight: 750 }
h3 { font-size: 15px; font-weight: 700; text-transform: uppercase;
     letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px }
p { margin: 0 0 16px; max-width: 62ch }
.lead { font-size: 19px; color: var(--muted) }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 10px; height: 62px; flex-wrap: nowrap }
@media (min-width: 560px) { .bar { gap: 16px } }
.brand { font-weight: 800; letter-spacing: -0.02em; font-size: 16px;
         color: var(--text); text-decoration: none; white-space: nowrap }
@media (min-width: 560px) { .brand { font-size: 18px } }
.brand span { color: var(--accent) }
nav.links { display: none; gap: 22px; margin-left: auto }
nav.links a { color: var(--text); text-decoration: none; font-size: 16px; font-weight: 550 }
nav.links a:hover { color: var(--accent-dark) }
.langs { margin-left: auto; display: flex; gap: 4px; align-items: center; font-size: 14px }
.langs a, .langs strong { padding: 5px 8px; border-radius: 6px; text-decoration: none; font-weight: 600 }
.lang-full { display: none }
.lang-short { display: inline }
@media (min-width: 560px) { .lang-full { display: inline } .lang-short { display: none } }
.langs a { color: var(--muted) }
.langs a:hover { background: var(--surface-alt); color: var(--text) }
.langs strong { background: var(--ink); color: #fff }
@media (min-width: 900px) {
  nav.links { display: flex }
  .langs { margin-left: 22px }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; border: 0;
  font: inherit; font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .05s;
}
.btn-primary { background: var(--accent); color: #fff }
.btn-primary:hover { background: var(--accent-dark) }
.btn:active { transform: translateY(1px) }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45) }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08) }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 8px }

/* Declared after .btn so it wins the cascade — on phones the CTA lives in the
   sticky bottom bar, and keeping it in the header overflows the viewport. */
.header-cta { display: none }
@media (min-width: 900px) { .header-cta { display: inline-flex } }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 380px at 78% -10%, rgba(226, 89, 12, .30), transparent 62%),
    linear-gradient(180deg, #1b1f24 0%, var(--ink) 100%);
  color: #fff; padding: 76px 0 68px; border-top: 0;
}
.hero h1 { color: #fff; max-width: 17ch }
.hero .subtitle { font-size: clamp(19px, 2.6vw, 23px); color: #ffb98a; font-weight: 600;
                  margin: 0 0 14px; max-width: 30ch }
.hero .desc { color: #c8cfd6; font-size: 18px; max-width: 46ch }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px }
.hero .note { color: #98a3ad; font-size: 15px; max-width: 44ch; margin: 0 }

/* ---------- chips ---------- */
.chip-groups { display: grid; gap: 28px; margin-top: 34px }
@media (min-width: 640px) { .chip-groups { grid-template-columns: 1fr 1fr } }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
        padding: 8px 16px; font-size: 15px; font-weight: 600 }
.alt .chip { background: #fff }

.callout {
  margin-top: 32px; padding: 18px 20px; background: var(--accent-soft);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
}
.callout p { margin: 0; font-size: 16px }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
           gap: 12px; margin-top: 28px }
.gallery button {
  padding: 0; border: 0; background: var(--surface-alt); cursor: pointer;
  border-radius: var(--radius); overflow: hidden; position: relative; display: block;
}
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover;
               transition: transform .35s ease; background: var(--surface-alt) }
.gallery button:hover img { transform: scale(1.045) }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px; text-align: left;
  color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
}
.empty { color: var(--muted); font-style: italic }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(12, 14, 16, .95); padding: 20px;
}
.lightbox[open], .lightbox.open { display: grid; grid-template-rows: 1fr auto; gap: 14px }
.lightbox img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain;
                border-radius: 8px }
.lightbox .lb-caption { color: #e8eaed; text-align: center; font-size: 16px; min-height: 24px }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 22px; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.22) }
.lb-close { top: 16px; right: 16px }
.lb-prev { left: 12px; top: 50% }
.lb-next { right: 12px; top: 50% }

/* ---------- form ---------- */
form.quote { max-width: 620px; margin-top: 28px }
.field { margin-bottom: 18px }
.field label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 7px }
.field .opt { color: var(--muted); font-weight: 500 }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px;
  border: 1px solid #cfd5db; border-radius: 9px; background: #fff; color: var(--text);
}
.field textarea { min-height: 130px; resize: vertical }
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226, 89, 12, .16);
}
.filebox { border: 1.5px dashed #c3cad1; border-radius: 10px; padding: 18px;
           text-align: center; background: #fff; cursor: pointer }
.filebox:hover { border-color: var(--accent); background: var(--accent-soft) }
.filebox input { display: none }
.filebox .fb-label { font-weight: 650; color: var(--accent-dark) }
.filebox .fb-list { font-size: 14px; color: var(--muted); margin-top: 6px }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.form-hint { font-size: 15px; color: var(--muted); margin-top: 14px }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 9px; font-weight: 600; display: none }
.form-msg.ok { display: block; background: #e7f6ec; border: 1px solid #a9d9bb; color: #1c5c34 }
.form-msg.bad { display: block; background: #fdeceb; border: 1px solid #f0b6b2; color: #9c2620 }
button[disabled] { opacity: .6; cursor: default }

/* ---------- contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid;
                gap: 14px; max-width: 460px }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 18px }
.contact-list .ico { width: 40px; height: 40px; flex: none; border-radius: 10px;
                     background: var(--accent-soft); display: grid; place-items: center; font-size: 19px }
.contact-list a { font-weight: 700; text-decoration: none }
.contact-list a:hover { text-decoration: underline }

footer { background: var(--ink); color: #9aa3ad; padding: 30px 0; font-size: 15px }
footer a { color: #cfd6dd }
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between }

/* ---------- mobile sticky actions ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.mobile-bar .btn { padding: 13px 12px; font-size: 16px }
.btn-dark { background: var(--ink); color: #fff }
body { padding-bottom: 84px }
@media (min-width: 900px) { .mobile-bar { display: none } body { padding-bottom: 0 } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  * { transition: none !important }
}
