﻿/* =========================================================
   NOREVI Studio – közös stíluslap
   A szekciók önálló „építőkockák”: bármelyik oldalra (pl. egy
   későbbi landing oldalra) átemelhetők a HTML-blokkal együtt.
   ========================================================= */

:root {
  /* Arculati paletta */
  --teal: #244A50;
  --teal-deep: #1A373C;
  --cream: #F8F5F0;
  --sand: #D8C7B3;
  --sand-soft: #EEE5DA;
  --terra: #C87860;
  --terra-deep: #A95F49;
  --terra-soft: #E9C3B4;
  --ink: #33383A;
  --muted: #6A7072;
  --white: #FFFFFF;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-script: "Allura", "Brush Script MT", cursive;

  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 32px;
  --arch: 999px 999px var(--radius) var(--radius);

  --shadow-soft: 0 10px 30px -12px rgba(36, 74, 80, .25);
  --shadow-lift: 0 24px 50px -20px rgba(36, 74, 80, .35);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 130px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--teal);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

em.accent, .accent {
  font-style: italic;
  color: var(--terra);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--terra);
  line-height: 1.1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand-soft); }
.section--teal { background: var(--teal); color: var(--cream); }
.section--teal h2, .section--teal h3 { color: var(--cream); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--teal .section-head p { color: var(--sand); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--teal);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--terra); color: var(--white); box-shadow: 0 12px 24px -12px rgba(200, 120, 96, .8); }
.btn--primary:hover { background: var(--terra-deep); }
.btn--dark { background: var(--teal); color: var(--cream); }
.btn--dark:hover { background: var(--teal-deep); }
.btn--ghost { border-color: var(--teal); color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--teal); }
.btn--light:hover { background: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--terra);
  padding-bottom: 3px;
}
.link-arrow:hover { color: var(--terra); }

/* ---------- Logó ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--teal);
}
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-mark .lm-ink { fill: currentColor; }
.logo-mark .lm-leaf { fill: var(--terra); }
.logo-mark .lm-leaf2 { fill: #D8A48C; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: .14em;
}
.logo-text small {
  font-size: .6rem;
  letter-spacing: .5em;
  color: var(--terra);
  margin-top: 4px;
  font-weight: 500;
}

/* ---------- Fejléc ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: 18px;
  transition: padding .35s var(--ease), background .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(248, 245, 240, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(36, 74, 80, .08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.nav-links {
  display: flex;
  gap: clamp(18px, 2.6vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  padding-block: 6px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: .8em 1.4em; font-size: .74rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(36, 74, 80, .2);
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--teal);
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; align-items: center; gap: 22px; }
  .nav-links a { font-family: var(--font-serif); font-size: 1.8rem; letter-spacing: .02em; text-transform: none; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(130px, 16vw, 180px);
  padding-bottom: clamp(70px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  /* lágy háttérfolt */
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -220px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 199, 179, .55), rgba(216, 199, 179, 0) 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.hero-copy h1 { margin-bottom: .35em; }
.hero-copy .script { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0 0 1.6rem; }
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 520px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 2.6rem;
  padding: 0;
  list-style: none;
  font-size: .82rem;
  color: var(--muted);
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terra);
}

/* Hero: „arculati tábla” kollázs – böngésző, névjegyek, telefon, színminták */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  justify-self: end;
  width: 100%;
}
.hero-blob {
  position: absolute;
  inset: 6% 2% 8% 6%;
  border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
  background:
    radial-gradient(90% 70% at 80% 100%, rgba(200, 120, 96, .28), transparent 60%),
    linear-gradient(150deg, #EDE3D7 0%, #D8C7B3 100%);
  animation: blob 16s ease-in-out infinite;
}
@keyframes blob {
  50% { border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%; }
}
.hero-leaves {
  position: absolute;
  width: 34%;
  left: -4%;
  top: 2%;
  color: var(--teal);
  opacity: .5;
}

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  animation: floaty 7s ease-in-out infinite;
}
.float-card--browser { width: 78%; left: 6%; top: 15%; padding: 0 0 18px; animation-delay: -1s; }
.float-card--phone { width: 28%; right: 0; top: 36%; padding: 10px; border-radius: 22px; animation-delay: -3s; }

.browser-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.browser-nav .logo-mark { width: 20px; height: 20px; color: var(--teal); }
.browser-nav span { display: flex; gap: 6px; }
.browser-nav span i { width: 22px; height: 4px; border-radius: 4px; background: #EFE8DF; }
.browser-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.browser-img {
  aspect-ratio: 1;
  border-radius: 10px;
  background:
    radial-gradient(circle at 70% 30%, var(--terra-soft) 0 18%, transparent 19%),
    linear-gradient(160deg, var(--sand-soft), var(--sand));
  position: relative;
  overflow: hidden;
}
.browser-img::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -10%;
  height: 55%;
  border-radius: 50% 50% 0 0;
  background: var(--teal);
  opacity: .85;
}

