/* ===========================================================
   FI-GROUP — Villanyszerelés • Klíma technika
   Design tokens extracted from the client mockup
   =========================================================== */
:root {
  --navy:        #0b1a30;
  --navy-deep:   #081320;
  --navy-soft:   #142943;
  --navy-line:   rgba(255, 255, 255, 0.09);

  --red:         #cc1228;
  --red-600:     #b00f22;
  --red-300:     #e2384c;

  --bg:          #f3f4f6;
  --card:        #ffffff;
  --ink:         #111a26;
  --muted:       #667085;
  --muted-dark:  #97a3b4;   /* muted text on navy */
  --line:        #e6e8ec;

  --radius:      6px;
  --radius-lg:   10px;
  --maxw:        1180px;
  --shadow-sm:   0 1px 2px rgba(16, 26, 38, 0.06);
  --shadow-md:   0 14px 40px rgba(11, 26, 48, 0.10);
  --shadow-card: 0 24px 60px rgba(11, 26, 48, 0.14);

  --ff-display: "Montserrat", system-ui, sans-serif;
  --ff-body:    "Source Sans 3", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--card);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--ff-display); margin: 0; line-height: 1.08; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Shared section heading ---------- */
.section { padding: 92px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.section-head .rule {
  width: 64px; height: 4px; background: var(--red);
  margin: 18px auto 0; border-radius: 2px;
}
.on-navy .section-head h2 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--ff-display); font-weight: 700;
  font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0 26px; height: 54px; border-radius: var(--radius);
  border: 2px solid transparent; transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(204, 18, 40, 0.32); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.btn-sm { height: 44px; font-size: 12.5px; padding: 0 20px; }

/* ===========================================================
   HEADER
   =========================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 26, 48, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.logo {
  font-family: var(--ff-display); font-weight: 800;
  font-size: 27px; letter-spacing: -0.01em; color: #fff;
  display: inline-flex; align-items: baseline; white-space: nowrap;
}
.logo b { font-weight: 800; }
.logo .dash { color: var(--red); margin: 0 1px; }
.logo .light { font-weight: 600; }

.nav { display: flex; align-items: center; gap: 19px; flex-shrink: 0; }
.nav a {
  font-family: var(--ff-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase;
  color: #d7dde6; position: relative; padding: 6px 0;
  transition: color 0.18s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--red); transition: right 0.25s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after,
.nav a.active::after { right: 0; }
.nav a.active { color: #fff; }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--red); color: #fff; white-space: nowrap;
  font-family: var(--ff-display); font-weight: 700; font-size: 14px;
  padding: 0 14px; height: 46px; border-radius: var(--radius);
  transition: all 0.2s var(--ease);
}
.header-phone svg { width: 16px; height: 16px; }
.header-phone:hover { background: var(--red-600); transform: translateY(-1px); }

.burger {
  display: none; background: none; border: 0; padding: 8px;
  flex-direction: column; gap: 5px;
}
.burger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.25s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 78px 0 auto 0; z-index: 55;
  background: var(--navy); border-bottom: 1px solid var(--navy-line);
  transform: translateY(-120%); transition: transform 0.35s var(--ease);
  padding: 14px 0 26px;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  display: block; padding: 15px 28px; color: #d7dde6;
  font-family: var(--ff-display); font-weight: 600; font-size: 16px;
  text-transform: uppercase; letter-spacing: 0.03em;
  border-bottom: 1px solid var(--navy-line);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .header-phone { margin: 18px 28px 0; height: 54px; justify-content: center; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  background:
    radial-gradient(1200px 600px at 18% -10%, var(--navy-soft) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 130%);
  color: #fff; position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center; padding-top: 70px; padding-bottom: 78px;
}
.hero h1 {
  font-size: clamp(54px, 7vw, 92px); font-weight: 800;
  letter-spacing: -0.015em; line-height: 0.96;
}
.hero h1 .dash { color: var(--red); }
.hero .tagline {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(18px, 2.1vw, 25px); letter-spacing: 0.01em;
  margin-top: 18px; text-transform: uppercase; color: #eef2f7;
  line-height: 1.25;
}
.hero .tagline .sep { color: var(--red); margin: 0 6px; }
.hero .lead {
  margin-top: 22px; max-width: 460px; color: var(--muted-dark);
  font-size: 18px;
}

.hero-badges {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px;
  margin-top: 30px; max-width: 470px;
}
.hero-badge { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #e4e9f0; }
.hero-badge .check {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--red); color: var(--red);
  display: grid; place-items: center; margin-top: 2px;
}
.hero-badge .check svg { width: 11px; height: 11px; }

.hero-cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* hero image + phone box */
.hero-media { position: relative; }
.hero-media .ph {
  aspect-ratio: 5 / 5.1; border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.phone-box {
  position: absolute; right: 0; bottom: -26px;
  background: var(--red); color: #fff; border-radius: var(--radius);
  padding: 18px 26px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 18px 40px rgba(204, 18, 40, 0.4);
}
.phone-box .ico { width: 34px; height: 34px; flex: none; }
.phone-box .num { font-family: var(--ff-display); font-weight: 800; font-size: 25px; line-height: 1; white-space: nowrap; }
.phone-box .sub { font-size: 14px; opacity: 0.92; margin-top: 4px; }

/* ===========================================================
   VALUE PROPS (on navy)
   =========================================================== */
.values {
  background: var(--navy); color: #fff;
  border-top: 1px solid var(--navy-line);
  padding: 56px 0;
}
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px; }
.value { display: flex; gap: 16px; }
.value .vico {
  flex: none; width: 48px; height: 48px; color: var(--red-300);
}
.value h4 {
  font-size: 17px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 8px;
}
.value p { font-size: 14.5px; color: var(--muted-dark); line-height: 1.5; }

