/* Homepage compositions. Shared identity and navigation live in pages/shared/theme.css. */
/* One family, upright text and stronger headings throughout the homepage. */
.hero-name { font-size: clamp(60px, 7.5vw, 112px); font-weight: 400; letter-spacing: -.045em; }
:is(.map-head, .reviews, .insta, .glance, .steps, .doctor, .seo, .clinic, .journal, .contact) h2 { font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
:is(.hero-quote p, .review-list p, .c-meta, .zone-title, .mega-zones a, .mm-zones a, .j-topic, .zone text) { font-style: normal; }
.hero-quote { max-width: 52ch; }
.hero-quote p { line-height: 1.5; font-size: clamp(20px, 1.65vw, 24px); }
a.ul, .cta, .creds-list li span, .journal-list time, .j-topic { color: var(--accent); }
/* Smaller portraits leave room for the name and supporting copy. */
.hero { align-items: center; padding-bottom: clamp(56px, 6vw, 88px); }
.hero-portrait { grid-column: 1 / 5; max-width: 420px; }
.hero-text { grid-column: 6 / 13; }
.hero-portrait .hero-second { width: 32%; right: -12%; bottom: -5%; border-width: 6px; }
.hero-actions { gap: 20px; margin-top: 36px; }
/* Education and congresses keep their content, with visible boundaries. */
.creds { row-gap: 18px; padding-bottom: 36px; }
.creds-label { border-top: 0; color: var(--accent); font-weight: 500; }
.creds-main, .creds-list { border-top: 0; padding: 20px; background: var(--paper); border-radius: 10px; box-shadow: var(--panel-shadow); }
.creds-main li:first-child { padding-top: 0; }
.creds-main li:last-child { border-bottom: 0; padding-bottom: 0; }
.c-meta { font-size: 15px; line-height: 1.5; }
.creds-list { gap: 10px; }
.creds-list li { border-color: var(--rule); background: var(--paper); flex-wrap: wrap; }
/* Map keeps its working hit areas and gains a smaller, lighter footprint. */
.map-figure { grid-column: 1 / 7; background: var(--paper); box-shadow: var(--panel-shadow); }
.map-panel { grid-column: 7 / 13; background: var(--paper); box-shadow: var(--panel-shadow); }
.zone-title { color: var(--accent); font-weight: 500; font-size: clamp(30px, 2.7vw, 42px); }
.zone text { font-family: var(--sans); font-size: 17px; }
.zone.is-active .pt { fill: var(--accent); stroke: var(--accent); }
.zone.is-active text { fill: var(--accent); }
.zone-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); }
/* Constrain the table instead of stretching it to the width of a large monitor. */
.glance { max-width: 1256px; margin-inline: auto; }
.glance-table { font-size: 14px; }
.glance-table tbody th { font-size: 17px; }
.glance-table thead th { background: var(--accent); }
.glance-table tbody tr:hover { background: var(--accent-soft); }
/* A continuous sequence instead of four separate shadowed cards. */
.steps { background: var(--paper); color: var(--anthracite); margin-top: var(--section); padding-top: 0; padding-bottom: 0; }
.steps h2 { color: var(--ink); font-size: clamp(34px, 3.6vw, 52px); }
.steps h2[data-label]::before { color: var(--accent); }
.steps ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 30px; }
.steps li { position: relative; padding: 0 28px 0 0; border: 0; border-radius: 0; box-shadow: none; }
.steps li::before { content: counter(st, decimal-leading-zero); position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 0 20px; border: 1px solid var(--rule); border-radius: 50%; background: var(--paper); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: 0; color: var(--accent); }
.steps li::after { content: ""; position: absolute; left: 40px; right: 0; top: 20px; height: 1px; background: var(--rule); }
.steps li:last-child::after { display: none; }
.steps .st-name { font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--ink); margin-bottom: 10px; }
.steps li p:not(.st-name) { font-size: 15px; line-height: 1.65; color: var(--graphite); max-width: 34ch; }
/* Doctor: a balanced photographic spread with an open editorial biography. */
.doctor { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); padding-top: var(--section); padding-bottom: 0; align-items: center; }
.doctor-photo { grid-column: 1; width: 100%; max-width: none; align-self: center; }
.doctor-photo::before { display: none; }
.doctor-photo-frame { aspect-ratio: 1; overflow: hidden; background: var(--accent-soft); }
.doctor-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 65% 88%; border-radius: 2px; box-shadow: none; }
.doctor-photo figcaption { display: flex; align-items: center; gap: 12px; font-size: 13px; margin-top: 16px; }
.doctor-photo figcaption::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.doctor-text { grid-column: 2; max-width: none; margin: 0; padding: 0; border-radius: 0; box-shadow: none; }
.doctor h2 { font-size: clamp(36px, 3.7vw, 58px); line-height: 1.04; letter-spacing: -.04em; }
.doctor h2[data-label]::before { margin-bottom: 18px; }
.doctor-heading-note { display: block; color: var(--accent); font-weight: 400; }
.doctor .lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.65; margin: 24px 0 0; max-width: 58ch; }
.doctor .proto-flag { display: none; }
html.review .doctor .proto-flag { display: block; margin-top: 12px; }
.doctor-education { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.doctor-education h3 { color: var(--accent); font-size: 13px; font-weight: 500; margin-bottom: 18px; }
.doctor-education dl { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.doctor-education dt { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: 8px; }
.doctor-education dd { font-size: 14px; line-height: 1.55; color: var(--graphite); }
.doctor-thesis { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--rule); }
.doctor-thesis summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 36px; font-size: 14px; color: var(--anthracite); cursor: pointer; list-style: none; }
.doctor-thesis summary::-webkit-details-marker { display: none; }
.doctor-thesis summary span { color: var(--accent); font-size: 22px; transition: transform .2s; }
.doctor-thesis[open] summary span { transform: rotate(45deg); }
.doctor-thesis p { font-size: 14px; line-height: 1.6; color: var(--graphite); margin-top: 10px; overflow-wrap: anywhere; }
.doctor .more { display: inline-flex; align-items: center; gap: 24px; padding: 10px 0; margin-top: 20px; background: none; color: var(--accent); border-radius: 0; border-bottom: 1px solid var(--accent); font-size: 15px; line-height: 1.4; }
.doctor .more span { font-size: 22px; flex: none; transition: transform .2s; }
.doctor .more:hover { background: none; color: var(--ink); border-color: var(--ink); }
.doctor .more:hover span { transform: translate(2px, -2px); }
/* Full-width reviews, with the introduction above the reading strip. */
.reviews { display: block; }
.reviews-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px 20px; position: static; margin-bottom: 28px; }
.reviews-head > .google-mark { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.reviews-head h2 { grid-column: 2; }
.reviews h2[data-label]::before { display: none; }
.reviews-head > p { grid-column: 2; margin-top: 0; }
.reviews-head > .proto-flag { display: none; }
html.review .reviews-head > .proto-flag { display: block; }

.google-mark { width: 32px; height: 32px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.reviews-head > .google-mark { width: 42px; height: 42px; margin: 0; }
.review-list { padding: 16px 12px 28px; margin-inline: -12px; }
.review-list li { background: var(--paper); box-shadow: var(--panel-shadow); border: 1px solid var(--rule); border-radius: 10px; }
.review-list li::before { color: var(--accent); font-weight: 500; }
.review-list p { font-size: 18px; line-height: 1.6; }
.review-list footer .google-mark { width: 18px; height: 18px; margin-right: 5px; }
/* Short initial reading block; remaining original paragraphs stay expandable. */
.seo { display: block; }
.seo h2 { text-align: center; font-size: clamp(30px, 3.3vw, 46px); margin-bottom: 26px; }
.seo-text { max-width: 1100px; margin-inline: auto; padding: clamp(22px, 3vw, 40px); border-radius: 10px; box-shadow: var(--panel-shadow); }
.seo-more { margin-top: 18px; }
.seo-more summary { cursor: pointer; color: var(--accent); font-weight: 500; }
.seo-more[open] summary { margin-bottom: 18px; }
/* Clinic: an editorial photo spread and a single typographic information column. */
.clinic { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.clinic-main { grid-column: 1; grid-row: 1; margin: 0; }
.clinic-main img { width: 100%; aspect-ratio: 6 / 5; max-height: 580px; object-fit: cover; border-radius: 2px; box-shadow: none; }
.clinic-ph { width: 100%; aspect-ratio: 6 / 5; max-height: 580px; display: grid; place-items: center; background: #F2F4EA; border-radius: 4px; }
.clinic-ph img { width: clamp(56px, 8vw, 96px); height: auto; aspect-ratio: auto; max-height: none; opacity: .28; border-radius: 0; }
.clinic-copy { grid-column: 2; grid-row: 1; min-width: 0; }
.clinic h2 { padding: 0; border: 0; margin-bottom: 30px; font-size: clamp(32px, 3.6vw, 56px); }
.clinic h2[data-label]::before { margin-bottom: 14px; }
.clinic-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.clinic-info > div { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.clinic-info > div:first-child { grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.clinic-info > div:last-child { grid-column: 1 / -1; padding-top: 4px; }
.clinic-info dt { color: var(--graphite); font-size: 13px; margin-bottom: 8px; }
.clinic-info dd { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.clinic-info > div:first-child dd { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.45; max-width: 29ch; }
.clinic-info > div:last-child a { display: inline-flex; gap: 28px; align-items: center; padding-bottom: 8px; }
.clinic-info > div:last-child a::after { content: "↗"; font-size: 24px; line-height: 1; }
.clinic .proto-flag { display: none; }
html.review .clinic .proto-flag { display: block; margin-top: 18px; }
.clinic-shot { min-height: 0; padding: 0; border: 0; background: none; }
.journal-list a { column-gap: 20px; }
.insta-grid a { aspect-ratio: 1; background: var(--paper); border: 1px solid var(--rule); box-shadow: var(--panel-shadow); border-radius: 8px; }
/* Contact section typography and direct communication channels. */
.contact { margin: clamp(32px, 3vw, 48px) 0 0; padding: clamp(24px, 2.5vw, 36px) var(--margin); border: 0; border-top: 1px solid var(--accent); border-radius: 0; box-shadow: none; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.04em; max-width: none; }
.contact h2[data-label]::before { font-size: 14px; letter-spacing: 0; margin-bottom: 12px; }
.contact .channels li { grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 12px; padding: 11px 0; }
.contact .channels li:last-child { border-bottom: 0; }
.contact .channels span { color: var(--graphite); font-size: 13px; }
.contact .channels a { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 400; font-size: clamp(17px, 1.7vw, 23px); }
.contact .channels a::after { content: "↗"; color: var(--accent); font-size: 18px; }
@media (max-width: 1100px) {
  .map-figure, .map-panel { grid-column: 1 / -1; }
  .map-figure { width: 100%; max-width: 680px; justify-self: center; }
  .clinic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .clinic-info { gap: 20px; grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-portrait { grid-column: 1 / 6; }
  .hero-text { grid-column: 7 / 13; }
  .hero-name { font-size: 9vw; }
  .contact-channels, .contact-form { grid-column: 1 / -1; }
  .contact h2 { max-width: none; font-size: clamp(30px, 5.2vw, 40px); }
}
@media (max-width: 760px) {
  .hero-portrait, .hero-text, .doctor-photo, .doctor-text { grid-column: 1 / -1; grid-row: auto; }
  .hero-portrait { width: 76%; max-width: 340px; justify-self: center; }
  .hero-portrait .hero-second { right: -8%; width: 32%; }
  .hero-name { font-size: 16vw; }

  .doctor { grid-template-columns: 1fr; gap: 28px; }
  .doctor-photo { width: 100%; max-width: none; margin: 0; }
  .doctor-text { margin: 0; padding: 0; }
  .doctor h2 { font-size: clamp(36px, 9vw, 48px); }
  .doctor-education dl { grid-template-columns: 1fr; gap: 20px; }
  .doctor .more { gap: 16px; font-size: 14px; }
  .clinic { grid-template-columns: 1fr; gap: 28px; }
  .clinic-main, .clinic-copy { grid-column: 1; grid-row: auto; }
  .clinic h2 { font-size: clamp(32px, 8vw, 48px); }
  .clinic-info { grid-template-columns: 1fr; }
  .reviews-head { grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; }
  .reviews-head > .google-mark { width: 30px; height: 30px; grid-row: 1; }
  .reviews-head > p { grid-column: 1 / -1; margin-top: 8px; }
  .reviews h2 { font-size: clamp(30px, 7.5vw, 42px); }
  .review-list li { flex-basis: 90%; }
  .glance-table tbody th { font-size: 20px; }
  .channels li { grid-template-columns: 1fr; gap: 6px; }
}

/* Final homepage density pass: useful content remains available on small screens. */
.glance-table tr[hidden], .glance-toggle[hidden] { display: none; }
.glance-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 18px; padding: 10px 20px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--accent); font-size: 14px; font-weight: 500; cursor: pointer; }
.glance-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 760px) {
  .map-figure .face { width: 90%; margin-inline: auto; }
  .reviews-head { grid-template-columns: 26px minmax(0, 1fr); gap: 6px 10px; margin-bottom: 14px; }
  .reviews-head > .google-mark { width: 24px; height: 24px; }
  .reviews h2 { font-size: clamp(26px, 6.5vw, 32px); }
  .reviews-head > p { font-size: 13px; line-height: 1.5; margin-top: 4px; }
  .review-list { gap: 10px; padding-bottom: 18px; }
  .review-list li { flex-basis: 94%; padding: 18px 20px !important; border-radius: 6px; box-shadow: 0 4px 14px rgb(112 120 76 / .06); }
  .review-list li::before { font-size: 36px; line-height: .8; margin-bottom: 8px; }
  .review-list p { font-size: 16px; line-height: 1.5; }
  .review-list footer { margin-top: 12px; font-size: 12px; }
  .review-list footer .google-mark { width: 15px; height: 15px; }
  .contact .channels li { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; padding: 9px 0; }
  .contact .channels a { gap: 6px; min-height: 36px; }
  .mast-right .cta { display: none; }
}

@media (prefers-reduced-motion: reduce) { .mast-right .cta { transition: none; } }

@media (min-width: 761px) and (max-width: 1100px) {
  .steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .steps li:nth-child(even)::after { display: none; }
}
@media (max-width: 760px) {
  .steps ol { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding: 0 0 26px; }
  .steps li::before { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .steps li::after { left: 20px; right: auto; top: 40px; bottom: 0; width: 1px; height: auto; }
  .steps li:last-child { padding-bottom: 0; }
  .steps .st-name { grid-column: 2; margin: 0; padding-top: 7px; font-size: 17px; }
  .steps li p:not(.st-name) { grid-column: 2; font-size: 14px; }
}

/* Center the process composition while retaining the mobile vertical sequence. */
.steps h2 { text-align: center; }
.steps ol { max-width: 1240px; margin-inline: auto; }
@media (min-width: 761px) {
  .steps li { padding: 0 18px; text-align: center; }
  .steps li::before { margin: 0 auto 20px; }
  .steps li::after { left: calc(50% + 20px); right: calc(-50% + 20px); }
  .steps li p:not(.st-name) { margin-inline: auto; }
}

/* Instagram tiles with the posts' own cover images (30.11.2026); the type label sits on the image */
.insta-grid a { position: relative; overflow: hidden; padding: 0; }
.insta-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.insta-grid a:hover img { transform: scale(1.03); }
.insta-grid span { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 4px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) { .insta-grid img { transition: none; } .insta-grid a:hover img { transform: none; } }

/* Clean preview (30.11.2026): like the other pages, prototype notes show only in review mode (?inceleme) */
html:not(.review) .proto-bar, html:not(.review) .proto-flag, html:not(.review) .proto-only { display: none !important; }