/* Névjegykártyák */
.bcard {
  position: absolute;
  width: 44%;
  aspect-ratio: 1.75;
  border-radius: 10px;
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: floaty 8s ease-in-out infinite;
}
.bcard--light { background: var(--cream); left: 0; bottom: 9%; rotate: -8deg; color: var(--teal); animation-delay: -2s; }
.bcard--light .logo-mark { width: 30%; height: auto; aspect-ratio: 1; }
.bcard--light b { font-family: var(--font-serif); font-weight: 500; letter-spacing: .2em; font-size: clamp(.7rem, 1.4vw, .9rem); margin-top: 2px; }
.bcard--light small { font-size: .45rem; letter-spacing: .5em; color: var(--terra); }
.bcard--dark { background: var(--teal); left: 34%; bottom: 3%; rotate: 5deg; color: var(--sand); padding: 0 8%; animation-delay: -4.5s; }
.bcard--dark .script { color: var(--terra-soft); font-size: clamp(1rem, 2vw, 1.35rem); }
.bcard--dark small { font-size: .45rem; letter-spacing: .3em; text-transform: uppercase; margin-top: 6px; }

/* Színminta csík */
.swatches {
  position: absolute;
  left: 10%;
  top: 2%;
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: var(--white);
  border-radius: 99px;
  box-shadow: var(--shadow-soft);
  animation: floaty 9s ease-in-out infinite;
  animation-delay: -6s;
}
.swatches i { width: 18px; height: 18px; border-radius: 50%; }
.swatches i:nth-child(1) { background: var(--teal); }
.swatches i:nth-child(2) { background: var(--cream); box-shadow: inset 0 0 0 1px #E6DED3; }
.swatches i:nth-child(3) { background: var(--sand); }
.swatches i:nth-child(4) { background: var(--terra); }
.swatches i:nth-child(5) { background: var(--ink); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.browser-bar {
  display: flex;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid #EFE8DF;
}
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }
.browser-bar i:first-child { background: var(--terra); }
.browser-body { padding: 16px 18px 0; }
.browser-body .mini-title { font-family: var(--font-serif); color: var(--teal); font-size: 1.05rem; line-height: 1.25; margin-bottom: 10px; }
.line { height: 6px; border-radius: 6px; background: #EFE8DF; margin-bottom: 7px; }
.line.w60 { width: 60%; } .line.w80 { width: 80%; } .line.w40 { width: 40%; }
.mini-btn { display: inline-block; margin-top: 8px; width: 70px; height: 18px; border-radius: 99px; background: var(--teal); }

.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.phone-grid span { aspect-ratio: 1; border-radius: 6px; background: var(--sand-soft); }
.phone-grid span:nth-child(2) { background: var(--teal); }
.phone-grid span:nth-child(3) { background: var(--terra-soft); }
.phone-grid span:nth-child(5) { background: var(--terra); }
.phone-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.phone-head b { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); }
.phone-head i { flex: 1; height: 5px; border-radius: 5px; background: #EFE8DF; }

/* Forgó kör-felirat */
.spin-badge {
  position: absolute;
  right: 2%;
  top: -2%;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}
.spin-badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge text { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; fill: var(--cream); font-family: var(--font-sans); font-weight: 500; }
.spin-badge .logo-mark { width: 44px; height: 44px; color: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 420px; margin-top: 20px; }
  .spin-badge { width: 92px; height: 92px; top: -4%; }
  .spin-badge .logo-mark { width: 34px; height: 34px; }
  .float-card--phone { top: 42%; }
}

/* ---------- Futó szalag ---------- */
.marquee {
  background: var(--teal);
  color: var(--cream);
  overflow: hidden;
  padding-block: 22px;
  transform: rotate(-1.2deg);
  margin-block: -10px;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-style: italic;
  padding-inline: 28px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-track span::after {
  content: "";
  width: 14px;
  height: 22px;
  background: var(--terra);
  border-radius: 0 100% 0 100%;
  transform: rotate(20deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Szolgáltatások ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px 34px;
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--sand-soft);
  z-index: -1;
  transition: transform .6s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.service-card:hover::after { transform: scale(1.6); }
.service-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--sand-soft);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--teal);
}
.service-icon svg { width: 38px; height: 38px; }
.service-card .label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--terra);
  text-transform: uppercase;
}
.service-card h3 { margin-top: 6px; }
.service-card p { color: var(--muted); }
.service-card ul { list-style: none; padding: 0; margin: 0 0 6px; font-size: .9rem; }
.service-card li { padding: 7px 0; border-top: 1px dashed rgba(36, 74, 80, .15); display: flex; gap: 10px; }
.service-card li::before { content: "✦"; color: var(--terra); font-size: .7rem; padding-top: 3px; }
.service-card--featured { background: var(--teal); color: var(--sand); }
.service-card--featured h3 { color: var(--cream); }
.service-card--featured p { color: var(--sand); }
.service-card--featured .service-icon { background: rgba(248, 245, 240, .1); color: var(--cream); }
.service-card--featured::after { background: rgba(248, 245, 240, .06); }
.service-card--featured li { border-color: rgba(248, 245, 240, .15); }

