/* L33 Szolnok — shared design tokens & primitives */
:root {
  --ink: #12313F;
  --ink-2: #1F4554;
  --ink-3: #3A5562;
  --muted: #5E7682;
  --muted-2: #8AA0AB;

  --blue: #2A6FB5;
  --blue-2: #1F548A;
  --blue-soft: #EEF4FA;
  --blue-softer: #F6F9FC;

  --paper: #FFFFFF;
  --bg: #FAFAF7;
  --bg-2: #F4F6F4;

  --line: rgba(18, 49, 63, 0.10);
  --line-soft: rgba(18, 49, 63, 0.06);
  --line-strong: rgba(18, 49, 63, 0.18);

  --shadow-sm: 0 1px 2px rgba(18, 49, 63, 0.04), 0 1px 3px rgba(18, 49, 63, 0.03);
  --shadow-md: 0 6px 16px rgba(18, 49, 63, 0.06), 0 2px 4px rgba(18, 49, 63, 0.03);
  --shadow-lg: 0 24px 64px rgba(18, 49, 63, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.mono {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 1040px; margin: 0 auto; padding: 0 32px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .bar {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 72px;
}
.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-header .logo img { height: 28px; width: auto; }
.site-header .logo-sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  padding-left: 10px;
  margin-left: 10px;
  border-left: 1px solid var(--line);
}
.site-header nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.site-header nav a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.site-header nav a:hover { background: var(--blue-soft); color: var(--blue-2); }
.site-header nav a.active { color: var(--blue-2); background: var(--blue-soft); }
.site-header .cta-row { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.site-header .phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  white-space: nowrap;
}
.site-header .phone svg { width: 14px; height: 14px; flex-shrink: 0; }
.site-header .phone-text { display: inline; }
.site-header .btn { flex-shrink: 0; }

/* Header responsive */
@media (max-width: 1180px) {
  .site-header .bar { grid-template-columns: auto 1fr auto; gap: 20px; }
  .site-header .phone-text { display: none; }
  .site-header .phone { padding: 8px 10px; }
  .site-header nav { gap: 0; }
  .site-header nav a { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 920px) {
  .site-header .bar { grid-template-columns: auto auto; }
  .site-header nav { display: none; }
  .site-header .logo-sub { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.18s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover { background: var(--blue-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink-3); }
.btn-large { padding: 16px 28px; font-size: 15px; }
.btn-arrow::after { content: '→'; font-size: 1.1em; line-height: 1; }

/* ===== TYPE PRIMITIVES ===== */
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--blue);
  display: inline-block;
}
h1.display {
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 300;
  color: var(--ink);
}
h1.display em {
  font-style: normal;
  color: var(--blue);
  font-weight: 400;
}
h2.section {
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 300;
  color: var(--ink);
  text-wrap: balance;
}
h2.section em {
  font-style: normal;
  color: var(--blue);
  font-weight: 400;
}
h3.card-title {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-3);
  font-weight: 400;
  max-width: 60ch;
}
.body { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ===== SECTION HELPERS ===== */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head .eyebrow { margin-bottom: 18px; }

/* ===== PHOTO PLACEHOLDER SLOTS ===== */
.photo-slot {
  position: relative;
  background:
    linear-gradient(135deg, var(--blue-soft) 0%, var(--blue-softer) 100%);
  border: 1px dashed rgba(42, 111, 181, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 111, 181, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 111, 181, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  pointer-events: none;
}
.photo-slot .label {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-2);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  border: 1px solid rgba(42, 111, 181, 0.15);
  font-weight: 500;
}
.photo-slot .label::before {
  content: '◳ ';
  margin-right: 4px;
  opacity: 0.6;
}
.photo-slot.has-photo {
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.photo-slot.has-photo::before { content: none; }
.photo-slot.has-photo .label { display: none; }
.photo-slot.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== TAG / CHIP ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--blue-soft);
  color: var(--blue-2);
}
.chip-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 32px;
  margin-top: 64px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer h4 {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s;
}
.site-footer ul a:hover { color: #fff; }
.site-footer .brand-block { max-width: 360px; }
.site-footer .brand-block img { height: 28px; margin-bottom: 18px; }
.site-footer .brand-block p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }
.site-footer .meta {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.site-footer .meta a { color: rgba(255, 255, 255, 0.6); margin-left: 18px; }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 {
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 24px;
}
.page-hero h1 em { font-style: normal; color: var(--blue); font-weight: 400; }
.page-hero .lede { font-size: 19px; max-width: 60ch; }

/* ===== SERVICE SUB-PAGES (lézersebészet aldalak) ===== */
.breadcrumb {
  padding: 24px 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.breadcrumb a { color: var(--muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 10px; color: var(--muted-2); }
.breadcrumb .current { color: var(--blue-2); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 64px 0;
  align-items: start;
}
.service-detail-grid h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.treatment-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
}
.treatment-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  transition: border-color 0.15s;
}
.treatment-list li:hover { border-color: var(--blue); }
.treatment-list li .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.treatment-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 6px;
}
.treatment-cols .col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reason-card {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.reason-card .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.reason-card .t {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.reason-card .d {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.steps-section { padding: 32px 0 64px; }
.steps-section .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.steps-section h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 18ch;
}
.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  counter-reset: step;
}
.steps-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  counter-increment: step;
  position: relative;
}
.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blue);
  display: block;
  margin-bottom: 16px;
}
.steps-list h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.steps-list p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.service-doctor-strip {
  margin: 24px 0 64px;
  padding: 28px 32px;
  background: var(--blue-soft);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.service-doctor-strip .docs { display: flex; gap: 28px; flex-wrap: wrap; }
.service-doctor-strip .doc { display: flex; gap: 14px; align-items: center; }
.service-doctor-strip .doc img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.service-doctor-strip .doc-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.service-doctor-strip .doc-role {
  font-size: 13px;
  color: var(--muted);
}

.sub-pages-section { padding: 24px 0 96px; border-top: 1px solid var(--line-soft); }
.sub-pages-section .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 48px 0 18px;
}
.sub-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sub-pages-grid .sub {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: all 0.18s;
  display: block;
}
.sub-pages-grid .sub:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.sub-pages-grid .sub .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 10px;
}
.sub-pages-grid .sub h5 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.sub-pages-grid .sub p { font-size: 13px; color: var(--muted); line-height: 1.5; }

@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .treatment-cols { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .sub-pages-grid { grid-template-columns: 1fr; }
}

/* ===== UTILS ===== */
.divider-dot { color: var(--muted-2); margin: 0 8px; }
.text-blue { color: var(--blue); }
.text-muted { color: var(--muted); }
