/* dk-contact.css v1.1 — стили страницы контактов: hero, карта, карточки, реквизиты, лицензия */
/* v1.1 — добавлен блок .dk-lic* (статус, номер, перечень работ, ссылка на реестр) */
/* общее для всех страниц лежит в dk-common.css */

/* ── Hero: фото + тёмная вуаль (как на услугах) ── */
.ct-hero { position: relative; background: url('../img/services/ct-hero-bg.jpg') center/cover no-repeat; padding: 100px 0 90px; text-align: center; overflow: hidden; }
.ct-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(65,63,59,0.88) 0%, rgba(65,63,59,0.72) 50%, rgba(119,83,45,0.78) 100%); }
.ct-hero .container { position: relative; z-index: 2; }
.ct-hero .ct-hero-sub { font-family: 'Lobster', cursive; font-size: 38px; color: #E8B94A; display: block; margin-bottom: 10px; text-shadow: 2px 2px 6px rgba(0,0,0,0.5); }
.ct-hero h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -1px; color: #FFFFFF; margin-bottom: 14px; text-shadow: 2px 2px 8px rgba(0,0,0,0.45); }
.ct-hero p { color: #EDE7DA; max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.7; text-shadow: 1px 1px 4px rgba(0,0,0,0.55); }
.ct-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #E8B94A; z-index: 2; }

/* ── Быстрые контакты в hero ── */
.ct-hero-quick { display: flex; justify-content: center; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.ct-hero-quick a { display: inline-flex; align-items: center; gap: 10px; color: #FFFFFF; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600; text-decoration: none; text-shadow: 1px 1px 4px rgba(0,0,0,0.55); transition: color 0.3s; }
.ct-hero-quick a:hover { color: #E8B94A; }
.ct-hero-quick a i { width: 38px; height: 38px; border-radius: 50%; background: rgba(232,185,74,0.18); border: 1px solid rgba(232,185,74,0.5); color: #E8B94A; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
@media (max-width: 767px) { .ct-hero { padding: 70px 0 60px; } .ct-hero .ct-hero-sub { font-size: 28px; } .ct-hero-quick { gap: 16px; } }

/* ── Форма обратной связи ── */
.form-wrap3 { border-radius: 20px !important; overflow: hidden; }

/* ── Карта: закругление и растяжка на всю ширину ── */
.contact-map { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.contact-map-fullwidth { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; border-radius: 0; height: 450px; padding: 0 !important; --bs-aspect-ratio: auto !important; }
.contact-map-fullwidth iframe { width: 100% !important; height: 100% !important; position: absolute; top: 0; left: 0; }
.contact-map-fullwidth.my-50 { margin-top: 50px !important; margin-bottom: 50px !important; }

/* ── Leaflet: премиум-карта ── */
.dk-leaflet-map { width: 100vw; height: 480px; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; margin-top: 50px; margin-bottom: 50px; z-index: 1; }
.dk-leaflet-map .leaflet-container { width: 100%; height: 100%; background: #f5f5dc; font-family: 'Montserrat', sans-serif; }
.dk-leaflet-map .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,0.8); }
.dk-leaflet-map .leaflet-control-zoom { border: none !important; box-shadow: 0 4px 12px rgba(65,63,59,0.2) !important; }
.dk-leaflet-map .leaflet-control-zoom a { background: #FFFFFF !important; color: #413F3B !important; border: 1px solid rgba(232,185,74,0.3) !important; transition: all 0.3s; }
.dk-leaflet-map .leaflet-control-zoom a:hover { background: #413F3B !important; color: #E8B94A !important; }

/* ── Пульсирующий золотой маркер ── */
.dk-marker-wrap { position: relative; width: 60px; height: 60px; }
.dk-marker-pulse { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(232,185,74,0.4); animation: dkPulse 2s ease-out infinite; }
.dk-marker-pulse.delay { animation-delay: 1s; }
.dk-marker-core { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; transform: translate(-50%, -50%); border-radius: 50%; background: linear-gradient(135deg, #E8B94A 0%, #FFC107 50%, #E8B94A 100%); border: 3px solid #FFFFFF; box-shadow: 0 4px 12px rgba(65,63,59,0.4), 0 0 0 2px rgba(232,185,74,0.6); display: flex; align-items: center; justify-content: center; color: #413F3B; font-weight: 700; font-size: 13px; font-family: 'Cormorant Garamond', serif; z-index: 2; }
.dk-marker-core::before { content: 'D'; }
@keyframes dkPulse {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* ── Всплывашка маркера ── */
.dk-leaflet-map .leaflet-popup-content-wrapper { background: linear-gradient(135deg, #FFFFFF 0%, #FBF8F0 100%); border: 1px solid rgba(232,185,74,0.3); border-radius: 14px; box-shadow: 0 15px 40px rgba(65,63,59,0.2); padding: 4px; }
.dk-leaflet-map .leaflet-popup-content { margin: 16px 20px; font-family: 'Montserrat', sans-serif; }
.dk-leaflet-map .leaflet-popup-tip { background: #FFFFFF; }
.dk-popup-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: #413F3B; margin-bottom: 4px; letter-spacing: 0.5px; }
.dk-popup-sub { font-size: 11px; color: #875A26; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 8px; }
.dk-popup-addr { font-size: 13px; color: #656561; margin-bottom: 12px; line-height: 1.5; }
.dk-popup-btn { display: inline-block; background: linear-gradient(135deg, #413F3B, #2a2826); color: #E8B94A !important; padding: 8px 16px; border-radius: 50px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-decoration: none !important; transition: all 0.3s; }
.dk-popup-btn:hover { background: linear-gradient(135deg, #008080, #006666); color: #FFFFFF !important; transform: translateY(-1px); }

/* ── Карточки контактов ── */
.dk-contact-cards { padding: 0 0 30px; margin-top: -100px; }
.dk-cc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dk-cc-card { background: linear-gradient(180deg, #FFFFFF 0%, #FBF8F0 100%); border: 1px solid rgba(232,185,74,0.25); border-radius: 16px; padding: 28px 24px; display: flex; align-items: center; gap: 18px; transition: all 0.4s ease; box-shadow: 0 4px 20px rgba(65,63,59,0.04); }
.dk-cc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(65,63,59,0.12); border-color: #E8B94A; }
.dk-cc-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #413F3B 0%, #2a2826 100%); color: #E8B94A; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; box-shadow: 0 6px 18px rgba(65,63,59,0.25); }
.dk-cc-body { flex: 1; min-width: 0; }
.dk-cc-label { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #875A26; margin-bottom: 4px; }
.dk-cc-value { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: #413F3B; line-height: 1.3; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-cc-value a { color: #413F3B; text-decoration: none; transition: color 0.3s; }
.dk-cc-value a:hover { color: #008080; }
@media (max-width: 991px) { .dk-cc-grid { grid-template-columns: 1fr; gap: 14px; } .dk-contact-cards { padding: 40px 0 20px; } }

/* ── Блок «Как нас найти» ── */
.dk-howto { padding: 30px 0 60px; }
.dk-howto-head { text-align: center; margin-bottom: 35px; }
.dk-howto-sub { font-family: 'Lobster', cursive; font-size: 26px; color: #E8B94A; margin-bottom: 6px; letter-spacing: 0.5px; }
.dk-howto-title { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 700; color: #413F3B; margin: 0; line-height: 1.2; }
.dk-howto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dk-howto-card { background: #FFFFFF; border-radius: 16px; padding: 32px 26px; text-align: center; transition: all 0.4s ease; border: 1px solid rgba(65,63,59,0.06); box-shadow: 0 4px 20px rgba(65,63,59,0.04); position: relative; overflow: hidden; }
.dk-howto-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, #E8B94A, transparent); transform: scaleX(0); transition: transform 0.5s ease; }
.dk-howto-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(65,63,59,0.12); }
.dk-howto-card:hover::before { transform: scaleX(1); }
.dk-howto-icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #FBF8F0 0%, #F5EDD6 100%); color: #413F3B; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; transition: all 0.4s ease; }
.dk-howto-card:hover .dk-howto-icon { background: linear-gradient(135deg, #413F3B 0%, #2a2826 100%); color: #E8B94A; transform: rotate(-8deg) scale(1.05); }
.dk-howto-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: #413F3B; margin: 0 0 10px; }
.dk-howto-card p { font-family: 'Montserrat', sans-serif; font-size: 13px; line-height: 1.7; color: #656561; margin: 0; }
.dk-howto-card strong { color: #413F3B; font-weight: 700; }
@media (max-width: 991px) { .dk-howto-grid { grid-template-columns: 1fr; gap: 14px; } .dk-howto-title { font-size: 30px; } .dk-howto { padding: 20px 0 40px; } }

/* ── Блок «Реквизиты» ── */
.dk-legal { padding: 40px 0 70px; }
.dk-legal-box {
  position: relative;
  background: linear-gradient(135deg, #3a3835 0%, #25221f 50%, #2a2724 100%);
  border-radius: 24px;
  padding: 48px 55px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(65,63,59,0.35),
    inset 0 1px 0 rgba(232,185,74,0.18),
    inset 0 0 0 1px rgba(232,185,74,0.12);
}
.dk-legal-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(232,185,74,0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.dk-legal-box::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,128,128,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.dk-legal-box .dk-legal-corner {
  position: absolute;
  top: 22px; right: 22px;
  width: 60px; height: 60px;
  border-top: 2px solid rgba(232,185,74,0.4);
  border-right: 2px solid rgba(232,185,74,0.4);
  border-radius: 0 8px 0 0;
  pointer-events: none;
  z-index: 1;
}
.dk-legal-box .dk-legal-corner-bl {
  position: absolute;
  bottom: 22px; left: 22px;
  width: 60px; height: 60px;
  border-bottom: 2px solid rgba(232,185,74,0.4);
  border-left: 2px solid rgba(232,185,74,0.4);
  border-radius: 0 0 0 8px;
  pointer-events: none;
  z-index: 1;
}
.dk-legal-head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 22px; position: relative; z-index: 2; text-align: center; }
.dk-legal-badge {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,185,74,0.25) 0%, rgba(232,185,74,0.08) 100%);
  border: 1px solid rgba(232,185,74,0.3);
  color: #E8B94A;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(232,185,74,0.15);
}
.dk-legal-titles .sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: #E8B94A;
  margin-bottom: 4px;
  opacity: 0.9;
}
.dk-legal-titles .ttl {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.dk-legal-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 700;
  color: #FFFFFF;
  margin: 0 auto 8px;
  letter-spacing: 1px;
  position: relative; z-index: 2;
  background: linear-gradient(135deg, #FFFFFF 0%, #E8B94A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  text-align: center;
}
.dk-legal-fullname {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-style: italic;
  color: rgba(255,255,255,0.6);
  margin: 0 auto 30px;
  letter-spacing: 0.3px;
  position: relative; z-index: 2;
  text-align: center;
}
.dk-legal-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,185,74,0.5) 50%, transparent 100%);
  margin: 0 0 32px;
  position: relative; z-index: 2;
}
.dk-legal-divider::after {
  content: '◆';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #E8B94A;
  font-size: 10px;
  background: #2a2724;
  padding: 0 12px;
}
.dk-legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 36px;
  position: relative; z-index: 2;
}
.dk-legal-item {
  position: relative;
  padding-left: 16px;
  border-left: 2px solid rgba(232,185,74,0.25);
  transition: border-color 0.3s ease;
}
.dk-legal-item:hover { border-left-color: #E8B94A; }
.dk-legal-item .lbl {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #E8B94A;
  margin-bottom: 6px;
  opacity: 0.85;
}
.dk-legal-item .val {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 17px; font-weight: 500;
  color: #FFFFFF;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
.dk-legal-item.full { grid-column: 1 / -1; }
.dk-legal-item.full .val { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500; letter-spacing: 0.3px; }
/* ── Лицензия на медицинскую деятельность ── */
.dk-lic { position: relative; z-index: 2; }
.dk-lic-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.dk-lic-ttl {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: #E8B94A;
  opacity: 0.9;
}
.dk-lic-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px;
  color: #7BC4A4;
  background: rgba(123,196,164,0.10);
  border: 1px solid rgba(123,196,164,0.35);
  border-radius: 50px;
  padding: 6px 14px;
  white-space: nowrap;
}
.dk-lic-status i { font-size: 12px; }
.dk-lic-num {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 26px; font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 1px;
  line-height: 1.25;
  margin-bottom: 26px;
  text-shadow: 0 2px 18px rgba(232,185,74,0.25);
}
.dk-lic-works {
  margin-top: 26px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(232,185,74,0.15);
  border-radius: 14px;
}
.dk-lic-works .lbl {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: #E8B94A;
  margin-bottom: 12px;
  opacity: 0.85;
}
.dk-lic-works p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; line-height: 1.7;
  color: rgba(255,255,255,0.68);
  margin: 0 0 10px;
}
.dk-lic-works ul { list-style: none; margin: 0; padding: 0; }
.dk-lic-works ul li {
  position: relative;
  padding-left: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}
.dk-lic-works ul li:last-child { margin-bottom: 0; }
.dk-lic-works ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 1px;
  background: #E8B94A;
}
.dk-lic-works strong { color: #FFFFFF; font-weight: 600; }
.dk-lic-check {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  padding: 12px 26px;
  border: 1px solid rgba(232,185,74,0.45);
  border-radius: 50px;
  background: rgba(232,185,74,0.06);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.8px;
  color: #E8B94A !important;
  text-decoration: none !important;
  transition: all 0.35s ease;
}
.dk-lic-check:hover {
  background: linear-gradient(135deg, #E8B94A 0%, #D89A2B 100%);
  border-color: #E8B94A;
  color: #2a2724 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232,185,74,0.25);
}
.dk-legal-foot {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(232,185,74,0.18);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  position: relative; z-index: 2;
  text-align: center;
  font-style: italic;
}
@media (max-width: 991px) {
  .dk-legal-box { padding: 35px 28px; border-radius: 20px; }
  .dk-legal-box .dk-legal-corner, .dk-legal-box .dk-legal-corner-bl { width: 40px; height: 40px; }
  .dk-legal-grid { grid-template-columns: 1fr 1fr; gap: 22px 22px; }
  .dk-legal-titles .ttl { font-size: 26px; }
  .dk-legal-name { font-size: 24px; }
  .dk-legal-item .val { font-size: 15px; }
  .dk-legal { padding: 20px 0 50px; }
  .dk-lic-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dk-lic-num { font-size: 21px; margin-bottom: 22px; }
  .dk-lic-works { padding: 18px 18px; }
}
@media (max-width: 575px) {
  .dk-legal-grid { grid-template-columns: 1fr; }
  .dk-legal-box { padding: 30px 22px; }
  .dk-lic-num { font-size: 17px; letter-spacing: 0.5px; word-break: break-word; }
  .dk-lic-check { width: 100%; justify-content: center; padding: 13px 18px; font-size: 11px; }
}
