/* DR07 Kapcsolat — page styles (prefix dr07-). Measurements at 1536 px: plans/DR07.md §2 and §5. Kept in sync with prototype/gen/dr07.css. */

/* Hero (0–908 incl. the 96 px header) */
.dr07-hero { --hero-h: 52.9vw; }
.dr07-hero h1 { font-size: clamp(44px, 6.3vw, 104px); }
.dr07-hero .lead { max-width: 640px; font-size: clamp(19px, 2.1vw, 34px); }

/* Accent eyebrow: short blue rule before the text */
.dr07-eyebrow-accent::before { content: ""; display: inline-block; width: 32px; height: 3px; margin-right: 16px; vertical-align: middle; background: var(--blue); }

/* Form + company panel (908–2598) */
.dr07-contact { padding-block: 70px 150px; }
.dr07-contact .section-head { margin-bottom: 56px; }
.dr07-contact__grid { display: grid; grid-template-columns: 896fr 1px 509fr; align-items: stretch; }
.dr07-contact__grid > .vline { background: var(--rule); }
.dr07-form { padding-right: 45px; }
.dr07-form .h2 { margin-bottom: 24px; font-size: clamp(40px, 7.6vw, 124px); }
.dr07-form__lead { max-width: 640px; margin-bottom: 70px; font-size: clamp(18px, 2.1vw, 34px); line-height: 1.4; }
.dr07-form .form { gap: 32px; }
.dr07-form .form__row { gap: 30px 26px; }
.dr07-form .field__control { height: 84px; padding: 36px 26px 10px; font-size: 20px; }
.dr07-form .field__label { left: 27px; top: 27px; font-size: clamp(16px, 1.43vw, 23px); }
.dr07-form .field:not(.field--stacked):focus-within .field__label,
.dr07-form .field:not(.field--stacked):has(input.field__control:not(:placeholder-shown)) .field__label,
.dr07-form .field:not(.field--stacked):has(textarea.field__control:not(:placeholder-shown)) .field__label,
.dr07-form .field:not(.field--stacked):has(select.field__control option:checked:not([value=""])) .field__label { top: 12px; font-size: 13px; }
.dr07-form .field__chev { top: 33px; right: 26px; width: 20px; height: 20px; }
.dr07-form textarea.field__control { height: 328px; min-height: 200px; padding-top: 40px; }
.dr07-form .field--check { margin-top: 26px; }
.dr07-form .field--check input { width: 30px; height: 30px; }
.dr07-form .field--check label { font-size: clamp(14px, 1.37vw, 22px); }
/* Underlined: a link inside running text must not rely on colour alone (axe link-in-text-block). */
.dr07-form .field--check label a { color: var(--blue); text-underline-offset: 3px; }
.dr07-form .btn--form { height: 88px; min-width: 368px; font-size: clamp(18px, 1.76vw, 28px); margin-top: 40px; }
.dr07-position { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid var(--rule); border-left: 3px solid var(--blue); font-size: 16px; }
.dr07-position strong { font-weight: 600; }
.dr07-position button { display: grid; place-items: center; width: 36px; height: 36px; }
.dr07-position button .icon { width: 18px; height: 18px; }

.dr07-panel { padding-left: 67px; display: flex; flex-direction: column; }
.dr07-panel .eyebrow { margin-bottom: 18px; }
.dr07-panel h2 { margin-bottom: 30px; font-size: clamp(34px, 4.6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -.028em; }
.dr07-panel__intro { margin-bottom: 44px; font-size: clamp(16px, 1.76vw, 28px); line-height: 1.45; color: var(--muted); }
.dr07-topics { border-top: 1px solid var(--rule); }
.dr07-topic { margin: 0 0 0 30px; padding: 36px 0 40px; border-bottom: 1px solid var(--rule); }
.dr07-topic > div { padding-left: 32px; border-left: 2px solid var(--ink); }
.dr07-topic h3 { margin-bottom: 14px; font-size: clamp(18px, 1.95vw, 31px); font-weight: 500; }
.dr07-topic p { font-size: clamp(16px, 1.76vw, 28px); line-height: 1.45; color: var(--muted); }
.dr07-topic .text-link { margin-top: 22px; color: var(--blue); font-weight: 600; font-size: clamp(16px, 1.63vw, 26px); }
.dr07-panel__note { margin: 44px 0 90px; font-size: clamp(15px, 1.2vw, 19px); color: var(--muted); }

/* How we can help (2598–3344) */
.dr07-help { padding-block: 50px 110px; border-top: 1px solid var(--rule); }
.dr07-help .h2 { margin: 6px 0 12px; }
.dr07-help__lead { margin-bottom: 74px; font-size: clamp(18px, 1.76vw, 29px); }
.dr07-help .cols { --n: 3; }
.dr07-help .cols > * { padding-left: 64px; }
.dr07-help .cols > :first-child { padding-left: 0; }
.dr07-help .title { margin-bottom: 14px; font-size: clamp(20px, 1.95vw, 32px); }
.dr07-help .body-muted { max-width: 390px; font-size: clamp(16px, 1.76vw, 28px); }
.dr07-help__arrow { margin-top: auto; padding-top: 40px; display: inline-flex; width: max-content; color: var(--ink); }
.dr07-help__arrow .icon { width: 34px; height: 34px; transition: transform .15s var(--ease); }
.dr07-help__arrow:hover .icon { transform: translateX(4px); }

/* Tablet */
@media (max-width: 1180px) {
  .dr07-contact__grid { grid-template-columns: 1fr; row-gap: 56px; }
  .dr07-contact__grid > .vline { height: 1px; }
  .dr07-form { padding-right: 0; }
  .dr07-panel { padding-left: 0; }
  .dr07-panel__note { margin-bottom: 36px; }
}
@media (max-width: 900px) {
  .dr07-help .cols { --n: 1; }
  .dr07-help .cols > * { padding: 26px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .dr07-help .cols > :first-child { border-top: 0; padding-top: 0; }
}

/* Phone layer (plans/DR07.md §8) */
@media (max-width: 768px) {
  .dr07-form .field__control { height: 64px; padding: 26px 16px 8px; font-size: 16px; }
  .dr07-form .field__label { left: 17px; top: 21px; font-size: 16px; }
  .dr07-form .field__chev { top: 23px; right: 16px; }
  .dr07-form textarea.field__control { height: 200px; }
  .dr07-form .btn--form { width: 100%; min-width: 0; height: 64px; }
  .dr07-topic { margin-left: 0; }
  .dr07-help__lead { margin-bottom: 36px; }
}
