/* =========================
   Contact pagina
========================= */


.contact-page {
  background: #f7f3ea;
  padding: 42px 70px 48px;
}

.contact-container {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  gap: 42px;
  align-items: start;
}

.contact-info h2,
.contact-form h2,
.visit-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  color: #111;
}

.contact-info h2 {
  margin-bottom: 26px;
  position: relative;
  padding-left: 44px;
}

.contact-info h2::before {
  content: "♜";
  position: absolute;
  left: 0;
  top: 1px;
  color: #bd822f;
  font-size: 24px;
}

.contact-list {
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 0 0 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(189, 130, 47, 0.35);
  border-radius: 50%;
  color: #173f34;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.contact-item h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 12px;
  line-height: 1.6;
  max-width: 390px;
}

.contact-item a {
  color: #bd822f;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.social-links a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #173f34;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.contact-map {
  margin-top: 34px;
  border-radius: 4px;
  overflow: hidden;
  min-height: 250px;
}

.contact-map img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.contact-form,
.visit-card {
  background: #fffaf1;
  border-radius: 6px;
  padding: 30px 34px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.contact-form h2,
.visit-card h2 {
  font-size: 25px;
  margin-bottom: 24px;
  position: relative;
}

.contact-form h2::before,
.visit-card h2::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  width: 78px;
  height: 2px;
  background: #bd822f;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  padding: 12px 14px;
  border-radius: 2px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  margin-bottom: 12px;
  outline: none;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #bd822f;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin: 2px 0 14px;
}

.privacy-check input {
  width: auto;
  margin: 0;
}

.privacy-check a {
  color: #bd822f;
}

.contact-form button,
.agenda-btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #173f34;
  color: #fff;
  padding: 12px 22px;
  border-radius: 2px;
  font-size: 12px;
  cursor: pointer;
}

.contact-form button:hover,
.agenda-btn:hover {
  background: #0f3027;
}

.form-note {
  font-size: 11px;
  margin-top: 14px;
}

.visit-card {
  background: #f6efe2;
  box-shadow: none;
}

.visit-card > p {
  font-size: 12px;
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 20px;
}

.visit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.visit-list > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
}

.visit-list span {
  color: #173f34;
  font-size: 17px;
  margin-top: 1px;
}

.visit-list h3 {
  font-size: 13px;
  margin-bottom: 4px;
}

.visit-list p {
  font-size: 11px;
  line-height: 1.5;
}


/* =========================
   Responsive contact
========================= */

@media (max-width: 1000px) {
  .contact-hero-content {
    padding: 0 28px;
  }

  .contact-page {
    padding: 42px 28px 48px;
  }

  .contact-container {
    gap: 32px;
  }

  .contact-hero-content img {
    margin-right: 20px;
  }
}

@media (max-width: 820px) {
  .contact-hero {
    min-height: 235px;
  }

  .contact-hero-content img {
    display: none;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info h2 {
    padding-left: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 520px) {
  .contact-hero-content {
    padding: 0 22px;
  }

  .contact-hero-content h1 {
    font-size: 34px;
  }

  .contact-hero-content p {
    font-size: 12px;
  }

  .contact-page {
    padding: 34px 22px 42px;
  }

  .contact-info h2,
  .contact-form h2,
  .visit-card h2 {
    font-size: 23px;
  }

  .contact-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .contact-form,
  .visit-card {
    padding: 26px 22px;
  }

  .contact-map img {
    height: 220px;
  }
}