/* ==========================================================================
   Finetune — Portfolio stylesheet
   ========================================================================== */

:root {
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --accent-1: #5A46D6;
  --accent-2: #007566;
  --accent-3: #C4285F;
  --accent-4: #FFB020;
  --accent-5: #3A7BFF;

  --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --gradient-warm: linear-gradient(135deg, var(--accent-3), var(--accent-4));

  --blob-1: var(--accent-1);
  --blob-2: var(--accent-2);
  --blob-3: var(--accent-5);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --container: 1180px;
  --transition: 240ms cubic-bezier(.4,0,.2,1);
}

/* ---- Light theme (default) ---- */
:root,
[data-theme="light"] {
  --bg: #f1ecfc;
  --bg-alt: #e3d7f8;
  --surface: #ffffff;
  --surface-alt: #ece1fa;
  --border: rgba(60, 20, 130, 0.17);
  --text: #150c29;
  --text-muted: #4a4162;
  --text-faint: #6e6584;
  --shadow-color: 265 55% 18%;
  --nav-bg: rgba(241, 236, 252, 0.75);
  --accent-1: #7A2FF2;
  --accent-2: #00A88C;
  --accent-3: #E31663;
  --accent-4: #FF9500;
  --blob-1: #7C4DFF;
  --blob-2: #00C2A8;
  --blob-3: #3A7BFF;
  --gradient-primary: linear-gradient(135deg, #7C4DFF, #00C2A8);
  --gradient-warm: linear-gradient(135deg, #FF3D81, #FFB020);
  --gradient-heading: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

/* ---- Dark theme ---- */
[data-theme="dark"] {
  --bg: #0a0918;
  --bg-alt: #100e22;
  --surface: #14122a;
  --surface-alt: #191733;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f3fb;
  --text-muted: #b4b0d1;
  --text-faint: #7d7899;
  --shadow-color: 250 60% 4%;
  --nav-bg: rgba(10, 9, 24, 0.65);
  --accent-1: #6C5CE7;
  --accent-2: #00D9C0;
  --accent-3: #FF6B9D;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0918;
    --bg-alt: #100e22;
    --surface: #14122a;
    --surface-alt: #191733;
    --border: rgba(255, 255, 255, 0.09);
    --text: #f4f3fb;
    --text-muted: #b4b0d1;
    --text-faint: #7d7899;
    --shadow-color: 250 60% 4%;
    --nav-bg: rgba(10, 9, 24, 0.65);
    --accent-1: #6C5CE7;
    --accent-2: #00D9C0;
    --accent-3: #FF6B9D;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

[data-theme="light"] body {
  background: linear-gradient(180deg, #f8f4ff 0%, #f1ecfc 45%, #e6d9f9 100%);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; }
svg text { stroke: none; }
img { max-width: 100%; height: auto; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.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;
}

.gradient-text {
  background: var(--gradient-heading, var(--gradient-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 14px;
}

.section-title { font-size: clamp(28px, 4vw, 42px); }
.section-sub { max-width: 560px; font-size: 17px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

section { position: relative; padding: 70px 0 90px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn svg { transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 10px 30px -8px hsla(258, 70%, 55%, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px hsla(258, 70%, 55%, 0.65); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent-1); }

.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-large { padding: 18px 34px; font-size: 16px; }

/* ---- Preloader ---- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 600ms ease, visibility 600ms ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-mark {
  animation: pulse-mark 1.1s ease-in-out infinite;
}
@keyframes pulse-mark {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.6; }
}

/* ---- Scroll progress ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient-primary);
  z-index: 1200;
  transition: width 80ms linear;
}

/* ---- Page up button ---- */
.page-up {
  position: fixed; right: 28px; bottom: 28px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -14px hsl(var(--shadow-color) / 0.5);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), border-color var(--transition);
}
.page-up.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.page-up:hover { border-color: var(--accent-1); transform: translateY(-3px); }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav.scrolled {
  padding: 13px 0;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

/* A pill/badge treatment (rather than a glow) so the wordmark reads as a
   distinct brand mark against the nav -- works the same in both themes,
   since it's a background/border shift rather than a light effect that
   only shows up well against a dark surface. */
.logo {
  display: flex; align-items: baseline; gap: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  padding: 7px 16px 7px 16px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px -10px hsl(var(--shadow-color) / 0.45);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.logo:hover {
  border-color: var(--accent-1);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px hsl(var(--shadow-color) / 0.55);
}
/* Match the wordmark's color to the logo mark's gradient, so "ORALLWEB"
   reads as continuing the same brand mark rather than plain body text
   tacked on next to it. */
.logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* The mark stands in for the "Z" in the wordmark, so it needs to sit on
   the text baseline like a glyph rather than being vertically centered
   against the row. */
.logo-mark { display: inline-block; position: relative; top: 0.14em; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  position: relative; padding: 4px 0;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gradient-primary); transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 12.5px; letter-spacing: 0.03em;
  transition: border-color var(--transition), transform var(--transition), color var(--transition);
}
.lang-toggle:hover { border-color: var(--accent-1); color: var(--accent-1); transform: translateY(-2px); }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.theme-toggle:hover { transform: rotate(-12deg); border-color: var(--accent-1); }
.theme-toggle svg { position: absolute; transition: opacity 200ms, transform 300ms; }
.icon-sun { opacity: 0; transform: rotate(-40deg) scale(0.6); }
.icon-moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .icon-moon { opacity: 0; transform: rotate(40deg) scale(0.6); }
[data-theme="dark"] .icon-sun { opacity: 1; transform: rotate(0) scale(1); }

.hamburger {
  display: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hamburger span {
  width: 16px; height: 1.8px; background: var(--text); border-radius: 2px;
  transition: transform 250ms, opacity 250ms;
}
.hamburger.open span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

.mobile-menu {
  /* display:none until opened -- a position:fixed element left in the
     DOM even when off-screen still gets tracked by iOS 26's WebKit bug
     (bugs.webkit.org/show_bug.cgi?id=297779) during scroll, so it's
     fully removed from the layout tree rather than just translated
     off-screen or hidden via opacity/visibility. */
  display: none;
  position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(78vw, 340px);
  background: var(--surface); border-left: 1px solid var(--border);
  z-index: 950;
  flex-direction: column; gap: 26px;
  padding: 100px 36px 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 18px; font-weight: 600; }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(.16,1,.3,1), transform 800ms cubic-bezier(.16,1,.3,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-blobs { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 260px;
  background: linear-gradient(180deg, transparent, var(--bg) 85%);
  z-index: 0; pointer-events: none;
}
[data-theme="light"] .hero::after {
  background: linear-gradient(180deg, transparent, #f6f2fe 85%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
[data-theme="dark"] .blob { opacity: 0.35; }
[data-theme="light"] .blob { opacity: 0.55; }
@media (max-width: 780px) {
  [data-theme="light"] .blob { opacity: 0.25; }
}
.blob-1 { width: 480px; height: 480px; top: -140px; left: -120px; background: var(--blob-1); animation: drift1 16s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; top: 40px; right: -140px; background: var(--blob-2); animation: drift2 20s ease-in-out infinite; }
.blob-3 { width: 360px; height: 360px; bottom: -180px; left: 30%; background: var(--blob-3); animation: drift3 18s ease-in-out infinite; }

@keyframes drift1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-50px, 60px) scale(0.9); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -50px) scale(1.15); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 40%, transparent 100%);
  opacity: 0.6;
}

/* ---- Hero floating keywords ---- */
.hero-keywords { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-keyword {
  position: absolute;
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(13px, 1.7vw, 19px);
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
  max-width: min(260px, calc((100vw - 920px) / 2 - 40px));
  overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: scale(1.5); filter: blur(6px);
  animation: neon-flicker 16s ease-in-out infinite;
}
.hero-keyword.kw-teal { color: var(--accent-2); text-shadow: 0 0 5px color-mix(in srgb, var(--accent-2) 70%, transparent), 0 0 12px color-mix(in srgb, var(--accent-2) 35%, transparent); }
.hero-keyword.kw-blue { color: var(--accent-1); text-shadow: 0 0 5px color-mix(in srgb, var(--accent-1) 70%, transparent), 0 0 12px color-mix(in srgb, var(--accent-1) 35%, transparent); }
[data-theme="light"] .hero-keyword.kw-teal {
  color: #00695C;
  text-shadow: 0 0 4px rgba(255,255,255,0.7), 0 0 10px color-mix(in srgb, var(--accent-2) 30%, transparent);
}
[data-theme="light"] .hero-keyword.kw-blue {
  color: #5A2FE0;
  text-shadow: 0 0 4px rgba(255,255,255,0.7), 0 0 10px color-mix(in srgb, var(--accent-1) 30%, transparent);
}
[data-theme="dark"] .hero-keyword.kw-teal {
  text-shadow: 0 0 4px rgba(0,0,0,0.6), 0 0 5px color-mix(in srgb, var(--accent-2) 70%, transparent), 0 0 12px color-mix(in srgb, var(--accent-2) 35%, transparent);
}
[data-theme="dark"] .hero-keyword.kw-blue {
  text-shadow: 0 0 4px rgba(0,0,0,0.6), 0 0 5px color-mix(in srgb, var(--accent-1) 70%, transparent), 0 0 12px color-mix(in srgb, var(--accent-1) 35%, transparent);
}
@keyframes neon-flicker {
  0%, 100% { opacity: 0; transform: scale(1.5); filter: blur(6px); }
  7% { opacity: 0.9; transform: scale(1); filter: blur(0); }
  14% { opacity: 0.9; transform: scale(1); filter: blur(0); }
  21% { opacity: 0; transform: scale(0.7); filter: blur(5px); }
}
@media (max-width: 1399px) {
  .hero-keywords { display: none; }
}

.hero-content {
  position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto;
  /* .hero is display:flex, and flex items default to min-width:auto,
     which let a text-heavy child (long unbreakable Hungarian words
     like "vállalkozásodnak") refuse to shrink below its content's
     unwrapped width, overflowing the viewport. */
  min-width: 0;
  width: 100%;
}
.hero-title { font-size: clamp(38px, 6vw, 68px); margin-bottom: 24px; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- About ---- */
.about-copy p a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.about-copy p a:hover { color: var(--accent-3); }
.about-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px;
}
.about-visual { position: relative; }
@media (min-width: 1025px) {
  .about-grid { align-items: stretch; }
  .about-copy h2 { margin-top: 34.8px; }
  .about-visual .avatar-mark {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 1024px) {
  .about-visual { display: flex; flex-direction: column; align-items: flex-start; }
  .about-visual .avatar-mark { margin-top: 24px; align-self: center; }
}
.avatar-mark {
  position: relative;
  width: 260px; height: 260px; border-radius: 50%;
  background: var(--gradient-primary);
  padding: 6px;
  box-shadow: 0 30px 60px -20px hsla(258, 70%, 55%, 0.45);
}
.avatar-photo {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; display: block;
}
.avatar-ring {
  position: absolute;
  top: -18px; left: -18px;
  width: 296px; height: 296px;
  color: var(--accent-1);
  animation: spin-slow 24s linear infinite;
  transform-origin: center;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.about-highlights { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.about-highlights li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.about-highlights svg { color: var(--accent-2); flex-shrink: 0; }

/* ---- Skills ---- */
.skills { background: var(--bg-alt); }
.skills-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.skill-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -20px hsl(var(--shadow-color) / 0.45);
  border-color: var(--accent-1);
}
.skill-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.skill-card h3 { font-size: 17px; margin-bottom: 6px; }
.skill-tagline { color: var(--accent-1); font-weight: 600; font-size: 13.5px; margin: 0 0 16px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags li {
  font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: var(--radius-full);
  background: var(--surface-alt); color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.skill-card:hover .skill-tags li { background: var(--gradient-primary); color: #fff; }

/* ---- Services ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: var(--gradient-primary); transition: opacity var(--transition);
  z-index: 0;
}
.service-card:hover::before { opacity: 0.06; }
.service-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 24px 48px -20px hsl(var(--shadow-color) / 0.5); }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--surface-alt); color: var(--accent-1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin: 0; }

.services-note {
  text-align: center; max-width: 640px; margin: 40px auto 0;
  color: var(--text-muted); font-size: 14.5px; line-height: 1.6;
}
.services-note a { color: var(--accent-1); text-decoration: underline; text-underline-offset: 2px; }
.services-note a:hover { color: var(--accent-3); }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 780px; margin: 56px auto 0;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px hsl(var(--shadow-color) / 0.5); }
.pricing-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.pricing-price { font-family: var(--font-heading); font-weight: 800; font-size: 32px; color: var(--text); }
.pricing-price span {
  background: var(--gradient-primary); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.pricing-range { font-size: 13.5px; color: var(--text-faint); margin-top: -12px; }
.pricing-for { font-size: 14.5px; color: var(--text-muted); flex: 1; margin: 0; }
.pricing-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
  border-top: 1px solid var(--border); padding-top: 14px;
}
.pricing-meta strong { color: var(--text); font-weight: 700; }
.pricing-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.pricing-note {
  text-align: center; max-width: 640px; margin: 40px auto 0;
  color: var(--text-muted); font-size: 14.5px; line-height: 1.6;
}
.pricing-note a { color: var(--accent-1); text-decoration: underline; text-underline-offset: 2px; }
.pricing-note a:hover { color: var(--accent-3); }

/* ---- Process / Timeline ---- */
.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 70px; position: relative;
}
.timeline-item {
  position: relative; z-index: 1;
  transition-delay: calc(var(--i, 0) * 110ms);
}
.timeline-item:not(:last-child)::before,
.timeline-item:not(:last-child)::after {
  content: ''; position: absolute; top: 26px; left: 52px; right: -24px; height: 3px;
  border-radius: 3px; z-index: 0;
}
.timeline-item:not(:last-child)::before { background: var(--border); }
.timeline-item:not(:last-child)::after {
  background: var(--gradient-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 700ms cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 140ms);
}
.timeline.in-view .timeline-item:not(:last-child)::after { transform: scaleX(1); }
.timeline-index {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; color: var(--accent-1);
  margin-bottom: 22px;
  position: relative;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.timeline-index::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid var(--accent-1); opacity: 0; transform: scale(0.7);
  transition: opacity var(--transition), transform var(--transition);
}
.timeline-item:hover .timeline-index {
  background: var(--gradient-primary); color: #fff; transform: scale(1.1);
  box-shadow: 0 14px 30px -12px hsla(258, 70%, 55%, 0.55);
}
.timeline-item:hover .timeline-index::after { opacity: 1; transform: scale(1); }
.timeline-item h3 { font-size: 17px; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; }

/* ---- Work / Portfolio ---- */
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 56px;
}
.work-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.work-card:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -20px hsl(var(--shadow-color) / 0.5); }
.work-thumb {
  aspect-ratio: 1600 / 720;
  overflow: hidden;
  background: var(--surface-alt);
  flex-shrink: 0;
}
.work-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
  transition: transform 600ms ease;
}
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-body { padding: 15px 22px 17px; display: flex; flex-direction: column; }
.work-tags { display: flex; gap: 8px; margin-bottom: 8px; }
.work-tags span {
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--surface-alt); color: var(--text-muted);
}
.work-card h3 { font-size: 20px; margin-bottom: 0; }

/* ---- Booking ---- */
.booking { background: var(--bg-alt); }
.booking-card {
  position: relative; overflow: hidden;
  max-width: 640px; margin: 56px auto 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; text-align: center;
}
.booking-card::before {
  content: ''; position: absolute; inset: -50%; z-index: 0;
  background: conic-gradient(from 0deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-4), var(--accent-1));
  filter: blur(80px); opacity: 0.12;
  animation: spin-slow 22s linear infinite;
}
.booking-card > * { position: relative; z-index: 1; }

/* Step progress indicator */
.booking-steps {
  display: flex; align-items: flex-start; justify-content: center;
  max-width: 380px; margin: 0 auto 32px;
}
.booking-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.booking-step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-alt); border: 1.5px solid var(--border); color: var(--text-faint);
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.booking-step.active .booking-step-dot {
  background: var(--gradient-primary); border-color: transparent; color: #fff; transform: scale(1.12);
  box-shadow: 0 8px 20px -8px hsla(258, 70%, 55%, 0.55);
}
.booking-step.done .booking-step-dot { background: var(--accent-2); border-color: transparent; color: #fff; }
.booking-step-label { font-size: 11px; font-weight: 600; color: var(--text-faint); letter-spacing: 0.02em; transition: color var(--transition); }
.booking-step.active .booking-step-label { color: var(--accent-1); }
.booking-step.done .booking-step-label { color: var(--accent-2); }
.booking-step-line {
  flex: 1; height: 2px; min-width: 24px; margin: 15px 6px 0;
  background: var(--border); border-radius: 2px; overflow: hidden; position: relative;
}
.booking-step-line-fill {
  position: absolute; inset: 0; width: 0%; background: var(--gradient-primary);
  transition: width 500ms cubic-bezier(.16,1,.3,1);
}
.booking-step-line-fill.filled { width: 100%; }

.booking-status { color: var(--text-muted); font-size: 15px; margin: 0; }

/* Calendar-grid date picker */
.booking-calendar[hidden] { display: none; }
.booking-calendar { margin-bottom: 4px; max-width: 340px; margin-left: auto; margin-right: auto; }
.booking-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.booking-cal-month {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--text);
}
.cal-nav-btn {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface-alt); color: var(--text);
  cursor: pointer; transition: border-color var(--transition), background var(--transition), opacity var(--transition);
}
.cal-nav-btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.cal-nav-btn:hover:not(:disabled) { border-color: var(--accent-1); }
.cal-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.booking-cal-head, .booking-cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.booking-cal-head { margin-bottom: 8px; }
.booking-cal-head span {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-faint); text-align: center;
}
.booking-cal-grid { margin-bottom: 24px; }
@keyframes booking-pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
.cal-day {
  aspect-ratio: 1; max-width: 52px; margin: 0 auto; width: 100%; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-alt); color: var(--text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  opacity: 0; animation: booking-pop 420ms cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 45ms);
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform 200ms;
}
.cal-day span { font-size: 8px; font-weight: 600; text-transform: uppercase; opacity: 0.75; }
.cal-day:hover { border-color: var(--accent-1); transform: translateY(-2px); }
.cal-day.active {
  background: var(--gradient-primary); color: #fff; border-color: transparent;
  box-shadow: 0 10px 24px -10px hsla(258, 70%, 55%, 0.55);
}
.cal-day.empty { visibility: hidden; pointer-events: none; }

/* Smooth height-animated reveal panels */
.booking-reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 480ms cubic-bezier(.16,1,.3,1); }
.booking-reveal.open { grid-template-rows: 1fr; }
.booking-reveal-inner { overflow: hidden; min-height: 0; }

.booking-times-label { font-size: 13px; font-weight: 600; color: var(--text-muted); margin: 0 0 12px; text-align: center; }
.booking-times { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 8px; }
@keyframes booking-slot-in { from { opacity: 0; transform: translateY(6px) scale(0.94); } to { opacity: 1; transform: none; } }
.time-slot {
  padding: 10px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-alt); color: var(--text);
  font-weight: 600; font-size: 13.5px;
  opacity: 0; animation: booking-slot-in 360ms cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 35ms);
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.time-slot:hover { border-color: var(--accent-1); transform: translateY(-2px); }
.time-slot.active { background: var(--gradient-primary); color: #fff; border-color: transparent; }

.booking-form { margin-top: 28px; text-align: left; display: flex; flex-direction: column; gap: 20px; }
.booking-selected { font-weight: 600; color: var(--accent-1); font-size: 14.5px; text-align: center; margin: 0; }
.booking-actions { display: flex; justify-content: center; }

.booking-error { color: var(--accent-3); font-size: 13.5px; margin: 0; text-align: center; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 14.5px; color: var(--text);
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; outline: none; resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent-1); box-shadow: 0 0 0 4px hsla(258, 70%, 60%, 0.14);
}
.field-error { display: none; font-size: 12.5px; color: var(--accent-3); }
.form-field.error input, .form-field.error textarea { border-color: var(--accent-3); }
.form-field.error .field-error { display: block; }

.btn-spinner { display: none; animation: spin-slow 0.8s linear infinite; stroke: #fff; }
.booking-form.submitting .btn-label { visibility: hidden; }
.booking-form.submitting .btn-spinner { display: block; position: absolute; }
.booking-form.submitting .btn { pointer-events: none; opacity: 0.85; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Animated success state */
.booking-success[hidden] { display: none; }
.booking-success { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 12px 0 4px; }
.booking-check { color: var(--accent-2); overflow: visible; }
.booking-check-circle {
  stroke: currentColor; stroke-width: 2.5;
  stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: booking-draw 650ms cubic-bezier(.65,0,.35,1) forwards;
}
.booking-check-mark {
  stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 36; stroke-dashoffset: 36;
  animation: booking-draw 380ms 550ms cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes booking-draw { to { stroke-dashoffset: 0; } }
.booking-success-text { color: var(--text); font-weight: 600; font-size: 15px; margin: 0; max-width: 420px; }
.booking-success-text a { color: var(--accent-1); display: inline-block; margin-top: 10px; text-decoration: underline; }

/* ---- FAQ ---- */
.faq-panel { max-width: 800px; margin: 56px auto 0; }
.faq-answer-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 34px; margin-bottom: 24px;
  min-height: 116px; display: flex; align-items: center;
}
.faq-answer-text {
  margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text);
  transition: opacity 180ms ease;
}
.faq-answer-text.fading { opacity: 0; }

.faq-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.faq-pill {
  padding: 11px 18px; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--surface-alt); color: var(--text);
  font-family: var(--font-heading); font-weight: 600; font-size: 13.5px;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.faq-pill:hover { border-color: var(--accent-1); transform: translateY(-2px); }
.faq-pill.active { background: var(--gradient-primary); color: #fff; border-color: transparent; }

.faq-contact-note {
  text-align: center; margin: 32px 0 0; color: var(--text-muted); font-size: 14.5px;
}
.faq-contact-note a { color: var(--accent-1); text-decoration: underline; text-underline-offset: 2px; }
.faq-contact-note a:hover { color: var(--accent-3); }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border); padding: 50px 0 26px; background: var(--bg-alt); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition);
}
.footer-social a:hover { color: var(--accent-1); border-color: var(--accent-1); }
.footer-bottom {
  display: flex; justify-content: center; margin-top: 34px; padding-top: 22px;
  border-top: 1px solid var(--border); font-size: 13px; color: var(--text-faint); flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent-1); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline-item::before, .timeline-item::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (min-width: 781px) and (max-width: 1024px) {
  .skills-grid .skill-card:last-child:nth-child(odd),
  .timeline .timeline-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc(50% - 13px);
  }
}

@media (min-width: 781px) {
  .work-grid .work-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc(50% - 15px);
  }
}

/* Switches to the hamburger earlier than the general 780px breakpoint
   below: the HU nav labels ("Időpontfoglalás" etc.) need ~870px of
   intrinsic width to lay out on one line without wrapping/overflowing,
   so the links row has to be gone well before content-heavy layout
   changes like hero padding kick in. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 780px) {
  section { padding: 50px 0 65px; }
  .hero { padding: 120px 0 60px; min-height: unset; }
  .skills-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .container { padding: 0 22px; }
  .booking-card { padding: 32px 20px; }
  .booking-steps { max-width: 300px; }
  .booking-step-label { font-size: 10px; }
  .booking-cal-head span, .cal-day { font-size: 12.5px; }
  .booking-cal-head, .booking-cal-grid { gap: 6px; }
  .booking-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .timeline { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .nav-actions .btn-small { display: none; }
}

@media (max-width: 400px) {
  .nav-inner { padding: 0 16px; gap: 10px; }
  .nav-actions { gap: 8px; }
  .logo { padding: 6px 12px 6px 12px; gap: 2px; }
  .logo span { font-size: 14px; }
  .lang-toggle, .theme-toggle, .hamburger {
    width: 34px; height: 34px; min-width: 34px;
  }
  .lang-toggle { padding: 0 8px; font-size: 11.5px; }
}

/* ROOT CAUSE of the Messenger scroll jump, found via exhaustive
   incremental bisection: this breakpoint was meant to shrink the hero
   on genuinely short/small phones, but 700px sat INSIDE the range a
   normal phone's viewport height dynamically fluctuates through inside
   Facebook Messenger's in-app browser as its chrome bars collapse and
   expand during scroll (measured 677px<->773px on an iPhone 13). Every
   time that happened, this query flipped match state and changed the
   hero's font-size -- a real layout change firing in sync with the
   chrome resize, which is what looked like a "jump". Lowered well
   below that dynamic range so it only matches genuinely short devices
   (e.g. iPhone SE) and never toggles mid-scroll. */
@media (max-width: 780px) and (max-height: 600px) {
  .hero { padding: 100px 0 40px; }
  .hero-title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 16px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
}

/* ---------------- Blog ---------------- */
.blog-hero { padding: 150px 0 50px; }
.blog-hero .section-title { margin-bottom: 14px; }
.blog-hero .section-sub { max-width: 640px; margin: 0 auto; }

.blog-list { padding: 20px 0 110px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 10px;
}

.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px;
  text-decoration: none; color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-1);
  box-shadow: 0 20px 40px -20px hsla(258, 70%, 55%, 0.35);
}
.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--text-faint); margin-bottom: 14px;
}
.blog-card-tag {
  padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--surface-alt); color: var(--accent-1);
}
.blog-card h2 {
  font-size: 21px; line-height: 1.3; margin-bottom: 10px;
}
.blog-card p { font-size: 15px; margin-bottom: 18px; }
.blog-card-read {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 700; font-size: 13.5px;
  color: var(--accent-1);
}
.blog-card-read svg { transition: transform var(--transition); }
.blog-card:hover .blog-card-read svg { transform: translateX(3px); }