@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Rólam ---------- */
.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
/* Portré: lekerekített fotó, mögötte eltolt terrakotta keret és pöttyminta */
.about-visual { position: relative; max-width: 420px; margin: 0 24px 24px 0; }
.about-visual::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1.5px solid var(--terra);
  border-radius: var(--radius-lg);
}
.about-visual::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  left: -36px;
  top: -36px;
  background-image: radial-gradient(var(--teal) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: .35;
  z-index: 0;
}
.portrait {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #F3ECE3 0%, var(--sand) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lift);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait .placeholder {
  color: var(--teal);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
}
.portrait .placeholder svg { width: 44px; height: 44px; margin: 0 auto 12px; }
.about-visual .signature { z-index: 2; }
.about-visual .signature {
  position: absolute;
  right: -8%;
  bottom: 8%;
  background: var(--cream);
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 2.2rem;
  transform: rotate(-6deg);
}
.about-copy .script { font-size: 2.4rem; margin-bottom: .3rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 2rem 0 2.4rem; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--terra);
  line-height: 1;
}
.value strong { display: block; color: var(--teal); font-size: .95rem; }
.value span { font-size: .88rem; color: var(--muted); line-height: 1.5; display: block; }

@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
  .about-visual { margin-inline: auto; width: 80%; }
  .about-visual .signature { right: -4%; }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Folyamat ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 6%;
  right: 6%;
  border-top: 1.5px dashed rgba(216, 199, 179, .45);
}
.step { position: relative; text-align: center; padding-inline: 8px; }
.step-num {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  border: 1.5px solid var(--sand);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--cream);
  position: relative;
  transition: background .3s, border-color .3s;
}
.step:hover .step-num { background: var(--terra); border-color: var(--terra); }
.step h3 { font-size: 1.25rem; }
.step p { font-size: .92rem; color: var(--sand); }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Munkák / projekt kártyák ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  border: 1px solid rgba(36, 74, 80, .25);
  background: transparent;
  color: var(--teal);
  padding: .65em 1.3em;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.filter-btn:hover { border-color: var(--teal); }
.filter-btn.is-active { background: var(--teal); color: var(--cream); border-color: var(--teal); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 44px);
}
.works-grid--three { grid-template-columns: repeat(3, 1fr); }
.work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity .4s, transform .4s var(--ease);
}
.work-card.is-hidden { display: none; }
.work-card:nth-child(even) { transform: translateY(40px); }
.works-grid--three .work-card:nth-child(even) { transform: none; }
.works-grid--three .work-card:nth-child(2) { transform: translateY(40px); }

.mock {
  --c1: var(--teal);
  --c2: var(--sand);
  --c3: var(--cream);
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--c2);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 9% 10% 0;
  align-items: end;
  margin-bottom: 22px;
}
.mock-screen {
  width: 100%;
  height: 92%;
  background: var(--c3);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .25);
  overflow: hidden;
  transition: transform .6s var(--ease);
}
.work-card:hover .mock-screen { transform: translateY(-10px) scale(1.02); }
.mock-hero {
  margin: 14px;
  height: 46%;
  border-radius: 10px;
  background: var(--c1);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.mock-hero b {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--c3);
  font-size: clamp(.9rem, 1.6vw, 1.2rem);
  line-height: 1.2;
}
.mock-hero i { width: 50%; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .45); }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 14px; }
.mock-row span { height: 44px; border-radius: 8px; background: color-mix(in srgb, var(--c2) 55%, white); }
.mock-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 0 14px; }
.mock-cal span { aspect-ratio: 1; border-radius: 4px; background: color-mix(in srgb, var(--c2) 45%, white); }
.mock-cal span.on { background: var(--c1); }
.mock-cal span.alt { background: color-mix(in srgb, var(--c1) 40%, white); }

