/* =========================================================
   ДЕРЕВЯННЫЙ ДВОРИК — Landing styles
   ========================================================= */

:root {
  --ink: #1a1815;
  --ink-soft: #4a453e;
  --paper: #faf7f2;
  --paper-2: #f1ebe0;
  --paper-3: #e9e0d1;
  --charcoal: #1b1b18;
  --charcoal-2: #262420;
  --line: #e2d9c8;
  --line-dark: #37342c;

  --green: #1f5a3c;
  --green-dark: #163f2a;
  --green-light: #2f7d4f;
  --green-tint: #eaf3ec;

  --whatsapp: #25d366;
  --whatsapp-dark: #1ea952;
  --telegram: #229ed9;
  --telegram-dark: #1a86b8;

  --gold: #b3894b;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;

  --shadow-s: 0 2px 8px rgba(26, 24, 21, 0.08);
  --shadow-m: 0 12px 32px rgba(26, 24, 21, 0.12);
  --shadow-l: 0 24px 64px rgba(26, 24, 21, 0.18);

  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

@media (max-width: 900px) {
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  section { padding: 48px 0; }
}

.section--tight { padding-top: 0; }

.bg-paper2 { background: var(--paper-2); }
.bg-charcoal { background: var(--charcoal); color: #f4efe6; }
.bg-charcoal h2, .bg-charcoal h3 { color: #fff; }

/* ---------- Section header ---------- */
.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  display: inline-block;
}
.bg-charcoal .eyebrow { color: #8fd0a9; }
.bg-charcoal .eyebrow::before { background: #8fd0a9; }

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
}
.bg-charcoal .section-head p { color: #cfc9bd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-m);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: var(--shadow-l); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-telegram { background: var(--telegram); color: #fff; }
.btn-telegram:hover { background: var(--telegram-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-ghost {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--paper-3); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-s);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark { width: 42px; height: 42px; color: var(--green); flex: none; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s ease;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--green); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: right;
}
.header-phone strong {
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .header-actions .btn-primary { display: none; }
  .brand-text { font-size: 15px; }
}
@media (max-width: 360px) {
  .brand-text span { display: none; }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--charcoal);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-nav-close {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: #fff;
}
.mobile-nav-close svg { width: 18px; height: 18px; }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav-links a {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-display);
  font-size: 21px;
}
.mobile-nav-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
}
.mobile-nav-phone {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding: 8px 0 4px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 65%;
  transform: scale(1.02);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,15,13,0.55) 0%, rgba(15,15,13,0.55) 30%, rgba(12,12,10,0.86) 100%),
    linear-gradient(90deg, rgba(10,10,9,0.75) 0%, rgba(10,10,9,0.25) 55%, rgba(10,10,9,0.15) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 80px;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.hero-eyebrow svg { width: 16px; height: 16px; color: #8fd0a9; }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: #a8dfbd;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: #e7e2d8;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e7e2d8;
  font-weight: 600;
}
.hero-trust-item svg { width: 20px; height: 20px; color: #8fd0a9; flex: none; }

@media (max-width: 560px) {
  .hero { min-height: 100vh; }
  .hero-inner { padding: 120px 0 56px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Advantages ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .adv-grid { grid-template-columns: 1fr; } }

.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.adv-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-tint);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.adv-icon svg { width: 26px; height: 26px; }
.adv-card h3 { font-size: 19px; margin-bottom: 10px; }
.adv-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- About strip ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-strip { grid-template-columns: 1fr; gap: 36px; }
}
.about-strip blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--ink);
}
.about-strip blockquote::before { content: "\201C"; color: var(--green); }
.about-strip blockquote::after { content: "\201D"; color: var(--green); }
.about-figures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.about-figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px;
}
.about-figure strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--green);
  margin-bottom: 6px;
}
.about-figure span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Catalog ---------- */
.tabs {
  display: inline-flex;
  padding: 6px;
  background: var(--paper-2);
  border-radius: 999px;
  margin-bottom: 40px;
  gap: 4px;
}
.tab-btn {
  border: none;
  background: transparent;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: background-color .18s ease, color .18s ease;
}
.tab-btn.is-active {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-s);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .catalog-grid { grid-template-columns: 1fr; } }

.catalog-panel { display: none; }
.catalog-panel.is-active { display: block; }

.house-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.house-card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }

