/* TopaDental – 2026. A régi oldal türkiz-kék színvilága és csíkos mintája, modern, mobilbarát formában. */
:root {
  --c-primary: #1f7f9e;
  --c-primary-600: #17657e;
  --c-primary-300: #5fb4cf;
  --c-primary-50: #eaf6fa;
  --c-teal: #33b5c4;
  --c-accent: #d63f78;
  --c-accent-50: #fdecf3;
  --c-ink: #1b2a35;
  --c-muted: #5a6b78;
  --c-line: #d9e6ec;
  --c-bg: #ffffff;
  --c-tint: #f3f9fb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 52, 66, .06), 0 8px 24px rgba(16, 52, 66, .08);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --stripes: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 10px, rgba(255,255,255,0) 10px 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--c-ink); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-600); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--c-muted); }
.sr, .sprite { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--c-ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.i--lg { width: 30px; height: 30px; color: var(--c-primary); }

/* ---------- fejléc ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--c-line); }
.topbar { background: var(--c-primary); background-image: var(--stripes); color: #fff; font-size: 14px; }
.topbar__in { display: flex; gap: 22px; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; gap: 6px; align-items: center; color: #fff; text-decoration: none; }
a.topbar__item:hover { color: #fff; text-decoration: underline; }
.topbar__fb { margin-left: auto; }
.navbar__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-ink); margin-right: auto; }
.brand__tooth { width: 40px; height: 44px; fill: none; stroke: var(--c-primary); stroke-width: 2.6; stroke-linejoin: round; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--c-primary-600); }
.brand__name b { color: var(--c-teal); font-weight: 800; }
.brand__tag { white-space: nowrap; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--c-muted); margin-top: 4px; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.mainnav a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.mainnav a:hover { background: var(--c-primary-50); color: var(--c-primary-600); }
.mainnav a[aria-current="page"] { background: var(--c-primary-50); color: var(--c-primary-600); }
.mainnav__ortho { background: var(--c-accent-50); color: var(--c-accent) !important; }
.mainnav__ortho:hover { background: var(--c-accent) !important; color: #fff !important; }
.navtoggle { display: none; }

/* ---------- gombok ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; }
.btn--primary { background: var(--c-accent); color: #fff; box-shadow: 0 6px 18px rgba(214, 63, 120, .28); }
.btn--primary:hover { background: #bd2f65; color: #fff; }
.btn--ghost { border-color: var(--c-primary); color: var(--c-primary); background: #fff; }
.btn--ghost:hover { background: var(--c-primary); color: #fff; }
.link-arrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--c-primary-600) 0%, var(--c-primary) 45%, var(--c-teal) 100%); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--stripes); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13.5px; font-weight: 700; opacity: .9; margin-bottom: 10px; }
.hero__title { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-bottom: 18px; }
.hero__lead { font-size: 19px; max-width: 34em; opacity: .95; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero__cta .btn--ghost { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.hero__cta .btn--ghost:hover { background: #fff; color: var(--c-primary-600); }
.hero__media img { width: 100%; border-radius: 28px 28px 28px 120px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); border: 6px solid rgba(255,255,255,.85); }

/* ---------- gyorsinfó ---------- */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -34px; position: relative; z-index: 2; }
.quick__card { display: flex; gap: 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; font-size: 15.5px; }
.quick__card p { margin: 0 0 .4em; }
.quick__h { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-primary-600); margin-bottom: 6px; }
.big-phone { font-size: 22px; font-weight: 800; text-decoration: none; color: var(--c-accent); }

/* ---------- szekciók ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--c-tint); }
.section__title { font-size: clamp(26px, 3vw, 34px); color: var(--c-primary-600); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.lead { font-size: 20px; color: var(--c-primary-600); font-weight: 600; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.narrow { max-width: 760px; }
.intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.intro__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 600; }
.tile .i, .servicelist .i, .checklist .i { color: var(--c-teal); margin-top: .25em; }
.qlinks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.qlinks a { display: block; padding: 12px 0; border-bottom: 1px solid var(--c-line); text-decoration: none; font-weight: 600; color: var(--c-ink); }
.qlinks a:hover { color: var(--c-primary); }

/* ---------- aloldal fejléc ---------- */
.pagehead { background: linear-gradient(120deg, var(--c-primary-600), var(--c-primary) 60%, var(--c-teal)); color: #fff; position: relative; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: var(--stripes); }
.pagehead .wrap { position: relative; padding-top: 44px; padding-bottom: 40px; }
.pagehead h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 0 0 8px; }
.pagehead__lead { margin: 0; font-size: 18px; opacity: .95; max-width: 46em; }

