/* Base site styles */
:root {
  --bg: #f4f1eb;
  --paper: #fffaf2;
  --dark: #121417;
  --text: #181818;
  --muted: #6f6a61;
  --line: rgba(24, 24, 24, 0.12);
  --accent: #c9782d;
  --accent-dark: #9e5620;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 58px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: rgba(18, 20, 23, 0.92);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.topbar-phone {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.topbar-phone:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.container {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 48px 0; }

.section-dark {
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 120, 45, 0.26), transparent 33%),
    linear-gradient(145deg, #121417 0%, #242b31 55%, #111315 100%);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 30px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border: 34px solid rgba(255,255,255,0.055);
  border-radius: 50%;
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow, .section-label, .object-topline {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(32px, 10vw, 68px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 6.6vw, 42px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero-lead, .section-text, .form-hint {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
}

.section-text, .form-hint { color: var(--muted); }

.hero-actions {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.btn {
  min-height: 54px;
  padding: 15px 18px;
  border: none;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(201, 120, 45, 0.25);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-light {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-dark { background: var(--dark); color: var(--white); }

.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fact-card {
  min-height: 84px;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.095);
}

.fact-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.fact-card small { color: rgba(255,255,255,0.7); font-size: 13px; }

.intro-section { background: var(--paper); }
.benefit-grid, .objects-list, .fit-list { display: grid; gap: 12px; margin-top: 24px; }

.benefit-card, .object-card, .location-card, .form-card, .contacts-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 14px 40px rgba(0,0,0,0.055);
}

.benefit-card { padding: 20px; }
.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
}
.benefit-card p, .object-card p { margin-bottom: 0; color: var(--muted); }
.objects-section { background: var(--bg); }
.object-card { padding: 22px; position: relative; overflow: hidden; }
.object-card.accent { background: var(--dark); color: var(--white); border-color: transparent; box-shadow: var(--shadow); }
.object-card.accent p { color: rgba(255,255,255,0.72); }
.object-card a { display: inline-flex; margin-top: 18px; color: var(--accent); font-weight: 800; text-decoration: none; }

.fit-section { background: var(--dark); color: var(--white); }
.fit-section h2 { color: var(--white); }
.fit-list div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 750;
}

.map-section {
  background:
    linear-gradient(rgba(244, 241, 235, 0.88), rgba(244, 241, 235, 0.88)),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.09) 0 1px, transparent 1px 18px);
}
.location-card { padding: 24px; background: var(--paper); }
.location-card .btn { width: 100%; margin-top: 8px; }

.form-section { padding-bottom: 48px; background: var(--paper); }
.form-card { padding: 22px; background: var(--white); }
form { display: grid; gap: 14px; margin-top: 20px; }
label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
input, textarea {
  width: 100%;
  border: 1px solid rgba(24,24,24,0.14);
  border-radius: 14px;
  padding: 15px 14px;
  background: #fbfaf7;
  color: var(--text);
  outline: none;
}
textarea { resize: vertical; }
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 120, 45, 0.13);
}
#result { margin: 12px 0 0; color: var(--muted); }

.contacts-section { background: var(--bg); padding-top: 0; }
.contacts-card { padding: 24px; background: var(--paper); }
.contacts-card p { margin-bottom: 8px; color: var(--muted); }
.contacts-card .legal-name {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0;
}
.contacts-card a { color: var(--accent-dark); font-weight: 800; text-decoration: none; }

.modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 18px;
  background: rgba(0,0,0,0.58);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  width: min(100%, 340px);
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}
.modal-content h2 { margin-bottom: 10px; font-size: 26px; }
.modal-content p { margin-bottom: 18px; color: var(--muted); }
.modal-content button {
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 14px;
  background: var(--dark);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}
.loader-box { width: 230px; padding: 26px; border-radius: 22px; background: var(--white); text-align: center; box-shadow: var(--shadow); }
.loader-circle {
  position: relative;
  width: 126px;
  height: 126px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) var(--progress, 1%), #e6e1d8 0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-circle::before { content: ""; position: absolute; width: 88px; height: 88px; background: var(--white); border-radius: 50%; }
#loaderPercent { position: relative; z-index: 1; font-size: 25px; font-weight: 800; letter-spacing: -0.04em; }
.loader-text { color: var(--muted); font-size: 14px; font-weight: 750; }
#successModal, #errorModal { opacity: 0; transition: opacity 0.25s ease; }
#successModal.show, #errorModal.show { opacity: 1; }

