

.contact-inner {
  max-width: 1000px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;   
}

.contact-form form {
  background: var(--card-bg);
  padding: 22px 20px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border: 1px solid var(--border-soft);
  height: 100%;          
}

.contact-form .form-row {
  margin-bottom: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.16);
  padding: 9px 11px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red-main);
  box-shadow: 0 0 0 2px rgba(198,40,40,0.18);
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 6px;
}

.contact-right-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;           
}

.contact-info {
  background: #ffffff;
  padding: 20px 18px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  border-left: 4px solid var(--red-main);
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--red-main);
}

.contact-info p {
  margin: 0 0 10px;
}

.contact-info a {
  color: var(--red-main);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.vinc-title {
  color: #1e0505 !important;
  font-weight: 600;
}
.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-phones .inline-phones {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.contact-phones .vinc-title,
.contact-phones .vinc-phone,
.contact-phones .email-label,
.contact-phones .email-link {
  display: block !important;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-phones .vinc-title,
.contact-phones .vinc-phone {
  display: block;
}

.contact-phones strong:last-of-type,
.contact-phones a[href^="mailto"] {
  display: block;
}

.contact-map {
  width: 100%;
  height: 260px;                 
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  border: 2px solid rgba(0,0,0,0.08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-right-block,
  .contact-form form {
    height: auto;
  }

  .contact-map {
    height: 220px;      
  }

  .contact-form .btn-primary {
    width: 100%;
  }
}



.site-footer {
  background: #1a1a1a;
  color: #eee;
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-logo {
  width: 110px;
  margin-bottom: 6px;
  filter: brightness(1.3);
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: #bbb;
}

.footer-socials {
  display: flex;
  gap: 18px;
}

.footer-socials a {
  color: #fff;
  font-size: 28px;
  transition: 0.25s ease;
}

.footer-socials a:hover {
  color: var(--red-soft);
  transform: translateY(-3px);
}

.footer-bottom p {
  text-align: center;
}

.footer-bottom a {
  color: inherit;      
  text-decoration: none;
  font-weight: 600;    
}

.footer-bottom a:hover {
  color: #c62828;     
}



.footer-bottom {
  margin-top: 20px;
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
}


@media (max-width: 768px) {
  .footer-brand {
    width: 100%;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 10px;
    width: 130px; 
  }

  .footer-brand p {
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
    width: 100%;
  }
}