/* ---------- kártyák, rendelő ---------- */
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.clinics { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.clinic { overflow: hidden; }
.clinic__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.clinic__body { padding: 24px; }
.clinic__name { font-size: 22px; color: var(--c-primary-600); margin-bottom: 4px; }
.clinic__note { display: inline-block; background: var(--c-accent-50); color: var(--c-accent); font-weight: 700; font-size: 14px; padding: 2px 10px; border-radius: 999px; }
.clinic__line { display: flex; gap: 10px; align-items: flex-start; }
.clinic__line .i { color: var(--c-primary); margin-top: .25em; }
.hours { background: var(--c-tint); border-radius: var(--radius-sm); padding: 14px 16px; margin: 14px 0; }
.hours__label { display: flex; gap: 8px; align-items: center; font-weight: 700; margin-bottom: 6px; }
.hours__label .i { color: var(--c-primary); }
.hours__list { list-style: none; padding: 0; margin: 0; }
.hours__list li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border-bottom: 1px dashed var(--c-line); }
.hours__list li:last-child { border-bottom: 0; }
.hours__day { font-weight: 600; }
.hours__time { font-variant-numeric: tabular-nums; }
.clinics--page { grid-template-columns: 1fr; }
.clinics--page .clinic__body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.clinics--page .map { margin-top: 0; min-height: 320px; }
.map { margin: 16px 0 10px; border-radius: var(--radius-sm); background: var(--c-primary-50); min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; }
.map__hint { font-size: 13px; color: var(--c-muted); margin: 8px 0 0; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius-sm); }
.map.is-loaded { padding: 0; background: none; }

/* ---------- csapat ---------- */
.person { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; margin-bottom: 40px; }
.person__photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.person__name { font-size: 28px; color: var(--c-primary-600); margin-bottom: 2px; }
.person__role { color: var(--c-accent); font-weight: 700; }
.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; }
.people__item img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.people__name { font-weight: 700; margin: 12px 0 0; font-size: 18px; }
.people__role { color: var(--c-muted); margin: 0; }

/* ---------- szolgáltatások, pénztárak ---------- */
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.split__side { display: grid; gap: 20px; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.servicelist, .checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.servicelist li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 18px; }
.servicelist p { margin: 4px 0 0; font-size: 16px; }
.checklist li { display: flex; gap: 10px; padding: 7px 0; }
.fundgrid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.fund { padding: 26px; }
.fund__title { font-size: 20px; color: var(--c-primary-600); }
.note { margin-top: 28px; background: var(--c-accent-50); border-radius: var(--radius-sm); padding: 16px 20px; }
.note p:last-child { margin: 0; }

/* ---------- jótanácsok ---------- */
.faq { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.faq__toc { position: sticky; top: 130px; background: var(--c-tint); border-radius: var(--radius); padding: 20px 20px 20px 10px; font-size: 15px; max-height: calc(100vh - 160px); overflow: auto; }
.faq__toc ol { margin: 0; padding-left: 2em; }
.faq__toc li { margin-bottom: 6px; }
.faq__toc a { text-decoration: none; color: var(--c-ink); }
.faq__toc a:hover { color: var(--c-primary); text-decoration: underline; }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; }
.faq__item summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 18px; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--c-primary); font-weight: 400; }
.faq__item[open] summary::after { content: "–"; }
.faq__item[open] summary { color: var(--c-primary-600); }
.faq__num { color: var(--c-accent); margin-right: 8px; }
.faq__body { padding: 0 20px 20px; }
.faq__imgs { display: flex; gap: 12px; flex-wrap: wrap; }
.faq__imgs img { max-height: 240px; width: auto; border-radius: var(--radius-sm); }

/* ---------- lábléc ---------- */
.site-footer { background: #10303d; color: #cfe3ea; margin-top: 0; font-size: 15.5px; }
.site-footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-top: 48px; padding-bottom: 28px; }
.footer__brand { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer__brand b { color: var(--c-teal); }
.footer__h { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #8fc3d4; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 22px; font-size: 14px; }
.callbar { display: none; }

/* ---------- mobil ---------- */
@media (max-width: 1020px) {
  .navtoggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--c-primary-50); cursor: pointer; padding: 0 11px; }
  .navtoggle span:not(.sr) { display: block; height: 3px; background: var(--c-primary-600); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 12px 24px rgba(16, 52, 66, .12); padding: 10px 20px 18px; }
  .mainnav.is-open { display: block; }
  .mainnav ul { flex-direction: column; align-items: stretch; }
  .mainnav a { padding: 13px 14px; font-size: 17px; border-radius: 10px; }
  .navbar { position: relative; }
  .hero__in, .intro, .split, .faq, .clinics--page .clinic__body { grid-template-columns: 1fr; }
  .faq__toc { position: static; max-height: none; }
  .quick { grid-template-columns: 1fr; margin-top: 24px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; padding-bottom: 60px; }
  .topbar__item:first-child, .topbar__fb { display: none; }
  .navbar__in { min-height: 66px; }
  .brand__name { font-size: 22px; }
  .brand__tooth { width: 32px; height: 36px; }
  .brand__tag { font-size: 10.5px; }
  .hero__in { padding-top: 34px; padding-bottom: 40px; gap: 28px; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__media img { border-radius: 20px 20px 20px 70px; }
  .section { padding: 44px 0; }
  .tiles, .qlinks, .footer__grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; gap: 18px; }
  .person__photo { max-width: 260px; }
  .clinics { grid-template-columns: 1fr; }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: center; gap: 10px; background: var(--c-accent); color: #fff; font-weight: 800; padding: 15px; text-decoration: none; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .callbar:hover { color: #fff; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .callbar, .site-footer, .map { display: none; } .pagehead, .hero { background: none; color: #000; } }
.site-footer .muted { color: #9cc0cc; }
.hero__cta .btn--primary { white-space: nowrap; }
@media (max-width: 380px) { .hero__cta .btn--primary { white-space: normal; } }
