
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 0%, rgba(126, 145, 82, 0.12), transparent 28%),
    linear-gradient(180deg, #30382a 0%, #242b20 56%, #1c2119 100%);
  box-shadow: inset 0 1px 0 rgba(241, 232, 207, 0.06);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    linear-gradient(115deg, transparent 0 76%, rgba(230, 217, 181, 0.08) 76.1% 76.2%, transparent 76.3%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px clamp(20px, 4vw, 48px) 34px;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
}

.site-footer .brand-text {
  color: #f6f1e6;
}

.site-footer .footer-nav {
  color: rgba(246, 241, 230, 0.72);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px;
}

.footer-nav a {
  transition: color 0.24s var(--ease);
}

.footer-nav a:hover {
  color: #d8c69c;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  font-size: 12.5px;
  color: rgba(246, 241, 230, 0.5);
}

.footer-bottom p {
  max-width: 760px;
}

.footer-bottom span {
  flex: 0 0 auto;
  color: rgba(246, 241, 230, 0.64);
}

.footer-legal {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  text-align: right;
}

.footer-contact-phone {
  color: #f0dfb7;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.24s var(--ease), opacity 0.24s var(--ease);
}

.footer-contact-phone:hover,
.footer-contact-phone:focus-visible {
  color: #fff3d2;
}

.footer-contact-phone:focus-visible {
  outline: 2px solid rgba(222, 205, 164, 0.72);
  outline-offset: 5px;
  border-radius: 3px;
}

.footer-privacy-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(222, 205, 164, 0.86);
  font: inherit;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(222, 205, 164, 0.34);
  text-underline-offset: 4px;
  transition: color 0.24s var(--ease), text-decoration-color 0.24s var(--ease);
}

.footer-privacy-link:hover,
.footer-privacy-link:focus-visible {
  color: #f0dfb7;
  text-decoration-color: currentColor;
}

.footer-privacy-link:focus-visible {
  outline: 2px solid rgba(222, 205, 164, 0.72);
  outline-offset: 5px;
  border-radius: 3px;
}

.footer-copyright {
  color: rgba(246, 241, 230, 0.64);
  white-space: nowrap;
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 22px;
}

.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 29, 21, 0.72);
  backdrop-filter: blur(8px);
}

.privacy-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 44px));
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(121, 105, 75, 0.34);
  border-radius: 30px 10px 30px 10px;
  background:
    radial-gradient(circle at 92% 2%, rgba(107, 126, 66, 0.12), transparent 25%),
    linear-gradient(145deg, #f8f3e7 0%, #eee6d3 100%);
  box-shadow:
    0 34px 90px rgba(17, 20, 13, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  scrollbar-width: thin;
  scrollbar-color: rgba(93, 110, 58, 0.7) rgba(95, 83, 58, 0.1);
}

.privacy-modal-dialog::-webkit-scrollbar {
  width: 9px;
}

.privacy-modal-dialog::-webkit-scrollbar-track {
  background: rgba(95, 83, 58, 0.08);
}

.privacy-modal-dialog::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(93, 110, 58, 0.65);
  background-clip: padding-box;
}

.privacy-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102, 88, 62, 0.24);
  border-radius: 50%;
  background: rgba(255, 252, 244, 0.68);
  color: #44512f;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.privacy-modal-close span,
.privacy-modal-close span::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.privacy-modal-close span {
  transform: rotate(45deg);
}

.privacy-modal-close span::after {
  content: "";
  transform: rotate(90deg);
}

.privacy-modal-close:hover,
.privacy-modal-close:focus-visible {
  transform: rotate(4deg);
  border-color: rgba(86, 104, 47, 0.58);
  background: rgba(255, 252, 244, 0.94);
}

.privacy-modal-close:focus-visible {
  outline: 3px solid rgba(86, 104, 47, 0.16);
  outline-offset: 2px;
}

.privacy-modal-header {
  max-width: 720px;
  padding-right: 56px;
  margin-bottom: 24px;
}

.privacy-modal-kicker {
  margin: 0 0 8px;
  color: #677843;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-modal-header h2 {
  margin: 0 0 10px;
  color: var(--text-0);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.privacy-modal-header > p:last-child {
  margin: 0;
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.55;
}

.privacy-modal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.privacy-modal-summary > div {
  min-width: 0;
  padding: 16px;
  border-top: 2px solid rgba(98, 116, 61, 0.62);
  background: rgba(255, 252, 244, 0.46);
}

.privacy-modal-summary strong,
.privacy-modal-summary span {
  display: block;
}

.privacy-modal-summary strong {
  margin-bottom: 5px;
  color: var(--text-0);
  font-size: 13px;
}

.privacy-modal-summary span {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.45;
}

.privacy-policy-body {
  display: grid;
  gap: 12px;
}

.privacy-policy-section {
  position: relative;
  padding: 20px 22px;
  border-left: 2px solid rgba(178, 151, 101, 0.54);
  background: rgba(255, 252, 244, 0.34);
}

.privacy-policy-section:nth-child(even) {
  border-left-color: rgba(95, 116, 58, 0.6);
}

.privacy-policy-section h3 {
  margin: 0 0 10px;
  color: var(--text-0);
  font-family: var(--font-display);
  font-size: 1.13rem;
  line-height: 1.25;
}

.privacy-policy-section p,
.privacy-policy-section li {
  color: var(--text-1);
  font-size: 13.5px;
  line-height: 1.58;
}

.privacy-policy-section p {
  margin: 0 0 10px;
}

.privacy-policy-section p:last-child {
  margin-bottom: 0;
}

.privacy-policy-section ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.privacy-policy-section li + li {
  margin-top: 6px;
}

.privacy-purpose-list {
  padding-left: 0 !important;
  list-style: none;
}

.privacy-purpose-list li {
  position: relative;
  padding-left: 20px;
}

.privacy-purpose-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(92, 108, 59, 0.92);
  font-weight: 700;
}

.privacy-operator-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(115, 98, 68, 0.18);
  background: rgba(247, 241, 226, 0.62);
}

.privacy-operator-card p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.privacy-operator-card span {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.privacy-operator-card strong {
  color: var(--text-0);
  font-size: 12.5px;
  line-height: 1.4;
}

.privacy-policy-links {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(110, 95, 67, 0.16);
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.45;
}

body.privacy-modal-open {
  overflow: hidden;
}
