/* Özel Neon Hastanesi — kamuya açık site */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #c81018;
  --red-bright: #ec1c24;
  --red-hover: #9e0d14;
  --red-deep: #7c0b11;
  --navy: #27477d;
  --red-50: #fff1f2;
  --red-100: #ffd9dc;
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #57534e;
  --line: #e7e5e4;
  --line-2: #d6d3d1;
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-2: #f5f5f4;
  --ok: #1b6e3c;
  --ok-bg: #edf7f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(28 18 16 / 5%), 0 10px 28px rgb(28 18 16 / 6%);
  --shadow-lg: 0 2px 6px rgb(28 18 16 / 5%), 0 22px 50px rgb(28 18 16 / 10%);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-hover); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.012em; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 680; }
h4 { font-size: 1.0625rem; font-weight: 680; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); min-width: 0; margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */

.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 1.5px solid var(--red); border-radius: 999px;
  background: var(--red); color: #fff;
  box-shadow: 0 8px 16px rgb(200 16 24 / 16%);
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--red); border-color: var(--line-2); box-shadow: none; }
.btn-outline:hover { background: var(--red-50); color: var(--red-hover); border-color: var(--red); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.btn-light:hover { background: #fff; color: var(--red); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 55%); box-shadow: none; }
.btn-ghost-light:hover { background: rgb(255 255 255 / 12%); border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */

.topbar { background: #f4f6f8; color: var(--red); font-size: .875rem; border-bottom: 1px solid #e8edf2; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.topbar li { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { color: var(--red); text-decoration: none; font-weight: 650; }
.topbar a:hover { color: var(--red-hover); text-decoration: underline; }
.topbar .icon { width: 15px; height: 15px; color: var(--red-bright); }
.topbar-emergency { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.topbar-emergency .pill { background: var(--red); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: .78rem; letter-spacing: .02em; text-transform: uppercase; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / 92%); border-bottom: 1px solid rgb(231 229 228 / 70%); backdrop-filter: blur(20px) saturate(1.4); }
.site-header.is-scrolled { box-shadow: 0 4px 24px -4px rgb(28 25 23 / 12%), 0 1px 3px rgb(28 25 23 / 6%); background: rgb(255 255 255 / 96%); }
.header-inner { position: relative; display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 142px; height: auto; }

.nav { flex: 1; display: flex; align-items: center; justify-content: center; align-self: stretch; min-width: 0; height: 100%; }
.nav > ul { display: flex; align-items: center; gap: 2px; height: 100%; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-item.has-mega, .nav-item:has(.mega) { position: static; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px;
  color: #5c564f; background: transparent; border: 0; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-link::before {
  content: ""; flex: 0 0 auto; width: 0; height: 6px; border-radius: 50%; background: var(--red);
  opacity: 0; transform: scale(.5);
  transition: opacity .2s var(--ease), transform .2s var(--ease), width .2s var(--ease), margin .2s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: var(--red-50); color: var(--ink); }
.nav-link:hover::before, .nav-link[aria-expanded="true"]::before, .nav-link[aria-current="page"]::before { width: 6px; margin-right: 6px; opacity: 1; transform: scale(1); }
.nav-link .icon { width: 14px; height: 14px; opacity: .75; transition: transform .2s var(--ease), opacity .2s; }
.nav-link:hover .icon, .nav-link[aria-expanded="true"] .icon { opacity: 1; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 0; z-index: 20;
  min-width: 340px; margin: 0; padding: 8px;
  background: rgb(255 255 255 / 98%); border: 1px solid rgb(231 229 228 / 80%); border-radius: 24px;
  box-shadow: 0 25px 60px -16px rgb(28 25 23 / 22%);
  list-style: none;
}
.dropdown[hidden] { display: none; }
.dropdown.compact, #dd-corp { left: auto; right: 0; width: min(420px, calc(100vw - 32px)); }
.dropdown.compact:not([hidden]), #dd-corp:not([hidden]) { animation: menu-in .2s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.menu-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 16px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 500;
  transition: background-color .2s, transform .2s var(--ease);
}
.menu-card:hover { background: var(--red-50); color: var(--ink); transform: translateX(2px); }
.menu-ico {
  display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px;
  background: linear-gradient(135deg, var(--red-50), var(--red-100)); color: var(--red);
  transition: transform .2s var(--ease);
}
.menu-card:hover .menu-ico { transform: scale(1.08); }
.menu-ico .icon { width: 18px; height: 18px; }
.menu-card strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.menu-card .menu-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.45;
}

.mega {
  left: 50%; right: auto; width: min(940px, 100%);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 14px;
  transform: translateX(-50%);
}
.mega:not([hidden]) { animation: mega-in .2s var(--ease); }
@keyframes mega-in { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%); } }
.mega .menu-card { padding: 16px; border-radius: 16px; }
.mega .menu-card:hover { transform: translateY(-1px); }
.mega .menu-ico { width: 40px; height: 40px; border-radius: 12px; }
.mega-foot { grid-column: 1 / -1; margin: 6px 8px 4px; padding-top: 12px; border-top: 1px solid var(--line); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-actions .btn { border-radius: 999px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 1px solid transparent; border-radius: 10px; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }

.search-panel { border-top: 1px solid var(--line); background: #fff; }
.search-panel[hidden] { display: none; }
.search-panel form { display: flex; gap: 10px; padding-block: 16px; }
.search-panel input { flex: 1; }

/* ---------- Mobile nav ---------- */

.mnav {
  position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column;
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
}
.mnav[hidden] { display: none; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.mnav-head img { width: 120px; }
.mnav-body { padding: 8px var(--gutter) 24px; }
.mnav-body > ul { margin: 0; padding: 0; list-style: none; }
.mnav-body > ul > li { border-bottom: 0; }
.mnav-body a, .mnav-body summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px; border-radius: 14px; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.mnav-body > ul > li > a[aria-current="page"], .mnav-body summary[aria-current="page"] { background: var(--red-50); }
.mnav-body summary::-webkit-details-marker { display: none; }
.mnav-body details[open] > summary { background: var(--surface-2); }
.mnav-body details[open] summary .icon { transform: rotate(180deg); }
.mnav-body details ul { margin: 4px 0 12px; padding: 0; list-style: none; border-left: 0; }
.mnav-body details a { min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.mnav-actions { display: grid; gap: 10px; margin-top: 20px; }
.mnav-body .mnav-actions .btn { justify-content: center; gap: 10px; min-height: 52px; font-size: 1.05rem; }
.mnav-body .mnav-actions .btn:not(.btn-outline) { color: #fff; }
.mnav-contact { display: grid; gap: 4px; margin-top: 20px; padding: 16px; border-radius: var(--radius); background: var(--surface-2); font-size: .95rem; }
.mnav-body .mnav-contact a { min-height: 44px; justify-content: flex-start; color: var(--red); font-size: 1.25rem; font-weight: 700; }

.mobile-bar { display: none; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.section-alt, .section-band { background: #fff; border-block: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: .25em; color: var(--red-bright); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.125rem; }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--navy); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Hero ---------- */

.hero { position: relative; background: #fff; color: var(--ink); overflow: hidden; --banner: min(100% - 2 * var(--gutter), calc(var(--container) - 2 * var(--gutter))); }
.hero-track { position: relative; }
.hero-slide { position: relative; display: grid; justify-items: center; min-width: 0; min-height: 0; background: #fff; }
.hero-slide[hidden] { display: none; }
.hero-slide picture, .hero-slide > img { position: relative; inset: auto; grid-area: 1 / 1; width: var(--banner); height: auto; }
.hero-slide img { width: var(--banner); height: auto; object-fit: contain; object-position: center center; }
.hero-slide::after {
  content: ""; grid-area: 1 / 1; justify-self: center; align-self: stretch; position: relative; z-index: 1; pointer-events: none;
  width: var(--banner);
  background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 88%) 22%, rgb(255 255 255 / 42%) 38%, transparent 52%);
}
.hero-content { position: relative; z-index: 2; grid-area: 1 / 1; align-self: center; display: flex; align-items: center; min-width: 0; width: 100%; max-width: var(--container); margin-inline: auto; padding-block: 40px 132px; }
.hero-content > div { max-width: 32rem; padding: 0 0 0 clamp(8px, 1.2vw, 20px); background: transparent; border-radius: 0; }
.hero h1, .hero .hero-title { color: var(--red-bright); font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); font-weight: 760; margin-bottom: 18px; }
.hero h1.eyebrow {
  color: var(--navy); font-size: .82rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2;
  text-transform: uppercase; margin: 0 0 8px;
}
.hero p { color: var(--ink-2); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 54ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn, .cta-box .btn { border-radius: 999px; }
.hero .eyebrow { color: var(--navy); }
.hero-controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 96px; }
.hero-controls .container { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hero-dots { display: flex; gap: 8px; min-width: 0; }
.hero-dot { width: 32px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dot::before { content: ""; width: 100%; height: 3px; border-radius: 3px; background: rgb(39 71 125 / 28%); transition: background-color .2s; }
.hero-dot[aria-current="true"]::before { background: var(--red-bright); }
.hero-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--red); color: #fff; cursor: pointer; }
.hero-arrow:hover { background: var(--red-hover); }
.hero-count { margin-left: 8px; flex: none; font-size: .95rem; color: var(--navy); font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- Quick actions ---------- */

.quick { position: relative; z-index: 3; margin-top: -64px; }
.quick-grid {
  --q-line: rgb(255 255 255 / 28%);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--red); border: 0; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.quick-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; min-width: 0; padding: 22px 16px;
  color: #fff; text-decoration: none; border-right: 1px solid var(--q-line);
  transition: background-color .15s;
}
.quick-item:last-child { border-right: 0; }
.quick-item:hover { background: var(--red-hover); color: #fff; }
.quick-item strong { font-size: 1.02rem; line-height: 1.25; color: #fff; }
.quick-item > span:not(.q-icon) { color: rgb(255 255 255 / 86%); font-size: .9rem; line-height: 1.35; }
.quick-item .q-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: #fff; color: var(--red); }
.quick-item.is-primary,
.quick-item.is-primary:hover { background: transparent; color: #fff; }
.quick-item.is-primary:hover { background: var(--red-hover); }

/* ---------- Cards ---------- */

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgb(28 18 16 / 4%); }
a.card { color: var(--ink); text-decoration: none; transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease); }
a.card:hover {
  color: var(--ink);
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 16px 32px rgb(200 16 24 / 14%);
  transform: translateY(-4px);
}

.dept-card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; overflow: visible; text-align: center; border-radius: 20px; border: 1px solid var(--line); box-shadow: none; background: #fff; }
.dept-card:hover { color: var(--ink); border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 16px 32px rgb(200 16 24 / 14%); }
.dept-card .media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: visible; border-radius: 20px 20px 0 0; }
.dept-card .shot { height: 100%; overflow: hidden; border-radius: inherit; }
.dept-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dept-card:hover .media img { transform: scale(1.04); }
.dept-card .badge {
  position: absolute; left: 50%; bottom: 0; z-index: 1; transform: translate(-50%, 50%);
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 999px;
  background: var(--red-bright); color: #fff; border: 4px solid #fff;
  box-shadow: 0 8px 16px rgb(200 16 24 / 24%);
}
.dept-card .badge .icon { width: 26px; height: 26px; }
.dept-card .body { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; padding: 42px 18px 20px; }
.dept-card h3 { margin: 0; font-size: 1.15rem; color: var(--navy); overflow-wrap: anywhere; }
.dept-card p { margin: 0; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dept-card .tag { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--ink); padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 650; }

.doc-card { display: flex; flex-direction: column; height: 100%; }
.doc-card .media { aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
.doc-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doc-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.doc-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; color: var(--navy); }
.doc-card .spec { color: var(--red); font-weight: 650; font-size: .92rem; }
.doc-card .title { color: var(--muted); font-size: .9rem; }
.avatar-fallback { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2.6rem; font-weight: 700; color: var(--red); background: var(--red-100); }

.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .media { aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.post-card time { color: var(--muted); font-size: .88rem; }
.post-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; color: var(--navy); }
.post-card p { margin: 0; color: var(--muted); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Highlights (tabs) ---------- */

.section:has(#h-hl) .section-head { justify-content: center; text-align: center; }
.section:has(#h-hl) .section-head > div { max-width: 640px; }
.hl { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 0; align-items: center; }
.hl-tabs {
  display: flex; flex-direction: column; gap: 10px; margin: 0; position: relative; z-index: 1;
  padding: 26px 108px 40px 20px; background: #474747; border: 0; border-radius: 16px 16px 180px 16px;
}
.hl-tab {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%;
  min-height: 54px; padding: 12px 18px; border: 0; border-radius: 10px;
  background: rgb(255 255 255 / 8%); color: #fff; font: inherit; font-weight: 650; text-align: left; cursor: pointer;
}
.hl-tab::before { content: "+"; flex: none; font-size: 1.2rem; font-weight: 700; line-height: 1; }
.hl-tab:hover { background: rgb(255 255 255 / 16%); color: #fff; }
.hl-tab[aria-selected="true"] { background: var(--red); color: #fff; }
.hl-tab .icon { display: none; }
.hl-panel {
  display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 0;
  align-items: center; position: relative; z-index: 2; margin-left: -120px;
  background: transparent; border: 0; border-radius: 0; overflow: visible; min-height: 0;
}
.hl-panel[hidden] { display: none; }
.hl-panel .media { position: relative; z-index: 2; width: 100%; aspect-ratio: 1; background: transparent; border-radius: 50%; }
.hl-panel .media::before {
  content: ""; position: absolute; inset: -12px; border: 6px solid var(--red-bright); border-radius: 50%; pointer-events: none;
}
.hl-panel .media img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hl-panel .body {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center;
  min-height: 340px; margin-left: -70px; padding: 40px 36px 40px 100px;
  background: #e8ebf0; border-radius: 40px;
}
.hl-panel h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.15rem); color: var(--navy); }
.hl-panel h3::before { content: "+"; margin-right: 8px; color: var(--red-bright); font-weight: 700; }
.hl-panel p { color: var(--ink-2); font-size: 1.08rem; }
.hl-panel .check-list li { padding-left: 22px; }
.hl-panel .check-list li::before { width: 10px; height: 10px; top: .45em; border-radius: 50%; background: var(--red-bright); }
.check-list { margin: 4px 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 999px;
  background: var(--red-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }

/* ---------- Doctor rail ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  color: var(--ink-2); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; text-decoration: none;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.rail { position: relative; min-width: 0; max-width: 100%; }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  min-width: 0; max-width: 100%;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 6px 16px; margin-block: -6px -16px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; margin-top: 20px; }
.rail-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; }
.rail-btn:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.rail-btn:disabled { opacity: .4; cursor: default; }

/* ---------- Video ---------- */

.video-band {
  position: relative;
  background-color: #fff;
  background-image: url("/img/bg-shape-1.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: 120px;
}
.video { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.video-frame { position: relative; }
.video-collage { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 148px minmax(210px, 1fr); gap: 14px; min-height: 440px; }
.video-collage img { width: 100%; height: 100%; object-fit: cover; }
.video-collage.shots-3 img:nth-child(1) { grid-row: 1 / 3; border-radius: 36px 100px 36px 120px; }
.video-collage.shots-3 img:nth-child(2) { border-radius: 28px 28px 72px 28px; }
.video-collage.shots-3 img:nth-child(3) { border-radius: 90px 32px 80px 32px; }
.video-collage.shots-2 { grid-template-rows: 1fr; min-height: 380px; }
.video-collage.shots-2 img:nth-child(1) { border-radius: 36px 80px 36px 100px; }
.video-collage.shots-2 img:nth-child(2) { border-radius: 80px 32px 80px 32px; }
.video-collage.shots-1 { display: block; min-height: 380px; }
.video-collage.shots-1 img { position: absolute; inset: 0; border-radius: 40px 110px 40px 120px; }
.video-collage.shots-poster { display: block; width: 100%; max-width: 100%; min-height: 0; aspect-ratio: auto; overflow: visible; }
.video-collage.shots-poster img { position: static; display: block; width: 100%; max-width: 100%; height: auto; object-fit: unset; border-radius: 0; }
.shots-poster .video-play span { left: 35.3%; top: 66.8%; width: 16%; height: auto; aspect-ratio: 1; }
.video-collage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 24px; background: #111; }
.video-play {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: transparent;
}
.video-play span {
  position: absolute; left: 42%; top: 62%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 999px;
  background: var(--red-bright); color: #fff;
  box-shadow: 0 0 0 14px rgb(236 28 36 / 20%), 0 10px 24px rgb(200 16 24 / 28%);
  transition: transform .2s var(--ease);
}
.video-play:hover span { transform: translate(-50%, -50%) scale(1.06); }
.video-play .icon { width: 32px; height: 32px; fill: currentColor; stroke: none; margin-left: 4px; }
.video-copy h2 { display: grid; gap: 2px; margin: 0 0 16px; font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.7rem); font-weight: 760; line-height: 1.12; }
.video-copy h2 span { color: var(--red-bright); }
.video-copy h2 .navy { color: var(--navy); }
.video-copy p { margin: 0; color: var(--ink-2); font-size: 1.08rem; max-width: 42ch; }
.video-hotline { margin-top: 26px !important; color: var(--navy) !important; font-size: .8rem !important; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.video-phone { display: block; margin: 4px 0 20px; color: var(--navy); font-size: clamp(1.8rem, 1.2rem + 1.2vw, 2.35rem); font-weight: 760; letter-spacing: -.02em; text-decoration: none; }
.video-phone:hover { color: var(--red); }

/* ---------- Contact band ---------- */

.contact-band { display: grid; grid-template-columns: 1fr 1.3fr; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.contact-band .info { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.contact-band h2 { color: var(--red-bright); margin: 0; }
.contact-band .eyebrow { color: var(--navy); }
.contact-band .big-phone { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 750; text-decoration: none; letter-spacing: -.01em; }
.contact-band .big-phone:hover { color: var(--red); text-decoration: underline; }
.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; color: var(--ink-2); }
.contact-list li { display: flex; gap: 12px; }
.contact-list .icon { color: var(--red-bright); margin-top: 3px; }
.contact-list a { color: var(--navy); }
.contact-band .map { min-height: 360px; background: #2a2e33; }
.contact-band .map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.2); }

/* ---------- Page hero ---------- */

.page-hero { background: transparent; border-bottom: 0; padding-block: 18px 4px; }
.page-hero + .section,
.page-hero + .section-tight,
.page-hero + .container { padding-top: 12px; }
.page-hero h1 { margin: 0; max-width: 22ch; letter-spacing: -.02em; color: var(--navy); }
.page-hero .lead { margin: 14px 0 0; color: var(--muted); font-size: 1.15rem; max-width: 64ch; }
.page-hero.with-media { padding-bottom: 0; }

.crumbs { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout-rev { grid-template-columns: 280px minmax(0, 1fr); }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.aside-box h2, .aside-box h3 { font-size: 1rem; margin-bottom: 12px; }
.side-nav { margin: 0; padding: 0; list-style: none; }
.side-nav a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.side-nav a:hover { background: var(--surface-2); color: var(--ink); }
.side-nav a[aria-current="page"] { background: var(--red-50); color: var(--red); font-weight: 650; box-shadow: inset 3px 0 0 var(--red); }
.openings { margin: 0; padding: 0; list-style: none; }
.openings li { padding: 12px 2px; border-bottom: 1px solid var(--line); }
.openings li:last-child { border-bottom: 0; padding-bottom: 0; }
.openings span { display: block; margin-top: 4px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.cta-box { background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--red-bright); }
.cta-box h2, .cta-box h3 { color: var(--navy); font-size: 1.2rem; }
.cta-box p { color: var(--ink-2); font-size: .98rem; }
.cta-box .btn + .btn { margin-top: 10px; }
.cta-box a.phone { color: var(--red); font-size: 1.35rem; font-weight: 750; text-decoration: none; }

.cover { border-radius: 16px; overflow: hidden; aspect-ratio: 2 / 1; background: var(--surface-2); margin-bottom: 32px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Prose ---------- */

.prose { color: var(--ink-2); font-size: 1.09rem; line-height: 1.75; max-width: 74ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 1.28rem; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h4 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--red); }
.prose strong, .prose b { color: var(--ink); font-weight: 680; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); color: var(--ink); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 1rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { width: 34%; color: var(--ink); font-weight: 650; background: var(--surface-2); }
.prose th p, .prose td p { margin: 0; }
.disclaimer { display: flex; gap: 12px; margin-top: 36px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink-2); font-size: .98rem; }
.disclaimer .icon { color: var(--red); margin-top: 2px; }

/* ---------- Doctor detail ---------- */

.doc-hero { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.doc-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); box-shadow: var(--shadow); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--red-100); color: var(--red-deep); font-size: .9rem; font-weight: 650; text-decoration: none; }
.badge-neutral { background: var(--surface-2); color: var(--ink-2); }
a.badge:hover { background: var(--red); color: #fff; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.info-tile { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.info-tile .q-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: var(--red-bright); color: #fff; flex: none; }
.info-tile h2, .info-tile h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 4px; }
.info-tile p { margin: 0; color: var(--ink); font-weight: 600; white-space: pre-line; }
.doc-hero .prose { max-width: none; }
.doc-hero .prose table { display: block; margin: 0; }
.doc-hero .prose tbody,
.doc-hero .prose tr { display: block; }
.doc-hero .prose tr {
  display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 6px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.doc-hero .prose tr:last-child { border-bottom: 0; padding-bottom: 0; }
.doc-hero .prose th,
.doc-hero .prose td { display: block; width: auto; padding: 0; border: 0; background: none; }
.doc-hero .prose th {
  color: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: 6px;
}
.doc-hero .prose td { color: var(--ink); font-size: 1.05rem; }
.doc-hero .prose tr:has(ul) { grid-template-columns: 1fr; gap: 12px; }
.doc-hero .prose td ul {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none;
}
.doc-hero .prose td li {
  position: relative; margin: 0; padding: 12px 14px 12px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); line-height: 1.4;
}
.doc-hero .prose td li::before {
  content: ""; position: absolute; left: 14px; top: 1.15em; width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright);
}

/* ---------- Filters ---------- */

.filter-bar { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px; padding: 16px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.result-note { margin: 0 0 18px; color: var(--muted); }
.empty { padding: 48px 24px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.empty h2, .empty h3 { color: var(--ink); font-size: 1.25rem; }

/* ---------- Institutions ---------- */

.inst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.inst-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; box-shadow: 0 1px 2px rgb(28 18 16 / 4%); transition: box-shadow .2s var(--ease), border-color .2s; }
.inst-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.inst-card[hidden] { display: none; }
.inst-logo { display: grid; place-items: center; width: 100%; height: 96px; }
.inst-logo img { max-width: 150px; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.inst-card h3 { margin: 0; font-size: 1rem; font-weight: 650; }
.inst-badges { display: flex; gap: 6px; min-height: 26px; }
.inst-badges span { padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.b-oss { background: var(--red-100); color: var(--red-deep); }
.b-tss { background: #e8eef9; color: #1e3a8a; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 20px; color: var(--muted); font-size: .95rem; }

/* ---------- Forms ---------- */

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.fieldset-box { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 650; font-size: .98rem; color: var(--ink); }
.field .hint { color: var(--muted); font-size: .9rem; }
.req { color: var(--red); }
input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="date"], input[type="number"], input[type="password"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff;
  color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: #bfb6b1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgb(180 35 24 / 14%); }
.input-validation-error { border-color: var(--red) !important; background: #fffafa; }
.field-error, .field-validation-error { color: #a61b1b; font-size: .92rem; font-weight: 600; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
input[type="file"] { width: 100%; padding: 12px; border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--bg); font: inherit; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 500; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--red); }
.check-group { display: grid; gap: 10px; }
.check-group.inline { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot p { margin: 0; color: var(--muted); font-size: .92rem; }

.alert { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #c4e5cf; }
.alert-error { background: #fdf0f0; color: #8e1212; border: 1px solid #f3caca; }
.alert .icon { margin-top: 2px; }

.contact-cards { display: grid; gap: 14px; }
.map-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ---------- External link pages ---------- */

.ext-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; max-width: 860px; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.ext-card .q-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--red-100); color: var(--red); }
.ext-card .q-icon .icon { width: 30px; height: 30px; }
.ext-card ol { padding-left: 1.2em; color: var(--ink-2); }
.ext-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.note { color: var(--muted); font-size: .95rem; margin-top: 16px; }

/* ---------- Search results ---------- */

.result-group { margin-bottom: 40px; }
.result-group h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.result-group h2 .count { font-size: .9rem; color: var(--muted); font-weight: 600; }
.result-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.result-list a { display: block; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.result-list a:hover { border-color: var(--red); }
.result-list strong { display: block; font-size: 1.06rem; }
.result-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */

.site-footer { margin-top: clamp(56px, 7vw, 104px); background: #fff; color: var(--ink-2); font-size: .98rem; border-top: 0; }
.site-footer::before { content: ""; display: block; height: 4px; background: var(--red-bright); }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 44px; }
.footer-brand img { width: 148px; height: auto; }
.site-footer h2 {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px;
}
.site-footer h2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.footer-contact { margin-top: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--red); width: 18px; height: 18px; margin-top: 3px; }
.footer-bottom { background: var(--red); border-top: 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px; font-size: .9rem; color: #e4ebf5; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Çerez bildirimi ---------- */

html.cerez-ok .cookie-bar { display: none; }
.cookie-bar {
  position: fixed; z-index: 85; left: 0; right: 0; bottom: 0;
  background: #fff; color: var(--ink); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgb(24 18 16 / 10%);
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
}
.cookie-bar-inner {
  width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px;
}
.cookie-bar p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.cookie-bar a { color: var(--red); font-weight: 700; }
.cookie-bar .btn { flex: none; min-height: 44px; }

/* ---------- Error ---------- */

.error-page { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.error-page .code { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 12px; letter-spacing: -.03em; }
.error-page p { color: var(--muted); font-size: 1.15rem; }
.error-page .hero-actions { justify-content: center; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1320px) {
  .header-actions .btn-label-long { display: none; }
  .header-actions .btn-outline { padding: 0 11px; }
}

@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .nav-link { padding: 0 10px; font-size: 13px; }
  .nav-link::before { display: none; }
  .mega { width: min(720px, 100%); grid-template-columns: 1fr 1fr; }
  .header-actions { gap: 6px; }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-item:nth-child(3n) { border-right: 0; }
  .quick-item:nth-child(-n+3) { border-bottom: 1px solid var(--q-line); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .topbar ul li.hide-md { display: none; }

  body { padding-bottom: 68px; }
  .cookie-bar { bottom: calc(68px + env(safe-area-inset-bottom)); padding-bottom: 14px; }
  .cookie-bar-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-bar .btn { width: 100%; }
  .mobile-bar {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr);
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(24 18 16 / 8%);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 64px; color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 650; }
  .mobile-bar a .icon { width: 22px; height: 22px; }
  .mobile-bar a.is-primary { background: var(--red); color: #fff; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .hl { grid-template-columns: 1fr; gap: 28px; }
  .hl-tabs { padding-right: 20px; border-radius: 16px; }
  .hl-panel { margin-left: 0; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); }
  .hl-panel .body { margin-left: -48px; padding-left: 72px; min-height: 0; }
  .layout, .layout-rev { grid-template-columns: 1fr; }
  .aside { position: static; }
  .doc-hero { grid-template-columns: 300px minmax(0, 1fr); }
  .video { grid-template-columns: minmax(0, 1fr); }
  .video-collage { min-height: 0; grid-template-rows: none; }
  .video-collage.shots-poster { width: 100%; min-height: 0; }
  .shots-poster .video-play span { left: 35.3%; top: 66.8%; width: 16%; height: auto; aspect-ratio: 1; }
  .contact-band { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1.03rem; }
  .topbar .container { justify-content: center; }
  .topbar ul { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .section-head { flex-direction: column; align-items: start; }
  .video-band { padding-block: 48px; }
  .hero { --banner: 100%; }
  .hero-slide { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-slide::after { display: none; }
  .hero-slide > img {
    width: 100%; height: auto; aspect-ratio: 3 / 2; flex: none;
    object-fit: cover; object-position: center top;
  }
  .hero-content {
    align-self: stretch; width: 100%; margin-top: -28px; position: relative; z-index: 2;
    padding: 20px var(--gutter) 148px; background: #fff; border-radius: 28px 28px 0 0;
  }
  .hero-content > div { padding: 0; background: transparent; border-radius: 0; max-width: none; }
  .hero-copy {
    position: absolute; z-index: 3; left: var(--gutter); width: min(58%, 16rem); height: auto;
    top: calc(32px - 100vw / 3); transform: translateY(-50%);
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left;
    padding: 10px 12px; background: rgb(255 255 255 / 84%); border-radius: 16px;
  }
  .hero-copy h1.eyebrow { margin-bottom: 4px; font-size: .72rem; }
  .hero .hero-title {
    position: static; margin: 0 0 6px; font-size: 1.4rem; line-height: 1.15; text-shadow: none;
  }
  .hero-copy p { margin: 0; font-size: .92rem; line-height: 1.32; text-shadow: none; }
  .hero-controls { bottom: 84px; }
  .hero-controls .container { gap: 10px; }
  .hero-dot { width: 18px; }
  .quick { margin-top: -56px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-item { padding: 18px 16px; border-bottom: 1px solid var(--q-line); }
  .quick-item:nth-child(3n) { border-right: 1px solid var(--q-line); }
  .quick-item:nth-child(2n) { border-right: 0; }
  .quick-item:nth-last-child(-n+2) { border-bottom: 0; }
  .quick-item span { display: none; }
  .rail-track { grid-auto-columns: 72%; gap: 14px; }
  .hl-panel { grid-template-columns: 1fr; justify-items: center; }
  .hl-panel .media { width: min(260px, 78%); }
  .hl-panel .body { width: 100%; margin-left: 0; margin-top: -24px; padding: 48px 22px 28px; text-align: left; border-radius: 24px; }
  .check-list.cols-2 { grid-template-columns: 1fr; }
  .doc-hero { grid-template-columns: 1fr; }
  .doc-hero .prose tr,
  .doc-hero .prose td ul { grid-template-columns: 1fr; }
  .doc-photo { max-width: 340px; }
  .info-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .ext-card { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }
  .contact-band .map, .contact-band .map iframe { min-height: 280px; }
  .map-frame iframe { height: 320px; }
  .inst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 420px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-card .body { padding: 12px 12px 14px; }
  .doc-card h3 { font-size: 1rem; }
}