.house-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}
.house-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
  cursor: zoom-in;
}
.house-card:hover .house-media img { transform: scale(1.05); }
.house-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(27,27,24,0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.house-price-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-s);
}

.house-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.house-body h3 { font-size: 21px; }
.house-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.house-meta span {
  background: var(--paper-2);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.house-plan { font-size: 14px; color: var(--ink-soft); }

.house-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.house-actions .btn { flex: 1; }

.spec-toggle {
  border: none;
  background: transparent;
  padding: 0;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.spec-toggle svg { width: 15px; height: 15px; transition: transform .2s ease; }
.spec-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.spec-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.spec-panel.is-open { grid-template-rows: 1fr; }
.spec-panel-inner { overflow: hidden; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13.5px;
}
.price-table td {
  padding: 8px 6px;
  border-bottom: 1px dashed var(--line);
}
.price-table td:last-child {
  text-align: right;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}

.spec-list {
  margin: 10px 0 4px;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
}
.spec-list div { display: flex; gap: 8px; }
.spec-list b { flex: none; width: 42%; color: var(--ink-soft); font-weight: 600; }

.model-note {
  margin-top: 10px;
  font-size: 12.5px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  background: #fdf3e4;
  border: 1px dashed #d9ac5c;
  color: #7a5417;
}

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .process-list { grid-template-columns: 1fr; } }

.process-item {
  position: relative;
  padding: 30px 24px 26px;
  border-radius: var(--radius-m);
  background: var(--charcoal-2);
  border: 1px solid var(--line-dark);
}
.process-num {
  font-family: var(--font-display);
  font-size: 40px;
  color: #8fd0a9;
  margin-bottom: 14px;
  line-height: 1;
}
.process-item h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.process-item p { color: #cfc9bd; font-size: 14.5px; }

/* ---------- Materials ---------- */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .materials-grid { grid-template-columns: 1fr; } }

.material-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
}
.material-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.material-card h3 svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.material-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-s);
  transition: transform .3s ease;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius-s); }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid a.tall { grid-row: span 2; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 130px; }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .gallery-grid a.tall { grid-row: span 1; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--green); transition: transform .2s ease; }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq-a.is-open { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 4px 22px; color: var(--ink-soft); font-size: 15px; max-width: 680px; }

.tbd { color: #a06b1c; border-bottom: 1px dashed #d9ac5c; }

/* ---------- Contact ---------- */
.contact-info { color: #e7e2d8; max-width: 640px; }
.contact-info h2 { color: #fff; }
.contact-list { margin-top: 28px; display: grid; gap: 18px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
}
.contact-list a:hover { color: #8fd0a9; }
.contact-ico {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #8fd0a9;
}
.contact-ico svg { width: 20px; height: 20px; }
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.social-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  transition: background-color .18s ease;
}
.social-btn:hover { background: rgba(255,255,255,0.18); }
.social-btn svg { width: 19px; height: 19px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,15,13,0.92) 10%, rgba(15,15,13,0.55) 100%);
}
.cta-banner-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 620px;
}
.cta-banner h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.cta-banner p { color: #e7e2d8; font-size: 16px; margin-bottom: 30px; }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #cfc9bd;
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand .brand-mark { color: #8fd0a9; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text span { color: #a39c8d; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 280px; color: #a39c8d; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: #cfc9bd; }
.footer-col a:hover { color: #8fd0a9; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #8a8477;
}
.footer-bottom a:hover { color: #cfc9bd; }

/* ---------- Floating buttons ---------- */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-actions a {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-m);
  transition: transform .18s ease;
}
.floating-actions a:hover { transform: scale(1.08); }
.floating-actions a svg { width: 26px; height: 26px; }
.fab-whatsapp { background: var(--whatsapp); }
.fab-telegram { background: var(--telegram); }
@media (max-width: 900px) {
  .floating-actions { bottom: 84px; right: 14px; gap: 10px; }
  .floating-actions a { width: 50px; height: 50px; }
  .floating-actions a svg { width: 23px; height: 23px; }
}

.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: var(--radius-s);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.mobile-cta-bar a svg { width: 17px; height: 17px; }
.mobile-cta-bar .m-call { background: var(--ink); }
.mobile-cta-bar .m-tg { background: var(--telegram); }
.mobile-cta-bar .m-wa { background: var(--whatsapp); }
@media (max-width: 900px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 68px; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Photo lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(20, 18, 14, 0.92);
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .18s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.24); }
@media (max-width: 600px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 10px; right: 10px; }
}