/* ===========================================================
   SERVICES
   =========================================================== */
.services { background: var(--bg); }
.cards-3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 820px; margin: 0 auto; }
.scard {
  min-width: 0;
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--line); padding: 38px 32px 30px;
  box-shadow: var(--shadow-sm); transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s var(--ease);
}
.cards-3 .scard:hover { transform: translateY(-12px) scale(1.015); box-shadow: var(--shadow-card); }
.scard-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; min-width: 0; }
.scard-ico {
  flex: none; width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--navy); color: #fff; display: grid; place-items: center;
}
.scard-ico svg { width: 28px; height: 28px; }
.scard h3 { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; min-width: 0; overflow-wrap: break-word; }
.scard ul { list-style: none; margin: 0 0 26px; padding: 0; }
.scard li { display: flex; align-items: flex-start; gap: 11px; padding: 8px 0; font-size: 16px; border-bottom: 1px dashed var(--line); }
.scard li:last-child { border-bottom: 0; }
.scard li .chk { flex: none; width: 20px; height: 20px; color: var(--red); margin-top: 2px; }
.scard .more {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.scard .more svg { width: 18px; height: 14px; transition: transform 0.2s var(--ease); }
.scard .more:hover { color: var(--red); }
.scard .more:hover svg { transform: translateX(5px); }

/* ===========================================================
   STATS (on navy)
   =========================================================== */
.stats { background: var(--navy); color: #fff; padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 26px; }
.stat + .stat { border-left: 1px solid var(--navy-line); }
.stat .sico { flex: none; width: 42px; height: 42px; color: var(--muted-dark); }
.stat .num { font-family: var(--ff-display); font-weight: 800; font-size: 40px; color: var(--red-300); line-height: 1; }
.stat .lbl { font-family: var(--ff-display); font-weight: 600; font-size: 13.5px; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 6px; color: #e7ebf1; }

/* ===========================================================
   REFERENCES (carousel)
   =========================================================== */
.references { background: var(--bg); }
.ref-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; gap: 24px; }
.ref-top h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.ref-top h2 .rule { display: block; width: 64px; height: 4px; background: var(--red); margin-top: 16px; border-radius: 2px; }

.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 24px; transition: transform 0.5s var(--ease); }
.ref-card {
  flex: 0 0 calc((100% - 72px) / 4);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--navy);
  position: relative; box-shadow: var(--shadow-sm);
}
.ref-card .ph { aspect-ratio: 4 / 3.4; border-radius: 0; }
.ref-card .cap {
  position: absolute; inset: auto 0 0 0; padding: 44px 18px 18px;
  background: linear-gradient(to top, rgba(8, 19, 32, 0.94) 12%, transparent);
  color: #fff; font-family: var(--ff-display); font-weight: 600; font-size: 15px; line-height: 1.35;
}
.ref-card .cap .tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red-300); margin-bottom: 6px;
}

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.cbtn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); display: grid; place-items: center;
  transition: all 0.2s var(--ease);
}
.cbtn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cbtn svg { width: 18px; height: 18px; }
.dots { display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #cfd4db; transition: all 0.25s var(--ease); padding: 0; }
.dot.active { background: var(--red); width: 26px; border-radius: 5px; }

/* ===========================================================
   TESTIMONIALS (on navy)
   =========================================================== */
.testi { background: var(--navy); color: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tcard {
  background: var(--navy-soft); border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg); padding: 34px 30px; position: relative;
}
.tcard .quote-mark { font-family: var(--ff-display); font-weight: 800; font-size: 64px; color: var(--red); line-height: 0.6; height: 30px; }
.tcard .stars { display: flex; gap: 4px; color: var(--red); margin: 6px 0 18px; }
.tcard .stars svg { width: 18px; height: 18px; }
.tcard p { font-size: 16px; color: #e4e9f0; font-style: italic; line-height: 1.55; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tcard .who .av {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--navy-line);
  display: grid; place-items: center; color: var(--muted-dark);
}
.tcard .who .av svg { width: 20px; height: 20px; }
.tcard .who .name { font-family: var(--ff-display); font-weight: 700; font-size: 15px; }

/* ===========================================================
   CONTACT / QUOTE REQUEST
   =========================================================== */
.contact { background: var(--navy); border-top: 1px solid var(--navy-line); }
.contact-sub {
  max-width: 620px; margin: 22px auto 0; color: var(--muted-dark);
  font-size: 17px; line-height: 1.55; text-align: center;
}
.contact-card {
  background: var(--navy-soft); border: 1px solid var(--navy-line);
  border-radius: 16px; padding: 44px; max-width: 1080px; margin: 0 auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}
.contact-cols { display: grid; grid-template-columns: 1.45fr 1fr; gap: 44px; }
.cc-left { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label {
  font-family: var(--ff-display); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.02em; color: #eef2f7;
}
.field input, .field textarea {
  width: 100%; font-family: var(--ff-body); font-size: 15px; color: #fff;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--navy-line);
  border-radius: var(--radius); padding: 13px 15px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7f8da0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, 0.08); }
.field input.invalid, .field textarea.invalid { border-color: var(--red-300); background: rgba(204, 18, 40, 0.10); }

.field-row { display: grid; gap: 18px; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.field-row.email-city { grid-template-columns: 1.4fr 1fr; }
.field-row.zip-addr { grid-template-columns: 0.8fr 1.6fr; }

.cc-right { display: flex; flex-direction: column; gap: 22px; }
.opt-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.opt-group legend {
  font-family: var(--ff-display); font-weight: 700; font-size: 15.5px;
  letter-spacing: 0.02em; color: #fff; padding: 0; margin-bottom: 4px;
}
.opt, .consent { display: flex; align-items: center; gap: 11px; cursor: pointer; color: #dbe2ea; font-size: 15px; }
.opt input, .consent input { position: absolute; opacity: 0; pointer-events: none; }
.opt .mark {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #5b6a7e; transition: all 0.18s var(--ease); position: relative;
}
.opt input:checked + .mark { border-color: var(--red); }
.opt input:checked + .mark::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--red);
}
.opt:hover .mark { border-color: #8896a8; }
.opt input:focus-visible + .mark { box-shadow: 0 0 0 3px rgba(204, 18, 40, 0.35); }

.consent { align-items: flex-start; margin-top: 2px; }
.consent .box {
  flex: none; width: 20px; height: 20px; border-radius: 4px; margin-top: 1px;
  border: 2px solid #5b6a7e; display: grid; place-items: center; color: #fff;
  transition: all 0.18s var(--ease);
}
.consent .box svg { width: 13px; height: 13px; opacity: 0; transition: opacity 0.15s var(--ease); }
.consent input:checked + .box { background: var(--red); border-color: var(--red); }
.consent input:checked + .box svg { opacity: 1; }
.consent input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(204, 18, 40, 0.35); }
.consent.invalid .box { border-color: var(--red-300); }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--red-300); }
.cc-right .btn-red { align-self: flex-start; margin-top: 2px; }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: var(--navy-deep); color: #fff; padding: 78px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; }
.footer h4 { font-size: 19px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 22px; }
.footer h4 .rule { display: block; width: 44px; height: 3px; background: var(--red); margin-top: 12px; border-radius: 2px; }
.footer p { color: var(--muted-dark); font-size: 15.5px; }
.footer .van { margin-top: 22px; border-radius: var(--radius); overflow: hidden; }
.footer .van .ph { aspect-ratio: 16 / 8; }

