:root {
      --primary: #18324a;
      --primary-light: #244b6d;
      --accent: #c7a76c;
      --bg: #f6f3ee;
      --white: #ffffff;
      --text: #1f2933;
      --muted: #667085;
      --border: #e4ded4;
      --danger: #9f3a38;
      --success: #2f6f4e;
      --shadow: 0 20px 50px rgba(24, 50, 74, 0.12);
      --radius: 22px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

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

    .skip-link {
      position: absolute;
      left: 16px;
      top: -80px;
      z-index: 1000;
      background: var(--primary);
      color: var(--white);
      padding: 12px 16px;
      border-radius: 999px;
      font-weight: 800;
      transition: top 0.2s ease;
    }

    .skip-link:focus {
      top: 16px;
    }

    a:focus-visible,
    button:focus-visible,
    summary:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
      outline: 3px solid var(--accent);
      outline-offset: 3px;
    }

    .screen-reader-text {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }


    .container {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(246, 243, 238, 0.92);
      -webkit-backdrop-filter: blur(14px);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(228, 222, 212, 0.9);
    }

    .nav {
      min-height: 78px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      color: var(--primary);
      min-width: 0;
    }

    .logo-mark {
      width: 58px;
      height: 58px;
      flex: 0 0 58px;
      border-radius: 50%;
      overflow: hidden;
      background: rgba(199, 167, 108, 0.18);
      border: 2px solid rgba(199, 167, 108, 0.55);
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .logo-mark img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    .logo-text {
      display: block;
      min-width: 0;
    }

    .logo-title {
      display: block;
      font-weight: 800;
      letter-spacing: -0.03em;
      font-size: 1.1rem;
      line-height: 1.05;
      white-space: nowrap;
    }

    .logo-subtitle {
      display: block;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      margin-top: 3px;
      white-space: nowrap;
    }



    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      padding: 8px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 6px;
      border: 0;
      border-radius: 0;
      background: transparent;
      color: var(--primary);
      cursor: pointer;
      box-shadow: none;
    }

    .menu-toggle-line {
      width: 28px;
      height: 3px;
      border-radius: 999px;
      background: currentColor;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-header.is-menu-open .menu-toggle-line:nth-child(2) {
      transform: translateY(9px) rotate(45deg);
    }

    .site-header.is-menu-open .menu-toggle-line:nth-child(3) {
      opacity: 0;
    }

    .site-header.is-menu-open .menu-toggle-line:nth-child(4) {
      transform: translateY(-9px) rotate(-45deg);
    }


    .nav-links {
      display: flex;
      align-items: center;
      gap: 18px;
      color: var(--primary);
      font-size: 0.93rem;
      font-weight: 600;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 22px;
      border-radius: 999px;
      font-weight: 700;
      transition: 0.2s ease;
      border: 1px solid transparent;
      cursor: pointer;
      font-family: inherit;
      font-size: 1rem;
    }

    .btn-primary {
      background: var(--primary);
      color: var(--white);
      box-shadow: 0 12px 28px rgba(24, 50, 74, 0.25);
    }

    .btn-primary:hover {
      background: var(--primary-light);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: var(--white);
      color: var(--primary);
      border-color: var(--border);
    }

    .btn-secondary:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
    }

    .btn-map {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.22);
      color: var(--white);
      box-shadow: none;
    }

    .btn-map:hover {
      background: rgba(255, 255, 255, 0.16);
      transform: translateY(-2px);
    }

    .hero {
      padding: 90px 0 70px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 54px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--primary);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.78rem;
      margin-bottom: 18px;
    }

    .eyebrow::before {
      content: "";
      width: 36px;
      height: 2px;
      background: var(--accent);
    }

    h1 {
      font-size: clamp(2.35rem, 5vw, 4.65rem);
      line-height: 0.98;
      letter-spacing: -0.06em;
      color: var(--primary);
      margin-bottom: 24px;
    }

    .hero p {
      font-size: 1.18rem;
      color: var(--muted);
      max-width: 680px;
      margin-bottom: 34px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 34px;
    }

    .trust-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      max-width: 700px;
    }

    .trust-item {
      background: rgba(255, 255, 255, 0.65);
      border: 1px solid var(--border);
      padding: 16px;
      border-radius: 16px;
      font-weight: 800;
      color: var(--primary);
    }

    .trust-item span {
      display: block;
      font-size: 0.82rem;
      color: var(--muted);
      font-weight: 600;
      margin-top: 4px;
    }

    .hero-card {
      background: var(--white);
      border-radius: 34px;
      padding: 34px;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
      position: relative;
      overflow: hidden;
    }

    .hero-card::after {
      content: "";
      position: absolute;
      right: -70px;
      top: -70px;
      width: 190px;
      height: 190px;
      border-radius: 50%;
      background: rgba(199, 167, 108, 0.18);
    }

    .hero-card h2 {
      color: var(--primary);
      font-size: 1.7rem;
      line-height: 1.2;
      margin-bottom: 18px;
      position: relative;
      z-index: 1;
    }

    .check-list {
      display: grid;
      gap: 14px;
      position: relative;
      z-index: 1;
    }

    .check-list li {
      list-style: none;
      display: flex;
      gap: 12px;
      color: var(--muted);
    }

    .check-list li::before {
      content: "✓";
      flex: 0 0 28px;
      height: 28px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(199, 167, 108, 0.18);
      color: var(--primary);
      font-weight: 900;
    }

    section {
      padding: 76px 0;
    }

    .section-heading {
      max-width: 800px;
      margin-bottom: 36px;
    }

    .section-heading h2 {
      color: var(--primary);
      font-size: clamp(2rem, 3.4vw, 3.2rem);
      line-height: 1.05;
      letter-spacing: -0.05em;
      margin-bottom: 16px;
    }

    .section-heading p {
      color: var(--muted);
      font-size: 1.08rem;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 26px;
      box-shadow: 0 10px 30px rgba(24, 50, 74, 0.06);
      transition: 0.2s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
    }

    .icon {
      width: 48px;
      height: 48px;
      border-radius: 15px;
      background: rgba(199, 167, 108, 0.18);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.35rem;
      margin-bottom: 18px;
    }

    .card h3 {
      color: var(--primary);
      font-size: 1.25rem;
      margin-bottom: 10px;
      letter-spacing: -0.02em;
    }

    .card p {
      color: var(--muted);
    }

    .locality {
      background: var(--primary);
      color: var(--white);
      border-radius: 32px;
      padding: 42px;
      box-shadow: var(--shadow);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      align-items: center;
    }

    .locality h2 {
      font-size: clamp(2rem, 3.4vw, 3rem);
      line-height: 1.05;
      letter-spacing: -0.05em;
      margin-bottom: 14px;
    }

    .locality p {
      color: rgba(255, 255, 255, 0.78);
    }

    .locality-list {
      display: grid;
      gap: 12px;
    }

    .locality-list div {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: 18px;
      padding: 16px;
      font-weight: 700;
    }

    .split {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 42px;
      align-items: center;
    }

    .panel {
      background: var(--primary);
      color: var(--white);
      border-radius: 32px;
      padding: 38px;
      box-shadow: var(--shadow);
    }

    .panel h2 {
      font-size: 2.25rem;
      line-height: 1.1;
      letter-spacing: -0.05em;
      margin-bottom: 18px;
    }

    .panel p {
      color: rgba(255,255,255,0.78);
      margin-bottom: 24px;
    }

    .stats {
      display: grid;
      gap: 14px;
    }

    .stat {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.13);
      border-radius: 18px;
      padding: 18px;
    }

    .stat strong {
      display: block;
      color: var(--accent);
      font-size: 1.65rem;
      line-height: 1;
      margin-bottom: 5px;
    }

    .steps {
      display: grid;
      gap: 16px;
    }

    .step {
      display: grid;
      grid-template-columns: 52px 1fr;
      gap: 16px;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 22px;
    }

    .step-number {
      width: 52px;
      height: 52px;
      border-radius: 18px;
      background: var(--bg);
      color: var(--primary);
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .step h3 {
      color: var(--primary);
      margin-bottom: 4px;
    }

    .step p {
      color: var(--muted);
    }

    .benefits {
      background: var(--white);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .benefit-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .benefit {
      padding: 22px;
      border-left: 3px solid var(--accent);
      background: #fbfaf8;
      border-radius: 16px;
    }

    .benefit h3 {
      color: var(--primary);
      margin-bottom: 8px;
    }

    .benefit p {
      color: var(--muted);
      font-size: 0.96rem;
    }

    .seo-content {
      background: var(--white);
    }

    .content-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px;
    }

    .content-block {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px;
      background: #fbfaf8;
    }

    .content-block h3 {
      color: var(--primary);
      font-size: 1.35rem;
      margin-bottom: 12px;
    }

    .content-block p {
      color: var(--muted);
    }

    .faq-grid {
      display: grid;
      gap: 16px;
    }

    details {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 20px 22px;
      box-shadow: 0 10px 30px rgba(24, 50, 74, 0.04);
    }

    summary {
      color: var(--primary);
      font-weight: 800;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
    }

    summary::-webkit-details-marker {
      display: none;
    }

    summary::after {
      content: "+";
      width: 30px;
      height: 30px;
      flex: 0 0 30px;
      border-radius: 50%;
      background: rgba(199, 167, 108, 0.18);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-weight: 900;
    }

    details[open] summary::after {
      content: "–";
    }

    details p {
      color: var(--muted);
      margin-top: 14px;
    }

    .contact-section {
      padding: 86px 0;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
      gap: 28px;
      align-items: stretch;
    }

    .contact-grid > * {
      min-width: 0;
      align-self: stretch;
    }

    .contact-form-shell {
      display: flex;
      height: 100%;
      min-width: 0;
    }

    .contact-info {
      background: linear-gradient(135deg, var(--primary), #0f2233);
      color: var(--white);
      border-radius: 32px;
      padding: 38px;
      box-shadow: var(--shadow);
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .contact-info h2 {
      font-size: clamp(2rem, 3vw, 2.8rem);
      line-height: 1.05;
      letter-spacing: -0.05em;
      margin-bottom: 16px;
    }

    .contact-info p {
      color: rgba(255, 255, 255, 0.78);
      margin-bottom: 24px;
    }

    .contact-methods {
      display: grid;
      gap: 14px;
    }

    .contact-method {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: 18px;
      padding: 18px;
    }

    .contact-method span {
      display: block;
      color: rgba(255, 255, 255, 0.72);
      font-size: 0.92rem;
      margin-bottom: 4px;
    }

    .contact-method strong,
    .contact-method a {
      color: var(--white);
      font-size: 1.08rem;
      font-weight: 900;
    }

    .map-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: auto;
      padding-top: 24px;
    }

    .form-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 32px;
      padding: 34px;
      box-shadow: var(--shadow);
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
    }

    .form-card form {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
    }

    .form-card h2 {
      color: var(--primary);
      font-size: 2rem;
      line-height: 1.1;
      letter-spacing: -0.04em;
      margin-bottom: 10px;
    }

    .form-card > p {
      color: var(--muted);
      margin-bottom: 24px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .field {
      display: grid;
      gap: 7px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    label {
      color: var(--primary);
      font-weight: 800;
      font-size: 0.94rem;
    }

    input,
    select,
    textarea {
      width: 100%;
      border: 1px solid var(--border);
      background: #fbfaf8;
      border-radius: 14px;
      min-height: 48px;
      padding: 12px 14px;
      font: inherit;
      color: var(--text);
      outline: none;
      transition: 0.2s ease;
    }

    textarea {
      min-height: 140px;
      resize: vertical;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: var(--accent);
      background: var(--white);
      box-shadow: 0 0 0 4px rgba(199, 167, 108, 0.14);
    }

    .privacy-note {
      margin-top: 16px;
      padding: 14px 16px;
      border-radius: 16px;
      background: #fbfaf8;
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: 0.92rem;
    }

    .privacy-note a {
      color: var(--primary);
      font-weight: 800;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .form-actions {
      margin-top: 22px;
      display: flex;
      gap: 14px;
      align-items: center;
      flex-wrap: wrap;
    }

    .status-message {
      display: none;
      margin-top: 18px;
      padding: 14px 16px;
      border-radius: 14px;
      font-weight: 700;
    }

    .status-message.success {
      display: block;
      color: var(--success);
      background: rgba(47, 111, 78, 0.1);
      border: 1px solid rgba(47, 111, 78, 0.22);
    }

    .status-message.error {
      display: block;
      color: var(--danger);
      background: rgba(159, 58, 56, 0.1);
      border: 1px solid rgba(159, 58, 56, 0.22);
    }



    section[id] {
      scroll-margin-top: 104px;
    }

    body.admin-bar header {
      top: 32px;
    }

    .hp-field {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .page-content {
      padding: 76px 0;
    }

    .page-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 32px;
      box-shadow: var(--shadow);
      padding: clamp(28px, 5vw, 52px);
    }

    .page-card h1 {
      font-size: clamp(2.2rem, 4vw, 3.8rem);
      line-height: 1.05;
      margin-bottom: 22px;
    }

    .page-card p,
    .page-card li {
      color: var(--muted);
      margin-bottom: 14px;
    }

    .page-card a {
      color: var(--primary);
      font-weight: 800;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
      }
    }


    footer {
      padding: 30px 0;
      border-top: 1px solid var(--border);
      color: var(--muted);
      font-size: 0.92rem;
    }

    .footer-inner {
      text-align: center;
    }

    .footer-inner p {
      margin: 0;
    }

    .footer-inner a {
      color: var(--primary);
      font-weight: 800;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    @media (max-width: 1080px) {
      .menu-toggle {
        display: inline-flex;
      }

      .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow: var(--shadow);
      }

      .site-header.is-menu-open .nav-links {
        display: flex;
      }

      .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        border-radius: 14px;
      }

      .nav-links a:not(.btn) {
        background: #fbfaf8;
        border: 1px solid var(--border);
      }

      .nav-links .btn {
        width: 100%;
      }

      .hero-grid,
      .split,
      .locality,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .cards {
        grid-template-columns: repeat(2, 1fr);
      }

      .benefit-grid,
      .trust-row,
      .content-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 782px) {
      body.admin-bar header {
        top: 46px;
      }
    }

    @media (max-width: 680px) {
      .container {
        width: min(100% - 28px, 1180px);
      }

      .hero {
        padding: 58px 0 42px;
      }

      section,
      .contact-section {
        padding: 54px 0;
      }

      .cards,
      .benefit-grid,
      .trust-row,
      .content-grid,
      .form-grid {
        grid-template-columns: 1fr;
      }

      .logo-mark {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
      }

      .logo-title {
        font-size: 1rem;
      }

      .logo-subtitle {
        font-size: 0.68rem;
        letter-spacing: 0.05em;
      }

      .contact-form-shell {
        height: auto;
      }

      .hero-card,
      .panel,
      .locality,
      .contact-info,
      .form-card {
        padding: 26px;
        border-radius: 24px;
      }

      .hero-actions .btn,
      .form-actions .btn,
      .map-actions .btn {
        width: 100%;
      }

      .step {
        grid-template-columns: 1fr;
      }
    }