.blog-cta {
  margin-top: 60px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 34px;
  text-align: center;
}
.blog-cta h2 { font-size: 24px; margin-bottom: 10px; }
.blog-cta p { max-width: 460px; margin: 0 auto 22px; }

/* Article page */
.article-hero { padding: 150px 0 30px; }
.article-hero .container { max-width: 720px; }
.article-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-heading); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--text-faint); margin-bottom: 18px;
}
.article-meta .blog-card-tag { background: var(--surface-alt); color: var(--accent-1); padding: 4px 12px; border-radius: var(--radius-full); }
.article-hero h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 16px; }
.article-hero .article-dek { font-size: 16.5px; line-height: 1.75; color: var(--text-muted); }

.article-body { padding: 10px 0 90px; }
.article-body .container { max-width: 720px; }
.article-body h2 {
  font-size: clamp(23px, 3vw, 30px); font-weight: 800;
  margin: 48px 0 18px;
}
.article-body h3 {
  font-size: 19px; font-weight: 700; color: var(--accent-1);
  margin: 32px 0 12px;
}
.article-body p { font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { font-size: 16.5px; line-height: 1.7; color: var(--text-muted); margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-body a:not(.btn) { color: var(--accent-1); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
  margin: 28px 0; padding: 18px 24px;
  border-left: 3px solid var(--accent-1);
  background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-heading); font-size: 17px; color: var(--text);
}
.article-body blockquote p { margin: 0; }

.article-sources {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border);
}
.article-sources p {
  font-family: var(--font-heading); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.02em; color: var(--text-faint); text-transform: uppercase;
  margin-bottom: 10px;
}
.article-sources ul { list-style: none; }
.article-sources li {
  font-size: 13.5px; color: var(--text-faint); line-height: 1.7; margin-bottom: 4px;
}
.article-sources a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.article-sources a:hover { color: var(--accent-1); }