.mock--phone { padding: 8% 0 0; }
.mock--phone .mock-screen { width: 42%; height: 96%; border-radius: 26px 26px 0 0; border: 6px solid #22282A; border-bottom: 0; }
.mock--phone .mock-hero { height: 36%; margin: 10px; }
.mock--phone .mock-row { grid-template-columns: 1fr; margin: 0 10px; gap: 6px; }
.mock--phone .mock-row span { height: 22px; }

/* Valódi képernyőképes változat: böngészőablak + telefon */
.mock--shot { display: block; padding: 8% 7% 0; }
.shot-browser {
  width: 88%;
  height: 100%;
  background: var(--white);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 40px -12px rgba(0, 0, 0, .28);
  overflow: hidden;
  transition: transform .6s var(--ease);
}
.shot-browser { display: flex; flex-direction: column; }
.shot-browser img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top center; }
.shot-phone {
  position: absolute;
  z-index: 1;
  right: 6%;
  bottom: -8%;
  width: 24%;
  border: 5px solid #22282A;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lift);
  transition: transform .6s var(--ease);
}
.shot-phone img { width: 100%; aspect-ratio: 390 / 720; object-fit: cover; object-position: top; }
.shot-phone--center { right: auto; left: 31%; bottom: -14%; width: 38%; border-width: 6px; border-radius: 26px; }
/* Névjegykártya-változat: két egymásra fektetett kártya (hátoldal mögött, előoldal elöl) */
.mock--cards { display: block; padding: 0; }
.nevjegy {
  position: absolute;
  width: 62%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 22px 40px -18px rgba(36, 74, 80, .55);
  transition: transform .6s var(--ease);
}
.nevjegy img { display: block; width: 100%; }
.nevjegy--hat { left: 6%; top: 15%; rotate: -7deg; }
.nevjegy--elo { right: 6%; bottom: 9%; rotate: 4deg; z-index: 1; }
.work-card:hover .nevjegy--hat { transform: translate(-6px, -6px); }
.work-card:hover .nevjegy--elo { transform: translateY(-10px); }
.work-card:hover .shot-browser { transform: translateY(-8px); }
.work-card:hover .shot-phone { transform: translateY(-14px); }

.mock-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);
  color: var(--teal);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
  z-index: 2;
}

