/* Vértes Ügyvédi Iroda — a fictitious law office demonstrating booking links.
   System fonts only: no third-party requests from a page that is about trust. */
:root {
  --ink: #16202e;
  --ink-muted: #4a5568;
  --navy: #14233c;
  --navy-soft: #1f3354;
  --gold: #b08a4a;
  --gold-dark: #8a6a33;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #e4e0d6;
  --focus: #2563eb;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy-soft);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  padding: 0.75rem 1rem;
  z-index: 10;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.notice {
  background: var(--gold);
  color: #1b1408;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  flex-wrap: wrap;
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font: 600 1.25rem/1 var(--serif);
}

.brand-name {
  font: 600 1.2rem/1.2 var(--serif);
  letter-spacing: 0.01em;
}

.brand-name small {
  display: block;
  font: 500 0.7rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9d2e0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.site-nav a {
  color: #dfe5ee;
  text-decoration: none;
}

.site-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.langs {
  display: flex;
  gap: 0.35rem;
  color: #8796ad;
}

.langs a[aria-current="page"] {
  color: var(--gold);
  font-weight: 600;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: #1b1408;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.button:hover {
  background: #c49d5c;
}

.button.ghost {
  background: transparent;
  color: #fff;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button.outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.button.outline:hover {
  background: rgba(20, 35, 60, 0.06);
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font: 600 clamp(2.1rem, 5vw, 3.3rem) / 1.15 var(--serif);
}

.hero .lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: #d5dce7;
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  border: 1px solid rgba(176, 138, 74, 0.45);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero-panel h2 {
  margin: 0 0 1rem;
  font: 600 1.15rem/1.3 var(--serif);
  color: #fff;
}

.hero-panel dl {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.hero-panel dt {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 0.1rem 0 0;
  color: #e7ecf3;
}

/* Sections */
section.block {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

section.block + section.block {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font: 600 clamp(1.6rem, 3.5vw, 2.2rem) / 1.2 var(--serif);
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.25rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font: 600 1.15rem/1.3 var(--serif);
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.97rem;
}

.card .tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* People */
.person {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.monogram {
  flex: none;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font: 600 1.4rem/1 var(--serif);
}

.person .role {
  margin: 0 0 0.6rem;
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--gold);
  font: 600 1.35rem/1 var(--serif);
}

.steps h3 {
  margin: 0 0 0.35rem;
  font: 600 1.05rem/1.3 var(--serif);
  color: var(--navy);
}

.steps p {
  margin: 0;
  color: var(--ink-muted);
}

/* Booking band */
.booking-band {
  background: var(--navy);
  color: #fff;
}

.booking-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.booking-band h2 {
  margin: 0 0 0.75rem;
  font: 600 clamp(1.6rem, 3.5vw, 2.1rem) / 1.2 var(--serif);
}

.booking-band p {
  margin: 0 0 1.5rem;
  color: #d5dce7;
}

.qr-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.qr img {
  width: 132px;
  height: 132px;
  display: block;
}

.note {
  font-size: 0.85rem;
  color: #aeb9ca;
}

/* Contact */
.contact dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1.5rem;
}

.contact dt {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.contact dd {
  margin: 0;
}

/* Footer */
.site-footer {
  background: #0e1829;
  color: #aeb9ca;
  padding: 2.5rem 0;
  font-size: 0.88rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #dfe5ee;
}

.site-footer strong {
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
}

.site-footer p {
  margin: 0.35rem 0 0;
  max-width: 36rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .hero .wrap,
  .booking-band .wrap,
  .grid.three,
  .grid.two {
    grid-template-columns: minmax(0, 1fr);
  }

  .qr-row {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
