/* ===========================================================
   DENTISTA — Yeni alt bilgi (footer)
   Referans tasarıma göre: beyaz zemin üzerinde site mavisi,
   üstte altın renkli kalp ritmi (EKG) çizgisi.
   =========================================================== */

footer.site {
  position: relative;
  background: #ffffff;
  color: #4a5b66;
  padding: 0;
  font-size: 14px;
  border-top: 1px solid #e6ecef;
  overflow: hidden;
}

/* --- Üstte altın kalp ritmi şeridi --- */
.foot-ecg {
  position: relative;
  height: 74px;
  background: #ffffff;
  border-bottom: 1px solid #eef3f5;
  overflow: hidden;
}
.foot-ecg svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  max-width: none;
  height: 74px;
}
.foot-ecg .ecg-line {
  fill: none;
  stroke: #c9a227;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(201, 162, 39, .45));
}
/* Çizginin üzerinde koşan ışık */
.foot-ecg .ecg-pulse {
  fill: none;
  stroke: #f0d47a;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 90 1400;
  animation: ecgRun 4.5s linear infinite;
  filter: drop-shadow(0 0 8px rgba(240, 212, 122, .95));
}
@keyframes ecgRun {
  from { stroke-dashoffset: 1490; }
  to { stroke-dashoffset: 0; }
}

/* --- Üst bilgi şeridi --- */
.foot-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px 28px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 46px;
  align-items: center;
  border-bottom: 1px solid #eef3f5;
}

.foot-identity { display: flex; align-items: center; gap: 16px; }
.foot-identity .logo-mark {
  width: 62px; height: 62px; border-radius: 19px;
  background: linear-gradient(150deg, var(--teal), var(--navy));
  display: grid; place-items: center; color: #fff; flex: 0 0 auto;
  box-shadow: 0 12px 26px -14px rgba(15, 43, 61, .7);
}
.foot-identity .logo-mark svg { width: 30px; height: 30px; }
.foot-identity b {
  display: block;
  font-size: 25px;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1.1;
}
.foot-identity small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

/* Bilgi sütunları (telefon / adres / muayene) */
.foot-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.foot-info-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 4px 26px;
  position: relative;
}
.foot-info-item + .foot-info-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 42px;
  background: #e6ecef;
}
.foot-info-item .ico {
  width: 44px; height: 44px; border-radius: 13px;
  border: 1px solid #d8e5e9;
  background: #f5fafb;
  color: var(--teal);
  display: grid; place-items: center; flex: 0 0 auto;
}
.foot-info-item .ico svg { width: 20px; height: 20px; }
.foot-info-item span.lbl {
  display: block;
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #93a5b0;
  font-weight: 700;
  margin-bottom: 3px;
}
.foot-info-item b {
  display: block;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.foot-info-item a { color: var(--navy); }
.foot-info-item a:hover { color: var(--teal); }
.foot-info-item small {
  display: block;
  font-size: 12px;
  color: #8b9ca6;
  margin-top: 2px;
}

/* --- Orta: bağlantı sütunları --- */
.foot-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 28px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.15fr;
  gap: 0;
  border-bottom: 1px solid #eef3f5;
}
.foot-col {
  padding: 0 30px;
  position: relative;
}
.foot-col:first-child { padding-left: 0; }
.foot-col:last-child { padding-right: 0; }
.foot-col + .foot-col::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: #eef3f5;
}

.foot-col h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  font-size: 11.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}
.foot-col h4 svg { width: 15px; height: 15px; color: var(--gold); flex: 0 0 auto; }

.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.foot-col li { margin: 0; }
.foot-col ul a {
  display: flex;
  gap: 9px;
  padding: 7px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #56666f;
  transition: color .18s, transform .18s;
}
.foot-col ul a .chev {
  color: #b9c9d1;
  font-size: 15px;
  line-height: 1.25;
  transition: color .18s;
  flex: 0 0 auto;
}
.foot-col ul a:hover { color: var(--teal); transform: translateX(3px); }
.foot-col ul a:hover .chev { color: var(--gold); }

/* İletişim kutusu */
.foot-contact .row {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #56666f;
}
.foot-contact .row .ico-sm {
  width: 20px; height: 20px; flex: 0 0 auto;
  color: var(--teal);
  margin-top: 2px;
}
.foot-contact .row b { color: var(--navy); font-weight: 600; }
.foot-contact a { color: #56666f; }
.foot-contact a:hover { color: var(--teal); }

/* --- Alt: yasal uyarı + son güncelleme --- */
.foot-legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 28px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid #eef3f5;
}
.foot-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.foot-note .shield {
  width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid #e3d9bd;
  background: #fdfaf1;
  color: var(--gold);
  display: grid; place-items: center; flex: 0 0 auto;
}
.foot-note .shield svg { width: 21px; height: 21px; }
.foot-note p {
  margin: 0 0 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #7b8b95;
  max-width: 68ch;
}
.foot-note p:last-child { margin-bottom: 0; }

.foot-meta { display: grid; gap: 12px; min-width: 260px; }
.foot-meta div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #7b8b95;
}
.foot-meta svg { width: 16px; height: 16px; color: var(--teal); flex: 0 0 auto; }
.foot-meta b { color: var(--navy); font-weight: 600; }

/* --- En alt --- */
.foot-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #93a5b0;
}
.foot-bottom .legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.foot-bottom .legal-links span.sep { color: #d3dde2; }
.foot-bottom a { color: #7b8b95; }
.foot-bottom a:hover { color: var(--teal); }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 13px;
  border: 1px solid #e0e9ec;
  border-radius: 24px;
  background: #fff;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.to-top:hover { border-color: var(--teal); background: #f5fafb; transform: translateY(-2px); }
.to-top .arrow {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid #dce6ea;
  display: grid; place-items: center;
  color: var(--teal);
}

/* ================= DUYARLI ================= */
@media (max-width: 1180px) {
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .foot-main { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .foot-col:nth-child(3) { padding-left: 0; }
  .foot-col:nth-child(3)::before { display: none; }
}

@media (max-width: 900px) {
  .foot-info { grid-template-columns: 1fr; gap: 18px; }
  .foot-info-item { padding: 0; }
  .foot-info-item + .foot-info-item::before { display: none; }
  .foot-main { grid-template-columns: 1fr; gap: 30px; }
  .foot-col { padding: 0; }
  .foot-col + .foot-col::before { display: none; }
  .foot-col + .foot-col { border-top: 1px solid #eef3f5; padding-top: 26px; }
  .foot-legal { grid-template-columns: 1fr; gap: 24px; }
  .foot-meta { min-width: 0; }
  .foot-ecg { height: 58px; }
  .foot-ecg svg { height: 58px; width: 300%; }
}

@media (max-width: 560px) {
  .foot-top, .foot-main, .foot-legal, .foot-bottom { padding-left: 18px; padding-right: 18px; }
  .foot-identity b { font-size: 21px; }
  .foot-identity .logo-mark { width: 54px; height: 54px; border-radius: 16px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .foot-ecg .ecg-pulse { animation: none; opacity: 0; }
}
