:root {
  --background: #f9f7f1;
  --foreground: #30333d;
  --muted: #eef1f5;
  --muted-foreground: #737887;
  --card: #ffffff;
  --primary: #263f75;
  --primary-dark: #203665;
  --primary-foreground: #fffdf7;
  --secondary: #edf2f8;
  --accent: #edc84b;
  --accent-foreground: #352d12;
  --border: #e1e4ea;
  --navy: #223760;
  --seal: #a3473f;
  --radius: 12px;
  --shadow: 0 16px 45px rgba(34, 55, 96, 0.12);
  --shadow-sm: 0 6px 18px rgba(34, 55, 96, 0.08);
  --container: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  min-width: 320px;
  color: var(--foreground);
  background: var(--background);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(34, 55, 96, 0.04) 1px, transparent 1px);
  background-size: 4px 4px;
  z-index: -1;
}

h1, h2, h3, .logo-name, .footer-logo b {
  font-family: "Lora", Georgia, serif;
  line-height: 1.14;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
section[id] { scroll-margin-top: 86px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.narrow { max-width: 768px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--card); color: var(--primary); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--primary); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--secondary); }
.btn-sm { min-height: 34px; padding: 7px 12px; font-size: 13px; }
.btn-lg { min-height: 42px; padding: 9px 16px; font-size: 14px; }

