/* =========================================================
   Dr. Tóth Jennifer ügyvéd – one-pager
   Arculat: #22252E, #927C67, #999491, #E0E0DF
   Betűk: Newsreader (címek), Montserrat (szöveg) – saját tárhelyről
   ========================================================= */

/* ---------- Betűtípusok ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-400-normal.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: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-400-normal.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; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-400-italic.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: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-400-italic.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; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-600-normal.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: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.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; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-700-normal.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: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/montserrat-latin-700-normal.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; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/newsreader-latin-ext-600-normal.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: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/newsreader-latin-600-normal.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; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/newsreader-latin-ext-700-normal.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: "Newsreader"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/newsreader-latin-700-normal.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; }

/* ---------- Tokenek ---------- */
:root {
  --ink: #22252e;          /* arculati sötét */
  --brown: #927c67;        /* arculati barna */
  --brown-text: #76624f;   /* barna szövegszín: az arculati barna akadálymentes (AA) kontrasztú változata */
  --stone: #999491;        /* arculati meleg szürke */
  --mist: #e0e0df;         /* arculati világos szürke */
  --tint: #f0f0ef;         /* szekció háttér */
  --white: #ffffff;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;

  --container: 1120px;
  --gutter: 24px;
  --header-h: 80px;
  --section-y: 88px;
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 28px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
figure, blockquote { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 4px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipográfia ---------- */
.h2 { font-family: var(--serif); font-size: 44px; line-height: 53px; }
.h3 { font-family: var(--serif); font-size: 36px; line-height: 43px; }
.h4 { font-family: var(--serif); font-size: 26px; line-height: 32px; }
.h-sans { font-family: var(--sans); font-size: 21px; line-height: 28px; font-weight: 600; }
.statement { font-size: 22px; line-height: 30px; font-weight: 600; max-width: 1000px; }
.statement--narrow { max-width: 760px; }
.lead-narrow { max-width: 760px; }
.center { text-align: center; }
.prose p + p { margin-top: 28px; }
.prose .quote { margin-top: 28px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 24px 15px 28px;
  border-radius: 4px;
  font-family: var(--sans); font-size: 15px; line-height: 24px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 0;
  transition: background-color .2s ease-out, color .2s ease-out;
  align-self: flex-start;
}
.btn-arrow { flex: none; transition: transform .2s ease-out; }
.btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover, .btn--dark:focus-visible { background: var(--brown); }
.btn--light { background: var(--mist); color: var(--ink); }
.btn--light:hover, .btn--light:focus-visible { background: var(--white); }

/* ---------- Fejléc ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(34, 37, 46, .25); }
.header-inner {
  position: relative; height: var(--header-h);
  max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-list { display: flex; gap: 36px; align-items: center; }
.nav-list > li { position: relative; }
.nav-list a {
  display: inline-block; padding: 2px 8px; margin-inline: -8px;
  color: var(--white); text-decoration: none; text-transform: uppercase;
  font-size: 12px; line-height: 26px; letter-spacing: .02em;
  transition: background-color .2s;
}
.nav-list > li > a:hover, .nav-list > li > a:focus-visible, .has-sub.is-open > .sub-trigger { background: var(--brown); }
.sub-trigger::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: -24px; min-width: 240px;
  background: var(--ink); padding: 14px 24px 18px; border-radius: 0 0 4px 4px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub-menu li + li { margin-top: 4px; }
.sub-menu a { text-transform: none; font-size: 14px; line-height: 26px; white-space: nowrap; }
.sub-menu a:hover, .sub-menu a:focus-visible { background: transparent; color: var(--mist); text-decoration: underline; text-underline-offset: 4px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }

.logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.logo img { width: 194px; height: auto; }

.header-phone {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 4px; background: #7d6956; color: var(--white); /* az arculati barna sötétebb árnyalata, hogy a fehér szöveg AA kontrasztú legyen */
  font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none;
  transition: background-color .2s;
}
.header-phone:hover, .header-phone:focus-visible { background: #6b5948; }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero carousel ---------- */
.hero { position: relative; height: 681px; background: var(--ink); overflow: hidden; color: var(--mist); }
.hero-track { position: relative; height: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media img { position: absolute; object-fit: cover; }
.slide--full .slide-media img { inset: 0; width: 100%; height: 100%; object-position: 80% center; }
.slide--split .slide-media img { top: 0; right: 0; height: 100%; width: 45.5%; object-position: center; }
.slide--intro .slide-media img { width: 53.5%; object-position: center 6%; }
.slide--intro .slide-media::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: calc(53.5% - 200px); width: 200px;
  background: linear-gradient(90deg, var(--ink), rgba(34, 37, 46, 0));
}
.slide--family .slide-media img { object-position: 58% center; }
.slide-content {
  position: relative; z-index: 1; height: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.slide-title {
  font-family: var(--serif); font-weight: 600; font-size: 52px; line-height: 60px;
  color: var(--mist); max-width: 600px;
}
.slide--intro .slide-title { font-size: 56px; line-height: 64px; }
.hero-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .6); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.hero-arrow--prev { left: 40px; }
.hero-arrow--next { right: 40px; }
.hero-dots { position: absolute; left: 50%; bottom: 24px; z-index: 2; transform: translateX(-50%); display: flex; gap: 0; }
.hero-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background-color .2s; }
.hero-dots button[aria-selected="true"]::before { background: var(--mist); }

/* ---------- Idézet ---------- */
.quote { border-left: 3px solid var(--brown); padding-left: 27px; }
.quote p { font-style: italic; font-size: 21px; line-height: 32px; color: var(--brown-text); max-width: 476px; }
.quote--light p { color: var(--white); max-width: 440px; }

/* ---------- Szekciók ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack > .grid-2, .stack > .media-row, .stack > .accordion, .stack > .urgent-box { margin-block: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

#bemutatkozas { padding-top: 95px; padding-bottom: 80px; }
#bemutatkozas .grid-2 { margin-bottom: 56px; }

.accent-list { margin-top: 28px; border-left: 3px solid var(--brown); padding-left: 24px; }
.accent-list-title { font-weight: 600; margin-bottom: 12px; }

.dot-list > li { position: relative; padding-left: 16px; }
.dot-list > li + li { margin-top: 12px; }
.dot-list > li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brown); }
.dot-list--small > li { font-size: 14px; line-height: 22px; }
.dot-list--small > li + li { margin-top: 10px; }
.dot-list--small > li::before { top: 8px; }
.sub-list { margin-top: 8px; }
.sub-list li { color: var(--brown-text); font-size: 14px; line-height: 22px; padding-left: 16px; position: relative; }
.sub-list li + li { margin-top: 6px; }
.sub-list li::before { content: "–"; position: absolute; left: 0; }

.check-list > li { position: relative; padding-left: 36px; }
.check-list > li + li { margin-top: 14px; }
.check-list > li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Kiemelő doboz (Bemutatkozás) */
.highlight-box {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 48px 56px; border-radius: 28px; color: var(--white);
  background: var(--brown) url("../img/highlight-bg.webp") center / cover no-repeat;
}
.highlight-box-text { font-size: 21px; line-height: 28px; font-weight: 600; max-width: 640px; }
.highlight-box-cta { display: flex; flex-direction: column; gap: 16px; max-width: 300px; font-size: 15px; line-height: 24px; }

/* Szakterület kártyák */
.section--areas { padding-top: 96px; padding-bottom: 80px; }
.area-cards { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.area-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  height: 220px; padding: 24px 16px; border-radius: 28px;
  background: var(--ink) url("../img/card-bg.webp") center / cover no-repeat;
  color: var(--white); text-decoration: none; text-align: center;
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}
.area-card span { color: var(--mist); font-size: 12.5px; line-height: 15px; text-transform: uppercase; letter-spacing: .02em; }
.area-card:hover, .area-card:focus-visible { transform: scale(1.04); box-shadow: 0 18px 36px rgba(34, 37, 46, .28); }

/* Legördülő lista */
.accordion { background: var(--white); border-radius: 38px; padding: 36px 64px; }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion-title { font-size: 21px; line-height: 28px; font-weight: 600; }
.accordion-chevron { flex: none; transition: transform .25s ease; }
.accordion[open] .accordion-chevron { transform: rotate(180deg); }
.accordion[open] { padding-bottom: 48px; }
.accordion-body { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* Infó dobozok */
.compare { align-items: stretch; }
.info-box { padding: 35px 36px; border-radius: 6px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease-out, box-shadow .2s ease-out; }
.info-box:hover { transform: scale(1.03); box-shadow: 0 14px 30px rgba(34, 37, 46, .12); }
.info-box--light { background: var(--tint); }
.info-box--grey { background: var(--mist); }
.section--tint .info-box--light { background: var(--white); }
.info-box-title { font-family: var(--serif); font-size: 28px; line-height: 34px; }
.info-box--list { padding: 32px; border-radius: 12px; gap: 14px; }
.info-box-title--sm { font-weight: 700; font-size: 21px; line-height: 28px; }

/* Kép + szöveg sor */
.media-row { display: grid; grid-template-columns: minmax(0, 500px) 549px; justify-content: space-between; align-items: center; gap: 48px; }
.media-row--reverse { grid-template-columns: 549px minmax(0, 500px); }
.media-row--reverse > .media-row-text { order: 2; }
.media-row--top { align-items: start; }
.media-row-text { display: flex; flex-direction: column; gap: 24px; }
.media-col { display: flex; flex-direction: column; gap: 24px; }
.list-intro { font-weight: 600; }
.photo { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 549 / 360; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: rgba(224, 224, 223, .2); pointer-events: none; }
.photo--warm::after { background: rgba(146, 124, 103, .2); }
.photo--warm img { object-position: center 40%; }
.photo--bw img { object-position: center 18%; filter: grayscale(1); }

/* Sürgős doboz (Fiatalkorúak) */
.urgent-box {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding: 32px 36px; border-radius: 6px; background: var(--ink); color: var(--white);
  max-width: 1078px;
}
.urgent-box-title { font-family: var(--serif); font-size: 26px; line-height: 32px; }
.urgent-box .btn { margin-top: 4px; }
.urgent-box-mark { position: absolute; right: 40px; bottom: -40px; width: 200px; height: auto; opacity: .07; filter: invert(1); pointer-events: none; }

/* Videó */
.section--video { padding-block: 72px; }
.center-stack { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.video-placeholder { position: relative; width: 100%; aspect-ratio: 1120 / 380; border-radius: 6px; overflow: hidden; }
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white); padding-left: 4px;
}

/* ---------- Kapcsolat ---------- */
.contact {
  position: relative; min-height: 613px; display: flex; align-items: center;
  background: var(--brown) url("../img/kapcsolat-bg.webp") center / cover no-repeat;
  color: var(--white); padding-block: 72px;
}
.contact-content { display: flex; flex-direction: column; gap: 12px; max-width: 460px; font-size: 14.5px; line-height: 25px; }
.contact-title { font-family: var(--serif); font-size: 40px; line-height: 47px; color: var(--mist); margin-bottom: 4px; }
.contact-sub { margin-top: 20px; font-size: 20px; line-height: 27px; font-weight: 600; max-width: 240px; }
.contact-list { margin-block: 12px 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover, .contact-list a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.contact-icon { flex: none; width: 30px; height: 30px; border-radius: 5px; background: #d9d9d9; color: var(--ink); display: grid; place-items: center; margin-top: -2px; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--ink); color: var(--stone); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 24px 16px; font-size: 12px; line-height: 18px; }

/* ---------- Görgetésre megjelenés (Fiatalkorúak) ---------- */
.js .reveal-group .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal-group .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Reszponzív
   ========================================================= */
@media (max-width: 1180px) {
  .media-row, .media-row--reverse { grid-template-columns: 1fr 1fr; }
  .slide-title { font-size: 46px; line-height: 54px; max-width: 520px; }
}

@media (max-width: 1080px) {
  .area-cards { grid-template-columns: repeat(3, 1fr); }
  .accordion-body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --section-y: 64px; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .media-row, .media-row--reverse { grid-template-columns: 1fr; gap: 28px; }
  .media-row--reverse > .media-row-text { order: 2; }
  .media-row:not(.media-row--reverse) > .photo { order: 2; }
  .media-col { display: contents; }
  .media-col > .photo { order: 1; }
  .media-col > .statement { order: 3; }
  .highlight-box { flex-direction: column; align-items: flex-start; padding: 32px 28px; gap: 24px; }
  .highlight-box-cta { max-width: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; --gutter: 20px; }
  .main-nav, .header-phone-text { display: none; }
  .logo { position: static; transform: none; }
  .logo img { width: 140px; }
  .header-phone { margin-left: auto; width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: 8px; margin-right: -8px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; overflow-y: auto;
    background: var(--ink); padding: 32px var(--gutter) 40px;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu > ul > li { border-bottom: 1px solid rgba(224, 224, 223, .15); }
  .mobile-menu a { display: block; color: var(--white); text-decoration: none; }
  .mobile-menu > ul > li > a { font-family: var(--serif); font-size: 28px; line-height: 34px; padding: 16px 0; }
  .mobile-menu ul ul { padding: 0 0 16px 4px; }
  .mobile-menu ul ul a { font-size: 16px; line-height: 24px; padding: 8px 0; color: var(--mist); }
  .mobile-menu .btn { display: inline-flex; margin-top: 32px; color: var(--ink); }
  body.menu-open { overflow: hidden; }

  /* Hero mobilon */
  .hero { height: 600px; }
  .slide--full .slide-media img { object-position: 74% center; }
  .slide--split .slide-media img, .slide--intro .slide-media img { width: 100%; }
  .slide--split .slide-media img { object-position: center; }
  .slide--intro .slide-media img { object-position: center 4%; }
  .slide--intro .slide-media::after { display: none; }
  .slide-media::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64%; z-index: 1;
    background: linear-gradient(180deg, rgba(34, 37, 46, 0) 0%, rgba(34, 37, 46, .85) 50%, rgba(34, 37, 46, .96) 100%);
  }
  .slide-content { justify-content: flex-end; padding-bottom: 64px; gap: 16px; }
  .slide-title, .slide--intro .slide-title { font-size: 34px; line-height: 40px; max-width: 350px; }
  .quote--light p { font-size: 15px; line-height: 23px; }
  .slide--intro .quote { padding-left: 16px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 18px; }
  .hero-dots button::before { width: 8px; height: 8px; }
}

@media (max-width: 640px) {
  :root { --section-y: 52px; }
  body { font-size: 16px; line-height: 27px; }
  .h2 { font-size: 34px; line-height: 41px; }
  .h3 { font-size: 30px; line-height: 36px; }
  .h4 { font-size: 23px; line-height: 29px; }
  .h-sans { font-size: 19px; line-height: 26px; }
  .statement { font-size: 19px; line-height: 27px; }
  .quote p { font-size: 18px; line-height: 28px; }
  .section--areas { padding-top: 56px; padding-bottom: 56px; }
  #bemutatkozas { padding-top: 56px; padding-bottom: 56px; }
  #bemutatkozas .grid-2 { margin-bottom: 40px; }
  .area-cards { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .area-cards li:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
  .area-card { height: 168px; gap: 12px; padding: 16px 10px; border-radius: 24px; }
  .area-card svg { width: 56px; height: 56px; }
  .accordion { border-radius: 24px; padding: 22px 20px; }
  .accordion[open] { padding-bottom: 28px; }
  .accordion-title { font-size: 18px; line-height: 25px; }
  .accordion-body { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .info-box { padding: 24px; }
  .info-box-title { font-size: 24px; line-height: 30px; }
  .photo { border-radius: 24px; }
  .urgent-box { padding: 28px 20px; }
  .urgent-box .btn { font-size: 14px; padding: 13px 16px 13px 18px; gap: 8px; }
  .urgent-box-mark { right: -20px; width: 160px; }
  .section--video { padding-block: 52px; }
  .video-placeholder { aspect-ratio: 350 / 200; }
  .contact { min-height: 0; padding-block: 56px 48px; background-position: 70% center; }
  .contact-title { font-size: 34px; line-height: 40px; }
  .contact-sub { max-width: none; }
  .btn { padding: 14px 20px 14px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal-group .reveal { opacity: 1; transform: none; }
}

/* Csak képernyőolvasónak és keresőnek látható szöveg */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
