:root {
  --bg: #f3efe7;
  --paper: #fffdf8;
  --ink: #11161b;
  --muted: #62615c;
  --line: #d8d0c3;
  --gold: #b4863f;
  --gold-2: #d2ad68;
  --blue: #20384f;
  --dark: #10151b;
  --dark-2: #1c242d;
  --shadow: 0 22px 70px rgba(17, 22, 27, .12);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17,22,27,.045) 1px, transparent 1px),
    linear-gradient(rgba(17,22,27,.035) 1px, transparent 1px),
    linear-gradient(180deg, #fbf8f1 0, var(--bg) 520px);
  background-size: 56px 56px, 56px 56px, auto;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251,248,241,.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.topbar { background: var(--dark); color: rgba(255,255,255,.78); font-size: 13px; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 950; }
.brand span { display: grid; gap: 2px; }
.brand em { color: var(--muted); font-style: normal; font-size: 12px; font-weight: 750; }
.logo-mark { width: 54px; height: 54px; border-radius: 14px; box-shadow: 0 12px 34px rgba(17,22,27,.2); flex: 0 0 auto; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { padding: 10px 11px; border-radius: 6px; color: var(--muted); font-weight: 850; font-size: 14px; }
.menu a:hover, .menu a.active { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: grid; justify-items: end; gap: 6px; }
.phone-link { display: grid; gap: 1px; white-space: nowrap; font-weight: 1000; color: var(--dark); line-height: 1.05; }
.phone-link span { color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--dark), var(--dark-2)); box-shadow: 0 16px 34px rgba(17,22,27,.22); }
.btn.secondary { color: var(--dark); background: #fff; border-color: var(--line); }
.btn.light { color: var(--dark); background: #fff; border-color: rgba(255,255,255,.35); }
.btn.small { min-height: 42px; padding: 10px 14px; }
.btn:focus-visible, a:focus-visible, input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(180,134,63,.28);
  outline-offset: 2px;
}

.hero { padding: clamp(54px, 7vw, 96px) 0 46px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(340px, .78fr); gap: clamp(26px, 5vw, 62px); align-items: center; }
.eyebrow { display: inline-flex; margin-bottom: 15px; color: var(--gold); font-size: 12px; font-weight: 1000; text-transform: uppercase; letter-spacing: .15em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 980px; font-size: clamp(44px, 6vw, 82px); line-height: .94; letter-spacing: 0; margin-bottom: 22px; }
h2 { font-size: clamp(31px, 4vw, 52px); line-height: 1.02; margin-bottom: 16px; }
h3 { font-size: 22px; line-height: 1.18; margin-bottom: 10px; }
.lead { max-width: 820px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.trust-row span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: var(--dark);
  font-weight: 900;
  font-size: 14px;
}

.portrait-panel {
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  position: relative;
  display: grid;
  align-content: end;
  box-shadow: var(--shadow);
}
.portrait-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.92) contrast(1.04); }
.portrait-panel:after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.portrait-panel div { position: relative; z-index: 1; padding: 24px; }
.portrait-panel p { color: rgba(255,255,255,.74); line-height: 1.58; margin: 6px 0 0; }

.section { padding: 66px 0; }
.muted-section { background: rgba(255,255,255,.52); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 28px; }
.section-head p { max-width: 570px; color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 12px 36px rgba(17,22,27,.06);
}
.trust-grid strong { display: block; font-size: 22px; margin-bottom: 8px; }
.trust-grid p, .card p, .text-block p, .quote p, .process-grid p { color: var(--muted); line-height: 1.65; }
.split { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: 18px; align-items: stretch; }
.card, .text-block, .quote, .process-grid article, .service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 12px 38px rgba(17,22,27,.07);
}
.card.strong, .text-block { border-top: 4px solid var(--gold); }
.check-list { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 24px; color: var(--muted); line-height: 1.55; }
.check-list li:before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--gold); border-radius: 2px; }