.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-block;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon, .box-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn .ui-icon { width: 15px; height: 15px; flex-basis: 15px; stroke-width: 2.2; }
.icon-send { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3C/svg%3E"); }
.icon-clock { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.icon-calendar { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.icon-card { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E"); }
.icon-message { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E"); }
.icon-arrow-down { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E"); }
.icon-check { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.2 16.6 4.8 12.2 3.4 13.6 9.2 19.4 20.6 8 19.2 6.6z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.2 16.6 4.8 12.2 3.4 13.6 9.2 19.4 20.6 8 19.2 6.6z'/%3E%3C/svg%3E"); }
.icon-zap { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2 3 14h8l-1 8 11-14h-8z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2 3 14h8l-1 8 11-14h-8z'/%3E%3C/svg%3E"); }
.icon-bell { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 7 3 9H3c0-2 3-2 3-9M10 21h4'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 7 3 9H3c0-2 3-2 3-9M10 21h4'/%3E%3C/svg%3E"); }
.icon-file { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8'/%3E%3C/svg%3E"); }
.icon-navigation { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3 11 19-9-9 19-2-8z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3 11 19-9-9 19-2-8z'/%3E%3C/svg%3E"); }
.icon-eye, .icon-wallet, .icon-shield, .icon-headset, .icon-info, .icon-phone, .icon-phone-call { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(249, 247, 241, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(225, 228, 234, .82);
}
.header-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark, .footer-logo span {
  position: relative; width: 36px; height: 36px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--primary), #1f335f);
  color: var(--primary-foreground);
  font: 800 18px "Lora", serif; letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.13), 0 8px 18px rgba(34,55,96,.16);
  overflow: visible;
}
.logo-mark::before, .footer-logo span::before {
  content: ""; position: absolute; right: -7px; bottom: -6px; width: 18px; height: 18px; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 43%, rgba(163,71,63,.56) 44% 48%, transparent 49%),
    radial-gradient(circle, transparent 63%, rgba(163,71,63,.72) 64% 70%, transparent 71%),
    rgba(255,253,247,.92);
  border: 1.5px solid rgba(163,71,63,.82);
  box-shadow: 0 3px 7px rgba(34,55,96,.18);
  z-index: 2;
}
.logo-mark::after, .footer-logo span::after {
  content: "ПОС"; position: absolute; right: -5px; bottom: -1px; z-index: 3; width: 15px; height: 13px;
  color: rgba(163,71,63,.9); font: 900 4px/13px "Inter", sans-serif; letter-spacing: .01em; text-align: center;
  transform: rotate(-10deg); opacity: .96;
}
.logo-copy { display: grid; line-height: 1; }
.logo-name { color: var(--navy); font-weight: 700; font-size: 18px; }
.logo-note { margin-top: 4px; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.desktop-nav { display: none; gap: 28px; align-items: center; }
.desktop-nav a { color: rgba(48, 51, 61, .82); font-weight: 600; font-size: 14px; }
.desktop-nav a:hover { color: var(--primary); }
.header-cta { display: none; }
.header-contacts { display: none; align-items: center; gap: 8px; }
.header-contact {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid rgba(225,228,234,.9); border-radius: 12px; background: rgba(255,255,255,.72);
  box-shadow: 0 6px 18px rgba(34,55,96,.06); transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.header-contact:hover { transform: translateY(-1px); border-color: rgba(38,63,117,.22); background: #fff; }
.header-contact .channel-icon { width: 28px; height: 28px; flex-basis: 28px; box-shadow: none; }
.header-contact .channel-icon .ui-icon { width: 14px; height: 14px; flex-basis: 14px; }
.menu-toggle {
  width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: transparent;
  display: inline-flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; color: var(--foreground);
}
.menu-toggle span { width: 18px; height: 2px; border-radius: 4px; background: currentColor; transition: .2s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-drawer { border-top: 1px solid var(--border); background: var(--background); }
.mobile-nav { display: grid; gap: 4px; padding: 12px 20px 18px; }
.mobile-nav a:not(.btn) { padding: 11px 10px; border-radius: 9px; font-weight: 600; }
.mobile-nav a:not(.btn):hover { background: var(--secondary); }
.mobile-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.mobile-nav .mobile-contact-grid a:not(.btn) {
  display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border);
  border-radius: 12px; background: rgba(255,255,255,.72); font-size: 14px;
}
.mobile-contact-grid .channel-icon { width: 28px; height: 28px; flex-basis: 28px; box-shadow: none; }
.mobile-contact-grid .channel-icon .ui-icon { width: 14px; height: 14px; flex-basis: 14px; }

.hero { position: relative; overflow: hidden; }
.paper-grain { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(34, 55, 96, .04) 1px, transparent 1px); background-size: 4px 4px; }
.hero-grid { position: relative; display: grid; gap: 44px; align-items: center; padding-top: 52px; padding-bottom: 44px; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--card); color: var(--muted-foreground); font-weight: 700; font-size: 12px;
}
.eyebrow-pill span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-top: 20px; color: var(--navy); font-size: clamp(2.25rem, 6.4vw, 3.15rem); font-weight: 700; letter-spacing: 0; }
.hero-lead { margin-top: 20px; max-width: 600px; color: rgba(48, 51, 61, .82); font-size: 1.08rem; line-height: 1.75; }
.hero-bullets { margin-top: 30px; list-style: none; display: grid; gap: 12px; max-width: 590px; }
.hero-bullets li {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.82);
  color: rgba(48, 51, 61, .92); font-size: 15px; font-weight: 500; line-height: 1.35;
  box-shadow: 0 5px 14px rgba(34,55,96,.05);
}
.hero-bullets .icon {
  width: 22px; height: 22px; flex-basis: 22px; padding: 0; border-radius: 7px;
  color: var(--primary); background: rgba(237,242,248,.9); position: relative;
  border: 1px solid rgba(38,63,117,.08);
  mask-image: none; -webkit-mask-image: none;
}
.hero-bullets .icon::before {
  content: ""; position: absolute; inset: 5px; background: var(--primary);
  mask-size: contain; mask-repeat: no-repeat; mask-position: center;
  -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
}
.hero-bullets .icon-clock::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 5h-2v6l5 3 1-1.7-4-2.3V7Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 5h-2v6l5 3 1-1.7-4-2.3V7Z'/%3E%3C/svg%3E");
}
.hero-bullets .icon-calendar::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h2a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h2V2Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h2a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h2V2Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9Z'/%3E%3C/svg%3E");
}
.hero-bullets .icon-card::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 4v2h18V9H3Zm3 5v2h6v-2H6Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 4v2h18V9H3Zm3 5v2h6v-2H6Z'/%3E%3C/svg%3E");
}
.hero-bullets .icon-message::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 4h16a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H9l-6 4v-4a3 3 0 0 1-2-3V7a3 3 0 0 1 3-3Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 4h16a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H9l-6 4v-4a3 3 0 0 1-2-3V7a3 3 0 0 1 3-3Z'/%3E%3C/svg%3E");
}
.hero-bullets .ui-icon {
  width: 36px; height: 36px; flex-basis: 36px; padding: 8px; border-radius: 10px;
  color: var(--primary); background: rgba(237,242,248,.92); border: 1px solid rgba(38,63,117,.08);
  stroke-width: 2.15;
}
.hero-actions { margin-top: 22px; display: grid; gap: 10px; align-items: stretch; max-width: 520px; }
.hero-actions .btn { border-radius: 8px; white-space: nowrap; }
.hero-actions .btn-primary { box-shadow: 0 10px 22px rgba(38,63,117,.18); }
.hero-actions .btn-outline { background: rgba(255,255,255,.72); border-color: rgba(38,63,117,.16); }
.hero-phone {
  display: inline-flex; align-items: center; width: fit-content; margin-top: 12px; color: var(--primary);
  font-size: 14px; font-weight: 850; border-bottom: 1px solid rgba(38,63,117,.28);
}
.hero-phone:hover { color: var(--primary-dark); border-bottom-color: currentColor; }
.legal-note { margin-top: 24px; max-width: 540px; color: var(--muted-foreground); font-size: 12px; line-height: 1.7; }

.hero-visual { position: relative; width: 100%; max-width: 464px; margin: 0 auto; padding: 20px 0 48px; }
.paper-shadow { position: absolute; inset: 20px 10px 40px; border: 1px solid var(--border); background: rgba(255,255,255,.76); border-radius: 14px; box-shadow: var(--shadow-sm); }
.paper-shadow-a { transform: rotate(3deg) translateX(10px); }
.paper-shadow-b { transform: rotate(-2deg) translateX(-10px); }
.document-sheet {
  position: relative; z-index: 1; padding: 32px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow);
}
.document-sheet header { text-align: center; }
.document-sheet header p { color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .24em; font-size: 11px; font-weight: 700; }
.document-sheet header h2 { margin-top: 8px; color: var(--navy); font-size: clamp(1.85rem, 7vw, 2.15rem); letter-spacing: .05em; }
.document-sheet header span { display: block; width: 64px; height: 2px; background: var(--accent); margin: 12px auto 0; }
.doc-lines { margin-top: 30px; display: grid; gap: 14px; padding-bottom: 12px; background-image: repeating-linear-gradient(to bottom, transparent, transparent 15px, rgba(34,55,96,.08) 15px, rgba(34,55,96,.08) 16px); }
.doc-lines.compact { margin-top: 0; gap: 10px; }
.doc-lines i { display: block; height: 8px; border-radius: 999px; background: rgba(34, 55, 96, .16); filter: blur(1.5px); }
.document-sheet footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 30px; }
.signature { flex: 1; }
.signature span { display: block; height: 1px; background: rgba(48,51,61,.45); }
.signature p { margin-top: 6px; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.seal {
  width: 96px; height: 96px; border: 3px solid rgba(163,71,63,.72); border-radius: 50%; color: rgba(163,71,63,.78);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg);
  outline: 1px dashed rgba(163,71,63,.35); outline-offset: -10px;
}
.seal b { font-size: 9px; letter-spacing: .13em; }
.seal small { margin-top: 3px; font-size: 7px; }
.appointment-card, .ready-chip, .checked-chip {
  position: absolute; z-index: 2; border: 1px solid var(--border); background: var(--card); border-radius: 12px; box-shadow: var(--shadow-sm);
}
.appointment-card {
  left: -4px;
  bottom: 10px;
  width: 252px;
  padding: 14px 15px 15px;
  transform: rotate(-4deg);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(237,242,248,.96));
  border-color: rgba(38,63,117,.16);
  box-shadow: 0 14px 30px rgba(34,55,96,.14);
}
.appointment-card p { display: flex; gap: 8px; align-items: center; color: var(--primary); font-weight: 800; font-size: 13px; }
.appointment-card span { display: block; margin-top: 8px; color: var(--muted-foreground); font-size: 12px; }
.appointment-card .appointment-office { font-weight: 800; letter-spacing: .01em; }
.appointment-city {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 7px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
  box-shadow: inset 0 0 0 1px rgba(255,253,247,.12), 0 8px 18px rgba(38,63,117,.16);
}
.appointment-card strong { display: block; margin-top: 5px; font-size: 12px; }
.ready-chip { right: -4px; top: -4px; display: flex; gap: 8px; align-items: center; padding: 11px 16px; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: 13px; font-weight: 800; }
.checked-chip { right: 10px; bottom: 4px; display: flex; gap: 6px; align-items: center; padding: 9px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-foreground); font-size: 12px; font-weight: 800; }