.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: #e4e9f0; font-size: 16px; }
.contact-list li .cico {
  flex: none; width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--red); color: #fff; display: grid; place-items: center;
}
.contact-list li .cico svg { width: 18px; height: 18px; }
.contact-list a:hover { color: #fff; text-decoration: underline; }

/* form */
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform .full { grid-column: 1 / -1; }
.cform input, .cform textarea {
  width: 100%; font-family: var(--ff-body); font-size: 15px; color: #fff;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--navy-line);
  border-radius: var(--radius); padding: 13px 15px; transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.cform textarea { min-height: 92px; resize: vertical; }
.cform input::placeholder, .cform textarea::placeholder { color: #8794a5; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, 0.09); }
.cform input.invalid, .cform textarea.invalid { border-color: var(--red-300); background: rgba(204, 18, 40, 0.08); }
.cform .submit { grid-column: 1 / -1; }
.cform .submit button { width: 100%; justify-content: center; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted-dark); min-height: 18px; }
.form-note.ok { color: #4ade80; }
.form-note.err { color: var(--red-300); }

.footer-bottom {
  margin-top: 64px; border-top: 1px solid var(--navy-line);
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.footer-bottom .logo { font-size: 22px; }
.footer-bottom .legal { display: flex; gap: 30px; }
.footer-bottom .legal a, .footer-bottom .copy { color: var(--muted-dark); font-size: 14px; }
.footer-bottom .legal a:hover { color: #fff; }

/* back to top */
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 48px; height: 48px; border-radius: var(--radius); border: 0;
  background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; transform: translateY(14px);
  pointer-events: none; transition: all 0.3s var(--ease);
}
.totop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop:hover { background: var(--red-600); }
.totop svg { width: 20px; height: 20px; }

/* ===========================================================
   MAKER CREDIT
   =========================================================== */
.maker {
  background: var(--navy-deep); text-align: center;
  padding: 0 0 26px; margin-top: -2px;
}
.maker a {
  font-family: var(--ff-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; color: #6b7a8d;
  transition: color 0.18s var(--ease);
}
.maker a:hover { color: var(--red-300); }

/* ===========================================================
   IMPRESSZUM
   =========================================================== */
.imp-sec { background: var(--navy); color: #fff; }
.imp-wrap { max-width: 880px; margin: 0 auto; }
.imp-card {
  background: var(--navy-soft); border: 1px solid var(--navy-line);
  border-radius: 16px; padding: 38px 44px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}
.imp-card + .imp-card { margin-top: 26px; }
.imp-card h2 { font-size: 21px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; }
.imp-card h2 .rule { display: block; width: 44px; height: 3px; background: var(--red); margin-top: 12px; border-radius: 2px; }
.imp-list { margin-top: 26px; }
.imp-row {
  display: grid; grid-template-columns: 230px 1fr; gap: 24px;
  padding: 15px 0; border-top: 1px solid var(--navy-line);
}
.imp-row:first-child { border-top: 0; padding-top: 0; }
.imp-k { font-family: var(--ff-display); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; color: var(--muted-dark); }
.imp-v { font-size: 16px; color: #eef2f7; }
.imp-v a { color: #eef2f7; text-decoration: none; transition: color 0.18s var(--ease); }
.imp-v a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.imp-v .todo { color: var(--red-300); font-style: italic; }
.imp-card p { color: var(--muted-dark); font-size: 15.5px; margin: 14px 0 0; }
.imp-card p:first-of-type { margin-top: 20px; }
.imp-card p a { color: #eef2f7; text-decoration: underline; text-underline-offset: 2px; }
.imp-card p a:hover { color: var(--red-300); }
@media (max-width: 620px) {
  .imp-card { padding: 30px 24px; }
  .imp-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ===========================================================
   PAGE HERO (subpages)
   =========================================================== */
.page-hero {
  background:
    radial-gradient(900px 400px at 15% -40%, var(--navy-soft) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%);
  color: #fff; padding: 58px 0 64px;
}
.crumb { font-size: 13.5px; letter-spacing: 0.03em; color: var(--muted-dark); margin-bottom: 16px; display: flex; gap: 9px; align-items: center; text-transform: uppercase; font-family: var(--ff-display); font-weight: 600; }
.crumb a { color: var(--muted-dark); transition: color 0.18s var(--ease); }
.crumb a:hover { color: #fff; }
.crumb .sep { color: var(--red); }
.crumb .here { color: #fff; }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }
.page-hero p { margin-top: 14px; color: var(--muted-dark); font-size: 18px; max-width: 560px; }

/* ---------- Enriched service hero ---------- */
.svc-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.svc-hero-title { display: flex; align-items: center; gap: 20px; margin-top: 6px; }
.svc-hero-ico {
  flex: none; width: 76px; height: 76px; border-radius: 14px;
  background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(204, 18, 40, 0.35);
}
.svc-hero-ico svg { width: 40px; height: 40px; }
.svc-hero-title h1 { font-size: clamp(38px, 5vw, 58px); }
.svc-hero p { margin-top: 20px; }
.svc-hero-badges {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px;
  margin-top: 28px; max-width: 540px;
}
.svc-hero-media { position: relative; }
.svc-hero-media .ph { aspect-ratio: 5 / 3.6; border-radius: var(--radius-lg); box-shadow: 0 26px 60px rgba(0,0,0,0.45); }

/* ===========================================================
   SERVICE + PRICE CARDS
   =========================================================== */
.svc-prices { background: var(--navy); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.svc-card {
  display: flex; flex-direction: column;
  background: var(--navy-soft); border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(0,0,0,0.35); border-color: rgba(226,56,76,0.4); }
.svc-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 18px; min-width: 0; }
.svc-ico {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
}
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { width: 100%; min-width: 0; min-height: 2.5em; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 17px; font-weight: 700; color: #fff; line-height: 1.25; letter-spacing: 0.01em; overflow-wrap: break-word; hyphens: auto; }
.svc-desc { color: var(--muted-dark); font-size: 14.5px; line-height: 1.5; margin-bottom: 18px; min-height: 44px; }
.svc-pl-label {
  font-family: var(--ff-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-300);
  margin-bottom: 12px;
}
.svc-pricelist { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-pricelist li { display: block; }
.svc-pricelist .pn { display: block; color: var(--muted-dark); font-size: 13.5px; line-height: 1.35; position: relative; padding-left: 15px; }
.svc-pricelist .pn::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.svc-pricelist .leader { display: none; }
.svc-pricelist .pp { display: block; padding-left: 15px; margin-top: 3px; color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: 0.01em; }
.svc-bigprice { font-family: var(--ff-display); font-weight: 800; font-size: 21px; color: #fff; margin-bottom: 22px; line-height: 1.2; }
.svc-bigprice.ph { font-size: 17px; font-weight: 600; font-style: italic; color: var(--muted-dark); letter-spacing: 0.01em; }
.svc-bigprice.statement { font-size: 15.5px; font-weight: 700; line-height: 1.4; color: #fff; }
.svc-incl-lead { color: var(--muted-dark); font-size: 13px; margin: 2px 0 11px; }
.svc-pricelist.svc-incl { gap: 8px; }
.svc-hero-sub { font-family: var(--ff-display); font-weight: 700; font-size: clamp(17px, 1.9vw, 21px); color: #eef2f7; margin-top: 16px; letter-spacing: 0.01em; }
.svc-hero p.svc-hero-sub { margin-top: 16px; }
.svc-pricelist .pp.ph { color: var(--muted-dark); font-weight: 500; font-style: italic; }
.svc-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-300);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.svc-more svg { width: 18px; height: 14px; transition: transform 0.2s var(--ease); }
.svc-more:hover { color: #fff; }
.svc-more:hover svg { transform: translateX(5px); }

/* ---------- Bottom: why-us + not-found CTA ---------- */
.svc-bottom { background: var(--navy); padding-top: 0; }
.svc-bottom-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.whybox, .notfound {
  border-radius: var(--radius-lg); padding: 44px 40px;
}
.whybox { background: var(--navy-soft); border: 1px solid var(--navy-line); }
.whybox h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; text-align: center; margin-bottom: 34px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.why-item { text-align: center; }
.why-item .wico { width: 44px; height: 44px; color: var(--red-300); margin: 0 auto 12px; }
.why-item h4 { font-family: var(--ff-display); font-weight: 700; font-size: 15.5px; color: #fff; margin-bottom: 7px; letter-spacing: 0.02em; }
.why-item p { font-size: 13.5px; color: var(--muted-dark); line-height: 1.5; }

.notfound {
  background: linear-gradient(155deg, var(--red) 0%, var(--red-600) 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.notfound h2 { font-size: 23px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.2; }
.notfound p { font-size: 15px; margin-top: 14px; opacity: 0.95; max-width: 380px; }
.notfound-phone { display: inline-flex; align-items: center; gap: 14px; margin: 24px 0 22px; }
.notfound-phone .ring { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.16); display: grid; place-items: center; flex: none; }
.notfound-phone .ring svg { width: 24px; height: 24px; }
.notfound-phone .num { font-family: var(--ff-display); font-weight: 800; font-size: 28px; white-space: nowrap; }
.notfound .btn-white { background: #fff; color: var(--navy); }
.notfound .btn-white:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.25); }

/* ===========================================================
   INSTALL-PRICE INCLUDES
   =========================================================== */
.incl { background: var(--navy); border-top: 1px solid var(--navy-line); }
.incl-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 38px 48px; max-width: 940px; margin: 0 auto; }
.incl-item { flex: 0 0 150px; text-align: center; }
.incl-item .iico { width: 42px; height: 42px; color: var(--red-300); margin: 0 auto 14px; }
.incl-item h4 { font-family: var(--ff-display); font-weight: 700; font-size: 15px; color: #fff; letter-spacing: 0.01em; line-height: 1.3; }

/* ===========================================================
   PARTNERS
   =========================================================== */
.partners { background: var(--navy); border-top: 1px solid var(--navy-line); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 14px; max-width: 1040px; margin: 0 auto; }
.brand {
  height: 66px; border-radius: var(--radius); background: var(--navy-soft);
  border: 1px solid var(--navy-line); display: grid; place-items: center; text-align: center;
  font-family: var(--ff-display); font-weight: 800; font-size: 16px; letter-spacing: 0.04em;
  color: #cdd6e2; transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.brand:hover { color: #fff; border-color: rgba(226, 56, 76, 0.5); transform: translateY(-3px); }

/* ===========================================================
   REFERENCE GRID (homepage 4-up) + GALLERY (subpage)
   =========================================================== */
.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ref-grid .ref-card, .ref-gallery .ref-card { flex: none; }
.ref-img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; display: block; }

.ref-gallery-sec { background: var(--navy); }
.ref-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 44px; }
.ref-filter {
  font-family: var(--ff-display); font-weight: 600; font-size: 13px; letter-spacing: 0.05em;
  text-transform: uppercase; color: #cdd6e2; background: var(--navy-soft);
  border: 1px solid var(--navy-line); padding: 11px 22px; border-radius: 50px; cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.ref-filter:hover { color: #fff; border-color: rgba(226, 56, 76, 0.5); }
.ref-filter.active { background: var(--red); border-color: var(--red); color: #fff; }
.ref-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ref-gallery .ref-card.hide { display: none; }
@media (max-width: 1024px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } .ref-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ref-grid { grid-template-columns: 1fr; } .ref-gallery { grid-template-columns: 1fr; } .ref-filters { gap: 8px; } .ref-filter { padding: 9px 16px; font-size: 12px; } }

/* ===========================================================
   PRICE LIST
   =========================================================== */
.pricing { background: var(--bg); }
.price-note {
  max-width: 880px; margin: 0 auto 34px; text-align: center;
  color: var(--muted); font-size: 16px; line-height: 1.55;
}
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  max-width: 880px; margin: 0 auto; padding: 16px 44px; box-shadow: var(--shadow-md);
}
.price-group-title {
  font-family: var(--ff-display); font-weight: 800; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--red);
  padding: 26px 0 6px; border-bottom: 0;
}
.price-item { padding: 14px 0; }
.price-line { display: flex; align-items: flex-end; gap: 12px; }
.pname { font-family: var(--ff-display); font-weight: 700; font-size: 18px; color: var(--ink); white-space: nowrap; }
.leader { flex: 1 1 auto; border-bottom: 2px dotted #c7ccd4; margin-bottom: 6px; min-width: 24px; }
.pprice { font-family: var(--ff-display); font-weight: 700; font-size: 17px; color: var(--navy); white-space: nowrap; }
.psub { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.price-cta { text-align: center; margin-top: 40px; }

/* ===========================================================
   IMAGE PLACEHOLDERS
   =========================================================== */
.ph {
  position: relative; width: 100%;
  background-color: #16273f;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.045) 0 14px, rgba(255,255,255,0) 14px 28px);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.ph.light {
  background-color: #dfe3e8;
  background-image: repeating-linear-gradient(45deg, rgba(11,26,48,0.06) 0 14px, rgba(11,26,48,0) 14px 28px);
}
.ph span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px; letter-spacing: 0.02em; line-height: 1.5;
  color: rgba(255,255,255,0.62); max-width: 78%;
  border: 1px dashed rgba(255,255,255,0.28); padding: 8px 12px; border-radius: 4px;
}
.ph.light span { color: rgba(11,26,48,0.55); border-color: rgba(11,26,48,0.25); }

/* ===========================================================
   SCROLL REVEAL
   =========================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .carousel-track { transition: none; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .cards-3 { gap: 20px; }
  .scard { padding: 30px 24px 26px; }
  .scard-head { gap: 12px; }
  .scard-ico { width: 50px; height: 50px; }
  .scard h3 { font-size: 18px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 30px 38px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 16px 16px; }
  .ref-card { flex-basis: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer .col-form { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-hero-media { max-width: 560px; }
  .svc-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
  .nav, .header > .wrap .header-phone.desk { display: none; }
  .header .header-phone.desk { display: none; }
  .burger { display: flex; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 52px; padding-bottom: 64px; }
  .hero-media { max-width: 560px; }
  .phone-box { right: 12px; }
  .cards-3 { grid-template-columns: 1fr; gap: 22px; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-cols { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { padding: 32px 26px; }
  .whybox, .notfound { padding: 34px 26px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section { padding: 66px 0; }
  .hero-badges { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .ref-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; }
  .stat:nth-child(n+2) { border-top: 1px solid var(--navy-line); }
  .ref-card { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cform { grid-template-columns: 1fr; }
  .field-row.three, .field-row.email-city, .field-row.zip-addr { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-hero-badges { grid-template-columns: 1fr; }
  .svc-hero-title { flex-direction: column; align-items: flex-start; gap: 14px; }
  .page-hero h1, .svc-hero-title h1 { font-size: clamp(30px, 8vw, 40px); overflow-wrap: anywhere; }
  .svc-hero-ico { width: 60px; height: 60px; }
  .svc-hero-ico svg { width: 32px; height: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .price-card { padding: 10px 22px; }
  .price-line { flex-wrap: wrap; gap: 2px 12px; }
  .leader { display: none; }
  .pname { white-space: normal; }
  .pprice { margin-left: auto; color: var(--red); }
  .phone-box { position: static; margin-top: 18px; justify-content: center; }
  .hero-media .ph { aspect-ratio: 5 / 4; }
}

/* honeypot anti-bot mező — vizuálisan elrejtve */
.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