.article-cta {
  margin-top: 50px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.article-cta p { margin: 0; max-width: 460px; font-family: var(--font-heading); font-weight: 600; font-size: 17px; color: var(--text); }
.article-cta .btn { flex-shrink: 0; }

.article-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 600; font-size: 14px;
  color: var(--text-muted); text-decoration: none; margin-bottom: 24px;
  transition: color var(--transition);
}
.article-back:hover { color: var(--accent-1); }

.article-figure {
  position: relative;
  margin: 36px 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px 22px;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.article-figure::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-primary);
}
.article-figure svg { display: block; width: 100%; height: auto; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
.article-figure figcaption {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 13.5px; line-height: 1.6; color: var(--text-faint);
  font-family: var(--font-body); font-weight: 400; text-align: left;
}

.article-hero-figure { margin: 8px 0 36px; }
.article-hero-figure img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.5);
}
.article-figure .fig-bar-label,
.article-figure .fig-axis-label { font-family: var(--font-body); }

.fig-icon-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.fig-icon-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 14px 8px;
}
.fig-icon-item .fig-icon-circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-alt); color: var(--accent-1);
}
.fig-icon-item span { font-size: 13px; font-weight: 600; color: var(--text-muted); }

.fig-fill-1 { fill: var(--accent-1); stroke: none; }
.fig-fill-2 { fill: var(--accent-2); stroke: none; }
.fig-fill-3 { fill: var(--accent-3); stroke: none; }
.fig-fill-4 { fill: var(--accent-4); stroke: none; }
.fig-fill-muted { fill: var(--surface-alt); stroke: var(--border); stroke-width: 1; }
.fig-stroke-muted { stroke: var(--border); fill: none; }
.fig-text { fill: var(--text); stroke: none; font-family: var(--font-body); }
.fig-text-muted { fill: var(--text-muted); stroke: none; font-family: var(--font-body); }
.fig-text-heading { fill: var(--text); stroke: none; font-family: var(--font-heading); font-weight: 700; }
.fig-value { fill: var(--text); stroke: none; font-family: var(--font-heading); font-weight: 700; }

