/*
 * Súbor: css/pages/stavba-domu/contact.css
 * Obsah: Základ oblastí pôsobenia a kontaktu: lokality, mapa, kontaktné údaje, formulár, polia, prílohy a responzívne varianty formulára.
 * Použitie: sluzba-stavba-domu-a-holodomu.html.
 * Zapojenie: <link rel="stylesheet" href="css/pages/stavba-domu/contact.css">; zachovaj pozíciu v hlavičke podľa css/README.md.
 * Závislosti: HTML triedy a selektory uvedené v pravidlách nižšie, css/general/base.css a farebné premenné témy stránky.
 */
/*
     * LOCATIONS
     */

    .locations-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
      gap: 48px;
      align-items: center;
    }

    .locations-copy {
      margin-bottom: 0;
    }

    .locations-copy > p:last-child {
      margin-bottom: 0;
    }

    .location-map {
      position: relative;
      width: 100%;
      max-width: 660px;
      justify-self: center;
    }

    .location-map-visual {
      position: relative;
    }

    .location-map-visual img {
      width: 100%;
      height: auto;
    }

    .location-map-connectors {
      display: none;
    }

    .location-map-dot {
      position: absolute;
      left: var(--x);
      top: var(--y);
      width: 9px;
      height: 9px;
      border: 2px solid #fff;
      border-radius: 50%;
      background: #173e65;
      box-shadow: 0 1px 5px rgb(23 62 101 / 25%);
      transform: translate(-50%, -50%);
    }

    .location-map-dot--primary {
      width: 14px;
      height: 14px;
      border-width: 2px;
    }

    .location-list p {
      position: absolute;
      left: var(--x);
      top: var(--y);
      margin: 0;
      padding-left: 8px;
      color: #173e65;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.25;
      white-space: nowrap;
      text-shadow: 0 1px 2px rgb(255 255 255 / 80%);
      transform: translateY(-50%);
    }

    .location-list .location-city--primary {
      padding-left: 11px;
      font-size: 15px;
      transform: translateY(-20%);
    }

    .benefits-strip {
      padding: 12px 0;
      background: #fff;
      border-block: 1px solid var(--border);
    }

    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      align-items: stretch;
      text-align: center;
    }

    .benefit-item {
      min-width: 0;
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 12px 16px;
      border-right: 1px solid var(--border);
      color: var(--text);
      font-size: 16px;
      font-weight: 700;
      line-height: 1.35;
      text-align: center;
    }

    .benefit-check {
      flex: 0 0 auto;
      width: 32px;
      height: 32px;
      padding: 7px;
      color: var(--accent);
      background: var(--accent-soft);
      border-radius: 50%;
    }

    .benefit-item:last-child {
      border-right: 0;
    }

    @media (max-width: 1023px) {
      .locations-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
      }
    }

    @media (max-width: 767px) {
      .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .benefit-item:nth-child(2n) {
        border-right: 0;
      }

      .benefit-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
      }

      .benefit-item {
        flex-direction: column;
        gap: 8px;
        min-height: 100px;
        padding: 10px 8px;
        font-size: 12px;
      }

      .location-map-dot {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
      }

      .location-map-dot--primary {
        width: 12px;
        height: 12px;
        border-width: 2px;
      }

      .location-map-connectors {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        fill: none;
        stroke: #173e65;
        stroke-opacity: 0.55;
        stroke-width: 0.75px;
        pointer-events: none;
      }

      .location-map-connectors path {
        vector-effect: non-scaling-stroke;
      }

      .location-list p,
      .location-list .location-city--primary {
        left: var(--mobile-x);
        top: var(--mobile-y);
        padding: 0;
        font-size: clamp(11px, 2.5vw, 14px);
        line-height: 1.2;
        text-shadow: 0 0 3px #fff, 0 1px 2px rgb(255 255 255 / 80%);
        transform: translateY(-50%);
      }

      .location-list .location-city--primary {
        font-size: clamp(13px, 3vw, 16px);
      }
    }

    /*
     * CONTACT
     */

    .contact-grid {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 64px;
      align-items: start;
    }

    .contact-details {
      margin-top: 32px;
      display: grid;
      gap: 16px;
    }

    .contact-details strong {
      display: block;
    }

    .contact-form {
      padding: 38px;
      background: var(--palette-light);
      border: 1px solid var(--border);
      border-radius: var(--radius);
    }
