:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5b6673;
  --line: #d9dee5;
  --soft-line: #edf0f3;
  --accent: #0f6b8f;
  --accent-dark: #084f6b;
  --accent-soft: #eaf5f8;
  --danger: #a53b3b;
  --ok: #2f7653;
  --shadow: 0 18px 60px rgba(31, 41, 51, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(15, 107, 143, 0.08), transparent 32%),
    linear-gradient(180deg, #fff, transparent 34%);
  z-index: -1;
}

img, svg { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.page-shell {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  font-size: clamp(20px, 2.3vw, 30px);
  color: var(--text);
  letter-spacing: -0.04em;
}

.brand svg { width: 44px; height: 44px; color: var(--text); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 15px;
  color: var(--muted);
}

.nav a {
  color: var(--text);
  position: relative;
  padding: 34px 0 31px;
  white-space: nowrap;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--accent);
}

.nav-toggle { display: none; }

.section { margin: 62px 0; }
.section.compact { margin: 42px 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 760;
  color: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(45px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.lead {
  font-size: 20px;
  color: var(--text);
  max-width: 650px;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 12px 34px rgba(15, 107, 143, 0.18); }
.btn.secondary { background: transparent; color: var(--accent); }
.btn.secondary:hover { background: var(--accent-soft); }

.hero-technical {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.65));
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 28px;
}

.package-card, .photo-box, .notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
  margin-bottom: 24px;
}

.warranty-pill {
  display: inline-flex;
  align-items: center;
  border-left: 1px solid var(--line);
  padding-left: 22px;
  color: var(--accent-dark);
  font-weight: 700;
  max-width: 390px;
}

.package-icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  overflow: hidden;
}

.package-icons div {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 150px;
  padding: 22px 14px;
  text-align: center;
  border-right: 1px solid var(--soft-line);
}
.package-icons div:last-child { border-right: 0; }
.package-icons svg { color: var(--accent); width: 44px; height: 44px; }
.package-icons span { font-weight: 700; }

.grid { display: grid; gap: 24px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-list { gap: 0 46px; }
.feature-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row svg {
  width: 72px;
  height: 72px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}
.feature-row p { color: var(--muted); margin-bottom: 0; }

.photo-box {
  display: grid;
  gap: 24px;
}
.photo-box-main {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.photo-box-main svg { color: var(--accent); width: 62px; height: 62px; }
.photo-box p { color: var(--muted); margin-bottom: 0; }
.photo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.photo-tags span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 650;
}

.process { text-align: center; }
.process h2 { margin-bottom: 32px; }
.step {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.step b { color: var(--accent); font-size: 26px; }
.step p { color: var(--muted); margin-bottom: 0; }

.notice p { color: var(--muted); margin-bottom: 0; max-width: 900px; }

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.cta-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 26px;
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  color: var(--text);
}
.cta-card::after {
  content: "→";
  justify-self: end;
  font-size: 28px;
  color: var(--accent);
  grid-column: 3;
  grid-row: 1;
}
.cta-card svg { color: var(--accent); width: 56px; height: 56px; }
.cta-card strong { display: block; font-size: 21px; color: var(--accent-dark); }
.cta-card em { display: block; font-style: normal; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 42px;
  color: var(--muted);
}
.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.footer-line svg { width: 24px; height: 24px; }
.footer-meta { text-align: center; margin-top: 12px; font-size: 14px; }

.form-page {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
  align-items: start;
}
.form-intro {
  position: sticky;
  top: 18px;
}
.form-intro h1 { font-size: clamp(42px, 5vw, 62px); }
.small-note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 16px;
  border-radius: 12px;
  color: var(--text);
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 36px);
}
.field-grid { display: grid; gap: 16px 18px; }
label { display: grid; gap: 7px; font-weight: 700; margin-bottom: 18px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
input:focus, textarea:focus {
  outline: 3px solid rgba(15, 107, 143, 0.16);
  border-color: var(--accent);
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin: 8px 0 22px;
}
legend { font-weight: 800; padding: 0 8px; }
.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.checks label, .consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-weight: 540;
  margin: 0;
}
.checks input, .consent input { width: auto; margin-top: 5px; }
.hint { font-size: 13px; color: var(--muted); font-weight: 500; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.consent { margin: 24px 0; color: var(--muted); }

.message-page, .text-page { max-width: 880px; margin-left: auto; margin-right: auto; }
.message-card, .text-page {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(26px, 5vw, 48px);
}
.message-card.ok { border-color: rgba(47, 118, 83, .35); }
.message-card.error { border-color: rgba(165, 59, 59, .35); }
.text-page p { color: var(--muted); }

@media (max-width: 900px) {
  .page-shell { width: min(100% - 26px, 760px); }
  .site-header { min-height: 74px; }
  .nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    font-size: 22px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 13px;
    right: 13px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 20;
  }
  .menu-open .nav { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a.active::after, .nav a:hover::after { display: none; }
  .hero, .form-page { grid-template-columns: 1fr; }
  .hero-technical { order: -1; }
  .package-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package-icons div { border-bottom: 1px solid var(--soft-line); }
  .package-icons div:nth-child(even) { border-right: 0; }
  .two-col, .three-col, .cta-grid { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .checks { grid-template-columns: 1fr; }
  .section-title-row { flex-direction: column; }
  .warranty-pill { border-left: 0; padding-left: 0; }
}

@media (max-width: 560px) {
  h1 { font-size: 42px; }
  .hero-copy p:not(.eyebrow), .lead { font-size: 16px; }
  .hero-technical { padding: 12px; }
  .feature-row { grid-template-columns: 1fr; gap: 14px; }
  .photo-box-main { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 46px 1fr 22px; padding: 18px; }
  .cta-card svg { width: 44px; height: 44px; }
}


/* v2: szövegközpontú, érthetőbb csomagblokkok */
.package-text-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--soft-line);
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  overflow: hidden;
}