@media (min-width: 680px) {
  .topbar { padding: 14px 28px; }
  .topbar-phone { font-size: 14px; }
  .container { padding: 0 28px; }
  .section { padding: 74px 0; }
  .hero { padding: 76px 0 58px; }
  .hero-lead, .section-text { max-width: 690px; font-size: 20px; }
  .hero-actions { grid-template-columns: max-content max-content; gap: 12px; }
  .btn { min-width: 190px; }
  .hero-facts, .benefit-grid, .objects-list, .fit-list { grid-template-columns: repeat(2, 1fr); }
  .form-section { padding-bottom: 74px; }
}

@media (min-width: 980px) {
  .hero-facts, .benefit-grid { grid-template-columns: repeat(4, 1fr); }
  .objects-list { grid-template-columns: repeat(3, 1fr); }
  .fit-list { grid-template-columns: repeat(3, 1fr); }
  .location-card, .form-card, .contacts-card { padding: 34px; }
}

/* Interactive cards and buttons */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

.btn-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.34);
}

.btn-dark:hover {
  background: #242b31;
}

.object-card {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.object-card h3,
.object-card p,
.object-card .object-topline,
.object-card .card-more {
  transition: color 0.18s ease, transform 0.18s ease;
}

.object-card .card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 800;
}

.object-card:hover {
  transform: translateY(-3px);
  background: var(--dark);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.object-card:hover p,
.object-card:hover .object-topline {
  color: rgba(255,255,255,0.72);
}

.object-card:hover .card-more {
  color: var(--accent);
}

.object-card:hover .card-more span {
  transform: translateX(3px);
}

.object-card.accent:hover {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

/* Main page: brand and object categories */
.topbar-main {
  justify-content: space-between;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}


.brand-name {
  display: block;
  min-width: 0;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.brand-stripes {
  display: inline-flex;
  gap: 4px;
  height: 32px;
  align-items: stretch;
  flex: 0 0 auto;
}

.brand-stripes span {
  width: 4px;
  border-radius: 999px;
}

.brand-stripes span:nth-child(1) { background: #f0d541; }
.brand-stripes span:nth-child(2) { background: #27834b; }
.brand-stripes span:nth-child(3) { background: #d33b34; }

.brand-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.object-category-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.object-category-list .object-card {
  min-height: 220px;
  padding: 28px;
}

.object-category-list .object-card h3 {
  font-size: clamp(22px, 4.8vw, 30px);
}

@media (min-width: 680px) {
  .object-category-list { grid-template-columns: repeat(2, 1fr); }
}



.admin-settings-link {
  flex: 0 0 auto;
}

.admin-settings-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}


/* Service pages, privacy policy and cookie notice */
.service-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 120, 45, 0.15), transparent 30%),
    var(--bg);
}

.service-hero {
  min-height: calc(100vh - 70px);
  padding: 74px 0 56px;
  display: flex;
  align-items: center;
}

.service-card,
.policy-card {
  width: min(100%, 860px);
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.92);
  box-shadow: var(--shadow);
}

.service-code {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-card h1,
.policy-card h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 8vw, 58px);
}

.service-card p,
.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.service-actions .btn {
  min-width: 190px;
}

.policy-page {
  padding: 56px 0;
}

.policy-card {
  margin: 0 auto;
}

.policy-card h2 {
  margin-top: 30px;
  font-size: clamp(22px, 5vw, 30px);
}

.policy-card ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.policy-meta {
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-weight: 800;
}

.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  background: rgba(18, 20, 23, 0.96);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  transition: opacity .18s ease, transform .18s ease;
}

.cookie-consent.is-hiding {
  opacity: 0;
  transform: translateY(10px);
}

.cookie-consent__text {
  display: grid;
  gap: 4px;
}

.cookie-consent__text strong {
  font-size: 15px;
  line-height: 1.2;
}

.cookie-consent__text span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-consent__link {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cookie-consent__link:hover {
  color: var(--white);
  text-decoration: underline;
}

.cookie-consent__button {
  min-height: 42px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent__button:hover {
  background: var(--accent-dark);
}

@media (max-width: 720px) {
  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent__link,
  .cookie-consent__button {
    width: 100%;
    text-align: center;
  }
}

.phone-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10020;
  transform: translate(-50%, 12px);
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(13, 14, 14, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.phone-copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