.legal-basis { padding: 34px 0; border-top: 1px solid rgba(225,228,234,.78); }
.legal-basis-card {
  display: grid; gap: 18px; align-items: start; border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(237,242,248,.72)); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.legal-basis-icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-sm);
}
.legal-basis-icon .ui-icon { width: 22px; height: 22px; flex-basis: 22px; stroke-width: 2.2; }
.legal-basis-copy h2 { margin-top: 8px; color: var(--navy); font-size: clamp(1.45rem, 4vw, 2rem); }
.legal-basis-copy p:not(.kicker) { margin-top: 10px; color: rgba(48,51,61,.82); line-height: 1.7; }
.legal-basis-copy a {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--primary);
  font-size: 13px; font-weight: 900; border-bottom: 1px solid rgba(38,63,117,.25);
}
.legal-basis-copy a .ui-icon { width: 13px; height: 13px; flex-basis: 13px; }
.legal-basis-list { list-style: none; display: grid; gap: 9px; align-self: center; }
.legal-basis-list li {
  display: flex; align-items: center; gap: 11px; border: 1px solid rgba(225,228,234,.92);
  border-radius: 11px; background: rgba(255,255,255,.82); padding: 12px 14px; color: rgba(48,51,61,.94);
  font-size: 14px; font-weight: 800; line-height: 1.35;
}
.legal-basis-list .ui-icon {
  width: 20px; height: 20px; flex-basis: 20px; padding: 4px; border-radius: 50%;
  background: var(--accent); color: var(--accent-foreground); stroke-width: 2.5;
}

