:root {
      --primary: #0A4A8A;
      --primary-dark: #06305C;
      --accent: #00B4E4;
      --accent-light: #E8F7FC;
      --text: #1A2B3C;
      --text-muted: #5A6A7A;
      --bg: #F7FAFC;
      --white: #FFFFFF;
      --border: #E2E8F0;
      --shadow: 0 4px 24px rgba(10, 74, 138, 0.08);
      --radius: 12px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body {
      font-family: 'Inter', system-ui, sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

    /* Header */
    .header {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
      gap: 20px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: 'Manrope', sans-serif;
      font-weight: 700;
      font-size: 29px;
      letter-spacing: 0.06em;
      color: var(--primary);
    }
    .logo img {
      height: 48px;
      width: auto;
      display: block;
      flex-shrink: 0;
    }
    .logo:hover {
      opacity: 0.85;
    }
    .footer .logo {
      color: #fff;
      margin-bottom: 16px;
    }
    .footer .logo img {
      height: 44px;
    }
    .header-contacts {
      display: flex;
      align-items: center;
      gap: 28px;
      font-size: 14px;
    }
    .header-contacts a { color: var(--text); font-weight: 500; }
    .header-contacts .phone {
      font-size: 16px;
      font-weight: 600;
      color: var(--primary);
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 14px;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
    }
    .btn-primary:hover { background: var(--primary-dark); }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--border);
      color: var(--text);
    }
    .btn-outline:hover { border-color: var(--primary); color: var(--primary); }
    .btn-accent {
      background: var(--accent);
      color: white;
    }
    .btn-accent:hover { background: #008F8D; }


    /* Search bar under nav */
    .search-bar {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 14px 0;
    }
    .search-box {
      display: flex;
      align-items: center;
      max-width: 720px;
      margin: 0 auto;
      position: relative;
    }
    .search-box input {
      width: 100%;
      padding: 13px 52px 13px 18px;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      font-size: 15px;
      font-family: inherit;
      background: var(--bg);
      color: var(--text);
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .search-box input::placeholder {
      color: var(--text-muted);
    }
    .search-box input:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(0, 180, 228, 0.15);
      background: var(--white);
    }
    .search-box button {
      position: absolute;
      right: 6px;
      top: 50%;
      transform: translateY(-50%);
      width: 38px;
      height: 38px;
      border: none;
      border-radius: 8px;
      background: var(--primary);
      color: white;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }
    .search-box button:hover {
      background: var(--primary-dark);
    }
    .search-box button svg {
      width: 18px;
      height: 18px;
    }

    /* Nav */
    .nav {
      background: var(--primary);
      color: white;
    }
    .nav-list {
      display: flex;
      gap: 4px;
      list-style: none;
      overflow-x: auto;
      padding: 0;
    }
    .nav-list a {
      display: block;
      padding: 14px 12px;
      font-size: 14px;
      font-weight: 500;
      white-space: nowrap;
      opacity: 0.9;
      transition: opacity 0.2s;
    }
    .nav-list a:hover { opacity: 1; background: rgba(255,255,255,0.1); }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, #06305C 0%, #0A4A8A 45%, #00B4E4 100%);
      color: white;
      padding: 72px 0 80px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }
    .hero-grid {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
      gap: 48px 56px;
      align-items: center;
    }
    .hero-content {
      position: relative;
      max-width: none;
    }
    .hero-visual {
      position: relative;
    }
    .hero-visual img {
      width: 100%;
      aspect-ratio: 4 / 3;
      height: auto;
      object-fit: cover;
      object-position: center 40%;
      display: block;
      border-radius: 12px;
      -webkit-mask-image: radial-gradient(ellipse 96% 94% at 50% 50%, #000 72%, transparent 100%);
      mask-image: radial-gradient(ellipse 96% 94% at 50% 50%, #000 72%, transparent 100%);
    }
    .hero-stats {
      grid-column: 1 / -1;
      display: flex;
      gap: 40px;
      margin-top: 40px;
      padding-top: 28px;
      border-top: 1px solid rgba(255,255,255,0.2);
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(8px);
      padding: 6px 14px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 500;
      margin-bottom: 20px;
    }
    .hero h1 {
      font-family: 'Manrope', sans-serif;
      font-size: clamp(28px, 4vw, 42px);
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 16px;
    }
    .hero p {
      font-size: 17px;
      opacity: 0.92;
      margin-bottom: 32px;
      max-width: 540px;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .stat-value {
      font-family: 'Manrope', sans-serif;
      font-size: 28px;
      font-weight: 700;
    }
    .stat-label {
      font-size: 13px;
      opacity: 0.8;
      margin-top: 4px;
    }

    /* Categories */
    .section { padding: 64px 0; }
    .section-title {
      font-family: 'Manrope', sans-serif;
      font-size: 28px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 8px;
    }
    .section-subtitle {
      color: var(--text-muted);
      margin-bottom: 36px;
      font-size: 16px;
    }
    .categories-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px;
    }
    .category-card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 28px 24px;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
      transition: all 0.25s;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .category-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(11, 58, 110, 0.12);
      border-color: var(--accent);
    }
    .category-icon {
      width: 48px;
      height: 48px;
      background: var(--accent-light);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: var(--accent);
    }
    .category-card h3 {
      font-size: 17px;
      font-weight: 600;
      color: var(--primary);
    }
    .category-card p {
      font-size: 14px;
      color: var(--text-muted);
      flex-grow: 1;
    }
    .category-card .link {
      font-size: 14px;
      font-weight: 600;
      color: var(--accent);
    }

    /* Advantages */
    .advantages {
      background: var(--white);
    }
    .adv-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 28px;
    }
    .adv-item {
      text-align: center;
      padding: 20px;
    }
    .adv-icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 16px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 24px;
    }
    .adv-item h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--primary);
    }
    .adv-item p {
      font-size: 14px;
      color: var(--text-muted);
    }

    /* Trust */
    .trust-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      align-items: center;
    }
    @media (max-width: 768px) {
      .trust-grid { grid-template-columns: 1fr; }
    }
    .trust-cards {
      display: grid;
      gap: 16px;
    }
    .trust-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px 24px;
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
    .trust-card strong {
      display: block;
      font-size: 15px;
      color: var(--primary);
      margin-bottom: 4px;
    }
    .trust-card span {
      font-size: 13px;
      color: var(--text-muted);
    }
    .clients-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 20px;
    }
    .client-tag {
      background: var(--accent-light);
      color: var(--primary);
      padding: 6px 14px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 500;
    }

    /* Footer */
    .footer {
      background: var(--primary-dark);
      color: rgba(255,255,255,0.85);
      padding: 56px 0 32px;
      margin-top: 64px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    @media (max-width: 900px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 500px) {
      .footer-grid { grid-template-columns: 1fr; }
    }
    .footer h4 {
      color: white;
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 16px;
    }
    .footer ul { list-style: none; }
    .footer li { margin-bottom: 10px; }
    .footer a { font-size: 14px; opacity: 0.85; }
    .footer a:hover { opacity: 1; }
    .footer .addr {
      font-size: 13px;
      line-height: 1.45;
      opacity: 0.9;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 24px;
      font-size: 13px;
      opacity: 0.7;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    /* Mobile */
    @media (max-width: 900px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
      }
      .hero-visual { order: 2; }
      .hero-stats { order: 3; }
    }
    @media (max-width: 768px) {
      .header-contacts { display: none; }
      .hero { padding: 48px 0 56px; }
      .hero-stats { flex-direction: column; gap: 20px; }
      .section { padding: 48px 0; }
    }

    /* Request modal */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(6, 48, 92, 0.55);
      backdrop-filter: blur(4px);
      z-index: 1000;
      align-items: center;
      justify-content: center;
      padding: 16px;
      overflow-x: hidden;
      overflow-y: auto;
    }
    .modal-overlay.active {
      display: flex;
      flex-direction: column;
    }
    .modal {
      background: var(--white);
      border-radius: 16px;
      width: 100%;
      max-width: 520px;
      min-width: 0;
      max-height: 90vh;
      overflow-x: hidden;
      overflow-y: auto;
      box-shadow: 0 24px 64px rgba(6, 48, 92, 0.25);
      animation: modalIn 0.25s ease;
    }
    @keyframes modalIn {
      from { opacity: 0; transform: translateY(16px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 24px 0;
    }
    .modal-header h3 {
      font-family: 'Manrope', sans-serif;
      font-size: 20px;
      color: var(--primary);
      font-weight: 700;
    }
    .modal-close {
      width: 36px;
      height: 36px;
      border: none;
      background: var(--bg);
      border-radius: 8px;
      cursor: pointer;
      font-size: 20px;
      color: var(--text-muted);
      line-height: 1;
    }
    .modal-close:hover { background: var(--border); color: var(--text); }
    .modal-body { padding: 20px 24px 24px; }
    .form-group { margin-bottom: 18px; }
    .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 6px;
    }
    .form-group label .hint {
      font-weight: 400;
      color: var(--text-muted);
      font-size: 12px;
    }
    .form-group input:not([type="checkbox"]):not([type="file"]),
    .form-group textarea {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      padding: 12px 14px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-size: 14px;
      font-family: inherit;
      color: var(--text);
      background: var(--bg);
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .form-group input:not([type="checkbox"]):not([type="file"]):focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(0, 180, 228, 0.15);
      background: var(--white);
    }
    .consent-group {
      margin-top: 4px;
      margin-bottom: 6px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      min-width: 0;
    }
    .consent-group input[type="checkbox"] {
      width: 18px;
      height: 18px;
      min-width: 18px;
      margin-top: 2px;
      padding: 0;
      flex-shrink: 0;
      accent-color: var(--primary);
      cursor: pointer;
    }
    .consent-text {
      margin: 0;
      flex: 1;
      min-width: 0;
      font-size: 13px;
      line-height: 1.45;
      color: var(--text);
      overflow-wrap: break-word;
    }
    .consent-text label {
      display: inline;
      margin: 0;
      font-weight: 400;
      font-size: inherit;
      color: inherit;
      cursor: pointer;
    }
    .consent-group a {
      color: var(--primary);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .consent-group a:hover { color: var(--accent); }

    .legal {
      max-width: 820px;
      font-size: 15px;
      color: var(--text);
    }
    .legal h2 {
      font-family: 'Manrope', sans-serif;
      font-size: 18px;
      font-weight: 700;
      color: var(--primary);
      margin: 28px 0 10px;
    }
    .legal p { margin-bottom: 12px; color: var(--text-muted); }
    .legal ul, .legal ol {
      margin: 0 0 12px 1.2em;
      color: var(--text-muted);
    }
    .legal li { margin-bottom: 6px; }
    .legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
    .form-group textarea { min-height: 100px; resize: vertical; }
    .form-hint {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 5px;
      line-height: 1.4;
    }
    .file-drop {
      border: 1.5px dashed var(--border);
      border-radius: 10px;
      padding: 20px;
      text-align: center;
      background: var(--bg);
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
    }
    .file-drop:hover, .file-drop.dragover {
      border-color: var(--accent);
      background: var(--accent-light);
    }
    .file-drop input { display: none; }
    .file-drop-text { font-size: 14px; color: var(--text-muted); }
    .file-drop-text strong { color: var(--primary); }
    .file-name {
      margin-top: 10px;
      font-size: 13px;
      color: var(--accent);
      font-weight: 500;
      display: none;
    }
    .modal-footer {
      padding: 0 24px 24px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: flex-end;
    }
    @media (max-width: 480px) {
      .modal-header { padding: 18px 16px 0; }
      .modal-body { padding: 16px; }
      .modal-footer { padding: 0 16px 16px; }
    }
    .modal-success {
      display: none;
      text-align: center;
      padding: 40px 24px;
    }
    .modal-success.active { display: block; }
    .modal-success-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 16px;
      background: var(--accent-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: var(--accent);
    }
    .modal-success h3 {
      font-family: 'Manrope', sans-serif;
      color: var(--primary);
      margin-bottom: 8px;
    }
    .modal-success p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
    .btn-loading { opacity: 0.7; pointer-events: none; }
