:root {
  --ink: #1c1510;
  --ink-2: #2a211a;
  --paper: #f3eee6;
  --paper-2: #e8e0d4;
  --brass: #b8923a;
  --brass-2: #d4b56a;
  --line: rgba(28, 21, 16, 0.12);
  --muted: #6b5e52;
  --ok: #2f5d3a;
  --shadow: 0 18px 50px rgba(20, 14, 8, 0.18);
  --radius: 14px;
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(184, 146, 58, 0.18), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(47, 93, 58, 0.12), transparent 50%),
    linear-gradient(180deg, #f7f2ea 0%, var(--paper) 40%, #efe8dc 100%);
  line-height: 1.55;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #7a5e1f; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.topbar {
  background: var(--ink);
  color: #e8dfd0;
  font-size: .88rem;
}
.topbar .container {
  display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap;
}
.topbar a { color: var(--brass-2); text-decoration: none; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(243, 238, 230, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #3a2c20, #1c1510);
  color: var(--brass-2); font-weight: 700; letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(212, 181, 106, 0.35);
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700; letter-spacing: .01em;
}
.brand-copy span { font-size: .78rem; color: var(--muted); }
.nav { display: flex; gap: 1rem; margin-left: auto; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu-toggle {
  display: none; margin-left: auto;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .45rem .9rem; font: inherit;
}
.header-cta { margin-left: .25rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; padding: .78rem 1.2rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-primary { background: var(--ink); color: #f5efe4; }
.btn-primary:hover { background: #2c221a; color: #fff; }
.btn-light { background: #fff; border-color: var(--line); color: #1c1510; }
.btn-light:hover { color: #1c1510; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: inherit; }
.btn-gold { background: linear-gradient(135deg, var(--brass), #9a7428); color: #1c1510; }
.btn-gold:hover { color: #1c1510; }

.home-hero .btn-light { color: #1c1510; }
.home-hero .btn-ghost { color: #f6f0e6; border-color: rgba(246,240,230,.55); }

.home-hero {
  position: relative; min-height: min(92vh, 780px);
  display: grid; align-items: end;
  color: #f6f0e6;
  overflow: hidden;
  isolation: isolate;
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(12,9,7,.35) 0%, rgba(12,9,7,.72) 55%, rgba(12,9,7,.92) 100%),
    url("/assets/images/hero.jpg") center/cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 280px at 20% 80%, rgba(184,146,58,.22), transparent 60%);
}
@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.06) translateY(-1.5%); }
}
.home-hero .container { padding: 5.5rem 0 3.2rem; max-width: 760px; margin-left: max(1rem, calc((100% - var(--max)) / 2)); }
.home-hero .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: .95; margin: 0 0 .6rem; letter-spacing: .01em;
  animation: rise .7s ease both;
}
.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 600; margin: 0 0 .75rem; max-width: 18ch;
  animation: rise .8s .08s ease both;
}
.home-hero .lead {
  font-size: 1.05rem; max-width: 36ch; color: #e5d9c6; margin: 0 0 1.4rem;
  animation: rise .85s .14s ease both;
}
.home-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; animation: rise .9s .2s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.page-hero { padding: 2.2rem 0 1rem; }
.page-hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05; margin: .35rem 0 .7rem;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.1rem; }
.page-image {
  margin: 0; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28,21,16,.08);
}
.page-image img { width: 100%; aspect-ratio: 8/5.6; object-fit: cover; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; color: var(--muted); font-size: .9rem; margin-bottom: .7rem; }
.breadcrumbs a { text-decoration: none; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: #8a6d2a; font-weight: 700; margin-bottom: .35rem;
}

.section { padding: 3rem 0; }
.section.alt { background: rgba(255,255,255,.35); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 1.4rem; max-width: 42rem; }
.section-head h2, .prose h2, .cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.1; margin: .2rem 0 .5rem;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 1rem 1.05rem 1.15rem; }
.card-body h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .35rem; }
.card-body p { margin: 0 0 .7rem; color: var(--muted); font-size: .95rem; }
.more { font-weight: 600; text-decoration: none; color: #7a5e1f; }

.chip-grid { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex; padding: .55rem .95rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600;
}
.chip:hover { border-color: var(--brass); color: inherit; }

.promise {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.promise article {
  padding: 1.2rem 1.15rem;
  border-left: 3px solid var(--brass);
  background: rgba(255,255,255,.4);
}
.promise h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1.35rem; }
.promise p { margin: 0; color: var(--muted); }

.article-layout {
  display: grid; grid-template-columns: 1.5fr .7fr; gap: 1.5rem; align-items: start;
}
.prose p { color: #3d342c; }
.prose .article-intro { font-size: 1.1rem; }
.narrow { max-width: 760px; }
.checklist { padding-left: 1.1rem; }
.checklist li { margin: .35rem 0; }
.steps-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .85rem; }
.steps-list li { display: grid; grid-template-columns: 42px 1fr; gap: .8rem; align-items: start; }
.steps-list span {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: var(--ink); color: var(--brass-2);
}
.steps-list strong { display: block; margin-bottom: .15rem; }
.steps-list p { margin: 0; color: var(--muted); }
.info-box {
  background: #fff7e8; border: 1px solid rgba(184,146,58,.35);
  border-radius: var(--radius); padding: 1rem 1.1rem; margin: 1.2rem 0;
}
.side-card {
  position: sticky; top: 92px;
  background: var(--ink); color: #f0e7d8;
  border-radius: calc(var(--radius) + 2px); padding: 1.2rem;
  box-shadow: var(--shadow);
}
.side-card .eyebrow { color: var(--brass-2); }
.side-card h3 { font-family: var(--font-display); margin: .2rem 0 .5rem; font-size: 1.5rem; }
.side-card p { color: #cfc3b1; }
.side-card a { color: var(--brass-2); }
.side-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 1rem 0; }
.side-card .btn-primary { width: 100%; background: var(--brass); color: var(--ink); }

.faq details {
  background: rgba(255,255,255,.55); border: 1px solid var(--line);
  border-radius: 12px; padding: .85rem 1rem; margin-bottom: .55rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: .55rem 0 0; color: var(--muted); }

.cta {
  display: flex; justify-content: space-between; gap: 1.2rem; align-items: center; flex-wrap: wrap;
  background: linear-gradient(135deg, #241b14, #3a2a1c 55%, #2a2118);
  color: #f4ebdc; border-radius: 18px; padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.cta p { color: #d8cbb8; margin: .35rem 0 0; max-width: 42ch; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }

.split-yes-no {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.split-yes-no article {
  border-radius: var(--radius); padding: 1.2rem; border: 1px solid var(--line); background: rgba(255,255,255,.5);
}
.split-yes-no .yes { border-top: 3px solid var(--ok); }
.split-yes-no .no { border-top: 3px solid #8a3b2c; }
.partner-box {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.4rem;
  align-items: start;
  background: linear-gradient(145deg, #fffdf8, #f3ebe0);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.partner-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: .2rem 0 .7rem;
  line-height: 1.1;
}
.partner-box p { color: #3d342c; }
.partner-steps { margin: 0; }
@media (max-width: 760px) {
  .partner-box { grid-template-columns: 1fr; }
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem;
}
.gallery-grid figure {
  margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
}
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-grid figcaption {
  padding: .55rem .7rem; font-size: .85rem; background: rgba(255,255,255,.7); color: var(--muted);
}

.form {
  display: grid; gap: .8rem; background: rgba(255,255,255,.6);
  border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem;
}
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.form input, .form textarea, .form select {
  font: inherit; border-radius: 10px; border: 1px solid var(--line);
  padding: .7rem .8rem; background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-note { color: var(--muted); font-size: .9rem; }
.alert {
  padding: .85rem 1rem; border-radius: 12px; margin-bottom: 1rem;
}
.alert.ok { background: #e8f4ea; border: 1px solid #9ec9a8; }
.alert.err { background: #fceceb; border: 1px solid #e0a39a; }

.footer {
  background: var(--ink); color: #d8cbb8; padding: 3rem 0 6.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.4rem; }
.footer a { color: #e8dcc8; text-decoration: none; }
.footer h3 { color: var(--brass-2); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-brand { margin-bottom: .8rem; }
.footer .brand-copy strong { color: #f5efe4; }
.footer .brand-copy span { color: #a99a88; }
.footer-photos { margin: .85rem 0 0; color: #e8dcc8; }
.footer-photos strong { color: var(--brass-2); }
.section-more { margin-top: 1.1rem; }
.partner-box-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.partner-box-compact h2 { margin-bottom: .4rem; }
.side-card .btn + .btn { margin-top: .55rem; }
.footer small { color: #8f8172; display: block; margin-top: 1rem; }

.sticky-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  padding: .55rem .65rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(28,21,16,.72), rgba(28,21,16,.96));
  backdrop-filter: blur(12px);
  box-shadow: 0 -10px 30px rgba(0,0,0,.28);
}
.sticky-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 56px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  transition: transform .15s ease, filter .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.sticky-contact a:active { transform: scale(.98); }
.sticky-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255,255,255,.16);
}
.sticky-copy {
  display: grid;
  line-height: 1.15;
  text-align: left;
}
.sticky-copy strong { font-size: 1rem; letter-spacing: .01em; }
.sticky-copy small { font-size: .78rem; font-weight: 600; opacity: .92; }
.sticky-call {
  background: linear-gradient(135deg, #2a2118, #1c1510);
  color: #f7efe3;
  animation: stickyPulse 2.4s ease-in-out infinite;
}
.sticky-call .sticky-ico { color: #d4b56a; }
.sticky-viber {
  background: linear-gradient(135deg, #7360f2, #5b4bc7);
  color: #fff;
}
.sticky-viber .sticky-ico { background: rgba(255,255,255,.22); }
@keyframes stickyPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(0,0,0,.22), 0 0 0 0 rgba(212,181,106,.45); }
  50% { box-shadow: 0 8px 20px rgba(0,0,0,.22), 0 0 0 8px rgba(212,181,106,0); }
}

@media (max-width: 960px) {
  .grid-3, .promise, .article-layout, .split-yes-no, .footer-grid, .page-hero-grid, .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
  .sticky-contact { display: grid; }
  body { padding-bottom: 84px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #f7f2ea; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 1rem; gap: .7rem;
  }
  .nav.open { display: flex; }
  .grid-3, .promise, .article-layout, .split-yes-no, .footer-grid, .page-hero-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .home-hero { min-height: 78vh; }
  .home-hero .container { padding-top: 4.5rem; }
  .side-card { position: static; }
}