.section { padding: 64px 0; border-top: 1px solid rgba(225,228,234,.78); }
.section-head { max-width: 660px; margin-bottom: 38px; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { color: var(--primary); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 800; }
.section h2, .cities h2, .coordinator h2 { margin-top: 12px; color: var(--navy); font-size: clamp(1.9rem, 5vw, 2.45rem); font-weight: 700; }
.section-head p:not(.kicker), .cities p, .coordinator p { margin-top: 12px; color: var(--muted-foreground); line-height: 1.75; }

.service-grid { display: grid; list-style: none; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--border); gap: 1px; }
.service-grid li { display: flex; gap: 14px; background: var(--card); padding: 20px; transition: background .18s ease; }
.service-grid li:hover { background: rgba(237,242,248,.8); }
.icon-box { width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid var(--border); border-radius: 9px; background: var(--secondary); color: var(--primary); position: relative; display: inline-flex; align-items: center; justify-content: center; }
.icon-box::before {
  content: ""; position: absolute; left: 10px; top: 8px; width: 12px; height: 16px;
  border: 2px solid var(--primary); border-radius: 3px; background: rgba(255,255,255,.5);
}
.icon-box::after {
  content: ""; position: absolute; left: 14px; top: 13px; width: 9px; height: 2px;
  background: var(--primary); box-shadow: 0 5px 0 rgba(38,63,117,.55);
}
.icon-box:has(.box-icon)::before,
.icon-box:has(.box-icon)::after { display: none; }
.box-icon { width: 18px; height: 18px; flex-basis: 18px; stroke-width: 2; }
.service-grid h3 { font-family: "Inter", sans-serif; font-size: 14px; font-weight: 850; line-height: 1.25; }
.service-grid p { margin-top: 6px; color: var(--muted-foreground); font-size: 13px; line-height: 1.6; }
.section-cta { margin-top: 26px; }

.urgent { border-top: 0; }
.urgent-panel { display: grid; overflow: hidden; border-radius: 22px; border: 1px solid var(--border); background: var(--primary); color: var(--primary-foreground); }
.urgent-copy { padding: 32px; }
.accent-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-foreground); font-size: 12px; font-weight: 800; }
.urgent h2 { color: var(--primary-foreground); margin-top: 18px; }
.urgent p:not(.accent-pill) { margin-top: 16px; max-width: 560px; color: rgba(255,253,247,.86); }
.urgent .btn { margin-top: 28px; }
.urgent-visual { position: relative; min-height: 286px; display: flex; align-items: center; justify-content: center; padding: 28px; }
.urgent-flow { width: min(100%, 380px); display: grid; gap: 12px; }
.urgent-message, .urgent-slot, .urgent-preview-card {
  border: 1px solid rgba(225,228,234,.92); background: var(--card); color: var(--foreground);
  border-radius: 14px; box-shadow: 0 20px 48px rgba(0,0,0,.18);
}
.urgent-message, .urgent-slot {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 84%;
}
.urgent-message { justify-self: start; }
.urgent-slot { justify-self: end; }
.urgent-message > span:not(.client-avatar), .urgent-slot > .ui-icon {
  width: 34px; height: 34px; flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--secondary); color: var(--primary);
}
.urgent-message > span:not(.client-avatar) .ui-icon, .urgent-slot > .ui-icon {
  padding: 8px; stroke-width: 2.2;
}
.client-avatar {
  position: relative; width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: linear-gradient(145deg, #edf2f8, #fffdf7); color: var(--primary);
  border: 1px solid rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(38,63,117,.12), 0 8px 18px rgba(34,55,96,.12);
}
.client-avatar .ui-icon { width: 20px; height: 20px; flex-basis: 20px; stroke-width: 1.9; }
.client-avatar::after {
  content: ""; position: absolute; right: -2px; bottom: -1px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--primary); border: 2px solid var(--card);
}
.client-avatar::before {
  content: ""; position: absolute; right: 2px; bottom: 3px; z-index: 1; width: 7px; height: 7px; background: var(--primary-foreground);
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m22 2-7 20-4-9-9-4 20-7Z'/%3E%3C/svg%3E");
  mask-size: contain; mask-repeat: no-repeat; mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m22 2-7 20-4-9-9-4 20-7Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
}
.urgent-message b, .urgent-slot b, .preview-head b { display: block; color: var(--navy); font-size: 13px; line-height: 1.25; }
.urgent-message small, .urgent-slot small { display: block; margin-top: 2px; color: var(--muted-foreground); font-size: 11px; line-height: 1.35; }
.urgent-preview-card { padding: 18px; transform: rotate(1.2deg); }
.preview-head { display: flex; align-items: center; gap: 9px; }
.preview-head .ui-icon {
  width: 30px; height: 30px; flex-basis: 30px; padding: 7px; border-radius: 8px;
  background: var(--secondary); color: var(--primary); border: 1px solid var(--border);
}
.urgent-preview-card .doc-lines { margin-top: 16px; }
.urgent-ready {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 6px 10px;
  border-radius: 999px; background: var(--accent); color: var(--accent-foreground); font-size: 11px; font-weight: 900;
}
.urgent-ready .ui-icon { width: 14px; height: 14px; flex-basis: 14px; stroke-width: 2.6; }

