/* İstanbul Periodontoloji — disetistanbul.com
   Orijinal (XPRS) tasarımın birebir kopyası:
   lacivert #003052, parlak mavi #0068d2, gri #ededed,
   Open Sans (başlık) + Dosis (metin), düz #0060ff buton. */
:root {
  --navy: #003052;
  --blue: #0068d2;
  --btn-blue: #0060ff;
  --gray: #ededed;
  --dark: #001d39;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: "Dosis", "Open Sans", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.75;
  font-size: 15px;
  letter-spacing: .3px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 1064px; margin: 0 auto; padding: 0 24px; } /* orijinal: 1016px kapsayıcı, içerik solda */

h1, h2.section-title, .logo-title { font-family: "Open Sans", Arial, sans-serif; }

/* ---------- Header (sabit, ana sayfada saydam, kaydırınca lacivert) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy);
  transition: background .35s;
}
.site-header.transparent { background: transparent; }
.site-header.transparent.scrolled, .site-header.menu-open { background: var(--navy); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; gap: 18px;
}
.logo-title {
  color: #fff; font-weight: 700; font-size: 16px; letter-spacing: 1.6px;
  text-transform: uppercase; white-space: nowrap;
}
.header-right { display: flex; align-items: center; gap: 8px; }

.langs { display: flex; gap: 2px; margin-right: 6px; }
.langs a {
  color: #fff; opacity: .75; font-family: "Open Sans", sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 2px 7px;
}
.langs a.active { opacity: 1; border-bottom: 2px solid #fff; }
.langs a:hover { opacity: 1; }

.nav > ul { display: flex; list-style: none; align-items: center; }
.nav a {
  display: block; color: #fff; font-family: "Dosis", sans-serif;
  font-size: 14px; font-weight: 400; letter-spacing: 1.2px;
  padding: 13px 11px; white-space: nowrap;
}
.nav a:hover, .nav li.active > a { opacity: .75; }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " ▾"; font-size: 10px; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 300px;
  background: var(--navy); list-style: none; padding: 6px 0; z-index: 1001;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { padding: 9px 18px; font-weight: 400; white-space: normal; letter-spacing: 1px; }
.dropdown a:hover { background: rgba(255,255,255,.08); opacity: 1; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px 6px; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: #fff; margin: 5px 0; }

/* ---------- Hero (ana sayfa) ---------- */
.hero {
  min-height: 100vh; position: relative;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-inner { padding: 90px 20px; }
.hero h1 {
  color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 52px); letter-spacing: .1em; line-height: 1.18;
  text-shadow: 0 1px 14px rgba(0,0,0,.18);
  margin-bottom: 26px;
}
.btn {
  /* orijinal buton: Abel 17px, ls .15em, 10px 20px, düz #0060ff */
  display: inline-block; background: var(--btn-blue); color: #fff;
  font-family: "Abel", "Dosis", sans-serif; font-size: 17px; font-weight: 400;
  letter-spacing: .15em; padding: 10px 20px; border-radius: 0; border: 0; cursor: pointer;
}
.btn:hover { opacity: .88; color: #fff; }
.btn-navy { background: var(--navy); font-size: 12px; padding: 10px; }
.hero .phone-ico { width: 46px; margin: 18px auto 0; }

/* ---------- Bölüm başlıkları (ana sayfa, beyaz şerit) ---------- */
.section { padding: 48px 0; background: #fff; }
.section-head { text-align: center; }
h2.section-title {
  display: inline-block; color: var(--navy); font-weight: 400;
  font-size: 30px; letter-spacing: 3px; text-transform: uppercase;
  border-bottom: 1px solid var(--navy); padding: 0 26px 6px;
}

/* ---------- Hizmetler şeridi (fotoğraf zemin + yarı saydam kutular) ---------- */
.services-strip {
  background-size: cover; background-position: center;
  background-color: var(--navy);
  background-attachment: fixed; /* orijinaldeki paralaks: sayfa fotoğrafın üzerinden akar */
  padding: 70px 0 90px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: 980px; margin: 0 auto; padding: 0 24px;
}
.service-card {
  /* orijinal kart zemini: index-04 png içindeki rgba(0,104,185,0.4) */
  background: rgba(0, 104, 185, .4);
  min-height: 226px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 28px 20px; gap: 16px;
}
.service-card:hover { background: rgba(0, 104, 185, .55); }
.service-card img { width: 62px; height: 62px; }
.service-card h3 {
  /* orijinalde Dosis'in 800 kesimi kullanılıyordu */
  color: #fff; font-family: "Dosis", sans-serif; font-weight: 800;
  font-size: 16px; letter-spacing: 1.6px; text-transform: uppercase; line-height: 1.5;
}

/* ---------- Uzmanımız (gri şerit) ---------- */
.doctor-sec { text-align: center; background: var(--gray); padding: 56px 0 64px; }
.doctor-sec .photo { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.doctor-sec .caption { margin-top: 14px; text-align: left; }
.doctor-sec .caption .name {
  text-transform: uppercase; font-weight: 400; letter-spacing: 1px; font-size: 15px; color: #333;
}
.doctor-sec .caption .role { font-size: 14px; color: #555; }

/* ---------- İç sayfa: başlık şeridi ---------- */
.page-head {
  /* orijinal: 510px yüksek şerit, içerik dikeyde ortalı */
  background: var(--navy); color: #fff; text-align: center;
  min-height: 510px; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 80px 20px 40px;
}
.page-head h1 {
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 4.5vw, 52px); letter-spacing: .1em; line-height: 1.05;
  max-width: 900px; /* orijinal: 900px kutu, uzun başlıklar 2 satıra sarar */
}
.page-head .sub {
  /* orijinal: Dosis 16px, ls .5px, ~500px kutu */
  font-family: "Dosis", sans-serif; font-size: 16px; letter-spacing: .5px;
  line-height: 1.45; max-width: 500px; margin: 16px auto 0; opacity: .95;
}
.page-head .sub.big { font-size: 24px; letter-spacing: .5px; margin-top: 12px; }
.page-head .title-icon { width: 100px; margin: 26px auto 0; } /* orijinal: 100x100 */

/* ---------- Şablon: strips (renkli şeritler) ---------- */
.strip { color: #fff; padding: 48px 0; }
.strip.c0 { background: var(--blue); }
.strip.c1 { background: var(--navy); }
.strip .container.split {
  /* orijinal: 600px metin + 455px fotoğraf, toplam 1116px içerik */
  display: grid; grid-template-columns: 600px 455px;
  justify-content: space-between; gap: 40px; align-items: center;
  max-width: 1164px;
}
@media (max-width: 1200px) and (min-width: 921px) {
  .strip .container.split { grid-template-columns: 1.15fr .85fr; }
}
@media (max-width: 1100px) and (min-width: 921px) {
  .qa-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .qa-grid .qa-photo, .qa-grid .qa-block p, .qa-grid .qa-block ul { max-width: 100%; width: 100%; }
}
.strip .strip-icon {
  width: 70px; height: 70px; margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.strip h2 {
  /* orijinal: Open Sans 700, 22px, ls 2.2px */
  display: inline-block; font-family: "Open Sans", sans-serif; font-weight: 700;
  font-size: 22px; letter-spacing: 2.2px; text-transform: uppercase; line-height: 1.15;
  border-bottom: 1px solid #fff; padding-bottom: 6px; margin-bottom: 8px;
}
.strip h3 {
  /* orijinal: Dosis 400, 17px, ls 1.7px, lh 1.5 */
  font-family: "Dosis", sans-serif; font-weight: 400; font-size: 17px;
  letter-spacing: 1.7px; line-height: 1.5; margin: 14px 0 8px;
}
.strip p { margin-bottom: 12px; font-size: 13px; letter-spacing: .65px; line-height: 1.5; max-width: 600px; }
.strip ul { margin: 0 0 14px 20px; }
.strip li { margin-bottom: 7px; font-size: 13px; letter-spacing: .65px; line-height: 1.5; }
.strip a { color: #fff; text-decoration: underline; }
.strip .photo img {
  /* orijinal: 455x294 sabit oranlı kutu, cover ile kırpılır */
  width: 100%; aspect-ratio: 455 / 294; object-fit: cover;
}

/* ---------- Şablon: article (ÖZET + soru-cevap) — orijinal ölçüler ---------- */
.ozet-wrap { background: #fff; padding: 32px 0 40px; }
.ozet-wrap h2 {
  /* orijinal: Open Sans 400, 30px, ls 3px, lacivert */
  color: var(--navy); font-family: "Open Sans", sans-serif; font-weight: 400;
  font-size: 30px; letter-spacing: 3px; line-height: 1.1; text-transform: uppercase; margin-bottom: 14px;
}
.ozet-wrap p { margin-bottom: 13px; font-size: 17px; line-height: 1.5; letter-spacing: .85px; color: #000; max-width: 500px; }
.ozet-wrap ul { margin: 0 0 14px 20px; color: #000; max-width: 500px; }
.ozet-wrap li { margin-bottom: 7px; font-size: 17px; line-height: 1.5; letter-spacing: .85px; }

.qa-section { background: var(--gray); padding: 50px 0 64px; }
.qa-block { margin-bottom: 56px; }
.qa-block:last-child { margin-bottom: 0; }
/* tedavi sayfaları: orijinaldeki 2 sütunlu soru ızgarası (469px + 60px ara + 469px) */
.qa-grid {
  display: grid; grid-template-columns: repeat(2, 469px);
  column-gap: 60px; row-gap: 64px;
}
.qa-grid .qa-block { margin-bottom: 0; }
.qa-photo {
  /* orijinal: 469x328 kutu */
  width: 469px; max-width: 100%; height: 328px; object-fit: cover; margin-bottom: 16px;
}
.qa-block h3 {
  /* orijinal: Dosis kalın, 18px, ls 1.8px, siyah; altında 450px çizgi */
  display: block; color: #000; font-family: "Dosis", sans-serif;
  font-weight: 800; font-size: 18px; letter-spacing: 1.8px; line-height: 1.5;
  margin-bottom: 14px;
}
.qa-block h3::after {
  content: ""; display: block; width: 450px; max-width: 100%;
  border-bottom: 1px solid var(--navy); margin-top: 8px;
}
.qa-block h2 {
  display: inline-block; color: var(--navy); font-family: "Open Sans", sans-serif;
  font-weight: 400; font-size: 30px; letter-spacing: 3px; text-transform: uppercase;
  border-bottom: 1px solid var(--navy); padding-bottom: 7px; margin-bottom: 14px;
}
.qa-block p { margin-bottom: 12px; font-size: 17px; line-height: 1.5; letter-spacing: .85px; color: #000; max-width: 469px; }
.qa-block ul { margin: 0 0 14px 20px; color: #000; max-width: 469px; }
.qa-block li { margin-bottom: 7px; font-size: 17px; line-height: 1.5; letter-spacing: .85px; }

/* ---------- İmplant: turkuaz WhatsApp paneli + markalar (orijinal ölçüler) ---------- */
.wa-panel-wrap { background: #fff; padding: 0 0 44px; }
.wa-panel {
  /* orijinal: rgb(24,138,168) kutu, 511px, 50px iç boşluk, solda */
  background: rgb(24, 138, 168); color: #fff; max-width: 511px; padding: 50px;
}
.wa-panel p {
  font-family: "Open Sans", sans-serif; font-weight: 400; font-size: 18px;
  letter-spacing: 1.8px; line-height: 1.35; margin-bottom: 26px;
}
.wa-panel img { width: 70px; margin-bottom: 14px; }
.wa-msg { color: #fff; text-decoration: underline; font-size: 14px; letter-spacing: 1px; }
.brands-wrap { background: var(--gray); padding: 44px 0 56px; }
.brands-wrap h3 {
  /* orijinal: Dosis 400, 21px, ls 2.1, siyah, ortalı */
  text-align: center; color: #000; font-family: "Dosis", sans-serif;
  font-weight: 400; font-size: 21px; letter-spacing: 2.1px; margin-bottom: 34px;
}
.brands-grid {
  /* orijinal: 4 sütun x 180px, aralar 73/55 */
  display: grid; grid-template-columns: repeat(4, 180px);
  justify-content: center; column-gap: 73px; row-gap: 55px; align-items: center;
}
.brands-grid img { width: 180px; height: 159px; object-fit: contain; background: #fff; }
.qa-icon { width: 70px; height: 70px; margin-bottom: 12px; } /* bölüm ikonu (orijinal 70x70) */
/* implant bölümleri: gri zemin, siyah başlık + 360px çizgi, 13px metin */
.qa-section.imp .qa-block h2 {
  display: block; color: #000; font-family: "Open Sans", sans-serif; font-weight: 700;
  font-size: 22px; letter-spacing: 2.2px; line-height: 1.2; text-transform: uppercase;
  border: 0; padding: 0; margin-bottom: 12px;
}
.qa-section.imp .qa-block h2::after {
  content: ""; display: block; width: 360px; max-width: 100%;
  border-bottom: 1px solid #000; margin-top: 10px;
}
.qa-section.imp .qa-block h3 { font-size: 15px; letter-spacing: 1.5px; }
.qa-section.imp .qa-block h3::after { display: none; }
.qa-section.imp .qa-block p, .qa-section.imp .qa-block li {
  font-size: 13px; letter-spacing: .65px; line-height: 1.5; max-width: 600px;
}
.qa-section.imp .qa-block ul { max-width: 600px; }
.qa-section.imp .qa-block { margin-bottom: 48px; }

/* ---------- SSS: kart ızgarası (orijinal: gri zemin, 299px kartlar, 3 sütun) ---------- */
.faq-grid-wrap { background: var(--gray); padding: 48px 0 70px; }
.faq-grid {
  display: grid; grid-template-columns: repeat(3, 299px);
  column-gap: 50px; row-gap: 60px;
  max-width: 1064px; margin: 0 auto; padding: 0 24px;
}
.faq-card img { width: 100%; height: 209px; object-fit: cover; margin-bottom: 20px; }
.faq-card h3 {
  /* orijinal: Open Sans (sentez kalın) 23px, ls 2.3px, lh 1.0, koyu gri */
  color: #2a2a2a; font-family: "Open Sans", sans-serif; font-weight: 700;
  font-size: 23px; letter-spacing: 2.3px; line-height: 1.05; margin-bottom: 16px;
}
.faq-card p { font-family: "Dosis", sans-serif; font-size: 14px; line-height: 1.5; letter-spacing: .7px; color: #000; }

/* ---------- İletişim ---------- */
.form-wrap { background: #fff; padding: 20px 0 40px; }
.cognito-form {
  /* orijinaldeki gömülü Cognito Forms (kapsayıcı genişliğinde) */
  display: block; width: 100%; min-height: 980px; border: 0;
}

.hello-wrap { background: var(--gray); padding: 46px 0 52px; text-align: center; }
.hello-wrap h2 {
  color: #333; font-family: "Open Sans", sans-serif; font-weight: 400;
  font-size: 20px; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 6px;
}
.hello-sub { font-size: 13.5px; color: #666; text-transform: uppercase; letter-spacing: 1px; }
.mini-form { max-width: 247px; margin: 22px auto 0; }
.mini-form input, .mini-form textarea {
  display: block; width: 100%; margin-bottom: 12px;
  border: 0; background: #fff; padding: 9px 10px;
  font-family: "Dosis", sans-serif; font-size: 13.5px; color: #333;
}
.mini-form input:focus, .mini-form textarea:focus { outline: 1px solid var(--navy); }
.mini-send {
  display: inline-block; margin-top: 10px; color: #333; font-weight: 400;
  letter-spacing: 2px; font-size: 14px; border: 0; background: none; cursor: pointer;
  font-family: "Dosis", sans-serif; border-bottom: 1px solid #333; padding: 0 0 3px;
}

.map-section { position: relative; }
.map-section iframe { display: block; width: 100%; height: 480px; border: 0; }
.map-overlay {
  position: absolute; left: 6%; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; padding: 26px 28px; z-index: 5;
  max-width: 280px;
}
.map-overlay .t {
  font-family: "Open Sans", sans-serif; font-weight: 700; font-size: 17px;
  letter-spacing: 1.5px; line-height: 1.4; margin-bottom: 12px;
}
.map-overlay p { font-size: 13px; line-height: 1.9; }
.map-overlay a { color: #fff; }

/* ---------- Hekim sayfası (orijinal: gri zemin, 1000px foto, altında sola hizalı metin) ---------- */
.doctor-page { background: var(--gray); padding: 56px 0 70px; }
.doctor-card { max-width: 1048px; margin: 0 auto; padding: 0 24px; }
.doctor-card img { width: 100%; margin: 0 0 22px; }
.doctor-card h2 {
  color: #000; font-family: "Open Sans", sans-serif; font-weight: 700;
  font-size: 20px; letter-spacing: 2px; margin-bottom: 2px;
}
.doctor-card h3 {
  color: #000; font-family: "Dosis", sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 1.2px; margin-bottom: 18px;
}
.doctor-card p { margin-bottom: 13px; font-size: 14px; color: #000; max-width: 500px; letter-spacing: .7px; }
.doctor-card hr.divider {
  width: 450px; max-width: 100%; border: 0;
  border-bottom: 1px solid var(--navy); margin: 0 0 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: #fff; text-align: center; padding: 56px 20px 46px;
}
.site-footer .f-title {
  font-family: "Open Sans", sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 16px;
}
.site-footer p { font-family: "Dosis", sans-serif; font-size: 14px; line-height: 1.9; }
.site-footer a { color: #fff; }
.site-footer .disclaimer {
  margin-top: 18px; font-size: 13px; opacity: .9; max-width: 620px;
  margin-left: auto; margin-right: auto;
}
.site-footer .f-langs { margin-top: 22px; }
.site-footer .f-langs a { margin: 0 8px; font-size: 13px; letter-spacing: 1px; text-decoration: underline; opacity: .85; }

/* Konuşma balonu (orijinaldeki gibi): tıklayınca telefon + whatsapp açılır */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 1200; text-align: center; }
.chat-widget .cw-item {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.chat-widget.open .cw-item { opacity: 1; transform: none; pointer-events: auto; }
.cw-wa { background: #25d366; }
.cw-wa svg { width: 30px; height: 30px; fill: #fff; }
.cw-tel img { width: 54px; height: 54px; }
.cw-toggle {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: #f3624e; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 18px rgba(0,0,0,.3);
}
.cw-toggle svg { width: 28px; height: 28px; fill: #fff; }
.cw-toggle .cw-x { display: none; font-size: 26px; line-height: 1; font-family: Arial, sans-serif; }
.chat-widget.open .cw-toggle svg { display: none; }
.chat-widget.open .cw-toggle .cw-x { display: block; }

/* Kaydırınca beliren bölümler (orijinaldeki dissolve) */
.reveal { opacity: 0; }
.reveal.shown { opacity: 1; transition: opacity .9s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
  }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; padding: 6px 0 14px; }
  .nav a { padding: 11px 24px; }
  .dropdown { display: block; position: static; min-width: 0; padding-left: 16px; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-strip { background-attachment: scroll; } /* mobil tarayicilarda fixed sorunlu */
  .strip .container.split { grid-template-columns: 1fr; }
  .qa-grid { grid-template-columns: 1fr; }
  /* mobilde sabit px genişlikleri esnet (taşmayı önle) */
  .qa-grid .qa-block { min-width: 0; }
  .qa-photo { width: 100%; height: auto; }
  .qa-block h3::after, .qa-section.imp .qa-block h2::after, .doctor-card hr.divider { width: 100%; }
  .qa-block p, .qa-block ul, .ozet-wrap p, .ozet-wrap ul,
  .strip p, .strip li, .doctor-card p { max-width: 100%; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 180px); column-gap: 36px; row-gap: 36px; }
  .map-overlay { position: static; transform: none; max-width: none; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 140px); column-gap: 24px; row-gap: 24px; }
  .brands-grid img { width: 140px; height: 124px; }
  .wa-panel { padding: 32px; }
  .frow.two { grid-template-columns: 1fr; }
  .logo-title { font-size: 12px; letter-spacing: .8px; }
  .site-header .container { padding: 0 12px; gap: 8px; }
  .langs { margin-right: 0; }
  .langs a { font-size: 11px; padding: 2px 4px; letter-spacing: .5px; }
  .nav-toggle { padding: 10px 2px; }
  .nav-toggle span { width: 24px; }
  h2.section-title { font-size: 24px; }
}
