/* ARMAVILL – önálló weboldal stíluslap */
:root {
  --sarga: #c8be2f;
  --sotet: #33343f;
  --menu: #3d3f33;
  --aktiv: #d2240d;
  --cian: #40faff;
  --fekete: #000;
  --max: 1000px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: #0b0d10;
  color: var(--sarga);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- Fejléc ---------- */
.site-header { background: var(--sarga); color: var(--sotet); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 28px; padding-bottom: 28px;
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 53px; height: 40px; object-fit: cover; }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: .5px; line-height: 1.1; }
.brand-slogan { font-size: 15px; margin-top: 10px; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  padding: 12px 26px; border-radius: 100px; font-size: 15px;
  background: var(--sarga); color: var(--sotet); border: 0; cursor: pointer;
  font-family: var(--font); transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.btn-dark { background: var(--sotet); color: var(--sarga); box-shadow: 0 3px 10px rgba(0,0,0,.35); }

/* ---------- Menü ---------- */
.site-nav { background: var(--menu); border-bottom: 1px solid rgba(200,190,47,.5); position: sticky; top: 0; z-index: 50; }
.site-nav .wrap { display: flex; align-items: center; min-height: 40px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 9px 16px 9px 0; margin-right: 0;
  color: var(--sarga); text-decoration: none; font-size: 14px;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--aktiv); }
.nav-toggle { display: none; }

/* ---------- Szekciók videós / képes háttérrel ---------- */
.bg-section { position: relative; overflow: hidden; clip-path: inset(0); }
.bg-section > .bg-media {
  position: fixed; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1;
}
.bg-section.bg-image { background-size: cover; background-position: center; background-attachment: fixed; }
.section-pad { padding: 70px 0; }

.hero-box {
  background: rgba(61,63,51,.4); width: min(490px, 100%);
  min-height: 420px; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; padding: 40px 24px; margin: 60px 0;
}
.hero-title { font-size: clamp(44px, 8vw, 72px); font-weight: 700; margin: 0; line-height: 1.1; }
.hero-sub { font-size: 20px; margin: 26px 0 0; }

.services-strip { text-align: center; padding: 140px 16px; }
.services-strip a {
  display: block; color: var(--cian); text-decoration: none; font-weight: 700;
  font-size: clamp(24px, 4.5vw, 40px); line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.services-strip a:hover { color: #fff; }

.page-title { text-align: center; padding: 120px 0 60px; }
.page-title h1 { font-size: clamp(28px, 5vw, 40px); margin: 0; font-weight: 700; }
.page-title p { font-size: 18px; font-weight: 700; margin: 30px 0 0; letter-spacing: .5px; }

h2.big { text-align: center; font-size: clamp(26px, 4.5vw, 40px); margin: 0 0 60px; }

/* ---------- Kártyák a főoldalon ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.card { background: #000; text-align: center; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 40px 16px 40px; }
.card h3 { margin: 0; font-size: 22px; }
.card p { margin: 6px 0 36px; font-size: 22px; }
.center { text-align: center; }
.mt-xl { margin-top: 100px; }

/* ---------- Szolgáltatás blokkok (cikk-cakk) ---------- */
.zigzag { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; row-gap: 60px; }
.zigzag .item:nth-child(even) { margin-top: 200px; }
.item img { width: 100%; aspect-ratio: 460/340; object-fit: cover; }
.item h3 { font-size: 22px; font-weight: 400; margin: 40px 0 20px; text-align: center; }
.item .txt { font-size: 15px; text-align: center; }
.item .txt p { margin: 0 0 12px; }
.item .btn { margin-top: 18px; }
.item .txt ul { list-style: none; padding: 0; margin: 0 0 12px; }

/* ---------- Galéria ---------- */
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 4px; background: #000; padding: 4px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none;
  align-items: center; justify-content: center; z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--sarga);
  font-size: 44px; cursor: pointer; padding: 10px 18px; line-height: 1;
}
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- Árak ---------- */
.price-box { background: rgba(0,0,0,.55); padding: 40px clamp(20px, 6vw, 60px); }
.price-box h2 { font-size: clamp(44px, 8vw, 72px); margin: 0 0 30px; line-height: 1.1; }
.price-box .lead { font-size: 20px; }
.price-box .lead strong { display: block; margin-bottom: 14px; }
.price-list { list-style: none; padding: 0; margin: 30px 0; font-weight: 700; font-size: 15px; }
.price-list li { padding: 6px 0 6px 18px; position: relative; }
.price-list li::before { content: "•"; position: absolute; left: 0; }

