/* zahnarzt-ungarn.ch: saját CSS (nincs keretrendszer, nincs téma-kód). A stílusértékek (színek, betűméretek,
   térközök) az élő oldal kiszámolt stílusaiból és képernyőképekből vannak levezetve. */

@font-face { font-family: Roboto; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/roboto-300.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/roboto-400.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/roboto-700.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 900; font-style: normal; font-display: swap; src: url(../fonts/roboto-900.woff2) format("woff2"); }

:root {
  --blue: #0067a3;
  --blue-2: #1e73be;
  --navy: #2b4269;
  --deep: #0d4779;
  --orange: #f46e2f;
  --green: #1ba300;
  --green-hover: #3e9333;
  --check: #03c400;
  --link: #428bff;
  --text: #575756;
  --grey: #f4f4f4;
  --line: #dde0e5;
  --radius: 4px;
  --wrap: 1170px;
  --gutter: 15px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #eee; color: var(--text);
  font: 400 14px/1.75 Roboto, Verdana, Geneva, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3, h4, p, ul, ol { margin-top: 0; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.row-section { padding: 40px 0 50px; }
.row-section.pad-lg { padding: 85px 0; }
.bg-blue { background: var(--blue); color: #fff; }
.bg-grey { background: var(--grey); }
.bg-white { background: #fff; }

/* Gombok */
.btn {
  display: inline-block; border: 0; border-radius: var(--radius); cursor: pointer; text-decoration: none; text-align: center;
  font: 400 16px/22px Roboto, sans-serif; padding: 11px 18px 11px 16px; color: #fff; background: var(--link);
  transition: filter .15s, background-color .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: 6px; fill: currentColor; }
.btn-orange { background: var(--orange); font-size: 18px; line-height: 24px; padding: 11px 22px 12px 20px; }
.btn-green { background: var(--green); font-weight: 700; }
.btn-green:hover { background: var(--green-hover); filter: none; }
.btn-center { text-align: center; }
.btn-ghost { background: transparent; color: var(--link); border: 1px solid var(--link); }

/* Hero (Slider Revolution helyett egyszerű kép + szöveg) */
.hero { position: relative; overflow: hidden; background: #cfe6f2; }
.hero picture, .hero img.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img.hero-img { object-fit: cover; object-position: 70% 40%; }
.hero-inner { position: relative; min-height: min(710px, 56vw); display: flex; align-items: center; padding: 60px 0; }
.hero-copy { max-width: 620px; }
.hero-title {
  margin: 0 0 22px; color: var(--deep); font-weight: 900; line-height: 1.17; letter-spacing: -.2px;
  font-size: clamp(30px, 3.9vw, 56px);
}
.hero-text { margin: 0 0 30px; max-width: 460px; color: var(--navy); font-weight: 700; font-size: 15px; line-height: 1.55; }

/* Szekciók */
h1.section-title { margin: 0 0 40px; font-weight: 900; font-size: 36.45px; line-height: 1.35; color: #fff; }
h2.section-title { margin: 0 0 25px; font-weight: 900; font-size: 32.4px; line-height: 1.375; text-align: center; }
.section-sub { text-align: center; font-size: 24px; font-weight: 400; margin: -10px 0 30px; line-height: 1.4; }
h3.accent { margin: 0 0 20px; color: var(--orange); font-weight: 900; font-size: 20.25px; line-height: 1.47; }

/* Foglalás (Cal.com) + űrlap kártyák */
.card { background: #fff; color: var(--text); border-radius: 8px; max-width: 1040px; margin: 0 auto; }
.cal-card { min-height: 340px; padding: 30px; display: grid; place-items: center; text-align: center; }
.cal-card .cal-inner { max-width: 560px; }
.cal-card h2 { margin: 0 0 10px; color: var(--navy); font-size: 22px; font-weight: 900; }
.cal-card p { margin: 0 0 18px; font-size: 14px; }
.cal-card .small { font-size: 12px; color: #6b6b6b; }
.cal-embed { width: 100%; min-height: 560px; overflow: auto; }
.cal-credit { text-align: center; font-size: 12px; margin: 14px 0 0; color: rgba(255,255,255,.8); }
.alt-intro { text-align: center; margin: 40px auto 18px; max-width: 1040px; font-size: 16px; color: #fff; }
.alt-intro h2 { font-size: 24px; font-weight: 900; margin: 0 0 4px; color: #fff; }
.alt-intro p { margin: 0; font-size: 15px; }

/* Ikon-sor */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.feature svg { width: 63px; height: 63px; fill: var(--orange); margin: 0 auto 28px; }
.feature h2 { margin: 0 0 14px; color: #4a4a4a; font-size: 21px; line-height: 1.5; font-weight: 900; }
.feature p { margin: 0 auto; max-width: 300px; font-size: 15px; line-height: 1.65; }

/* Két oszlop */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding-top: 50px; padding-bottom: 50px; }
.split.first { padding-top: 60px; padding-bottom: 30px; }
.split p.lead { color: #b5b5b5; font-weight: 300; font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; font-size: 16px; line-height: 1.6; }
.checks li { position: relative; padding: 0 0 8px 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 19px; height: 19px; border-radius: 50%; background: var(--check);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: calc(.22em + 4px); width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.85);
}
.checks.blue li::before { background: var(--blue); }
.checks strong, .checks b { color: #4a4a4a; font-weight: 700; }

/* CTA sor */
.cta-row { background: var(--blue); text-align: center; }
.cta-row .wrap { padding-top: 40px; padding-bottom: 50px; }

/* Vélemények */
.testimonials { max-width: var(--wrap); margin: 0 auto; }
.testi-box { position: relative; background: var(--blue-2); border-radius: 10px; padding: 50px 60px 56px; text-align: center; color: #fff; min-height: 240px; }
.testi-box::after {
  content: ""; position: absolute; left: var(--arrow, 50%); bottom: -14px; margin-left: -14px; border: 14px solid transparent; border-bottom: 0; border-top-color: var(--blue-2);
  transition: left .25s;
}
.testi { margin: 0; }
.testi p { margin: 0 0 15px; font-size: 15px; line-height: 1.6; font-weight: 300; }
.testi footer { font-size: 13px; font-weight: 700; }
.testi cite { font-weight: 400; font-style: italic; }
html.js .testi:not(.active) { display: none; }
.testi-nav { display: flex; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 38px 0 0; flex-wrap: wrap; }
.testi-nav button { padding: 0; border: 3px solid #fff; border-radius: 40px; background: #fff; cursor: pointer; width: 50px; height: 78px; overflow: hidden; opacity: .75; transition: opacity .15s, transform .15s; }
.testi-nav button img { width: 100%; height: 100%; object-fit: cover; }
.testi-nav button[aria-current="true"], .testi-nav button:hover { opacity: 1; transform: translateY(-3px); }

/* Ártábla */
.pricing { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.pricing > div { border-right: 1px solid var(--line); text-align: center; }
.pricing > div:last-child { border-right: 0; }
.pricing .head { height: 88px; display: grid; place-items: center; background: #f8f9fc; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 24px; color: #666; }
.pricing .cell { padding: 14px 8px; border-bottom: 1px solid var(--line); font-weight: 400; color: #2f6fc0; font-size: 14px; }
.pricing .big { height: 160px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--navy); font-weight: 300; }
.pricing .big small { font-size: 22px; padding-top: 12px; }
.pricing .big span { font-size: 101px; line-height: 1; }
.pricing .label { text-align: right; padding-right: 22px; font-weight: 700; color: var(--navy); font-size: 14px; }
.pricing .label.big { justify-content: flex-end; height: 160px; font-size: 14px; align-items: center; display: flex; }
.pricing .action { padding: 22px 8px; min-height: 84px; }
.pricing .action .btn { font-size: 14px; padding: 9px 18px; }
.note { max-width: 860px; margin: 28px auto 0; font-weight: 300; color: #9a9a9a; font-size: 16px; }

/* FAQ (details) */
.faq { max-width: var(--wrap); margin: 0 auto; }
.faq details { background: #fff; border-radius: 5px; margin: 0 0 3px; overflow: hidden; color: #666; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: stretch; font-weight: 900; font-size: 14px; color: #666;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; flex: 0 0 auto; width: 26px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 16px; font-weight: 700; line-height: 1;
}
.faq details[open] summary::before { content: "−"; }
.faq summary span { padding: 14px 14px; }
.faq .answer { padding: 4px 18px 16px 44px; font-size: 14px; line-height: 1.7; color: #575756; }
.faq .answer p { margin: 0 0 8px; }

/* Orvos */
.team-title { color: var(--deep); }
.team-text { max-width: 1040px; margin: 0 auto 50px; text-align: center; color: var(--deep); font-size: 16.2px; line-height: 1.55; }
.profile { display: flex; gap: 14px; align-items: flex-start; max-width: 660px; margin: 0 auto; }
.profile img { width: 160px; height: 160px; object-fit: cover; border-radius: 4px; flex: 0 0 auto; }
.profile h3 { margin: 0 0 4px; color: var(--blue-2); font-weight: 900; font-size: 20px; line-height: 1.6; }
.profile .role { font-weight: 700; color: #333; font-size: 13px; margin: 0 0 14px; }
.profile ul { margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.8; }

/* Lábléc */
.site-footer { background: var(--navy); color: #fff; padding: 26px 0; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .sep { opacity: .6; padding: 0 6px; }
.site-footer [data-consent-links] { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }

/* Tartalmi oldalak */
.page-wrap { padding: 40px 0 70px; }
.page-title { font-weight: 900; color: var(--orange); font-size: 32px; line-height: 1.3; margin: 0 0 4px; }
.page-sub { font-size: 20px; font-weight: 300; margin: 0 0 40px; color: #4a4a4a; }
.prose { max-width: 960px; font-weight: 300; font-size: 14px; line-height: 1.8; }
.prose h3 { font-size: 14px; font-weight: 900; color: #4a4a4a; margin: 24px 0 12px; }
.prose p { margin: 0 0 14px; }
.prose h4 { margin: 22px 0 8px; font-size: 14px; color: #4a4a4a; }
.prose ul { padding-left: 22px; }

.thanks-hero { background: var(--blue-2); color: #fff; padding: 40px 0 50px; }
.thanks-hero h1 { margin: 0 0 6px; font-weight: 900; font-size: 30px; line-height: 1.3; }
.thanks-hero p.sub { font-size: 20px; margin: 0 0 40px; }
.thanks-hero p { font-weight: 300; font-size: 14px; margin: 0 0 18px; }
.thanks-body h3 { color: var(--deep); font-weight: 900; font-size: 20px; margin: 36px 0 12px; }
.thanks-body ul, .thanks-body ol { margin: 0 0 14px; padding-left: 24px; font-size: 13px; line-height: 1.9; }
.thanks-body { background: #fff; padding: 20px 0 40px; }
.thanks-body .status { font-size: 11px; color: #777; margin: 8px 0 0; }
.thanks-simple { background: #fff; padding: 30px 0 50px; }
.thanks-simple h2 { margin: 0 0 8px; font-size: 18px; font-weight: 900; color: #4a4a4a; }
.thanks-simple p { margin: 0 0 14px; font-weight: 300; color: #777; }
.thanks-simple .btn { font-size: 11px; padding: 6px 12px; }

/* Űrlapok */
.form-card { padding: 34px 34px 30px; }
.form-card h3 { margin: 0 0 6px; font-size: 22px; font-weight: 900; color: var(--navy); }
.form-card .hint { margin: 0 0 20px; font-size: 14px; }
.steps { display: flex; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.steps li { flex: 1; border-top: 4px solid #d9dee6; padding-top: 6px; font-size: 12px; color: #8a8f98; font-weight: 700; }
.steps li.done, .steps li.current { border-color: var(--orange); color: var(--navy); }
.field { margin: 0 0 16px; }
.field label, .field .lab { display: block; font-weight: 700; color: var(--navy); margin: 0 0 6px; font-size: 14px; }
.field label .opt { font-weight: 400; color: #8a8f98; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; border: 1px solid #c3c9d3; border-radius: var(--radius); padding: 11px 12px; font: 400 16px/1.4 Roboto, sans-serif; color: #333; background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(66,139,255,.35); border-color: var(--link); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field .err { color: #c0392b; font-size: 13px; margin: 5px 0 0; min-height: 0; }
.field .err:empty { display: none; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.checkline input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.form-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.form-nav .btn { min-width: 130px; }
.form-msg { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; }
.form-msg:empty { display: none; }
.form-msg.error { background: #fdecea; color: #8a1f14; }
.form-msg.ok { background: #e7f6e9; color: #14532d; }
.form-msg.test { background: #fff6dd; color: #6b4e00; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.dropzone { border: 2px dashed #b3bccb; border-radius: 6px; padding: 18px; text-align: center; background: #fafbfd; }
.filelist { list-style: none; margin: 10px 0 0; padding: 0; font-size: 13px; text-align: left; }
.filelist li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px solid #eef0f4; }
.filelist .bad { color: #c0392b; }
button[disabled] { opacity: .6; cursor: wait; }

/* Quiz modal */
.modal { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; background: rgba(13,40,70,.6); padding: 16px; }
.modal.open { display: grid; }
.modal .card { width: 100%; max-width: 640px; max-height: 94vh; overflow: auto; position: relative; }
.modal .close { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: #666; padding: 6px 10px; }
.link-btn { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; }

/* Cookie-banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; color: #333; box-shadow: 0 -4px 18px rgba(0,0,0,.2); padding: 16px 0; }
.consent[hidden] { display: none; }
.consent .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent p { margin: 0; flex: 1 1 420px; font-size: 14px; line-height: 1.5; }
.consent .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { font-size: 14px; padding: 9px 16px; }

/* Reszponzív */
@media (max-width: 991px) {
  .split { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 30px; }
  .split.reverse .media { order: 2; }
  .features { grid-template-columns: 1fr; gap: 36px; }
  .row-section.pad-lg { padding: 60px 0; }
  .testi-box { padding: 40px 28px 44px; }
}
@media (max-width: 767px) {
  h1.section-title { font-size: 30px; line-height: 1.3; }
  h2.section-title { font-size: 28px; }
  .hero-inner { min-height: 667px; align-items: flex-start; padding: 130px 0 30px; text-align: center; }
  .hero img.hero-img { object-position: 57% 0; }
  .hero-copy { margin: 0 auto; }
  .hero-title { font-size: 33px; }
  /* az élő mobil nézeten a bekezdés nincs kint (csak cím + gomb); itt is csak vizuálisan rejtett */
  .hero-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
  .pricing { grid-template-columns: 1fr; max-width: 360px; }
  .pricing > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .pricing > div.label-col { display: none; }
  .pricing .cell::before { content: attr(data-label) " "; font-weight: 700; color: var(--navy); display: block; }
  .pricing .big { height: 130px; }
  .pricing .big span { font-size: 80px; }
  .profile { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 24px 18px; }
  .consent .actions { width: 100%; }
  .consent .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