.work-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra-deep);
  background: rgba(200, 120, 96, .12);
  padding: 4px 10px;
  border-radius: 99px;
}
.work-card h3 { margin-bottom: .3em; transition: color .3s; }
.work-card:hover h3 { color: var(--terra); }
.work-card p { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.work-card .live {
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

@media (max-width: 980px) {
  .works-grid--three { grid-template-columns: 1fr 1fr; }
  .works-grid--three .work-card:nth-child(2) { transform: none; }
}
@media (max-width: 680px) {
  .works-grid, .works-grid--three { grid-template-columns: 1fr; }
  .work-card:nth-child(even) { transform: none; }
}

/* ---------- Idézet / vélemény ---------- */
.quote-block { max-width: 820px; margin-inline: auto; text-align: center; }
.quote-block blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.45;
  color: var(--teal);
  font-style: italic;
}
.quote-block blockquote::before {
  content: "“";
  display: block;
  font-size: 5rem;
  line-height: .6;
  color: var(--terra);
  margin-bottom: 10px;
}
.quote-block cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Facebook blokk ---------- */
.social-split {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.fb-embed {
  width: 100%;
  min-height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.fb-embed iframe { display: block; border: 0; width: 100%; }
.fb-placeholder { padding: 24px; }
.fb-placeholder-head { display: flex; align-items: center; gap: 16px; }
.fb-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  color: var(--cream);
  flex: none;
}
.fb-avatar .logo-mark { width: 40px; height: 40px; }
.fb-placeholder strong { display: block; color: var(--ink); font-size: 1.1rem; }
.fb-placeholder small { color: var(--muted); font-size: .85rem; }
.fb-placeholder-actions { display: flex; gap: 10px; margin-top: 20px; }
.fb-placeholder-actions span {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  background: #EEF0F2;
  color: #33383A;
}
.fb-placeholder-actions span:first-child { background: #1877F2; color: #fff; }
.fb-placeholder-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.fb-placeholder-posts i { aspect-ratio: 1; border-radius: 8px; background: var(--sand-soft); }
.fb-placeholder-posts i:nth-child(2) { background: var(--teal); }
.fb-placeholder-posts i:nth-child(3) { background: var(--terra-soft); }
.fb-placeholder p { margin: 16px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

@media (max-width: 880px) { .social-split { grid-template-columns: 1fr; } }

/* ---------- CTA szalag ---------- */
.cta-band {
  position: relative;
  background: var(--terra);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 90px) clamp(28px, 6vw, 80px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .25);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .05), 0 0 0 120px rgba(255, 255, 255, .04);
}
.cta-band h2 { color: var(--white); margin-bottom: .2em; position: relative; }
.cta-band .script { color: var(--cream); font-size: 2.2rem; position: relative; }
.cta-band p { position: relative; margin: .6em 0 0; color: rgba(255, 255, 255, .85); max-width: 520px; }
.cta-band .btn { position: relative; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Aloldal fejléc ---------- */
.page-hero {
  padding-top: clamp(140px, 17vw, 190px);
  padding-bottom: clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 60px;
  width: 380px;
  height: 360px;
  border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
  background: linear-gradient(180deg, var(--sand-soft), rgba(238, 229, 218, 0));
  z-index: -1;
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 820px; }
.page-hero p { max-width: 600px; color: var(--muted); font-size: 1.08rem; }
.page-hero .script { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* ---------- Kapcsolat ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(36, 74, 80, .18);
  background: var(--cream);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terra);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200, 120, 96, .15);
}
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field .choice { font-size: inherit; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  padding: .6em 1.15em;
  border-radius: 99px;
  border: 1px solid rgba(36, 74, 80, .22);
  font-size: .88rem;
  cursor: pointer;
  transition: all .25s;
  user-select: none;
}
.choice input:checked + span { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.choice input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { margin-top: 5px; accent-color: var(--teal); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -5000px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { font-size: .92rem; margin: 0; }
.form-status.ok { color: #2F6B4F; }
.form-status.err { color: #B04434; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.contact-aside { display: flex; flex-direction: column; gap: 22px; }
.info-card {
  background: var(--teal);
  color: var(--sand);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
}
.info-card h3 { color: var(--cream); }
.info-card .script { color: var(--terra-soft); font-size: 2rem; }
.info-list { list-style: none; margin: 18px 0 0; padding: 0; }
.info-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(248, 245, 240, .12); }
.info-list .ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(248, 245, 240, .1);
  display: grid;
  place-items: center;
  color: var(--cream);
  flex: none;
}
.info-list .ico svg { width: 18px; }
.info-list a { color: var(--cream); text-decoration: none; }
.info-list a:hover { color: var(--terra-soft); }
.info-list small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid rgba(36, 74, 80, .15);
  padding: 22px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--teal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(36, 74, 80, .25);
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: var(--terra);
  transition: transform .35s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sand-soft); }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 680px; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Lábléc ---------- */
.site-footer {
  background: var(--teal-deep);
  color: var(--sand);
  padding: clamp(60px, 8vw, 90px) 0 30px;
  margin-top: var(--section-y);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(248, 245, 240, .12);
}
.site-footer .logo { color: var(--cream); }
.site-footer .script { color: var(--terra-soft); font-size: 1.8rem; margin-top: 18px; }
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: .92rem; }
.site-footer a { text-decoration: none; color: var(--sand); transition: color .25s; }
.site-footer a:hover { color: var(--terra-soft); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: .8rem;
  color: rgba(216, 199, 179, .7);
}
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(248, 245, 240, .2);
  display: grid;
  place-items: center;
  color: var(--cream);
}
.socials a:hover { background: var(--terra); border-color: var(--terra); color: var(--white); }
.socials svg { width: 17px; height: 17px; }
.site-footer .section-cta-gap { margin-top: 0; }

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sorkizárt bemutató szövegek ---------- */
main p:not(.script):not(.form-status):not(.eyebrow),
.faq details p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* Középre rendezett blokkokban az utolsó sor is középen marad */
.section-head--center p,
.step p,
.fb-placeholder p { text-align-last: center; }

/* ---------- Megjelenési animáció ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* A párosan eltolt munka-kártyák megtartják az eltolást megjelenés után is */
.works-grid .work-card.reveal.is-visible:nth-child(even) { transform: translateY(40px); }
.works-grid--three .work-card.reveal.is-visible:nth-child(even) { transform: none; }
.works-grid--three .work-card.reveal.is-visible:nth-child(2) { transform: translateY(40px); }
@media (max-width: 980px) { .works-grid--three .work-card.reveal.is-visible:nth-child(2) { transform: none; } }
@media (max-width: 680px) { .works-grid .work-card.reveal.is-visible:nth-child(even) { transform: none; } }

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