.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 230px; display: grid; align-content: space-between; color: inherit; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.service-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 18px 48px rgba(17,22,27,.12); }
.service-card span { color: var(--blue); font-weight: 950; margin-top: 18px; }
.image-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 16px; }
.image-card {
  min-height: 240px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--dark);
  box-shadow: var(--shadow);
}
.image-card:first-child { min-height: 300px; }
.image-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: absolute; inset: 0; }
.image-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.72)); }
.image-card div { position: absolute; inset: auto 18px 18px; z-index: 1; color: #fff; font-weight: 950; font-size: 20px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-grid span { color: var(--gold); font-weight: 1000; display: block; margin-bottom: 28px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote p { color: var(--dark); }
.quote strong { color: var(--muted); font-size: 14px; }
.faq { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 18px 20px; }
summary { cursor: pointer; font-weight: 950; }
details p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1fr);
  gap: 24px;
  background: linear-gradient(135deg, var(--dark), #26323e);
  color: #fff;
  border-radius: 14px;
  padding: clamp(26px, 5vw, 48px);
  box-shadow: var(--shadow);
}
.contact-panel p { color: rgba(255,255,255,.74); line-height: 1.65; }
.contact-mini { display: grid; gap: 8px; margin-top: 20px; color: rgba(255,255,255,.86); }
.wide-cta { margin-top: 20px; width: fit-content; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.contact-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  font-weight: 950;
  font-size: 12px;
  box-shadow: 0 8px 22px rgba(17,22,27,.10);
}
.contact-icon svg { width: 21px; height: 21px; fill: currentColor; flex: 0 0 auto; }
.contact-icon span { font-weight: 850; }
.contact-icon.whatsapp { color: #176b3a; }
.contact-icon.telegram { color: #176b9f; }
.site-header .contact-actions { gap: 6px; }
.site-header .contact-actions .contact-icon { width: 34px; height: 34px; }
.site-header .contact-actions .contact-icon svg { width: 18px; height: 18px; }
.site-header .contact-actions .contact-icon span { display: none; }
.contact-panel .contact-icon,
.contact-simple-panel .contact-icon,
.footer-contact .contact-icon { width: auto; padding: 0 14px; }
.contact-panel .contact-icon span,
.contact-simple-panel .contact-icon span,
.footer-contact .contact-icon span { display: inline; }
.contact-simple { padding: clamp(42px, 7vw, 86px) 0 38px; }
.contact-simple-panel {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 6vw, 60px);
  box-shadow: var(--shadow);
}
.contact-simple-panel h1 { margin-left: auto; margin-right: auto; }
.big-phone {
  display: inline-flex;
  margin: 8px 0 18px;
  color: var(--dark);
  font-size: clamp(34px, 7vw, 70px);
  line-height: 1;
  font-weight: 1000;
}
.contact-simple-panel .contact-actions { justify-content: center; margin: 4px 0 24px; }
.contact-simple-panel p { color: var(--muted); line-height: 1.65; }
.contact-panel form { background: #fff; color: var(--ink); border-radius: 12px; padding: 20px; }
form { display: grid; gap: 13px; }
label { display: grid; gap: 7px; color: var(--muted); font-weight: 850; }
input, textarea, select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
}
textarea { min-height: 142px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; }
.consent input { width: 18px; min-height: 18px; margin-top: 2px; }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.notice { color: var(--muted); font-size: 13px; line-height: 1.5; }
.legal-links { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 14px 22px; }
.legal-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal-doc { max-width: 920px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.legal-doc p { color: var(--muted); line-height: 1.7; }
.legal-doc h3 { margin-top: 28px; }
.consent-banner {
  position: fixed;
  z-index: 60;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: rgba(16,21,27,.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0,0,0,.32);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.5; }
.consent-banner div { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.consent-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 850; }

.site-footer { margin-top: 64px; padding: 46px 0; background: var(--dark); color: #fff; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .42fr); gap: 30px; align-items: start; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-brand .logo-mark { box-shadow: none; }
.site-footer p, .site-footer em, .footer-contact span { color: rgba(255,255,255,.68); }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact .contact-icon {
  background: #fff;
  color: var(--dark);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
}
.footer-contact .contact-icon.phone { color: var(--dark); }
.footer-contact .contact-icon.whatsapp { color: #176b3a; }
.footer-contact .contact-icon.telegram { color: #176b9f; }
.footer-contact .contact-icon:hover { background: #f7efe0; }
.footer-services { padding-top: 30px; }
.footer-services h2 { font-size: 28px; margin-bottom: 18px; }
.footer-services div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 18px; }
.footer-services a { color: rgba(255,255,255,.78); font-weight: 750; }
.footer-services a:hover { color: #fff; }

@media (max-width: 1050px) {
  .hero-grid, .split, .contact-panel, .footer-top { grid-template-columns: 1fr; }
  .trust-grid, .process-grid, .footer-services div { grid-template-columns: repeat(2, 1fr); }
  .service-cards, .quotes { grid-template-columns: 1fr 1fr; }
  .image-grid { grid-template-columns: 1fr; }
  .image-card, .image-card:first-child { min-height: 340px; }
  .portrait-panel img, .image-card img { object-position: center top; }
}

@media (max-width: 760px) {
  .nav { min-height: 68px; }
  .topbar { display: none; }
  .menu {
    position: fixed;
    inset: 68px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .burger { display: block; }
  .phone-link, .nav-actions .btn, .site-header .contact-actions { display: none; }
  .brand em { display: none; }
  h1 { font-size: clamp(39px, 13vw, 58px); }
  h2 { font-size: 31px; }
  .portrait-panel { min-height: 320px; }
  .portrait-panel img, .image-card img { object-position: center top; }
  .trust-grid, .process-grid, .service-cards, .quotes, .form-grid, .footer-services div { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .consent-banner { grid-template-columns: 1fr; }
  .consent-banner div { justify-content: flex-start; }
}