.process, .coordinator, .request { background: rgba(237,242,248,.45); }
.process-layout { display: grid; gap: 34px; }
.steps { list-style: none; display: grid; gap: 16px; }
.steps li { border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 22px; }
.steps span { color: rgba(237,200,75,.95); font: 700 26px "Lora", serif; }
.steps h3 { margin-top: 4px; font-family: "Inter", sans-serif; font-size: 15px; font-weight: 850; line-height: 1.32; }
.steps p { margin-top: 7px; color: var(--muted-foreground); font-size: 14px; line-height: 1.55; }
.start-card { border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 24px; height: fit-content; }
.start-card h3 { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.18rem; }
.start-card ul { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.start-card li, .coord-list li { display: flex; align-items: center; gap: 11px; color: rgba(48,51,61,.94); font-size: 14px; line-height: 1.42; }
.start-card .icon-check, .coord-list .icon-check {
  width: 16px; height: 16px; flex-basis: 16px; padding: 0; border-radius: 50%;
  color: var(--accent-foreground); background-color: var(--accent); background-size: 10px 10px;
}
.start-card li .ui-icon,
.coord-list li .ui-icon {
  width: 19px; height: 19px; flex-basis: 19px; padding: 4px; border-radius: 50%;
  background: var(--accent); color: var(--accent-foreground); stroke-width: 2.5;
}
.start-card h3 .ui-icon {
  width: 34px; height: 34px; flex-basis: 34px; padding: 8px; border-radius: 9px;
  background: var(--secondary); color: var(--primary); border: 1px solid var(--border);
}

.cities-grid { display: grid; gap: 38px; align-items: center; }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 30px; }
.city-list li {
  display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.city-list li.city-more { cursor: default; }
.city-list li::before {
  content: ""; width: 13px; height: 13px; flex: 0 0 13px; background: var(--primary); opacity: .62;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E");
  mask-size: contain; mask-repeat: no-repeat; mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
}
.city-list li.city-current {
  color: var(--primary-foreground);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(34,55,96,.14);
}
.city-list li.city-current::before { background: var(--accent); opacity: 1; }
.city-more { background: var(--secondary) !important; font-weight: 800; }
.map-panel { position: relative; aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--card); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px; }
.map-panel > p { display: flex; gap: 8px; align-items: center; color: var(--muted-foreground); font-weight: 800; font-size: 14px; }
.google-map-embed {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--secondary);
}
.google-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  filter: saturate(.9) contrast(.98);
}
.map-notary-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 13px 7px 7px;
  border: 1px solid rgba(38,63,117,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(34,55,96,.18);
  pointer-events: none;
  transform: translate(-50%, -118%);
}
.map-notary-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  width: 12px;
  height: 12px;
  border: 3px solid rgba(38,63,117,.22);
  border-radius: 50%;
  background: rgba(237,200,75,.9);
  box-shadow: 0 0 0 8px rgba(237,200,75,.22);
  transform: translateX(-50%);
}
.map-notary-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(38,63,117,.16);
  border-bottom: 1px solid rgba(38,63,117,.16);
  background: rgba(255,255,255,.96);
  transform: translateX(-50%) rotate(45deg);
}
.map-notary-pin span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--primary);
  color: var(--primary-foreground);
  font: 900 18px/1 "Lora", Georgia, serif;
  box-shadow: inset 0 0 0 1px rgba(255,253,247,.16);
}
.map-notary-pin strong {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.map-location-badge {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  max-width: 250px;
  border: 1px solid rgba(225,228,234,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.93);
  padding: 12px 14px;
  box-shadow: 0 12px 24px rgba(34,55,96,.1);
  pointer-events: none;
}
.map-location-badge strong { color: var(--navy); font-size: 15px; line-height: 1.25; }
.map-location-badge span { color: var(--muted-foreground); font-size: 12px; font-weight: 700; }
.poland-map-visual {
  position: relative; flex: 1; min-height: 260px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px;
  background:
    radial-gradient(circle at 50% 46%, rgba(237,200,75,.14), transparent 28%),
    radial-gradient(circle at 20% 22%, rgba(38,63,117,.08), transparent 30%),
    linear-gradient(145deg, rgba(237,242,248,.72), rgba(255,255,255,.86));
}
.poland-map-visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(38,63,117,.06) 1px, transparent 1px); background-size: 12px 12px;
}
.poland-map-visual svg { position: relative; width: 100%; height: 100%; min-height: 250px; display: block; }
.poland-shape { fill: rgba(255,255,255,.88); stroke: rgba(38,63,117,.18); stroke-width: 3; filter: drop-shadow(0 16px 24px rgba(34,55,96,.12)); }
.map-route { fill: none; stroke: rgba(38,63,117,.18); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 12; }
.route-secondary { stroke: rgba(237,200,75,.38); stroke-width: 3; }
.map-pin path { fill: var(--primary); stroke: #fff; stroke-width: 4; filter: drop-shadow(0 8px 10px rgba(34,55,96,.2)); }
.map-pin circle { fill: #fff; stroke: rgba(38,63,117,.22); stroke-width: 2; }
.pin-main path { fill: var(--accent); stroke: #fff7cf; }
.pin-main circle { fill: var(--accent-foreground); stroke: #fff7cf; }
.map-label rect { fill: rgba(255,255,255,.92); stroke: rgba(225,228,234,.95); }
.map-label text { fill: var(--primary); font: 800 14px "Inter", sans-serif; }
.map-label-small text { font-size: 12px; fill: rgba(48,51,61,.82); }
.map-note {
  position: absolute; right: 16px; bottom: 16px; display: grid; gap: 2px; min-width: 150px;
  border: 1px solid rgba(225,228,234,.9); border-radius: 14px; background: rgba(255,255,255,.9);
  padding: 12px 14px; box-shadow: 0 12px 24px rgba(34,55,96,.1);
}
.map-note strong { color: var(--navy); font-size: 15px; }
.map-note span { color: var(--muted-foreground); font-size: 12px; font-weight: 700; }

.coordinator-grid { display: grid; gap: 40px; align-items: center; }
.coordinator-photo { position: relative; max-width: 390px; margin: 0 auto; }
.coordinator-photo img { border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.coordinator-photo div { position: absolute; left: 16px; bottom: -18px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 10px 14px; box-shadow: var(--shadow-sm); font-weight: 800; font-size: 14px; }
.coordinator-photo .icon {
  width: 32px; height: 32px; flex-basis: 32px; padding: 0; border-radius: 50%;
  background: var(--primary); color: var(--primary-foreground);
  mask-image: none; -webkit-mask-image: none; position: relative;
}
.coordinator-photo .icon::after {
  content: ""; position: absolute; inset: 9px; border: 2px solid var(--primary-foreground); border-radius: 50%;
}
.coord-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.coord-list li { border: 1px solid var(--border); border-radius: 10px; background: var(--card); padding: 13px 14px; font-weight: 750; }

.price-grid { display: grid; gap: 20px; margin-top: 38px; }
.price-grid article { position: relative; border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 24px; }
.price-grid article.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-sm); }
.price-grid article > span { position: absolute; left: 24px; top: -11px; background: var(--accent); color: var(--accent-foreground); border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 900; }
.price-grid h3 { color: var(--muted-foreground); font-family: "Inter", sans-serif; font-size: 14px; font-weight: 700; }
.price-grid strong { display: block; margin-top: 8px; color: var(--navy); font: 700 30px "Lora", serif; }
.price-grid p { margin-top: 12px; color: var(--muted-foreground); font-size: 14px; }
.price-note { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 30px; border: 1px solid var(--border); border-radius: 14px; background: rgba(237,242,248,.7); padding: 16px; font-size: 14px; }

.form-card { margin-top: 30px; border: 1px solid var(--border); border-radius: 22px; background: var(--card); padding: 24px; box-shadow: var(--shadow-sm); }
form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
label { display: grid; gap: 8px; color: var(--foreground); font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; background: var(--background); color: var(--foreground);
  padding: 11px 13px; resize: vertical; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(38,63,117,.16); }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-message {
  margin-top: 16px;
  border: 1px solid rgba(163,71,63,.22);
  border-radius: 12px;
  background: rgba(163,71,63,.08);
  color: var(--seal);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 750;
}
.success-state { display: grid; justify-items: center; gap: 22px; text-align: center; padding: 34px 0; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent); box-shadow: inset 0 0 0 999px var(--accent); }
.success-state p { max-width: 470px; }

.faq-list { margin-top: 30px; display: grid; gap: 12px; }
details { border: 1px solid rgba(225,228,234,.9); border-radius: 12px; background: rgba(255,255,255,.66); overflow: hidden; box-shadow: 0 6px 18px rgba(34,55,96,.035); }
summary { cursor: pointer; list-style: none; padding: 17px 48px 17px 18px; font-weight: 850; position: relative; background: rgba(237,242,248,.54); transition: background .2s ease; }
details[open] summary { background: rgba(237,242,248,.82); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 16px; color: var(--primary); font-size: 22px; line-height: 1; transition: transform .22s ease; }
details[open] summary::after { content: "-"; }
.faq-content { overflow: hidden; height: 0; transition: height .28s ease; }
details[open] .faq-content { height: auto; }
.faq-content p { padding: 16px 18px 18px; color: var(--muted-foreground); line-height: 1.7; }

.site-footer { background: var(--primary); color: var(--primary-foreground); padding: 56px 0 100px; }
.footer-grid { display: grid; gap: 36px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo span {
  background: var(--primary-foreground); color: var(--primary); text-shadow: none;
  box-shadow: inset 0 0 0 1px rgba(38,63,117,.12), 0 8px 18px rgba(0,0,0,.16);
}
.footer-logo span::before { box-shadow: inset 0 0 0 2px rgba(255,247,207,.62), 0 3px 8px rgba(0,0,0,.22); }
.site-footer p { margin-top: 12px; max-width: 420px; color: rgba(255,253,247,.76); font-size: 14px; }
.site-footer small { display: block; margin-top: 8px; color: rgba(255,253,247,.62); }
.site-footer h3 { margin-bottom: 14px; font-family: "Inter", sans-serif; text-transform: uppercase; letter-spacing: .07em; font-size: 14px; }
.site-footer a { display: flex; align-items: center; gap: 10px; width: fit-content; padding: 5px 0; color: var(--primary-foreground); font-size: 14px; }
.footer-bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,253,247,.15); }
.footer-bottom p { max-width: 760px; color: rgba(255,253,247,.62); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 16px; }
.footer-links a,
.footer-links button {
  display: inline-flex;
  width: auto;
  border: 0;
  background: transparent;
  color: rgba(255,253,247,.82);
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.footer-links a:hover,
.footer-links button:hover { color: var(--primary-foreground); text-decoration: underline; text-underline-offset: 3px; }

.legal-page .site-header { position: sticky; }
.legal-header { box-shadow: 0 8px 24px rgba(34,55,96,.05); }
.legal-document {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.legal-document h1 { color: var(--navy); font-size: clamp(2rem, 5vw, 3.1rem); }
.legal-document h2 { margin-top: 28px; color: var(--navy); font: 700 22px "Lora", Georgia, serif; }
.legal-document p { margin-top: 12px; color: var(--foreground); }
.legal-document a { color: var(--primary); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.legal-document code {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--secondary);
  padding: 2px 5px;
  color: var(--primary);
}
.legal-updated { color: var(--muted-foreground) !important; font-size: 14px; }
.legal-footer-bottom { margin-top: 0; }

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}
.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18,27,48,.48);
  backdrop-filter: blur(7px);
}
.legal-modal-card {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(18,27,48,.32);
  padding: 30px;
}
.legal-modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -10px -10px 8px 14px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.legal-modal-content h2 { color: var(--navy); font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal-modal-content h3 { margin-top: 22px; color: var(--navy); font: 700 19px "Lora", Georgia, serif; }
.legal-modal-content p { margin-top: 10px; color: var(--foreground); }
.legal-modal-content a { color: var(--primary); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.legal-modal-content .btn { margin-top: 16px; }

.floating {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; flex-direction: column;
  align-items: stretch; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border);
  background: rgba(249,247,241,.95); box-shadow: 0 -12px 30px rgba(28,39,68,.08); backdrop-filter: blur(12px);
}
.floating-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); padding: 14px 20px; font-weight: 800; box-shadow: var(--shadow); cursor: pointer; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.22); flex: 0 0 8px; }
.floating-panel { position: absolute; left: 16px; right: 16px; bottom: 76px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.floating-panel div { padding: 14px 16px; border-bottom: 1px solid var(--border); background: rgba(237,242,248,.72); }
.floating-panel b { display: flex; align-items: center; gap: 9px; }
.floating-panel p { margin-top: 3px; color: var(--muted-foreground); font-size: 12px; }
.floating-panel a { display: flex; align-items: center; gap: 12px; margin: 6px 8px; padding: 9px 10px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.floating-panel a:hover { background: var(--secondary); }
.channel-icon {
  width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: white; flex: 0 0 32px; box-shadow: 0 4px 10px rgba(34,55,96,.12);
}
.channel-icon.telegram { background: #229ed9; }
.channel-icon.viber { background: #7360f2; }
.channel-icon.whatsapp { background: #25d366; }
.channel-icon.call { background: #0f766e; }
.channel-icon.email { background: #334155; }
.channel-icon.request { background: #c28a16; }
.channel-icon .ui-icon { width: 16px; height: 16px; flex-basis: 16px; stroke-width: 2.2; }

.city-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 88px;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  max-width: 560px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.city-toast b { display: block; color: var(--navy); line-height: 1.25; }
.city-toast p { margin-top: 2px; color: var(--muted-foreground); font-size: 12px; line-height: 1.35; }
.city-toast-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.city-toast button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  cursor: pointer;
}
.city-confirm { background: var(--primary); color: var(--primary-foreground); }
.city-change { background: var(--secondary); color: var(--primary); }
.city-picker {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr);
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}
.city-picker label {
  display: block;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 850;
}
.city-picker select {
  min-height: 38px;
  border-radius: 999px;
  background: var(--background);
  font-weight: 750;
  cursor: pointer;
}

@media (min-width: 640px) {
  .hero-bullets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions { grid-template-columns: max-content max-content; justify-content: start; gap: 14px; }
  .hero-actions .btn { min-width: 0; padding-left: 18px; padding-right: 18px; }
  .service-grid, .steps, .coord-list, .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-card { padding: 32px; }
}

@media (min-width: 900px) {
  .desktop-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .header-contacts { display: flex; }
  .menu-toggle { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); padding-top: 78px; padding-bottom: 56px; }
  .legal-basis-card { grid-template-columns: auto minmax(0, 1.2fr) minmax(280px, .8fr); }
  .service-grid, .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .urgent-panel { grid-template-columns: 1fr 1fr; }
  .urgent-copy { padding: 48px; }
  .process-layout { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); }
  .start-card { position: sticky; top: 94px; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .map-panel { aspect-ratio: 4 / 3; }
  .coordinator-grid { grid-template-columns: .8fr 1fr; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .site-footer { padding-bottom: 56px; }
  .floating { left: auto; right: 24px; bottom: 24px; align-items: flex-end; padding: 0; border-top: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .floating-panel { position: static; width: 288px; }
  .city-toast { left: auto; right: 24px; bottom: 94px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .logo-note { display: none; }
  .hero-grid { padding-top: 42px; }
  .hero h1 { font-size: 2.35rem; }
  .ready-chip { right: 0; top: 0; }
  .appointment-card { left: 0; width: 224px; }
  .appointment-city { min-height: 34px; font-size: 17px; }
  .document-sheet { padding: 22px; }
  .seal { width: 78px; height: 78px; }
  .map-panel { padding: 18px; }
  .google-map-embed,
  .google-map-embed iframe { min-height: 285px; }
  .map-notary-pin { min-height: 38px; padding: 6px 11px 6px 6px; transform: translate(-50%, -122%); }
  .map-notary-pin span { width: 25px; height: 25px; border-radius: 8px; font-size: 16px; }
  .map-notary-pin strong { font-size: 13px; }
  .map-location-badge { left: 14px; right: 14px; bottom: 14px; max-width: none; }
  .poland-map-visual { min-height: 285px; }
  .poland-map-visual svg { min-height: 285px; transform: scale(1.08); transform-origin: center; }
  .map-note { left: 14px; right: 14px; bottom: 14px; min-width: 0; }
  .legal-document { padding: 24px 20px; border-radius: 18px; }
  .legal-modal { padding: 10px; align-items: end; }
  .legal-modal-card { max-height: calc(100vh - 20px); border-radius: 18px 18px 0 0; padding: 24px 20px; }
  .city-toast {
    grid-template-columns: 1fr;
    bottom: 86px;
  }
  .city-toast-actions { width: 100%; }
  .city-toast button { width: 100%; }
  .city-picker { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
}
