:root {
  --navy: #0f1f3d;
  --navy-deep: #091326;
  --blue: #1d4ed8;
  --blue-hover: #1e40af;
  --blue-soft: #eff6ff;
  --teal: #0f766e;
  --teal-soft: #f0fdfa;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --radius: 16px;
  --shadow-sm: 0 6px 20px rgba(15, 31, 61, 0.06);
  --shadow-md: 0 20px 44px rgba(15, 31, 61, 0.12);
  --font: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

code {
  background: #e2e8f0;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.92em;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sorkizárt bekezdések magyar szóelválasztással */
.hero-lead,
.benefit-card p,
.pc-target,
.ref-body p,
.step-card p,
.faq-item p,
.ci-lead,
.impresszum-body p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Fejléc */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  position: relative;
  flex-shrink: 0;
}

.brand-badge::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 10px;
  right: 10px;
  height: 3px;
  border-radius: 99px;
  background: #14b8a6;
}

.brand-badge-sm {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.brand-text small {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

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

.header-phone {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--blue);
}

.header-cta {
  text-decoration: none;
  background: var(--blue);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.header-cta:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding: 68px 0 84px;
  background: radial-gradient(circle at 85% 15%, rgba(29, 78, 216, 0.08), transparent 45%),
              radial-gradient(circle at 12% 85%, rgba(15, 118, 110, 0.07), transparent 40%),
              var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid #bfdbfe;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 4.7vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 28px;
}

.hero-lead strong {
  color: var(--text);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 11px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: all 0.16s ease;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.24);
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.btn-full { width: 100%; }

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.trust-list li::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 800;
}

/* Profil kártya */
.profile-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.profile-photo {
  aspect-ratio: 4 / 4.3;
  overflow: hidden;
  background: #e2e8f0;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-meta {
  padding: 20px 22px;
}

.profile-name {
  margin-bottom: 14px;
}

.profile-name strong {
  display: block;
  font-size: 18px;
  color: var(--navy);
}

.profile-name span {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.profile-stats strong {
  display: block;
  font-size: 16px;
  color: var(--blue);
  font-weight: 800;
}

.profile-stats span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Szekciók */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(27px, 3.3vw, 37px);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
}

/* Előnyök */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.b-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Csomagok */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 22px 46px rgba(29, 78, 216, 0.14);
  background: #fbfdff;
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pc-top h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
}

.pc-target {
  font-size: 13.5px;
  color: var(--muted);
  min-height: 44px;
  margin-bottom: 16px;
}

.pc-price {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pc-price strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

.price-card.featured .pc-price strong {
  color: var(--blue);
}

.pc-price span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.pc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: #334155;
  flex: 1;
}

.pc-list li {
  padding-left: 22px;
  position: relative;
}

.pc-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

.nonprofit-note {
  text-align: center;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--teal);
}

/* Üzemeltetés */
.ops-wrap {
  margin-top: 52px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px;
}

.ops-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 26px;
}

.ops-head h3 {
  font-size: 23px;
  color: var(--navy);
  margin-bottom: 6px;
}

.ops-head p {
  font-size: 15px;
  color: var(--muted);
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ops-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.ops-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.ops-title-row h4 {
  font-size: 17px;
  color: var(--navy);
}

.ops-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--teal);
}

.ops-footnote {
  margin-top: 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

/* Referenciák */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ref-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.ref-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ref-card:hover .ref-thumb img {
  transform: scale(1.04);
}

.ref-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ref-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ref-body h3 {
  font-size: 19px;
  color: var(--navy);
}

.ref-body p {
  font-size: 14.5px;
  color: var(--muted);
  flex: 1;
}

.ref-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}

.ref-link:hover {
  text-decoration: underline;
}

.ref-card-cta {
  background: linear-gradient(155deg, #0f1f3d 0%, #172e57 100%);
  color: #ffffff;
  border-color: #1e3a6e;
  justify-content: center;
}

.ref-card-cta .ref-tag { color: #5eead4; }
.ref-card-cta h3 { color: #ffffff; }
.ref-card-cta p { color: #cbd5e1; }

/* Folyamat */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 16.5px;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14.5px;
  color: var(--muted);
}

/* GYIK */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 500;
  color: var(--blue);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}

/* Kapcsolat + Űrlap */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  background: var(--navy);
  color: #ffffff;
  border-radius: 20px;
  padding: 34px 30px;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.ci-lead {
  font-size: 15px;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.ci-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.ci-item {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  transition: background-color 0.15s ease;
}

a.ci-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.ci-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5eead4;
  font-weight: 700;
  margin-bottom: 2px;
}

.ci-value {
  color: #ffffff;
  font-size: 16.5px;
  word-break: break-word;
}

.ci-note {
  font-size: 13.5px;
  color: #e2e8f0;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 10px;
  padding: 12px 14px;
}

.inquiry-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.field input, .field select, .field textarea {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 15px;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}

.form-feedback {
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
}

.form-feedback.ok {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-feedback.err {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.form-privacy {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* Lábléc + Impresszum */
.site-footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  padding: 40px 0 32px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover { color: #5eead4; }

.impresszum {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
}

.impresszum summary {
  cursor: pointer;
  font-weight: 600;
  color: #e2e8f0;
  font-size: 13.5px;
}

.impresszum-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: #cbd5e1;
}

.impresszum-body strong { color: #ffffff; }

.footer-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}

/* Mobilos gyors sáv */
.mobile-bar {
  display: none;
}

@media (max-width: 980px) {
  .main-nav, .header-phone { display: none; }
  .hero-grid, .pricing-grid, .ref-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-card {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .section { padding: 58px 0; }
  .hero { padding: 42px 0 56px; }
  .benefits-grid, .steps-grid, .ops-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .ops-wrap, .inquiry-form, .contact-info { padding: 22px 18px; }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 31, 61, 0.12);
    padding: 8px 12px;
    gap: 10px;
  }
  .mobile-bar a {
    text-align: center;
    padding: 11px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
  }
  .mob-call {
    background: var(--navy);
    color: #ffffff;
  }
  .mob-quote {
    background: var(--blue);
    color: #ffffff;
  }
}