.package-text-grid article {
  background: #fff;
  padding: 22px;
  min-height: 168px;
}

.package-text-grid b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.package-text-grid h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.package-text-grid p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 32px rgba(31, 41, 51, .045);
}

.service-detail-grid span {
  display: inline-block;
  color: var(--accent);
  font-weight: 760;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-detail-grid p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 820px) {
  .package-text-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* v20 fix */
.brand-mark{width:42px;height:42px;display:block;flex:0 0 42px}
.hero-technical img{display:block;width:100%;height:auto;max-width:540px;margin:0 auto}
.line-icon{width:48px;height:48px;display:block;margin:0 auto 14px}
.feature-row .line-icon{margin:0;flex:0 0 48px}
.package-icons img{opacity:1}


/* v21: piktogramok és fő rajz finomítás */
.package-icons .line-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
}

.package-icons div {
  min-height: 138px;
  justify-content: center;
}

.hero-technical img {
  display: block;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .package-icons .line-icon {
    width: 58px;
    height: 58px;
  }
}

/* --- v51 icon/hero refinement --- */
.hero-technical{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:320px;
}
.hero-technical img{
  width:min(220px, 58%);
  max-width:220px;
  height:auto;
  display:block;
}
.package-icons .line-icon{
  width:42px;
  height:42px;
  display:block;
  margin:0 auto 10px;
}
.package-icons div{
  padding-top:18px;
  padding-bottom:16px;
}
.package-icons span{
  display:block;
  line-height:1.2;
}
.photo-box .line-icon{
  width:26px;
  height:26px;
  flex:0 0 26px;
}

/* --- v61 hero sketch image --- */
.hero-technical{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:320px;
  padding:0;
}

.hero-technical img{
  width:min(100%, 690px);
  max-width:690px;
  height:auto;
  display:block;
  object-fit:contain;
  opacity:.96;
}

/* --- v63 hero background blend fix --- */
.hero-technical{
  background:#f7f7f7 !important;
  border-color:#f7f7f7 !important;
  box-shadow:none !important;
}

.hero-technical img{
  background:#f7f7f7 !important;
}

/* --- v68 photo section icon size --- */
.photo-box-main{
  align-items:flex-start;
}

.photo-box .line-icon{
  width:42px !important;
  height:42px !important;
  flex:0 0 42px !important;
  margin-top:4px;
}

/* --- v70 package price card --- */
.package-price-card{
  margin-top:22px;
  padding:20px;
  border:1px solid rgba(31,111,154,.16);
  border-radius:22px;
  background:rgba(255,255,255,.74);
}

.package-price-head{
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:flex-end;
  margin-bottom:16px;
}

.package-price-head h3{
  margin:0;
  font-size:22px;
  line-height:1.2;
}

.package-price-head p{
  margin:0;
  max-width:560px;
  color:#617084;
  font-size:14px;
  line-height:1.55;
}

.price-mini-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-bottom:18px;
}

.price-mini-grid div{
  padding:16px 18px;
  border:1px solid rgba(31,111,154,.18);
  border-radius:16px;
  background:#fff;
}

.price-mini-grid span{
  display:block;
  color:#617084;
  font-size:14px;
  line-height:1.35;
  margin-bottom:8px;
}

.price-mini-grid strong{
  display:block;
  color:#1f2937;
  font-size:24px;
  line-height:1.1;
}

.package-includes{
  border-top:1px solid rgba(31,111,154,.12);
  padding-top:16px;
}

.package-includes h3{
  margin:0 0 8px;
  font-size:18px;
}

.package-includes p{
  margin:8px 0 0;
  color:#536174;
  font-size:14px;
  line-height:1.65;
}

@media (max-width: 820px){
  .package-price-head{
    display:block;
  }
  .package-price-head p{
    margin-top:8px;
  }
  .price-mini-grid{
    grid-template-columns:1fr;
  }
}
