/* ═══════════════════════════════════════════════════════════════
   VARÁZSSZŐNYEG – STÍLUSLAP
   Szerkesztési útmutató:
     • Színek:         :root változók (1. szekció)
     • Betűtípusok:    :root (ha variáns kell) vagy Google Fonts link az index.html-ben
     • Elrendezés:     grid/flex értékek a 3–10. szekciókban
     • Animációk:      12. szekció
     • Mobilnézet:     13. szekció
═══════════════════════════════════════════════════════════════ */

/* ═══ 1. CSS VÁLTOZÓK ═══ */
:root {
  --bg:           #f2efe4;
  --bg-soft:      #e2ead8;
  --ink:          #111c14;
  --muted:        #48564a;
  --accent:       #1a7a48;
  --accent-deep:  #0d5430;
  --forest:       #0e2a1a;
  --forest-2:     #163323;
  --gold:         #c68b3c;
  --gold-dark:    #9f6824;
  --panel:        rgba(255,255,255,0.68);
  --panel-strong: rgba(255,255,255,0.92);
  --line:         rgba(14,42,26,0.13);
  --shadow:       0 28px 56px rgba(14,42,26,0.18);
  --shadow-soft:  0 14px 32px rgba(14,42,26,0.10);
}

/* ═══ 2. RESET & ALAP ═══ */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.56;
  background:
    radial-gradient(circle at 6%  0%,  #fff5dc 0%, transparent 34%),
    radial-gradient(circle at 90% 4%,  #cde5c3 0%, transparent 38%),
    radial-gradient(circle at 50% 98%, #dcd5c0 0%, transparent 34%),
    linear-gradient(158deg, var(--bg) 0%, var(--bg-soft) 100%);
  min-height: 100vh;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: linear-gradient(rgba(22, 35, 27, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(22, 35, 27, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000 52%, transparent 92%);
}

/* ═══ 3. LAYOUT (konténer) ═══ */
.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* ═══ 4. FEJLÉC ═══ */
.site-header {
  position: sticky;
  top: 0.7rem;
  z-index: 20;
  margin-bottom: 0.6rem;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 92%, #e4f0e2 8%);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 0.6rem 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}
.brand span {
  background: linear-gradient(135deg, var(--forest), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}
.footer-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 0.6rem;
  border-radius: 12px;
  opacity: 0.9;
}

.header-fb {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.1);
  border: 1px solid rgba(24, 119, 242, 0.22);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  transition: background 140ms ease, transform 140ms ease;
}
.header-fb:hover {
  background: rgba(24, 119, 242, 0.18);
  transform: translateY(-1px);
}

/* ═══ 5. HERO SZEKCIÓ ═══ */
.hero {
  padding-top: 0.6rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(148deg, var(--panel-strong), rgba(255,255,255,.72));
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3.2vw, 2.8rem);
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute; bottom: -120px; right: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,122,72,.2), transparent 68%);
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.8rem, 8.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 13ch;
}

h1 span {
  color: var(--accent);
}

.lead {
  margin: 1rem 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.hero-questions {
  margin: 1rem 0 0; padding: 0;
  list-style: none; display: grid; gap: .3rem;
}
.hero-questions li {
  position: relative; padding-left: 1.2rem;
  color: var(--muted); font-size: .95rem;
}
.hero-questions li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

.tagline {
  margin: 1rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  color: var(--ink);
  border-left: 4px solid var(--accent);
  padding-left: .72rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-badges {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-badges li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}

.hero-card {
  border-radius: 30px;
  background: linear-gradient(158deg, var(--forest), var(--forest-2));
  color: #e8f3e8;
  padding: clamp(1.2rem, 2.8vw, 2rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute; right: -90px; bottom: -90px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,139,60,.42), transparent 66%);
  pointer-events: none;
}

.hero-card__label {
  margin: 0;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; font-weight: 700;
  color: rgba(232,243,232,.68);
}

.hero-card h2 {
  margin-top: .5rem;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  max-width: 16ch;
  color: #fff;
}

.hero-card ul {
  margin: 1rem 0 0; padding-left: 1rem;
  display: grid; gap: .45rem;
  color: rgba(232,243,232,.85); font-size: .94rem;
}

.hero-card__cta {
  margin-top: 1.2rem; align-self: flex-start;
  display: inline-flex; text-decoration: none;
  color: #fff; font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 999px; padding: .6rem .95rem;
  box-shadow: 0 10px 20px rgba(159,104,36,.36);
  position: relative; z-index: 1;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.hero-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(159,104,36,.46);
}

/* ═══ 6. GOMBOK ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  padding: 0.76rem 1.18rem;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.btn:hover       { transform: translateY(-2px); }
.btn--small      { padding: 0.5rem 0.86rem; font-size: 0.88rem; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 24px rgba(13,84,48,.28);
}
.btn--primary:hover { box-shadow: 0 14px 28px rgba(13,84,48,.38); }
.btn--ghost {
  color: var(--ink); background: rgba(255,255,255,.6); border-color: var(--line);
}
.btn:focus-visible { outline: 3px solid rgba(26,122,72,.28); outline-offset: 2px; }

/* ═══ 7. MARQUEE SÁV ═══ */
.marquee-wrap {
  margin: 1rem 0;
  overflow: hidden;
  background: linear-gradient(90deg, var(--forest), var(--forest-2));
  border-radius: 14px;
  padding: .78rem 0;
}
.marquee-track {
  display: flex; gap: 2.2rem;
  width: max-content;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  color: rgba(232,243,232,.82);
  font-size: .82rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
}
.marquee-track span[aria-hidden] { color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══ 8. STATISZTIKÁK ═══ */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
  margin-top: 0;
}
.stats article {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
}
.stats h3 {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 1.03rem;
}
.stats p  { margin: .45rem 0 0; color: var(--muted); font-size: .92rem; }

/* ═══ 9. SZEKCIÓK (Szolgáltatások, Folyamat, Kapcsolat) ═══ */
.services,
.sharpening,
.video-section,
.process,
.contact {
  margin-top: 1rem;
  background: linear-gradient(145deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.section-head h2 {
  margin-top: 0.35rem;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
}

.section-lead {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.services-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.services-grid li {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  min-height: 64px;
  display: flex; align-items: center; gap: .55rem;
  padding: .8rem 1rem;
  font-weight: 600;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.services-grid li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.services-grid li:hover {
  transform: translateY(-3px);
  border-color: rgba(26,122,72,.36);
  box-shadow: 0 10px 20px rgba(14,42,26,.1);
}

.sharpening-body {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  align-items: start;
}

.sharpening-problems {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sharpening-problems li {
  background: rgba(198, 139, 60, 0.08);
  border: 1px solid rgba(198, 139, 60, 0.22);
  border-radius: 10px;
  padding: 0.55rem 0.9rem 0.55rem 2.2rem;
  position: relative;
  font-weight: 600;
  color: var(--ink);
}

.sharpening-problems li::before {
  content: "?";
  position: absolute;
  left: 0.7rem;
  font-weight: 700;
  color: var(--gold);
}

.sharpening-problems li:last-child {
  background: rgba(26, 122, 72, 0.07);
  border-color: rgba(26, 122, 72, 0.2);
}

.sharpening-problems li:last-child::before {
  content: "!";
  color: var(--accent);
}

.sharpening-right {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sharpening-intro {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

.sharpening-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.sharpening-list li {
  padding-left: 1.7rem;
  position: relative;
  font-weight: 600;
}

.sharpening-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.sharpening-cta-text {
  margin: 0;
}

.sharpening-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.video-wrap {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 560 / 420;
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.process ol {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  counter-reset: steps;
}

.process li {
  position: relative;
  counter-increment: steps;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.85rem 0.75rem 2.8rem;
}

.process li::before {
  content: counter(steps);
  position: absolute;
  left: 0.78rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.8rem;
  align-items: center;
}

.contact-panel p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.contact-actions {
  justify-self: end;
  text-align: right;
}

.contact-actions p {
  margin-top: 0.6rem;
}

.contact-messaging {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.44rem 0.88rem;
  font-size: 0.86rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  text-decoration: none;
  color: #fff;
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
  -webkit-text-fill-color: #fff;
}
.msg-btn:hover { transform: translateY(-2px); opacity: 0.9; }

.msg-btn--wa {
  background: #25D366;
  box-shadow: 0 6px 16px rgba(37,211,102,.30);
}
.msg-btn--ms {
  background: linear-gradient(135deg, #0099FF 0%, #A033FF 100%);
  box-shadow: 0 6px 16px rgba(0,153,255,.28);
}
.msg-btn--vb {
  background: #7360F2;
  box-shadow: 0 6px 16px rgba(115,96,242,.30);
}

/* hero card-on a gombok kisebb méretűek és a sötét háttérhez igazítva */
.hero-card__messaging {
  margin-top: 0.75rem;
}
.hero-card__messaging .msg-btn {
  font-size: 0.8rem;
  padding: 0.38rem 0.75rem;
  opacity: 0.9;
}
.hero-card__messaging .msg-btn:hover {
  opacity: 1;
}

a {
  color: inherit;
}

/* ═══ 10. LÁBLÉC ═══ */
.footer {
  margin: 1.35rem 0 5.2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-area {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.6;
  line-height: 1.5;
}

.footer-credit {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.45;
}

.footer-credit a {
  color: var(--accent);
  text-decoration: none;
}
.footer-credit a:hover {
  text-decoration: underline;
}

/* ═══ 11. LEBEGŐ HÍVÁS GOMB ═══ */
.floating-call {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 30;
  text-decoration: none; color: #fff;
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  padding: .76rem 1.1rem;
  box-shadow: 0 16px 30px rgba(159,104,36,.38);
  animation: float-cta 2.4s ease-in-out infinite;
}
@keyframes float-cta {
  0%,100% { transform: translateY(0);   box-shadow: 0 16px 30px rgba(159,104,36,.38); }
  50%      { transform: translateY(-3px); box-shadow: 0 20px 34px rgba(159,104,36,.48); }
}

/* ═══ 12. SCROLL ANIMÁCIÓ ═══ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ 13. RESZPONZÍV ═══ */
@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

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

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .floating-call { animation: none; }
  .reveal        { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 640px) {
  .site-header { top: .4rem; }
  .header-row  { border-radius: 14px; gap: 0.45rem; padding: 0.5rem 0.7rem; }

  .brand span  { display: none; }
  .brand-logo  { width: 38px; height: 38px; }

  .header-fb span { display: none; }
  .header-fb   { padding: 0.38rem 0.55rem; }

  .hero-copy,
  .hero-card,
  .services,
  .sharpening,
  .process,
  .contact     { border-radius: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-badges li { width: 100%; text-align: center; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .sharpening-body {
    grid-template-columns: 1fr;
  }

  .floating-call {
    left: 0.7rem;
    right: 0.7rem;
    text-align: center;
  }

  .footer {
    margin-bottom: 5.7rem;
  }
}
