.about-section {
  gap: 15px;
  display: grid;
  grid-template-columns: 1fr auto;
}
.about-text {flex: 1 1 500px;
  min-width: 280px; }
.contacts {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
}
.contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 18px;
}
.contact span { font-size: clamp(0.9rem, 3vw, 1.1rem); }
.contact-icon {
  width: 26px;
  height: 26px;
  fill: #555555;
  flex-shrink: 0;
  transition: transform 0.2s ease, fill 0.2s ease;
}
.contact:hover { fill: #c8a717; }
.contact-icon:hover {
  transform: scale(1.15);
  fill: #c8a717;
}
.certificate {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 20px 0;
  width: 100%;
  max-width: 300px;
}
.certificate img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.certificate:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}
.certificate-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 6px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  pointer-events: none;
}
.certificate:hover .certificate-caption { opacity: 1; }
.photo-section {
  margin-top: clamp(30px, 5vw, 60px);
  margin-bottom: clamp(20px, 4vw, 50px);
  grid-column: 1 / -1;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.photo-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.map-photo-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.map-section, .map-photo {
    flex: 1;
    min-width: 300px;
}
.map-section iframe, .map-photo img {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    object-fit: cover;
}
.tilda-link-contact { display: none; }
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: pointer;
}
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
  transition: transform 0.3s;
}
#lightbox img:hover { transform: scale(1.02); }
html { scroll-behavior: smooth; }
.anchor-nav {
  background: #f0f0f0;
  border-radius: 10px;
  padding: 10px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 140px;
  z-index: 900;
}
.anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.anchor-nav a {
  color: #6d7378;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.anchor-nav a:hover,
.anchor-nav a.active {
  color: black;
  border-bottom: 2px solid #ffd700;
  background-color: rgba(255, 215, 0, 0.15);
  transition: all 0.25s ease;
}
.pay_section {
  margin-bottom: 40px;
  padding-bottom: 25px;
  position: relative;
}
.pay_section::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(136, 136, 136, 0.4),
    transparent);
}
.payments {
  color: black;
  font-size: clamp(1rem, 1vw + 1rem, 2rem);
  margin: 10px 0;
  border-left: 4px solid #e6c200;
  padding-left: 10px;
}
.payments_h3 {
  color: #888;
  font-size: clamp(1rem, 0.8vw + 0.7rem, 1.4rem);
  margin-bottom: 15px;
}
.pay_pre{
  background: #f0f0f0;
  padding: 20px;
  border-radius: 10px;
  font-family: "Courier New", monospace;
  font-size: clamp(0.9rem, 0.6vw + 0.6rem, 1.1rem);
  line-height: 1.8;
  color: #888;
  overflow-x: auto;
  white-space: pre-wrap;
  border-left: 4px solid #e6c200;
}
.pay_section p {
  line-height: 1.8;
  font-size: clamp(0.9rem, 0.7vw + 0.6rem, 1.1rem);
}
.pay-note a,
.pay-note a:visited {
  text-decoration: none;
  color: #e6c200;
}
.pay-note a:hover { text-decoration: underline; }
.partner_tel{
  text-decoration: none;
  color: #e6c200;
}
.partner_tel:hover { text-decoration: underline; }
:target { scroll-margin-top: 185px; }
.product_exit {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.9rem, 1vw + 0.5rem, 1.1rem);
  background: linear-gradient(145deg, #FFD700, #e6c200);
  color: #222;
  border: 1px solid #ffd700;
  transition: all 0.3s ease;
  margin-top: 15px;
}
.product_exit:hover {
  background: linear-gradient(145deg, #e0e0e0, #b0b0b0);
  color: #000;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}
.ttt {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
}
.ttt:hover { color: #e6c200; }
@media (max-width: 600px) {
  .anchor-nav,
  .certificate,
  .certificate-caption { display: none; }
  .tilda-link-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: clamp(12px, 3vw, 14px);
    margin-top: 20px;
    margin-bottom: 70px;
  }
  .tilda-link-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
  }
  .tilda-link-contact a:hover { font-weight: bold; }
  .map-section, .map-photo { min-width: 250px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  :target { scroll-margin-top: 160px; }
  .anchor-nav { padding: 8px 10px; top: 120px;}
  .anchor-nav ul {
    flex-wrap: wrap;
    gap: 6px;
  }
  .anchor-nav a {
    font-size: 0.8rem;
    padding: 5px 8px;
  }
}
@media (min-width: 901px) and (max-width: 1350px) {
  :target { scroll-margin-top: 170px; }
  .anchor-nav {
    top: 130px;
    padding: 8px 15px;
    gap: 20px;
  }
  .anchor-nav ul { gap: 20px; }
}