/* ===== indexnew.php ===== */
:root {
      --bg: #f6f7fb;
      --panel: #ffffff;
      --text: #0f172a;
      --muted: #64748b;
      --accent: #7c5cff;
      --accent-dark: #5b3fd1;
      --border: #e2e8f0;
      --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Manrope", sans-serif;
      color: var(--text);
      background: radial-gradient(circle at top left, #eef2ff, transparent 55%), var(--bg);
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    header {
      padding: 24px 24px 0;
    }

    .menu-main {
      max-width: 1100px;
      margin: 0 auto 28px;
      display: flex;
      flex-wrap: nowrap;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      padding: 12px 20px;
      border-radius: 18px;
      border: 1px solid #e5e7eb;
      background: #fff;
      box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
      backdrop-filter: blur(10px);
    }

    .menu-main__link {
      text-decoration: none;
      padding: 10px 14px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 14px;
      color: #111827;
      background: transparent;
      border: 1px solid transparent;
      transition: all 0.2s ease;
    }

    .menu-main__link:hover {
      border-color: #e5e7eb;
      color: #111827;
      background: #f3f4f6;
    }

    .menu-main__link--logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 6px 12px;
      background: transparent;
    }

    .menu-main__toggle {
      display: none;
      align-items: center;
      gap: 8px;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #111827;
      padding: 8px 12px;
      border-radius: 12px;
      font-weight: 600;
      cursor: pointer;
    }

    .menu-main__toggle-icon {
      font-size: 16px;
      line-height: 1;
    }

    .menu-main__logo {
      height: 26px;
      width: auto;
      display: block;
    }

    .menu-main__drawer {
      display: flex;
      align-items: center;
      gap: 16px;
      flex: 1 1 auto;
      justify-content: center;
    }

    .menu-main__actions {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: auto;
    }

    .menu-main__socials {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .menu-main__icon-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #111827;
      transition: all 0.2s ease;
      text-decoration: none;
    }

    .menu-main__icon-link:hover {
      border-color: #e5e7eb;
      background: #f3f4f6;
      color: #111827;
    }

    .menu-main__icon {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .menu-main__center {
      display: flex;
      justify-content: center;
      gap: 14px;
    }

    .menu-main__link--accent {
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      color: #fff;
      box-shadow: 0 12px 24px rgba(124, 92, 255, 0.28);
      border-color: transparent;
    }

    .menu-main__link--contact {
      font-weight: 500;
      color: #374151;
    }

    .menu-main__link--accent:hover,
    .menu-main__link--accent:focus,
    .menu-main__link--accent:active,
    .menu-main__link--accent:visited,
    .menu-main__link--accent:focus-visible {
      color: #fff;
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      border-color: transparent;
      filter: brightness(1.05);
    }

    .work-status {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 14px 16px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.7);
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
      margin-bottom: 16px;
    }

    .work-status__dot {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      margin-top: 2px;
      background: #16a34a;
      box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
      animation: pulse 1.4s ease-in-out infinite;
      flex-shrink: 0;
    }

    .work-status__dot.is-offline {
      background: #dc2626;
      box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
    }

    .status-inline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
    }

    .status-inline__dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #16a34a;
      box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
      animation: pulse 1.4s ease-in-out infinite;
      flex-shrink: 0;
    }

    .work-status__text {
      font-weight: 600;
      color: #111827;
      line-height: 1.4;
    }

    .work-status__timer {
      margin-top: 4px;
      font-size: 14px;
      color: var(--muted);
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
      }
    }

    .work-status__dot.is-offline {
      animation-name: pulse-offline;
    }

    @keyframes pulse-offline {
      0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
      }
    }

    .menu-main__link--phone {
      margin-left: 0;
    }

    @media (max-width: 720px) {
      .menu-main {
        justify-content: space-between;
        flex-wrap: wrap;
      }

      .menu-main__toggle {
        display: inline-flex;
      }

      .menu-main__toggle-label {
        display: none;
      }

      .menu-main__center {
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
      }

      .menu-main__drawer {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding-top: 8px;
        border-top: 1px solid #e5e7eb;
        width: 100%;
        order: 1;
      }

      .menu-main.is-open .menu-main__drawer {
        display: flex;
      }

      .menu-main__actions {
        order: 2;
        flex-basis: 100%;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
      }

      .menu-main__socials {
        order: 1;
        justify-content: center;
      }

      .menu-main__link--phone {
        order: 2;
      }

      .menu-main__link--contact {
        order: 2;
      }

      .menu-main__link--accent:not(.menu-main__link--phone) {
        order: 3;
      }
    }

    .hero {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 32px;
      align-items: center;
    }

    .hero__badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .hero__badge {
      display: inline-flex;
      align-items: center;
      padding: 6px 14px;
      border-radius: 999px;
      background: rgba(124, 92, 255, 0.12);
      color: var(--accent-dark);
      font-weight: 600;
      font-size: 13px;
      white-space: nowrap;
      text-decoration: none;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .hero__badge:hover {
      background: rgba(124, 92, 255, 0.2);
    }

    .hero__title {
      font-size: clamp(28px, 4vw, 46px);
      font-weight: 700;
      margin: 16px 0 12px;
      line-height: 1.1;
    }

    .hero__subtitle {
      font-size: 18px;
      color: var(--muted);
      margin: 0 0 24px;
    }

    .hero__actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .button {
      border: none;
      border-radius: 14px;
      padding: 12px 20px;
      font-weight: 600;
      cursor: pointer;
      font-size: 15px;
    }

    .button--primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 12px 24px rgba(124, 92, 255, 0.3);
    }

    .button--ghost {
      background: #fff;
      color: var(--accent);
      border: 1px solid rgba(124, 92, 255, 0.3);
    }

    main {
      flex: 1;
      padding: 32px 24px 64px;
    }

    .form-card {
      max-width: 1100px;
      margin: 0 auto;
      background: var(--panel);
      border-radius: 28px;
      padding: 32px;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
    }

    .form-card__header {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 28px;
    }

    .form-card__title {
      font-size: 26px;
      font-weight: 700;
      margin: 0;
    }

    .form-card__desc {
      margin: 0;
      color: var(--muted);
    }

    .grid {
      display: grid;
      gap: 20px;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .field label {
      font-weight: 600;
      font-size: 14px;
    }

    .field input,
    .field select,
    .field textarea {
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 12px 14px;
      font-size: 15px;
      font-family: inherit;
      background: #fff;
      transition: border 0.2s ease;
    }

    .order-form .input-round {
      border-radius: 30px !important;
      border: 1.5px solid #e2e2e2 !important;
      height: 44px;
      line-height: 1.2;
    }

    .order-form select.input-round {
      appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%),
        linear-gradient(135deg, #94a3b8 50%, transparent 50%),
        linear-gradient(to right, transparent, transparent);
      background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px, 0 0;
      background-size: 6px 6px, 6px 6px, 100% 100%;
      background-repeat: no-repeat;
      padding-right: 36px;
    }

    .field textarea {
      min-height: 120px;
      resize: vertical;
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      border-color: var(--accent);
      outline: none;
      box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.15);
    }

    .section {
      margin: 28px 0 8px;
    }

    .section__title {
      font-size: 18px;
      font-weight: 700;
      margin: 0 0 4px;
    }

    .section__caption {
      margin: 0;
      color: var(--muted);
    }

    .pill-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .pill-button {
      border: 1.5px solid #dbe3f5;
      border-radius: 999px;
      padding: 10px 18px;
      background: #fff;
      font-weight: 600;
      color: #1e293b;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: border-color 0.2s ease, color 0.2s ease;
    }

    .pill-button.is-active {
      border-color: var(--accent);
      color: var(--accent-dark);
      background: rgba(124, 92, 255, 0.08);
    }

    .pill-info {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 1px solid currentColor;
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    .inline-note {
      font-size: 14px;
      color: var(--muted);
      margin-top: 8px;
    }

    .date-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 12px;
      margin-top: 12px;
    }

    .map-card {
      margin-top: 16px;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    }

    .map-card__frame {
      width: 100%;
      height: 280px;
      border: 0;
      display: block;
    }

    .map-card__info {
      padding: 16px;
      display: grid;
      gap: 8px;
      font-size: 14px;
      color: var(--muted);
    }

    .map-card__info strong {
      color: var(--text);
      font-size: 15px;
    }

    .map-card__list {
      margin: 0;
      padding-left: 0;
      list-style: none;
      display: grid;
      gap: 6px;
    }

    .map-card__item {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .map-card__copy {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 8px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: #f8fafc;
      color: #1f2937;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

    .map-card__copy:hover {
      background: #eef2ff;
      border-color: #c7d2fe;
      color: #4338ca;
    }

    .map-card__copy:focus-visible {
      outline: 2px solid #a5b4fc;
      outline-offset: 2px;
    }

    .map-card__copy.is-copied {
      background: #dcfce7;
      border-color: #86efac;
      color: #166534;
    }

    .map-card__copy-icon {
      width: 14px;
      height: 14px;
      fill: currentColor;
    }

    .info-card {
      margin-top: 16px;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: #fff;
      padding: 16px;
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
      color: var(--muted);
      font-size: 14px;
    }

    .info-card strong {
      color: var(--text);
      display: block;
      margin-bottom: 6px;
      font-size: 15px;
    }

    .info-card__layout {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 16px;
      align-items: center;
    }

    .info-card__media {
      display: block;
      width: 100%;
      max-height: 200px;
      object-fit: cover;
      border-radius: 14px;
    }

    .hint {
      background: rgba(124, 92, 255, 0.08);
      border-radius: 14px;
      padding: 16px;
      font-size: 14px;
      color: var(--accent-dark);
      border: 1px dashed rgba(124, 92, 255, 0.35);
    }

    .file-card {
      border: 1px dashed var(--border);
      border-radius: 16px;
      padding: 18px;
      background: #fafbff;
      display: grid;
      gap: 10px;
    }

    .file-card__row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 14px;
      color: var(--muted);
    }

    .file-card__row span {
      color: var(--text);
      font-weight: 500;
    }

    .file-listing {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      font-size: 14px;
      color: var(--text);
    }

    .remove-file {
      color: #ef4444;
      cursor: pointer;
      font-weight: 600;
    }

    .address-field input {
      width: 100%;
    }

    .file-note {
      font-size: 13px;
      color: var(--muted);
    }

    .file-list {
      list-style: none;
      margin: 12px 0 0;
      padding: 0;
      display: grid;
      gap: 8px;
    }

    .file-list__item {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      font-size: 14px;
      padding: 8px 12px;
      background: #fff;
      border-radius: 12px;
      border: 1px solid var(--border);
    }

    .file-list__name {
      color: var(--text);
      font-weight: 500;
    }

    .file-list__meta {
      color: var(--muted);
      font-size: 12px;
    }

    .suggestions {
      list-style: none;
      margin: 8px 0 0;
      padding: 0;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
      max-height: 240px;
      overflow-y: auto;
    }

    .suggestions__item {
      padding: 10px 12px;
      cursor: pointer;
      font-size: 14px;
      color: var(--text);
    }

    .suggestions__item:hover {
      background: rgba(124, 92, 255, 0.08);
    }

    .actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin-top: 24px;
      flex-wrap: wrap;
    }

    .modal {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.4);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      z-index: 1000;
    }

    .modal.is-open {
      display: flex;
    }

    .w3-modal {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.4);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      z-index: 1000;
    }

    .w3-modal-content {
      margin: auto;
      position: relative;
      outline: 0;
      padding: 0;
    }

    .w3-container {
      padding: 16px;
    }

    .modal__content {
      width: 100%;
      max-width: 640px;
      background: #fff;
      border-radius: 20px;
      padding: 24px;
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
      display: grid;
      gap: 16px;
    }

    .modal__title {
      font-size: 22px;
      font-weight: 700;
      margin: 0;
    }

    .modal__section {
      display: grid;
      gap: 8px;
    }

    .modal__list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 8px;
    }

    .modal__list li {
      display: grid;
      gap: 4px;
      font-size: 14px;
      color: var(--muted);
    }

    .modal__list strong {
      color: var(--text);
    }

    .modal__actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      flex-wrap: wrap;
    }

    .order-modal {
      background: rgba(15, 23, 42, 0.4);
    }

    .order-modal__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .order-modal__title {
      font-size: 1.65em;
      font-weight: 700;
      margin: 8px 0 16px;
      color: #0f172a;
    }

    #visit-modal .order-modal__header {
      width: 100%;
      align-items: flex-start;
      text-align: left;
      margin: 0 -16px 8px;
      padding: 16px 16px 0;
    }

    #visit-modal .order-modal__title {
      margin: 0;
      text-align: left;
    }

    #visit-modal .modal-close {
      margin-top: -4px;
      font-size: 32px;
      line-height: 1;
      color: #ef4444;
    }

    #visit-modal .auth-primary-button {
      background: #2563eb !important;
      color: #fff !important;
      border: none;
      box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
    }

    .order-modal .modal__content {
      width: 50%;
      max-width: none;
      border-radius: 24px;
      background: #fff;
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    }

    .order-modal .w3-modal-content {
      border-radius: 24px;
      background: #fff;
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    }

    .order-modal .order-form .input-round {
      border-radius: 16px !important;
      border: 1.5px solid #e5e7eb !important;
      min-height: 56px;
      font-size: 1.05em;
      padding: 14px 18px;
      width: 100%;
      background: #fff;
    }

    .order-modal .order-form textarea.input-round {
      min-height: 120px;
      resize: vertical;
    }

    .order-modal .order-form label {
      display: block;
      margin: 6px 0 8px 8px;
      font-weight: 500;
      font-size: 1.01em;
    }

    .order-modal .order-form .order-form__subtitle {
      font-size: 1.05em;
      font-weight: 700;
      margin-bottom: 10px;
      color: #0f172a;
    }

    .modal-close {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      padding: 0 !important;
      cursor: pointer;
      position: static !important;
    }

    .modal-close:hover {
      background: transparent !important;
    }

    .auth-primary-button {
      background: #2563eb;
      color: #fff !important;
      border: none;
      box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
    }

    .auth-primary-button:hover {
      background: #1d4ed8;
    }

    .visit-modal__section {
      margin-top: 16px;
    }

    .visit-modal__options {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 10px;
    }

    .visit-time-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-top: 10px;
    }

    .visit-option-button {
      border: 1.5px solid #e5e7eb;
      border-radius: 999px;
      font-weight: 600;
      font-size: 0.95em;
      padding: 8px 16px;
      background: #fff;
      color: #1e293b;
      transition: all 0.15s ease;
      cursor: pointer;
    }

    .visit-option-button:hover {
      border-color: #93c5fd;
      color: #1d4ed8;
      background: #f5f9ff;
    }

    .visit-option-button.is-active {
      background: #2563eb;
      border-color: #2563eb;
      color: #fff;
      box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    }

    .visit-option-button:disabled {
      opacity: 0.45;
      cursor: not-allowed;
      box-shadow: none;
    }

    .visit-car-input {
      margin-top: 10px;
    }

    .w3-text-red {
      color: #f44336;
    }

    .w3-button {
      border: none;
      background: transparent;
      cursor: pointer;
      padding: 8px 16px;
      font-family: inherit;
    }

    .w3-large {
      font-size: 1.05em;
    }

    .w3-round-xlarge {
      border-radius: 16px;
    }

    .w3-round-xxxlarge {
      border-radius: 999px;
    }

    .w3-block {
      display: block;
      width: 100%;
    }

    .w3-input {
      width: 100%;
      box-sizing: border-box;
    }

    .visit-modal__errors {
      color: #ef4444;
    }

    .visit-success {
      margin: 0 -16px;
    }

    .visit-success .map-card {
      border-radius: 0;
      border-left: none;
      border-right: none;
      margin: 0;
    }

    .visit-success .map-card__map {
      width: 100%;
      height: 400px;
      border: 0;
      display: block;
    }

    .visit-success .map-card__info {
      padding: 16px;
    }

    .visit-success__title {
      font-size: 1.4em;
      font-weight: 700;
      margin: 0 16px 20px;
      color: #0f172a;
      text-align: center;
    }

    .visit-success .button {
      margin: 12px 16px 0;
      width: calc(100% - 32px);
    }

    .modal__auth {
      display: none;
      gap: 12px;
    }

    .modal__auth.is-active {
      display: grid;
    }

    .modal__input {
      width: 100%;
      border-radius: 30px;
      border: 1.5px solid #e2e2e2;
      height: 56px;
      padding: 12px 14px 12px 58px;
      font-size: 18px;
      font-family: inherit;
    }

    .modal__auth-title {
      font-size: 20px;
      font-weight: 700;
      margin: 0;
    }

    .modal__auth-description {
      font-size: 15px;
      color: var(--muted);
    }

    .modal__auth-actions {
      display: grid;
      gap: 12px;
    }

    .modal__auth-stage {
      display: grid;
      gap: 16px;
    }

    .modal__auth-stage[hidden] {
      display: none;
    }

    .modal__call-number {
      font-size: 24px;
      font-weight: 700;
      letter-spacing: 1px;
      margin: 0;
    }

    .modal__call-number a {
      color: inherit;
      text-decoration: none;
    }

    .modal__timer {
      color: #ff6600;
      font-weight: 500;
    }

    .modal__qr {
      width: 140px;
      height: 140px;
      border-radius: 16px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      padding: 6px;
      background: #fff;
      display: grid;
      place-items: center;
    }

    .modal__secondary-text {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .modal__statuses {
      display: none;
      gap: 8px;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: #f8fafc;
    }

    .modal__statuses.is-visible {
      display: grid;
    }

    .modal__status {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      font-weight: 600;
      color: #111827;
    }

    .modal__status.is-hidden {
      display: none;
    }

    .modal__status-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #ef4444;
      box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
      animation: pulse-error 1.4s ease-in-out infinite;
      flex-shrink: 0;
    }

    .modal__status-dot.is-success {
      background: #16a34a;
      box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
      animation-name: pulse-success;
    }

    @keyframes pulse-error {
      0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
      }
      70% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
      }
    }

    @keyframes pulse-success {
      0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
      }
      70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
      }
    }

    .auth-sending {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      margin-top: 8px;
      text-align: center;
    }

    .auth-sending[hidden] {
      display: none;
    }

    .auth-call-content[hidden] {
      display: none;
    }

    .auth-sending__spinner {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 3px solid rgba(124, 92, 255, 0.2);
      border-top-color: var(--accent);
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .works-section {
      max-width: 1100px;
      margin: 0 auto 32px;
      padding: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
      border-radius: 0;
    }

    .works-section .form-card__header {
      text-align: center;
    }

    .pin-fullbleed {
      display: flex;
      justify-content: center;
      width: 100%;
    }

    @media (max-width: 720px) {
      .works-section {
        padding: 0;
      }
    }

    footer {
      padding: 24px;
      text-align: center;
      color: var(--muted);
      font-size: 14px;
    }

    @media (max-width: 720px) {
      .form-card {
        padding: 24px;
      }
      .hero__actions {
        flex-direction: column;
        align-items: flex-start;
      }
      .actions {
        justify-content: stretch;
      }
      .actions .button {
        flex: 1 1 auto;
      }
    }


/* ===== grav.php ===== */
:root {
      --bg: #f6f7fb;
      --panel: #ffffff;
      --text: #0f172a;
      --muted: #64748b;
      --accent: #7c5cff;
      --accent-dark: #5b3fd1;
      --border: #e2e8f0;
      --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Manrope", sans-serif;
      color: var(--text);
      background: radial-gradient(circle at top left, #eef2ff, transparent 55%), var(--bg);
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    header {
      padding: 24px 24px 0;
    }

    .menu-main {
      max-width: 1100px;
      margin: 0 auto 28px;
      display: flex;
      flex-wrap: nowrap;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      padding: 12px 20px;
      border-radius: 18px;
      border: 1px solid #e5e7eb;
      background: #fff;
      box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
      backdrop-filter: blur(10px);
    }

    .menu-main__link {
      text-decoration: none;
      padding: 10px 14px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 14px;
      color: #111827;
      background: transparent;
      border: 1px solid transparent;
      transition: all 0.2s ease;
    }

    .menu-main__link:hover {
      border-color: #e5e7eb;
      color: #111827;
      background: #f3f4f6;
    }

    .menu-main__link--logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 6px 12px;
      background: transparent;
    }

    .menu-main__toggle {
      display: none;
      align-items: center;
      gap: 8px;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #111827;
      padding: 8px 12px;
      border-radius: 12px;
      font-weight: 600;
      cursor: pointer;
    }

    .menu-main__toggle-icon {
      font-size: 16px;
      line-height: 1;
    }

    .menu-main__logo {
      height: 26px;
      width: auto;
      display: block;
    }

    .menu-main__drawer {
      display: flex;
      align-items: center;
      gap: 16px;
      flex: 1 1 auto;
      justify-content: center;
    }

    .menu-main__actions {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: auto;
    }

    .menu-main__socials {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .menu-main__icon-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #111827;
      transition: all 0.2s ease;
      text-decoration: none;
    }

    .menu-main__icon-link:hover {
      border-color: #e5e7eb;
      background: #f3f4f6;
      color: #111827;
    }

    .menu-main__icon {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .menu-main__center {
      display: flex;
      justify-content: center;
      gap: 14px;
    }

    .menu-main__link--accent {
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      color: #fff;
      box-shadow: 0 12px 24px rgba(124, 92, 255, 0.28);
      border-color: transparent;
    }

    .menu-main__link--contact {
      font-weight: 500;
      color: #374151;
    }

    .menu-main__link--accent:hover,
    .menu-main__link--accent:focus,
    .menu-main__link--accent:active,
    .menu-main__link--accent:visited,
    .menu-main__link--accent:focus-visible {
      color: #fff;
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      border-color: transparent;
      filter: brightness(1.05);
    }

    @media (max-width: 720px) {
      .menu-main {
        justify-content: space-between;
        flex-wrap: wrap;
      }

      .menu-main__toggle {
        display: inline-flex;
      }

      .menu-main__toggle-label {
        display: none;
      }

      .menu-main__center {
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
      }

      .menu-main__drawer {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding-top: 8px;
        border-top: 1px solid #e5e7eb;
        width: 100%;
        order: 1;
      }

      .menu-main.is-open .menu-main__drawer {
        display: flex;
      }

      .menu-main__actions {
        order: 2;
        flex-basis: 100%;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
      }

      .menu-main__socials {
        order: 1;
        justify-content: center;
      }

      .menu-main__link--phone {
        order: 2;
      }

      .menu-main__link--contact {
        order: 2;
      }

      .menu-main__link--accent:not(.menu-main__link--phone) {
        order: 3;
      }
    }

    main {
      max-width: 1100px;
      margin: 0 auto;
      padding: 24px;
      flex: 1;
    }

    .page-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .page-header__title {
      font-size: clamp(28px, 4vw, 42px);
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text);
      line-height: 1.1;
    }

    .page-header__description {
      font-size: 18px;
      color: var(--muted);
      max-width: 600px;
      margin: 0 auto;
    }

    .form-card {
      background: #fff;
      border-radius: 18px;
      border: 1px solid var(--border);
      padding: 24px;
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
      margin-bottom: 32px;
    }

    .input-group {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .input-field {
      flex: 1;
      min-width: 250px;
      padding: 14px 18px;
      border-radius: 16px;
      border: 1.5px solid #e5e7eb;
      font-size: 16px;
      font-family: inherit;
      transition: all 0.2s ease;
    }

    .input-field:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.1);
    }

    .button {
      border: none;
      border-radius: 14px;
      padding: 14px 28px;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: inherit;
    }

    .button--primary {
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      color: #fff;
      box-shadow: 0 12px 24px rgba(124, 92, 255, 0.28);
    }

    .button--primary:hover {
      filter: brightness(1.05);
      transform: translateY(-1px);
    }

    .font-grid {
      display: grid;
      gap: 24px;
    }

    .font-card {
      background: #fff;
      border-radius: 18px;
      border: 1px solid var(--border);
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
    }

    .font-card:hover {
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
      transform: translateY(-2px);
    }

    .font-card__header {
      padding: 16px 20px;
      background: #f8fafc;
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .font-card__name {
      font-weight: 700;
      color: var(--text);
      font-size: 15px;
    }

    .font-card__number {
      font-size: 13px;
      color: var(--muted);
      font-weight: 600;
    }

    .font-card__preview {
      padding: 32px 24px;
      font-size: 32px;
      min-height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow-wrap: break-word;
      word-break: break-word;
    }

    .share-section {
      background: linear-gradient(135deg, rgba(124, 92, 255, 0.1), rgba(109, 40, 217, 0.1));
      border-radius: 18px;
      padding: 24px;
      margin-top: 40px;
      border: 1px solid rgba(124, 92, 255, 0.2);
    }

    .share-section__title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text);
    }

    .share-link {
      background: #fff;
      padding: 16px 20px;
      border-radius: 12px;
      border: 1px solid var(--border);
      font-family: 'Courier New', monospace;
      font-size: 14px;
      word-break: break-all;
      color: var(--accent);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .share-link:hover {
      background: #f8fafc;
      border-color: var(--accent);
    }

    footer {
      padding: 24px;
      text-align: center;
      color: var(--muted);
      font-size: 14px;
      margin-top: 40px;
    }


/* ===== encycl.php ===== */
:root {
      --bg: #f6f7fb;
      --panel: #ffffff;
      --text: #0f172a;
      --muted: #64748b;
      --accent: #7c5cff;
      --accent-dark: #5b3fd1;
      --border: #e2e8f0;
      --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Manrope", sans-serif;
      color: var(--text);
      background: radial-gradient(circle at top left, #eef2ff, transparent 55%), var(--bg);
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    header {
      padding: 24px 24px 0;
    }

    .menu-main {
      max-width: 1100px;
      margin: 0 auto 28px;
      display: flex;
      flex-wrap: nowrap;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      padding: 12px 20px;
      border-radius: 18px;
      border: 1px solid #e5e7eb;
      background: #fff;
      box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
      backdrop-filter: blur(10px);
    }

    .menu-main__link {
      text-decoration: none;
      padding: 10px 14px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 14px;
      color: #111827;
      background: transparent;
      border: 1px solid transparent;
      transition: all 0.2s ease;
    }

    .menu-main__link:hover {
      border-color: #e5e7eb;
      color: #111827;
      background: #f3f4f6;
    }

    .menu-main__link--logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 6px 12px;
      background: transparent;
    }

    .menu-main__toggle {
      display: none;
      align-items: center;
      gap: 8px;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #111827;
      padding: 8px 12px;
      border-radius: 12px;
      font-weight: 600;
      cursor: pointer;
    }

    .menu-main__toggle-icon {
      font-size: 16px;
      line-height: 1;
    }

    .menu-main__logo {
      height: 26px;
      width: auto;
      display: block;
    }

    .menu-main__drawer {
      display: flex;
      align-items: center;
      gap: 16px;
      flex: 1 1 auto;
      justify-content: center;
    }

    .menu-main__actions {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: auto;
    }

    .menu-main__socials {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .menu-main__icon-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #111827;
      transition: all 0.2s ease;
      text-decoration: none;
    }

    .menu-main__icon-link:hover {
      border-color: #e5e7eb;
      background: #f3f4f6;
      color: #111827;
    }

    .menu-main__icon {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .menu-main__center {
      display: flex;
      justify-content: center;
      gap: 14px;
    }

    .menu-main__link--accent {
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      color: #fff;
      box-shadow: 0 12px 24px rgba(124, 92, 255, 0.28);
      border-color: transparent;
    }

    .menu-main__link--contact {
      font-weight: 500;
      color: #374151;
    }

    .menu-main__link--accent:hover,
    .menu-main__link--accent:focus,
    .menu-main__link--accent:active,
    .menu-main__link--accent:visited,
    .menu-main__link--accent:focus-visible {
      color: #fff;
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      border-color: transparent;
      filter: brightness(1.05);
    }

    .menu-main__link--phone {
      margin-left: 0;
    }

    @media (max-width: 720px) {
      .menu-main {
        justify-content: space-between;
        flex-wrap: wrap;
      }

      .menu-main__toggle {
        display: inline-flex;
      }

      .menu-main__toggle-label {
        display: none;
      }

      .menu-main__center {
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
      }

      .menu-main__actions {
        order: 3;
      }

      .menu-main__drawer {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding-top: 8px;
        border-top: 1px solid #e5e7eb;
        width: 100%;
      }

      .menu-main.is-open .menu-main__drawer {
        display: flex;
      }

      .menu-main__link--contact {
        order: 2;
      }
    }

    .hero {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 32px;
      align-items: center;
    }

    .hero__badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .hero__badge {
      display: inline-flex;
      align-items: center;
      padding: 6px 14px;
      border-radius: 999px;
      background: rgba(124, 92, 255, 0.12);
      color: var(--accent-dark);
      font-weight: 600;
      font-size: 13px;
      white-space: nowrap;
    }

    .hero__title {
      font-size: clamp(28px, 4vw, 46px);
      font-weight: 700;
      margin: 16px 0 12px;
      line-height: 1.1;
    }

    .hero__subtitle {
      font-size: 18px;
      color: var(--muted);
      margin: 0 0 24px;
    }

    .hero__actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .button {
      border: none;
      border-radius: 14px;
      padding: 12px 20px;
      font-weight: 600;
      cursor: pointer;
      font-size: 15px;
    }

    .button--primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 12px 24px rgba(124, 92, 255, 0.3);
      text-decoration: none;
    }

    .button--ghost {
      background: #fff;
      color: var(--accent);
      border: 1px solid rgba(124, 92, 255, 0.3);
      text-decoration: none;
    }

    main {
      flex: 1;
      padding: 32px 24px 64px;
    }

    .form-card {
      max-width: 1100px;
      margin: 0 auto;
      background: var(--panel);
      border-radius: 28px;
      padding: 32px;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
    }

    .form-card__header {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 28px;
    }

    .form-card__title {
      font-size: 26px;
      font-weight: 700;
      margin: 0;
    }

    .form-card__desc {
      margin: 0;
      color: var(--muted);
    }

    .section {
      margin: 28px 0 12px;
    }

    .section__title {
      font-size: 18px;
      font-weight: 700;
      margin: 0 0 4px;
    }

    .section__caption {
      margin: 0;
      color: var(--muted);
    }

    .pill-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .pill-button {
      border: 1.5px solid #dbe3f5;
      border-radius: 999px;
      padding: 10px 18px;
      background: #fff;
      font-weight: 600;
      color: #1e293b;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: border-color 0.2s ease, color 0.2s ease;
    }

    .pill-button.is-active {
      border-color: var(--accent);
      color: var(--accent-dark);
      background: rgba(124, 92, 255, 0.08);
    }

    .pill-info {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 1px solid currentColor;
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    .info-card {
      margin-top: 16px;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: #fff;
      padding: 16px;
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
      color: var(--muted);
      font-size: 14px;
    }

    .info-card strong {
      color: var(--text);
      display: block;
      margin-bottom: 6px;
      font-size: 15px;
    }

    .info-card__layout {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
      gap: 18px;
      align-items: start;
    }

    .info-card__media {
      display: block;
      width: 100%;
      max-height: 220px;
      object-fit: cover;
      border-radius: 14px;
      border: 1px solid rgba(124, 92, 255, 0.18);
    }

    .info-card__intro {
      margin-bottom: 16px;
      color: var(--muted);
    }

    .tech-table {
      width: 100%;
      border-collapse: collapse;
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      font-size: 14px;
    }

    .tech-table th,
    .tech-table td {
      padding: 10px 12px;
      text-align: left;
      border-bottom: 1px solid var(--border);
      vertical-align: top;
    }

    .tech-table th {
      background: #f8fafc;
      font-weight: 600;
      color: var(--text);
    }

    .tech-table tr:last-child td {
      border-bottom: none;
    }

    .tech-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }

    .tech-tag {
      background: rgba(124, 92, 255, 0.12);
      color: var(--accent-dark);
      border-radius: 999px;
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 600;
    }

    .tech-requirements {
      margin-bottom: 16px;
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: #f8fafc;
      color: var(--text);
    }

    .tech-requirements__title {
      font-size: 15px;
      font-weight: 700;
      margin: 0 0 6px;
    }

    .tech-requirements__intro {
      margin: 0 0 10px;
      color: var(--muted);
      font-size: 13px;
    }

    .tech-requirements__list {
      margin: 0;
      padding-left: 18px;
      color: var(--text);
      font-size: 13px;
    }

    .tech-requirements__list li + li {
      margin-top: 6px;
    }

    .tech-requirements__table {
      width: 100%;
      border-collapse: collapse;
      margin: 8px 0 12px;
      font-size: 13px;
    }

    .tech-requirements__table th,
    .tech-requirements__table td {
      padding: 6px 8px;
      border: 1px solid var(--border);
      text-align: left;
      vertical-align: top;
    }

    .tech-requirements__table th {
      background: #fff;
      font-weight: 600;
    }

    footer {
      padding: 24px;
      text-align: center;
      color: var(--muted);
      font-size: 14px;
    }

    @media (max-width: 960px) {
      .info-card__layout {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 720px) {
      .form-card {
        padding: 24px;
      }
      .hero__actions {
        flex-direction: column;
        align-items: flex-start;
      }
    }


/* ===== pets.php ===== */
:root {
      --bg: #f6f7fb;
      --panel: #ffffff;
      --text: #0f172a;
      --muted: #64748b;
      --accent: #7c5cff;
      --border: #e5e7eb;
      --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: "Manrope", sans-serif;
      color: var(--text);
      background: radial-gradient(circle at top left, #eef2ff, transparent 55%), var(--bg);
    }

    .page { min-height: 100vh; display: flex; flex-direction: column; }
    header { padding: 24px 24px 0; }
    main { flex: 1; padding: 0 24px 48px; }
    footer { padding: 24px; text-align: center; color: var(--muted); font-size: 14px; }

    .menu-main {
      max-width: 1100px;
      margin: 0 auto 28px;
      display: flex;
      flex-wrap: nowrap;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      padding: 12px 20px;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    }

    .menu-main__link {
      text-decoration: none;
      padding: 10px 14px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 14px;
      color: #111827;
      border: 1px solid transparent;
    }

    .menu-main__link:hover { border-color: var(--border); background: #f3f4f6; }
    .menu-main__link--logo { display: inline-flex; align-items: center; padding: 6px 12px; }
    .menu-main__logo { height: 26px; width: auto; display: block; }
    .menu-main__drawer { display: flex; align-items: center; gap: 16px; flex: 1 1 auto; justify-content: center; }
    .menu-main__center { display: flex; gap: 14px; }
    .menu-main__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
    .menu-main__link--accent {
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      color: #fff;
      border-color: transparent;
      box-shadow: 0 12px 24px rgba(124, 92, 255, 0.25);
    }

    .container {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      gap: 24px;
    }

    .hero {
      background: var(--panel);
      border-radius: 24px;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
      padding: 34px;
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 24px;
      align-items: center;
    }

    .hero h1 { margin: 0 0 14px; font-size: 36px; line-height: 1.2; }
    .hero p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }

    .hero-card {
      border: 1px dashed #c7d2fe;
      background: #f8faff;
      border-radius: 20px;
      padding: 18px;
    }

    .badge {
      display: inline-flex;
      padding: 6px 12px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
      color: #4338ca;
      background: #e0e7ff;
      margin-bottom: 12px;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .card {
      background: var(--panel);
      border-radius: 18px;
      border: 1px solid var(--border);
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
      padding: 18px;
    }

    .card h3 { margin: 0 0 8px; font-size: 18px; }
    .card p, .card li { color: var(--muted); }

    .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
    .steps li {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 12px;
    }

    .cta {
      background: linear-gradient(135deg, #1e1b4b, #312e81);
      color: #fff;
      border-radius: 24px;
      padding: 28px;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
    }

    .btn {
      text-decoration: none;
      padding: 12px 18px;
      border-radius: 12px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid transparent;
    }

    .btn--light { background: #fff; color: #111827; }
    .btn--ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
    .btn--primary { background: linear-gradient(135deg, #7c5cff, #6d28d9); color: #fff; }

    .hero__actions {
      margin-top: 14px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }


    .pets-look {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .pets-look__item {
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    }

    .pets-look__image {
      width: 100%;
      height: 300px;
      object-fit: cover;
      display: block;
    }

    .pets-look__caption {
      padding: 10px 12px;
      color: var(--muted);
      font-size: 0.92em;
    }

    @media (max-width: 980px) {
      .menu-main { flex-wrap: wrap; }
      .hero { grid-template-columns: 1fr; }
      .grid-3 { grid-template-columns: 1fr; }
      .pets-look { grid-template-columns: 1fr; }
      .cta { flex-direction: column; align-items: flex-start; }
      .menu-main__drawer { order: 3; width: 100%; justify-content: flex-start; }
      .menu-main__actions { margin-left: 0; }
    }


/* ===== market.php ===== */
:root {
      --bg: #f6f7fb;
      --panel: #ffffff;
      --text: #0f172a;
      --muted: #64748b;
      --accent: #7c5cff;
      --border: #e5e7eb;
      --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Manrope", sans-serif;
      color: var(--text);
      background: radial-gradient(circle at top left, #eef2ff, transparent 55%), var(--bg);
    }

    footer {
      padding: 24px;
      text-align: center;
      color: var(--muted);
      font-size: 14px;
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    header {
      padding: 24px 24px 0;
    }

    .menu-main {
      max-width: 1100px;
      margin: 0 auto 28px;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      padding: 12px 20px;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
      backdrop-filter: blur(10px);
    }

    .menu-main__link {
      text-decoration: none;
      padding: 10px 14px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 14px;
      color: #111827;
      background: transparent;
      border: 1px solid transparent;
      transition: all 0.2s ease;
    }

    .menu-main__link:hover {
      border-color: var(--border);
      color: #111827;
      background: #f3f4f6;
    }

    .menu-main__link--logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 6px 12px;
      background: transparent;
    }

    .menu-main__toggle {
      display: none;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--border);
      background: #fff;
      color: #111827;
      padding: 8px 12px;
      border-radius: 12px;
      font-weight: 600;
      cursor: pointer;
    }

    .menu-main__toggle-icon {
      font-size: 16px;
      line-height: 1;
    }

    .menu-main__logo {
      height: 26px;
      width: auto;
      display: block;
    }

    .menu-main__drawer {
      display: flex;
      align-items: center;
      gap: 16px;
      flex: 1 1 auto;
      justify-content: center;
    }

    .menu-main__actions {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: auto;
    }

    .menu-main__socials {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .menu-main__icon-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: #fff;
      color: #111827;
      transition: all 0.2s ease;
      text-decoration: none;
    }

    .menu-main__icon-link:hover {
      border-color: var(--border);
      background: #f3f4f6;
      color: #111827;
    }

    .menu-main__icon {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .menu-main__center {
      display: flex;
      justify-content: center;
      gap: 14px;
    }

    .menu-main__link--accent {
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      color: #fff;
      box-shadow: 0 12px 24px rgba(124, 92, 255, 0.28);
      border-color: transparent;
    }

    .menu-main__link--contact {
      font-weight: 500;
      color: #374151;
    }

    .menu-main__link--accent:hover,
    .menu-main__link--accent:focus,
    .menu-main__link--accent:active,
    .menu-main__link--accent:visited,
    .menu-main__link--accent:focus-visible {
      color: #fff;
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      border-color: transparent;
      filter: brightness(1.05);
    }

    .menu-main__link--phone {
      margin-left: 0;
    }

    main {
      flex: 1;
      padding: 0 24px 48px;
    }

    .market {
      max-width: 1100px;
      margin: 0 auto;
      background: var(--panel);
      border-radius: 24px;
      box-shadow: var(--shadow);
      padding: 32px;
    }

    .market__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 24px;
    }

    .market__layout {
      display: grid;
      grid-template-columns: max-content 1fr;
      gap: 24px;
      align-items: start;
    }

    .market__nav {
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 16px;
      background: #fff;
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: max-content;
    }

    .market__nav-title {
      font-weight: 600;
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 4px;
    }

    .market__nav-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 8px;
    }

    .market__nav-list--nested {
      padding-left: 14px;
      border-left: 1px dashed var(--border);
      margin-left: 6px;
      gap: 6px;
    }

    .market__nav-item {
      display: grid;
      gap: 6px;
    }

    .market__nav-link {
      text-decoration: none;
      color: #111827;
      font-weight: 600;
      font-size: 14px;
      padding: 8px 10px;
      border-radius: 10px;
      border: 1px solid transparent;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .market__nav-link:hover,
    .market__nav-link.is-active {
      border-color: var(--border);
      background: #f3f4f6;
    }

    .market__title {
      font-size: 28px;
      margin: 0;
    }

    .market__subtitle {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .market-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .market-card {
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 18px;
      background: #fff;
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 160px;
    }

    .market-card__image {
      width: 100%;
      height: 140px;
      border-radius: 12px;
      object-fit: cover;
      border: 1px solid var(--border);
      background: #f8fafc;
    }

    .market-card__name {
      font-weight: 600;
      margin: 0;
      font-size: 16px;
    }

    .market-card__desc {
      color: var(--muted);
      font-size: 13px;
    }

    .market-card__meta {
      color: var(--muted);
      font-size: 13px;
    }

    .market-card__price {
      font-weight: 700;
      font-size: 18px;
      margin-top: auto;
    }

    .market-card__actions {
      display: flex;
      gap: 10px;
      margin-top: 8px;
      flex-wrap: wrap;
    }

    .market-button {
      border: none;
      border-radius: 10px;
      padding: 8px 14px;
      font-weight: 600;
      cursor: pointer;
      font-size: 14px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .market-button--primary {
      background: linear-gradient(135deg, #7c5cff, #6d28d9);
      color: #fff;
    }

    .market-button--ghost {
      background: #f3f4f6;
      color: #111827;
    }

    .modal {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.4);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      z-index: 1000;
    }

    .modal.is-open {
      display: flex;
    }

    .modal__content {
      width: 100%;
      max-width: 640px;
      background: #fff;
      border-radius: 20px;
      padding: 24px;
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
      display: grid;
      gap: 16px;
    }

    .modal__auth {
      display: none;
      gap: 12px;
    }

    .modal__auth.is-active {
      display: grid;
    }

    .modal__auth-title {
      font-size: 20px;
      font-weight: 700;
      margin: 0;
    }

    .modal__auth-description {
      font-size: 15px;
      color: var(--muted);
    }

    .modal__auth-actions {
      display: grid;
      gap: 12px;
    }

    .modal__auth-stage {
      display: grid;
      gap: 16px;
    }

    .modal__auth-stage[hidden] {
      display: none;
    }

    .modal__call-number {
      font-size: 24px;
      font-weight: 700;
      letter-spacing: 1px;
      margin: 0;
    }

    .modal__call-number a {
      color: inherit;
      text-decoration: none;
    }

    .modal__timer {
      color: #ff6600;
      font-weight: 500;
    }

    .modal__qr {
      width: 140px;
      height: 140px;
      border-radius: 16px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      padding: 6px;
      background: #fff;
      display: grid;
      place-items: center;
    }

    .modal__secondary-text {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .modal__actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      flex-wrap: wrap;
    }

    .modal__input {
      width: 100%;
      border-radius: 30px;
      border: 1.5px solid #e2e2e2;
      height: 56px;
      padding: 12px 14px 12px 58px;
      font-size: 18px;
      font-family: inherit;
    }

    .button {
      border: none;
      border-radius: 14px;
      padding: 12px 20px;
      font-weight: 600;
      cursor: pointer;
      font-size: 15px;
    }

    .button--primary {
      background: var(--accent);
      color: #fff;
    }

    .button--ghost {
      background: #f1f5f9;
      color: #111827;
    }

    .market-modal {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      z-index: 50;
    }

    .market-modal.is-open {
      display: flex;
    }

    .market-modal__content {
      background: #fff;
      border-radius: 20px;
      padding: 24px;
      max-width: 540px;
      width: 100%;
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .market-modal__carousel {
      position: relative;
      display: grid;
      gap: 8px;
    }

    .market-modal__image {
      width: 100%;
      border-radius: 14px;
      height: 220px;
      object-fit: cover;
      border: 1px solid var(--border);
      background: #f8fafc;
    }

    .market-modal__carousel-controls {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .market-modal__carousel-button {
      border: 1px solid var(--border);
      background: #fff;
      border-radius: 10px;
      padding: 6px 10px;
      font-weight: 600;
      cursor: pointer;
    }

    .market-modal__carousel-button:disabled {
      cursor: default;
      opacity: 0.5;
    }

    .market-modal__carousel-counter {
      color: var(--muted);
      font-size: 13px;
    }

    .market-modal__title {
      margin: 0;
      font-size: 20px;
    }

    .market-modal__desc {
      color: var(--muted);
      font-size: 14px;
    }

    .market-modal__price {
      font-size: 18px;
      font-weight: 700;
    }

    .market-modal__actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .market-empty {
      text-align: center;
      padding: 32px;
      color: var(--muted);
      border: 1px dashed var(--border);
      border-radius: 16px;
    }

    .loader-container {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px;
    }

    .loader {
      border: 4px solid #f3f4f6;
      border-top: 4px solid #2563eb;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    @media (max-width: 720px) {
      .menu-main {
        justify-content: space-between;
      }

      .menu-main__toggle {
        display: inline-flex;
      }

      .menu-main__toggle-label {
        display: none;
      }

      .menu-main__center {
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
      }

      .menu-main__actions {
        order: 3;
      }

      .menu-main__drawer {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding-top: 8px;
        border-top: 1px solid var(--border);
        width: 100%;
      }

      .menu-main.is-open .menu-main__drawer {
        display: flex;
      }

      .menu-main__link--contact {
        order: 2;
      }

      .market {
        padding: 24px;
      }

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

      .market__header {
        flex-direction: column;
        align-items: flex-start;
      }
    }


/* ===== Unified FabStream menu consistency ===== */
.menu-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

.menu-main__drawer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  justify-content: center;
}

.menu-main__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

@media (max-width: 720px) {
  .menu-main {
    flex-wrap: wrap;
  }

  .menu-main__toggle {
    display: inline-flex;
  }

  .menu-main__drawer {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 10px;
  }

  .menu-main.is-open .menu-main__drawer {
    display: flex;
  }
}

/* ===== indexnew.php layout overrides ===== */
.page > main {
  max-width: none;
  margin: 0;
  padding: 32px 24px 64px;
}

.page .hero,
.page .form-card {
  max-width: 1100px;
}

.page .form-card.works-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