@media (max-width: 640px) {
  .blog-hero, .article-hero { padding-top: 120px; }
  .article-cta .btn { width: 100%; justify-content: center; }
  .article-figure { padding: 20px 16px 16px; }
}

/* ==========================================================================
   Logo wordmark: plain text lockup (no mark image, no pill) used by both
   the EN and HU homepages -- "ZORALL" in the theme's text color, "WEB"
   picked out with the theme's own gradient. Archivo Black weight is
   forced to 400 because the face only ships one (already-black) weight;
   requesting 700 on top of it triggers a synthetic-bold look. Global
   (not homepage-scoped) since both languages render it identically.
   Blog/article pages keep the old pill logo and are unaffected since
   they don't use the .logo-word markup. */
.logo-word {
  display: inline-flex;
  align-items: center;
  font-family: 'Archivo Black', var(--font-heading), sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.logo-word span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Homepages and blog/article pages (EN and HU) use Archivo Black on their
   headings/eyebrows too, matching the logo. Scoped to body.archivo-type. */
body.archivo-type h1,
body.archivo-type h2,
body.archivo-type h3,
body.archivo-type h4 {
  font-family: 'Archivo Black', var(--font-heading), sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
body.archivo-type .eyebrow {
  font-family: 'Archivo Black', var(--font-heading), sans-serif;
}

/* ---------------- Cookie consent ---------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto 18px;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -20px hsl(var(--shadow-color) / 0.55);
  transform: translateY(calc(100% + 24px));
  transition: transform 320ms cubic-bezier(.4,0,.2,1);
}
@media (min-width: 561px) {
  .cookie-banner { left: 24px; right: 24px; }
}
.cookie-banner.in-view { transform: translateY(0); }
.cookie-banner-text {
  flex: 1 1 340px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.cookie-banner-text a { color: var(--accent-1); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color var(--transition);
}
.footer-cookie-btn:hover { color: var(--accent-1); }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; padding: 18px 18px; }
  .cookie-banner-actions { justify-content: center; }
}
