:root {
  --ink: #17241f;
  --pine: #1e4d42;
  --pine-deep: #15382f;
  --brass: #8c642d;
  --brass-soft: #d3b67b;
  --porcelain: #f5f2eb;
  --paper: #fffdf8;
  --sage: #e5eae3;
  --mist: #5c6a62;
  --line: rgba(23, 36, 31, 0.14);
  --danger: #8b2e2e;
  --shadow: 0 18px 48px -28px rgba(22, 58, 50, 0.42);
  --radius: 18px;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: white;
  color: var(--ink);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}


.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--light {
  background: var(--paper);
}

.section--dark {
  background: var(--pine-deep);
  color: var(--porcelain);
}

.site-header {
  background: rgba(245, 242, 235, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--pine);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: currentColor;
}

.section--dark .eyebrow {
  color: var(--brass-soft);
}

.hero {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.hero-lead {
  max-width: 58ch;
  margin-top: 1.5rem;
  color: var(--mist);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-note {
  max-width: 34ch;
  color: var(--mist);
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -1rem 1rem 1rem -1rem;
  border: 1px solid rgba(168, 124, 61, 0.5);
  border-radius: 1.5rem;
}

.hero-media img {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--pine);
  border-radius: 10px;
  background: var(--pine);
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--pine-deep);
}

.button--light {
  background: var(--porcelain);
  border-color: var(--porcelain);
  color: var(--pine-deep);
}

.button--ghost {
  background: transparent;
  color: var(--pine);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.section-heading p {
  margin-top: 1rem;
  color: var(--mist);
  font-size: 1.08rem;
}

.section--dark .section-heading p {
  color: rgba(245, 242, 235, 0.78);
}

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

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

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

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

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 32px -28px rgba(22, 58, 50, 0.5);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.card p {
  color: var(--mist);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.section--dark .card p {
  color: rgba(245, 242, 235, 0.76);
}

.icon-number {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font-weight: 800;
}

.profile {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.profile img {
  width: min(100%, 460px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-copy p + p {
  margin-top: 1rem;
}

.profile-signature {
  margin-top: 1.4rem;
  font-weight: 800;
}

.audit-box {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--sage);
}

.check-list,
.package-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.package-list li {
  position: relative;
  padding-left: 1.7rem;
}

.check-list li::before,
.package-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pine);
  font-weight: 900;
}

.package {
  display: flex;
  flex-direction: column;
}

.package--featured {
  border-color: var(--brass);
  transform: translateY(-0.5rem);
}

.package-badge {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--pine-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.price {
  margin-top: 0.5rem;
  color: var(--pine);
  font-size: 1.35rem;
  font-weight: 850;
}

.package .button {
  margin-top: auto;
}

.package-note {
  margin-top: 1.5rem;
  color: var(--mist);
  font-size: 0.92rem;
}

.notice {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brass);
  background: #fff7e8;
  color: #4c3a17;
}

.faq {
  display: grid;
  gap: 0.8rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 1rem 1.2rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-top: 0.75rem;
  color: var(--mist);
}

.form-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.form-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

label {
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(23, 36, 31, 0.26);
  border-radius: 9px;
  background: white;
  color: var(--ink);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.3rem;
}

.form-help,
.form-status {
  color: var(--mist);
  font-size: 0.9rem;
}

.form-status[hidden] {
  display: none;
}

.form-status--error {
  color: var(--danger);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.legal {
  max-width: 860px;
}

.legal h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.legal h2 {
  margin-top: 2.4rem;
  font-size: 1.65rem;
}

.legal p,
.legal ul {
  margin-top: 0.9rem;
}

.legal-warning {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border: 2px solid #cf8b00;
  border-radius: 10px;
  background: #fff3c7;
  color: #4b3a00;
  font-weight: 700;
}

.site-footer {
  padding: 2.5rem 0;
  background: #102b25;
  color: rgba(245, 242, 235, 0.84);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: white;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .profile,
  .form-layout {
    grid-template-columns: 1fr;
  }

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

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

  .package--featured {
    transform: none;
  }
}

@media (max-width: 700px) {
  .grid--2,
  .grid--4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .footer-grid {
    flex-direction: column;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}


.form-card,
.form-card label,
.form-card .checkbox-row,
.form-card .form-help {
  color: var(--ink);
}

.form-card .form-help a {
  color: var(--pine);
  font-weight: 700;
}

/* Hero tipográfia – végső asztali és mobil finomhangolás */
@media (min-width: 901px) {
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    gap: clamp(2rem, 3.8vw, 3.75rem);
  }

  .hero h1 {
    max-width: 22ch;
    font-size: clamp(2.8rem, 3.95vw, 3.9rem);
    line-height: 1.02;
  }

  .hero-lead {
    max-width: 62ch;
    margin-top: 1.2rem;
  }

  .hero-actions {
    margin-top: 1.55rem;
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 2.25rem;
  }

  .hero h1 {
    max-width: 21ch;
    font-size: clamp(2.65rem, 4.05vw, 3.45rem);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 18ch;
    font-size: clamp(2.45rem, 7.2vw, 3.35rem);
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.05rem, 9.4vw, 2.4rem);
    line-height: 1.03;
  }

  .hero-lead {
    margin-top: 1.2rem;
    font-size: 1.03rem;
    line-height: 1.58;
  }

  .hero .eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.7rem;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }
}


/* Mobil navigáció */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.nav-toggle__icon {
  display: grid;
  gap: 4px;
  width: 20px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.package-note--dark {
  color: rgba(245, 242, 235, 0.82);
}

.space-top-2 { margin-top: 2rem; }
.space-top-15 { margin-top: 1.5rem; }
.space-top-1 { margin-top: 1rem; }
.space-top-small { margin-top: 0.65rem; }

@media (max-width: 700px) {
  .nav {
    min-height: 64px;
    flex-wrap: wrap;
    padding-block: 0.55rem;
  }

  .brand {
    font-size: 1.08rem;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0 0.65rem;
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 0.7rem 0.1rem;
  }

  .js .primary-nav {
    display: none;
  }

  .js .primary-nav.is-open {
    display: block;
  }
}