.price-rows { display: grid; gap: 30px; margin-top: 40px; }
.price-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; border-top: 1px solid rgba(200,190,47,.35); padding-top: 24px; }
.price-row h3 { font-size: 18px; margin: 0; font-weight: 400; }
.price-row .amount { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.price-row p { font-size: 15px; margin: 0 0 10px; }
.area-table { border-collapse: collapse; font-size: 15px; }
.area-table td { padding: 4px 24px 4px 0; }

/* ---------- Klíma készülékek ---------- */
.banner { width: 100%; height: 480px; object-fit: cover; }
.devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.device { padding: 0 4px; }
.device h3 { font-size: 22px; margin: 0 0 16px; min-height: 2.4em; }
.device img { width: 100%; height: 250px; object-fit: contain; background: #efefef; }
.device .price { font-weight: 700; font-size: 18px; margin: 18px 0 10px; }
.device .price.out { color: #e7a39a; }
.device .desc { font-size: 14px; }
.device .desc p { margin: 0 0 6px; }
.brand-head { font-size: clamp(26px,4vw,34px); margin: 70px 0 30px; padding-bottom: 10px; border-bottom: 2px solid var(--sarga); letter-spacing: 2px; }
.brand-head:first-of-type { margin-top: 20px; }
.price-table { width: 100%; border-collapse: collapse; margin: 16px 0 14px; font-size: 15px; }
.price-table th { text-align: left; font-size: 12px; font-weight: 400; opacity: .75; padding: 4px 0; border-bottom: 1px solid rgba(200,190,47,.5); }
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table td { padding: 7px 0; border-bottom: 1px solid rgba(200,190,47,.18); font-weight: 700; }
.price-table td:first-child { font-weight: 400; }
.brand-nav { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin: 0 0 10px; }
.brand-head { scroll-margin-top: 60px; }
.note { text-align: center; font-weight: 700; max-width: 780px; margin: 70px auto 40px; }

.cert-box {
  border: 2px solid var(--sarga); border-radius: 10px; background: rgba(0,0,0,.55);
  max-width: 820px; margin: -20px auto 70px; padding: 22px 28px; text-align: center; font-size: 16px;
}
.cert-box strong { font-size: 18px; }
.cert-box span { display: block; margin-top: 10px; font-size: 14px; opacity: .85; }
.cert-line { font-weight: 700; margin: -30px 0 50px; font-size: 15px; }

/* ---------- Kapcsolat ---------- */
.contact-head { text-align: center; padding: 70px 0 30px; }
.contact-head h1 { font-size: clamp(28px, 5vw, 40px); margin: 0; }
.contact-head p { margin: 14px 0; font-size: 15px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; padding-bottom: 80px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--sarga);
  color: #fff; padding: 12px 4px; font: 15px var(--font);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--sarga); opacity: .85; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: #fff; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { justify-self: end; min-width: 160px; }
.page-contact { background: var(--sotet); }

/* ---------- Lábléc ---------- */
.site-footer { background: #000; text-align: center; padding: 36px 16px 30px; }
.site-footer .name { font-size: 22px; font-weight: 700; text-decoration: none; }
.site-footer p { margin: 14px 0 0; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.fb { display: inline-block; margin-top: 18px; }
.fb svg { width: 22px; height: 22px; fill: var(--sarga); }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .site-header .wrap { padding-top: 18px; padding-bottom: 18px; }
  .btn-dark { padding: 10px 16px; font-size: 13px; }
  .nav-toggle {
    display: block; background: none; border: 0; color: var(--sarga);
    font: 15px var(--font); padding: 10px 0; cursor: pointer;
  }
  .site-nav .wrap { flex-direction: column; align-items: stretch; }
  .site-nav ul { display: none; flex-direction: column; padding-bottom: 8px; }
  .site-nav.open ul { display: flex; }
  .cards, .devices { grid-template-columns: 1fr; }
  .zigzag { grid-template-columns: 1fr; }
  .zigzag .item:nth-child(even) { margin-top: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .price-row { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .bg-section.bg-image { background-attachment: scroll; }
  .services-strip { padding: 90px 16px; }
}
@media (max-width: 480px) {
  .brand-slogan { font-size: 12px; }
  .brand-name { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-media { display: none; }
}

/* ---------- Mobil finomhangolás ---------- */
.mobile-bar { display: none; }
.bg-poster { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -1; }
.more-btn {
  display: none; background: none; border: 1px solid var(--sarga); color: var(--sarga);
  border-radius: 100px; padding: 6px 16px; font: 14px var(--font); cursor: pointer; margin-top: 8px;
}
@media (max-width: 820px) {
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--menu); border-top: 1px solid rgba(200,190,47,.6); box-shadow: 0 -4px 14px rgba(0,0,0,.4);
  }
  .mobile-bar a { flex: 1; text-align: center; padding: 14px 8px; text-decoration: none; font-weight: 700; font-size: 16px; }
  .mobile-bar .mb-call { background: var(--sarga); color: var(--sotet); }
  .mobile-bar .mb-msg { color: var(--sarga); }

  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
  .brand img { width: 44px; height: 33px; }
  .page-title { padding: 60px 0 30px; }
  .page-title p { margin-top: 14px; }
  .hero-box { min-height: 260px; margin: 30px 0; padding: 30px 18px; }
  .section-pad { padding: 50px 0; }
  .zigzag { row-gap: 46px; padding-bottom: 50px !important; }
  .item h3 { text-align: left; font-size: 20px; margin: 18px 0 10px; }
  .item .txt { text-align: left; }
  .cards { gap: 24px; }
  .card-body { padding: 24px 16px; }
  .card p { margin-bottom: 20px; }
  .mt-xl { margin-top: 50px; }
  h2.big { margin-bottom: 30px; }
  .price-box { padding: 26px 18px; }
  .price-box .lead { font-size: 16px; }
  .cert-box { margin: 0 auto 40px; padding: 18px; }
  .cert-line { margin: -10px 0 30px; font-size: 14px; }
  .brand-head { margin-top: 40px; }
  .device img { height: 200px; }
  .banner { height: 220px; }
  .note { margin: 40px auto 30px; font-size: 14px; }

  /* hosszú szövegek összecsukva */
  .collapsible.clamped { max-height: 9.6em; overflow: hidden; position: relative; }
  .device .collapsible.clamped { max-height: 4.6em; }
  .collapsible.clamped::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5em;
    background: linear-gradient(rgba(11,13,16,0), rgba(11,13,16,.95));
  }
  .more-btn { display: inline-block; }
}
.wrap.section-pad { padding-left: 16px; padding-right: 16px; }

/* ---------- EKG-animáció a főcím mögött ---------- */
.ekg {
  position: absolute; left: 0; top: 0; width: 100%; height: 150px;
  overflow: visible; pointer-events: none; z-index: 1;
}
.hero-section .hero-title, .hero-section .hero-sub { position: relative; z-index: 2; }
.hero-section .hero-title { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.ekg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ekg-base { stroke: #2d7dff; stroke-width: 1.5; opacity: .3; }
.ekg-trail { stroke: #4fc6dc; stroke-width: 3; opacity: .55; filter: drop-shadow(0 0 6px #2d7dff); }
.ekg-head { stroke: #e9fdff; stroke-width: 3.5; filter: drop-shadow(0 0 4px #7fe3f2) drop-shadow(0 0 14px #2d9bff); }
@media (max-width: 820px) { .ekg { height: 110px; } }

@media (max-width: 820px) {
  /* mobilon a videó a szekcióhoz rögzítve (a fix háttér telefonon nem megbízható) */
  .bg-section > .bg-media { position: absolute; }
}
